* Removing js-api external dep
* Fixed targeting
* Fixed targeting with local js-api
* [affected:*] Fixed targeting with local js-api
* Fixed bundle for CI
* [MNT-23433] configure position for close button
* [MNT-23433] added documentation
* [MNT-23433] unit test title fix
* [MNT-23433] setting close button position
* [MNT-23433] removed extra space
* [MNT-23433] lint issue resolved
* [MNT-23433] setting default position to left
* [MNT-23433] updated the type
* [MNT-23433] add check for info button
* [MNT-23433] indentation fix
* [MNT-23433] documentation added
* [MNT-23433] unit test updated
* [MNT-23433] linting issue resolved
* [MNT-23433] update unit test
* [MNT-23433] lint issue resolved
* [ACS-6107] Removed date range component from ADF content-services
* [ACS-6107] Removed references of date range component in code
* [ACS-6107] Updated documentation to replace occurrences of date range component with date-range-advanced-tabbed component
* [ACS-6107] Renamed DateRangeAdvanced to DateRange. Renamed DateRangeAdvancedTabbed to DateRangeTabbed
* [ACS-6107] Fixed missing export of SearchDateRangeTabbedComponent
* [ACS-6107] Replaced occurrences of date-range-advanced with date-range in HTML and Unit Tests automation ids
* [ACS-6107] Documentation corrections
* [ACS-6107] Reverted unneeded documentation formatting
* [ACS-6107] Reverted unneeded documentation formatting
* [ACS-6107] Reverted unneeded documentation formatting
* [ACS-6107] Migrated unneeded E2E test case to unit test
* [ACS-6107] Removed search-date-range E2E
* [ACS-6107] Resolved PR comments. Removed date-range-filter.page.ts. Removed unused translation keys. Updated documentation to refer proper comment name
* [ACS-6107] Updated documentation for SearchDateRange component to mention the change from original configuration to the newer configuration
* [ACS-6107] Corrected wrong version in documentation
* [ci:force]
* [ACS-6107] Removed unneeded file
* [ACS-6107] Updated unit tests and mock data after rebase
* [ci:force]
* [ACS-6107] Revert unneeded change. Remove unneeded file
* [ci:force]
* [ACS-6107] Updated E2E search config
* [ci:force]
* [ACS-6107] Updated E2E expects after component changes
* [ci:force]
* remove unneeded JS-API dep
move auth in the right place
* [AAE-12501] Replace alfresco api client with AdfHttpClient
* [AAE-12501] Restore get username methods
* [AAE-12501] Get username with authentication service
* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request
* add emitters
* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues
* [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] Remove wrong character
* Pass down the requestUrl for request interception
bring back check from js-api
fixing isLogin issues part1
some fix around emit
Narrow access for methods
fix sso username issue
Switch to dynamic service injection
add emitters
move auth inside ADF
* clean
* fix unit test
* fix lint
* Fix exports
* Fix process-services unit tests
* Fix core unit tests
Fix core unit tests
Fix core unit tests
Fix core unit tests
Fix core unit tests
Fix core unit tests
Fix core unit tests
* Fix content-services unit tests: getEcmUsername from authentication service
Fix content-services unit tests: alfresco api service has been replaced by authentication service
* Fix circular dependecies issue importing AppConfigService outside the api entrypoint dir
* Import AuthModule even in not only canary mode to let the e2es run
* Fix authentication unit tests
* Fix unit test '[ECM] should return a ticket undefined after logout'
* Remove AlfrescoApiService is not used anymore
* Fix unit test '[BPM] should return an BPM ticket after the login done': add Basic suffix to basicAuth
* Fix unit tests core
* Fix login errors with the BASIC authentication
* Fix missing onLogin event
* Temporary skip unit tests to check e2es
* Fix login component doesn't add the authorization header
* Fix prefix is undefined
* Fix image is not showed by the alfresco file viewer because alf_ticket is not added to the content url query params, pass ticketEcm to the alfrescoApi configuration used by alfrescoApiClient.ts getAlfTicket()
* Fix C280012: set app prefix before calling content api
* Revert "Fix image is not showed by the alfresco file viewer because alf_ticket is not added to the content url query params, pass ticketEcm to the alfrescoApi configuration used by alfrescoApiClient.ts getAlfTicket()"
This reverts commit afbf086b98d72835aab8b15d4af433efeaac2d3b.
* try to change adf core autoamtion service init
* go back
* grant type password login
* fix
* remove automatic login in reset try
* fix not silent login
* lint happy
* fix
* Update alfresco-api-v2-loader.service.ts
* fixint
* Revert "Temporary skip unit tests to check e2es"
This reverts commit a0adc7e58a001a54442c82952761bff891caa5cd.
* fix modules
* fix app config stream in storing service
fix app config stream for sub property
* fix identity test to use the real service
* fix unit
* fix unit
* fix unit
* remove test that are probably have never been green
* fix
* fix PC
* fix localstorage
* fix
* fix
* fix
* fix
* fix storybook
move e2e in content for versioning
fix lint
* fix
* fix size
* enable log
* some fix for usernames
* remove log
* fix rebase
* [AAE-12502] Restore isKerberosEnabled into authentication service
* subject onLogin
* fix unit
* Fix lint issue
* fix
* Update error message
* Revert change did by b79c5d37d6\#diff-ad85723e21276e05e577bab652c6ab0d243bd0ad54d4cc70ef6e60dc5e635c33L38
* Refresh the browser to wait for the user to click process cloud page
* Remove e2e, the application list is already tested by the app-list-cloud.component.spec.ts https://github.com/Alfresco/alfresco-ng2-components/blob/dev-eromano-AAE-12501-2/lib/process-services-cloud/src/lib/app/components/app-list-cloud.component.spec.ts\#L147
* [12502] Add getUsername method to the AuthenticationService
* [12501] restore mutlipart/form-data header needed by angular http-client to to fix 415 unsupported media type
* Revert "[12501] restore mutlipart/form-data header needed by angular http-client to to fix 415 unsupported media type"
This reverts commit d8c584b94f649b57859d74157ec0861f2ebddebb.
* [12501] fix unsupported upload file on admin-apa, append json content type only calling alfresco api
* [12501] fix unsupported upload file on admin-apa
[12501] fix unsupported upload file on admin-apa
* Revert "[12501] fix unsupported upload file on admin-apa"
This reverts commit 53cda21d795588d87244c78c5a5347afd04ea2b1.
* Improve getHeaders
* Revert change
* Set application/json content type if request body is not a FormData
* Logout by the authenticationService
* Update returned error message
* Fix lint issues after rebasing
* [12502] Add basic template with data-automation-ad selector to check when is attached to the Dom
* Fix issues after rebase
---------
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
* strongly typed forms
* migrate to date-fns
* [ci:force] mark moment pipes for deprecation
* [ci:force] try migrate the metadata smoke e2e
* [ci:force] remove dead code
* cleanup dead code and switch e2e to date-fns
* [ci:force] migrate tests
* revert metadata
* [ci:force] migrate e2e
* [ci:force] delete date util
* [APPS-2157][APPS-2158][APPS-2161][APPS-2162][2165] Migration from moment to date-fns
* Modified endDate to CompletedDate
* Addressed review comments
* Revert import for dataFnsUtil
* Replace fit to it
* fix types and avoid double date conversion
* fix lint issue
* support iso strings for date formatting
---------
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
* Bump js-api version
* Fix imports
* Fix content-services unit tests
* Fix process-services unit tests
* [ci:force] Trigger CI
* Fix code smells
* Fix orderBy param
* Fix code smells
* Fix failing unit tests
* Bump js-api version and align with new changes
* Remove dangling coma
* Fix delete return type
* Add correct date format in task filters e2es
* Fix typing in task filter sorting
* Fix activiti content api import
* Add null check for has avatar
* Make User class instead of type
* Fix user type in comment model
* Fix sonar cloud issue
* Type fixes
* Update js-api version
[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
* Shared link expiry date code implementation
* test case updated
* removed unsed code
* design changes as per the new design of Share dialog
* test cases modification as per new design changes
* placeholder modified for expiration date
* look and feel changes for share dialog as per Shane comments
* boolean name changed as per naming convention
* review comments addressed
* review comments addressed
* type specified for node object
* linting corrections
* resolved nested ternary date operation into an independent statement
* review comments addressed
* used date-fns instead of moment.js in code as well as in test cases
* review comments for date-fns addressed
* removed extra line
* removed extra empty lines in template
* import changes and indentation correction
* error in console resolved which was occuring after selecting date and time
* used mat-datepicker instead of mat-datetimepicker
* package-lock.json file updated for date-fns implementation
* made type 'date' as default and removed the settings coming from the ACA
* unit test case modifications as per calender changes
* e2e modifications as per new calendar component
* AAE-13069: Removing extra div inside mat label
* AAE-13069: Removing font size css rule and applying right class to the mat label
* AAE-13069: Refactoring text item component based on Angular Material
* AAE-13069: Updated unit test
* AAE-13069: Fixed lint issues
* AAE-13069: Fixed styles
* AAE-13069: Updated e2e tests
* AAE-13069: Updated e2e tests
* 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 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>
* 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
* 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>