* [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