[ACS-4985] Revert test fix for e2e execution. Updated search.config.ts for e2e test cases
Testing global install of webdriver-manager for e2e webdriver fix
[ACS-4985] Resolved e2e test failures
[ACS-4985] Increased value for drag emulation to account for increased width of the side filters panel in demo-shell search results window.
[ACS-4985] Resolved unit test failures
[ACS-4985] Resolved lint issues
[ACS-4985] Moved new components to v6.2.0 in versionIndex.md
[ACS-4985] Added documentation to versionIndex.md and README.md
[ACS-4985] Moved inLast input field back to input type number.
[ACS-4985] Resolved issue where typing a special character after adding some numbers in the 'In the last' input field would clear out the field
[ACS-4985] Updated test cases after query generation changes
[ACS-4985] Added missing null check when generating query
[ACS-4985] Added *ngFor back to the search-date-range-advanced-tabbed.component.html
[ACS-4985] Updated query generation logic. Now both 'In the last' and 'Between' options use the start date to end date query format
[ACS-4985] Removed ANY case from switch (will be handled by default case)
[ACS-4985] Split declarations into multiple lines
[ACS-4985] Fixed code smell in regex
[ACS-4985] Updated dates in documentation
[ACS-4985] Updated documentation
[ACS-4985] Added link for AngularMaterial bug for CSS workaround
[ACS-4985] Added test cases for end date validation. Fixed minor issue when setting invalid date error on between date form fields
[ACS-4985] Added validation when user manually enters the start and end dates
[ACS-4985] Added borders to inputs
[ACS-4985] Updated test cases for SearchDateRangeAdvancedTabbedComponent
[ACS-4985] Transferred business logic from SearchDateRangeAdvancedComponent and SearchFilterTabbedComponent to SearchDateRangeAdvancedTabbedComponent. Updated test cases accordingly
[ACS-4985] Resolved PR review comments
[ACS-4985] Removed unused code from base-query-builder.service.ts
[ACS-4985] Resolved linting and unit test issues
[ACS-4985] Resolved minor issues where switching between tabs could sometime cause the tab content to not show up
[ACS-4985] Resolved minor issues with display label creation
[ACS-4985] Updated component to use MatDateFnsAdapter. BetweenStartDate and BetweenEndDate are now formatted when selected from the calender
[ACS-4985] Resolved issue where clear button would not clear the values properly
[ACS-4985] Added @angular/material-date-fns-adapter package
[ACS-4985] Added image for updated documentation
[ACS-4985] Added validation to SearchDateRangeAdvancedComponent
[ACS-4985] Updated documentation for components
[ACS-4985] Removed disableUpdateOnSubmit flag from search widgets
[ACS-4985] Updated the documentation for the components
[ACS-4985] Added test cases for SearchDateRangeAdvancedTabbedComponent. Moved pending logic from template to typescript
[ACS-4985] Added clear and apply button to SearchDateRangeAdvancedTabbedComponent. Moved logic from template to typescript file
[ACS-4985] Updated test cases for SearchFilterTabbedComponent. Added safety checks to component
[ACS-4985] Added field validation to test case
[ACS-4985] Updated SearchDateRangeAdvancedTabbed component to no longer use getters and setters
[ACS-4985] Updated test cases for SearchDateRangeAdvancedComponent. Minor updates to the component template and logic. Component no longer uses getters and setters in template
[ACS-4985] Updated SearchDateRangeAdvancedTabbed component to use variables instead of getters and setters
[ACS-4985] Updated app.cconfig for demo-shell to use new date-range-advanced configuration
ACS-4985 Fixed issue with nx build, some clean ups, using changes in configuration
[ACS-4985] Updated test cases for changed date format
[ACS-4985] Updated date formats for SearchDateRangeAdvancedComponent
[ACS-4985] Removed fdescribe test cases for SearchDateRangeAdvancedComponent.
[ACS-4985] Fixed test cases for SearchDateRangeAdvancedComponent.
[ACS-4985] Fixed erroneous imports
[ACS-4985] Added license headers and re-ordered imports
[ACS-4985] Updated test cases for SearchDateRangeAdvancedComponent from moment.js to date-fns
[ACS-4985] Migrated SearchDateRangeAdvancedComponent from moment.js to date-fns
Added import for BaseQueryBuilderService in public-api.ts. Fixes#8647
[ACS-4985] Updated imports in test cases
[ACS-4985] Added exports for SearchDateRangeAdvanced and SearchFilterTabbed components to public-api.ts. Updated imports in both components
[ACS-4985] Resolved minor issue where the reset method would still trigger multiple api calls when used with the TabbedComponent
[ACS-4985] Added test cases for SearchDateRangeAdvancedComponent. Minor update to test cases for SearchFilterTabbedComponent
[ACS-4985] Updated Labels for 'In last' date range option
[ACS-4985] Updated SearchModule declarations. Fixed minor typo in SearchFilterTabbedComponent
[ACS-4985] Added test cases for SearchFilterTabbedComponent. Added test case placeholders for SearchDateRangeAdvancedComponent
[ACS-4985] Added data-automation-id to search-date-range-advanced.component.html
[ACS-4985] Added test cases for SearchFilterTabbedComponent
[ACS-4985] Removed vertical mode from SearchFilterTabbedComponent
[ACS-4985] Updated UI for search filters. Minor fixes
[ACS-4985] Added documentation for SearchFilterTabbedComponent and SearchDateRangeAdvancedComponent
[ACS-4985] Added compatibility of all search filters/facets with SearchFilterTabbedComponent
[ACS-4985] Using widget-composite component now correctly updates the search query on submit. Added optional property to disable update on submit button click for widget-composite.
[ACS-4985] Added SearchFilterTabbedComponent and SearchDateRangeAdvancedComponent. Added config for using the new components
* enhanced way providing translations
* update documentation
* update documentation
* test fixes
* try add missing module import
* inject i18n to core module to cause the setup
* [AAE-12501] Provide an AlfrescoApiService implementation that disable the AlfrescoApi oauth initialization when we use new oidc implementation
* [AAE-12501] Replace oauth2Auth with authentication service, define get username as abstract
* [AAE-12501] Replace sitesService with authentication service since sitesService get the username from oauth2Auth
* [AAE-12501] Call implicitLogin by authentication service
* [AAE-12501] Replace Oauth2Auth with AlfrescoApi and call the custom api without using authentication
* [AAE-12501] Replace oauth2Auth with authentication service to get the token
* [AAE-12501] Replace oauth2Auth with alfrescoApi
* remove unneeded JS-API dep
move auth in the right place
* [AAE-10501] Rename alfresco-api.http-client to adf-http-client
* [AAE-10501] Remove config from a CoreModule, a different service is provided in AuthModule to use angular http client instead of super agent
* [AAE-10501] Disable AlfrescoApi oauth initialization while using new adf oidc authentication
* [AAE-12501] Replace alfresco api client with AdfHttpClient
* [AAE-12501] Restore get username methods
* [AAE-12501] Get username with authentication service
* [AAE-12501] removee unused method
* [AAE-12501] Trigger on login when token is received
* [AAE-12501] Fix content-services unit test
* [AAE-12501] Fix import
* [AAE-12501] Fix core unit tests
* [AAE-12501] Fix process-services-cloud unit tests
* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request
* [AAE-12501] Fix process-services-cloud unit tests without Expectation
* [AAE-12501] Fix Core secondary entrypoints unit tests are not executed: move test.ts one level up in order to find all the spec files into the secondary entrypoints folders and update path
* [AAE-12501] Fix Core unit tests that weren't executed because of the previous test.ts wrong location
* [AAE-12501] Fix authentication token_issued subscription
* add emitters
* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues
* [AAE-12501] Install event-emitter dependency
* [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies
* [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded
* [AAE-12501] Fix license-header lint issue
* [AAE-14221] Regenerate lock file
* [AAE-14221] Fix sonarcloud issues
* [AAE-12501] Remove wrong character
* [AAE-12501] Regenerate lock file
* [AAE-12501] Fix BC: update alfresco api response error
---------
Co-authored-by: eromano <eugenioromano16@gmail.com>
* ADF-5505 Removed some angular flex usages
* ADF-5505 Deprecated usage of angular flex layout in demo shell
* ADF-5505 Deprecated usage of angular flex layout in core files
* ADF-5505 Removed usage of angular flex layout from files from process services
* ADF-5505 Removed usage of angular flex layout from files from process services cloud
* ADF-5505 Removed usage of fxflex and fxlayout from left files
* ADF-5505 Removed usage of fxhide from left files
* ADF-5505 Fixed issue with incorrect colors
* ADF-5505 Fixed some lint issues
* ADF-5505 Removed imports of FlexLayoutModule
* ADF-5505 Uninstalled angular flex layout dependency
* ADF-5505 Removed usage of ngClass with gt-md
* ADF-5505 Removed duplicated selector
* ADF-5505 Removed empty line
* ADF-5505 Changed encapsulation
* [ACA-4676] Added NonResponsivePreview dialog to download file incase file preview takes longer than a set period of time.
* [ACA-4676] Updated button positioning for non responsive preview dialog
* [ACA-4676] Added documentation for NonResponsivePreviewDialog functionality for viewer.component.ts
* [ACA-4676] Added unit tests for NonResponsivePreviewDialog
* [ACA-4676] Updated template of NonResponsivePreviewDialog to use components and directives from mat-dialog. Removed non-responsive-dialog.component.scss. Removed unused methods from non-responsive-dialog.component.ts
* [ACA-4676] Corrected typo in NonResponsivePreviewDialog unit tests
* [ACA-4676] Added test cases for NonResponsivePreviewDialog in viewer.component.ts. NOT WORKING
* [ACA-4676] Fixed test cases for non-responsive preview dialog. Moved NonResponsivePreview dialog tests to separate describe block. Updated component code to make properties and methods visible to testing environment
* [ACA-4676] Migrated viewer component test env setup from setupTestBed() to TestBed.configureTestingModule(). Moved NonResponsivePreviewDialog unit tests to inside parent Viewer component describe block
* [ACA-4676] Removed unused async tag. Added license info to non-responsive-dialog.component.ts and non-responsive-preview-actions.enum.ts
* [ACA-4676] Updated code to use "viewer" appConfig object instead of "preview-config". Added non-responsive-preview-actions.enum.ts to public-api.ts
* [ACA-4676] Resolved potential lint issues
* [ACA-4676] Updated non responsive preview to look for viewer config object inside app.config instead of preview-config
* [ACA-4676] Removed duplicate import for @adf/core. Added NonResponsiveDialogComponent to adf/core exports
* [ACA-4676] Renamed properties/config/documentation from nonResponsivePreview to downloadPrompt. Renamed NonResponsivePreviewActionsEnum to DownloadPromptActions.
* [ACA-4676] Resolved linting and unit test failures
* [ACA-4676] Changed dataType for timers to number. Updated code to use window.setTimeout(), instead of just setTimeout(). Added missing whitespace. Updated method names in demo shell to use 'downloadPrompt' naming scheme.
* [ACA-4676] Fixed incorrect import statement in viewer.module.ts for download-prompt-dialog
* [ACA-4676] Testing disabled by default behaviour of downloadPrompt feature
* [ACA-4676] Changed default value for enableDownloadPrompt and enableDownloadPromptReminders to false in app.config.json
* [ACA-4676] Removed un-needed AppConfig configurations from unit tests
* [ACA-4681] Added feature in DocumentListComponent to auto download a file if it exceeds a pre defined file size threshold
* [ACA-4681] Added test cases for file auto download feature in document list (NOT WORKING)
* [ACA-4681] Fixed unit tests for file auto download feature of document list
* [ACA-4681] Removed unused variables from app.config.json
* [ACA-4681] Resolved code review findings. Local constants are no longer upper case only (used camelCase instead). FileAutoDownload component template now uses mat-dialog provided directives and components. Removed file-auto-download.component.scss. Removed unused methods from file-auto-download.component.ts
* [ACA-4681] Added licence info to file-auto-download-actions.enum.ts
* [ACA-4681] Added license info to file-auto-download.component.ts
* [ACA-4681] Removed empty constructor
* [ACA-4681] Updated appConfig property name from "preview-config" to "viewer".
* [ACA-4681] Added JSDoc for FileAutoDownloadActionsEnum
* [ACA-4681] Updated ADF demo shell application to use "viewer" appConfig object instead of "preview-config"
* [ACA-4681] Resolved lint issues
* [ACA-4681] Removed dependency from NodeActionsService inside DocumentListComponent. FileAutoDownload component now directly triggers the file download, instead of emitting FileAutoDownloadActionsEnum.Download.
* [ACA-4681] Removed unused async. Updated import statement
* [ACA-4681] Added FileAutoDownloadComponent to public-api.ts
* [HXCS-1322] fix e2e NotificaionComponent demo
* [HXCS-1173] revert to one line
* [HXCS-1173] move new test after breaking tests
---------
Co-authored-by: Adriano Costa <Adriano.Costa@hyland.comgit>
* AAE-12872 replaced global variables related to foreground text
* AAE-12872 replaced global css variables related to foreground
* AAE-12872 replaced global css variables related to background,palette colors
* [AAE-10779] Update documentation
* [AAE-10779] Update demo-shell user-info component call
* [AAE-10779] Ecm user info component
* [AAE-10779] Identity user info component
* [AAE-10779] Bpm user info component
* [AAE-10779] Remove ecm-panel id references
* [AAE-10779] add stories and remove old component
* [AAE-10779] Update doc version and remove leftover html tag
* trigger travis
* [AAE-10779] rename ecm-user-info to content-user-info and bpm-user-info to process-user-info
* [AAE-10779] update docs
* [AAE-10779] fix demo-shell user-info
* [AAE-10779] add docs
* refactor version 1 many todo
* split render from viewer
move alfresco render in content pack
* refactor part 2
* test fixed
* fix doc
* [AAE-10778] Fix lint issues
* [AAE-10778] Fix lint issue: remove duplicated declaration
* [AAE-10778] Fix lint issue: use flex shorthand rule
* [AAE-10778] Fix FormService and WidgetComponent imports
* [AAE-10778] Fix import FormModel, FormService, FormFieldModel from adf-core
* [AAE-10778] Implement missing oninit, onchanges and ondestroy
* [AAE-10778] Replace adf-viewer with adf-alfresco-viewer, update escape command to close the viewer
* [AAE-10778] Fix unit test: fix the class name to match the 'adf-viewer-render.image-viewer-scaling' get from the appConfigService
* [AAE-10778] Fix image-viewer unit tests: replace ContentService with UrlService
* [AAE-10778] Fix unit test 'should if the extension change extension Change event be fired': emit file extension when the filename extension change
* [AAE-10778] Fix unit test: expect for internalFileName value instead of display-name id because the display name logic has been moved to the alfresco-viewer.component
* [AAE-10778] Fix unit test: remove display name it because the unknown display name value is no longer handled after refactoring
* [AAE-10778] Fix e2e: [C260096] Should the Viewer able to accept a customToolbar
* [AAE-10778] Update selector to fix e2e: '[C362265] Should the Viewer be able to download a previous version of a file'
* [AAE-10778] Update selector to fix e2e: '[C260038] Should display first page, toolbar and pagination when opening a .pdf file'
* fix aftrer rebase
* fix unit test
* [AAE-10778] Add adf viewer component that is node agnostic, show adf-alfresco-viewer or adf-viewer into file-view-component if blob or node are set
* [AAE-10778] Update viewer export path
* [AAE-10778] Update selectors since have been updated in the viewer component
* [AAE-10778] Call adf-viewer from alfresco-viewer, project adf-alfresco-viewer content to adf-viewer
* [AAE-10778] Remove full screen unit tests from alfresco-viewer component becase that logic is handled in the viewer.component
* [AAE-10778] Export toolbar custom actions component
* [AAE-10778] Pass mimeType as input to adf-viewer to update mime icon
* [AAE-10778] Remove e2e because the custom name behaviour has been removed from the file-view.component (9f21b6dc69\#diff-4b438dc59784dce9eb7634cfeca6d8db61362966343bd3d6895a3edafdf4cfd5L129)
* [AAE-10778] Use two-way binding for showViewer change to fix C260100
* [AAE-10778] Update prefix css selectors to adf-viewer because are related to the adf-viewer component
* [AAE-10778] Update prefix css selectors to adf-viewer in the unit tests because are related to the adf-viewer component
* [AAE-10778] Update the output name to showViewerChange to navigate to primary url after closing the viewer
* [AAE-10778] Pass right and left sidebar template context to viewer component (fix C362242)
* [AAE-10778] Add allowFullScreen input to disable/enable full screen behaviour
* [AAE-10778] Handle loading visualization only inside the viewer-render component
* [AAE-10778] PDF viewer: fix mat-progress-bar is not showed during the pdf loading, center progress bar
* [AAE-10778] Remove isLoading from unit tests because no longer exists
* [AAE-10778] Remove viewerType input from adf-viewer, viewerType will be handled by viewer-render
* [AAE-10778] Remove console.log
* [AAE-10778] Remove check full screen button is not displayed on the media file because is not needed anymore, we don't need to check for the fullscreen button in the viewer component
* [AAE-10778] Check for node rendtion before to assign to urlFileContent and mimeType
* [AAE-10778] Process Services Cloud: register file-viewer widget that uses adf-alfresco-viewer component to display content from ACS
* [AAE-10778] Core: rename file-viewer widget into base-viewer, base-viewer no longer accept nodeId, but will accept urlFile and blobFile
* [AAE-10778] Process Services: register file-viewer widget that uses adf-alfresco-viewer component to display content from ACS
* [AAE-10778] Base viewer widget: show viewer only if there's a file input
* [AAE-10778] Viewer component: check for fileName when urlFile is provided as Input
* [AAE-10778] Viewer component documentation
* [AAE-10778] Update upgrade guide with viewer changes
* [AAE-10778] Fix double quote lint issue after rebase
---------
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
Co-authored-by: Amedeo Lepore <amedeo.lepore85@gmail.com>
* Move in common service the real common services
remove Pagination js-api dependencies
move search-input component in content
* fix unit
* fix lint
* fix
* fix
* move form list in a component
* move things in the right place
* move last pice in the right place
* move things in the right place
* move people and group in the right place
* move radio and typehead
form service start remove responsibilities
* remove model service and editor service from formService
* move dropdwon in process-service
finish remove service from form service
* fix some wrong import
* move activiti
* fix double quote imports
* move dynamic table
* fix shell
* move unit test
* [ci:force] fix lint issues
* fix build and some unit test
* fix process spec type spy problems [ci:foce]
* fix
* fix broken tests
* fix lint issues
* fix cloud dropdown test
* cleanup process-service-cloud tests
* fix people process
* improve e2e test
Co-authored-by: Kasia Biernat <kasia.biernat@hyland.com>
* [AAE-10768] Refactor core comments
* [AAE-10768] Add models export in core comments refactor
* [AAE-10768] Add comments implementation inside process-services package
* [AAE-10768] Add task comments module to process module
* [AAE-10768] Add node comments module to content services
* [AAE-10768] Add id check to getComments and addComments in adf-core comments component
* [AAE-10768] Remove unused service files in process-comments module
* [AAE-10768] Remove unused service files in process-comments module
* [AAE-10768] Add testing logic to spec files
* [AAE-10768] Add comments components readme
* [AAE-10768] Add a mock service to inject into the comment stories file
* [AAE-10768] Add mock data for comments stories
* [AAE-10768] Add mock service to inject into comments stories
* [AAE-10768] Rename mock service and mock data
* [AAE-10768] change taskId with id into the comments test because taskId is never used
* [AAE-10768] Resolve pr suggestions
* [AAE-10768] Resolve task-comments pr suggestions
* [AAE-10768] Resolve comments pr suggestions
* [AAE-10768] Fix merge error in comments.component.html
* [AAE-10768] Add missing markdown files
* [AAE-10768] Remove events from md files
* [AAE-10768] Update upgrade50-60.md with renamed input property
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
* ACS-3640 Increasing time of autoclosing snackbar and adding possibility to add icon to snackbar content
* ACS-3640 Fix lint issues
* ACS-3640 Addressing PR comments and adding possibility to display icon together with label
* ACS-3640 Fix lint issues
* ACS-3640 Added possibility to change showAction for different types of notifications
* ACS-3640 Addressed PR comments
* ACS-3640 Corrected title for snackbar content md file and remove redundant test for snackbar content
* ACS-3640 Fixed lint issues
* ACS-3640 Fixed unit tests
* ACS-3640 Fixed e2e tests
* ACS-3640 Correction after rebasing
* ACS-3640 Use data automation id
* ACS-3640 Corrected one more selector
* ACS-3640 Added spaces
* ACS-3640 Added spaces
* ACS-3640 Added spaces
* ACS-3640 Added spaces
* [AAE-10772] move CheckAllowableOperationDirective to content services
* [AAE-10772] move LibraryFavoriteDirective to content services
* [AAE-10772] move LibraryMembershipDirective to content services
* [AAE-10772] move NodeDeleteDirective to content services
* [AAE-10772] move NodeFavoriteDirective to content services
* [AAE-10772] update imports on LibraryMembershipDirective
* [AAE-10772] move NodeRestoreDirective to content services
* [AAE-10772] move UserInfoModule to content services
* Revert "[AAE-10772] move UserInfoModule to content services"
This reverts commit ede1d5db3923859586d88646ca7826abd3d30cf1.
* [AAE-10772] Remove barrel imports and move library membership interfaces into LibraryMembershipDirective because are only used in that directive
* [AAE-10772] Remove barrel imports from spec files
* [AAE-10772] Move directive md files from core to content-services
* [AAE-10772] Fix files path into the docs files
* [AAE-10772] Export library membership interfaces because are imported by the ACA ToggleJoinLibraryButtonComponent
Co-authored-by: Diogo Bastos <diogo.bastos@hyland.com>
* ACS-3640 Increasing time of autoclosing snackbar and adding possibility to add icon to snackbar content
* ACS-3640 Fix lint issues
* ACS-3640 Addressing PR comments and adding possibility to display icon together with label
* ACS-3640 Fix lint issues
* ACS-3640 Added possibility to change showAction for different types of notifications
* ACS-3640 Addressed PR comments
* ACS-3640 Corrected title for snackbar content md file and remove redundant test for snackbar content
* ACS-3640 Fixed lint issues
* ACS-3640 Fixed unit tests
* ACS-3640 Fixed e2e tests
* ACS-3640 Correction after rebasing
* fix after rebase
* new release strategy for ng next
Signed-off-by: eromano <eugenioromano16@gmail.com>
* peer dep
Signed-off-by: eromano <eugenioromano16@gmail.com>
* Angular 14
fix unit test and storybook
Signed-off-by: eromano <eugenioromano16@gmail.com>
fix after rebase
Signed-off-by: eromano <eugenioromano16@gmail.com>
update pkg.json
Signed-off-by: eromano <eugenioromano16@gmail.com>
missing dep
Signed-off-by: eromano <eugenioromano16@gmail.com>
Fix mistake and missing code
Dream....build only affected libs
Add utility run commands
* Use nx command to run affected tests
* Fix nx test core
fix content tests
Run unit with watch false
core test fixes
reduce test warnings
Fix process cloud unit
Fix adf unit test
Fix lint process cloud
Disable lint next line
Use right core path
Fix insights unit
fix linting insights
Fix process-services unit
fix the extensions test report
fix test warnings
Fix content unit
Fix bunch of content unit
* Produce an adf alpha of 14
* hopefully fixing the content
* Push back the npm publish
* Remove flaky unit
* Fix linting
* Make the branch as root
* Get rid of angualar13
* Remove the travis depth
* Fixing version for npm
* Enabling cache for unit and build
* Fix scss for core and paths
Copy i18 and asset by using ng-packager
Export the theming alias and fix path
Use ng-package to copy assets process-services-cloud
Use ng-package to copy assets process-services
Use ng-package to copy assets content-services
Use ng-package to copy assets insights
* feat: fix api secondary entry point
* fix storybook rebase
* Move dist under dist/libs from lib/dist
* Fix the webstyle
* Use only necessary nrwl deps and improve lint
* Fix unit for libs
* Convert lint.sh to targets - improve performance
* Use latest of angular
* Align alfresco-js-api
Signed-off-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>