Commit Graph

1807 Commits

Author SHA1 Message Date
Amedeo Lepore
4232d04c2e Fix login errors with the BASIC authentication 2023-08-31 10:27:07 +02:00
Amedeo Lepore
cbb501155f Fix unit tests core 2023-08-31 10:27:07 +02:00
Amedeo Lepore
5b2746185b Fix unit test '[BPM] should return an BPM ticket after the login done': add Basic suffix to basicAuth 2023-08-31 10:27:07 +02:00
Amedeo Lepore
5796bf367e Remove AlfrescoApiService is not used anymore 2023-08-31 10:27:07 +02:00
Amedeo Lepore
7e6a659d46 Fix unit test '[ECM] should return a ticket undefined after logout' 2023-08-31 10:27:07 +02:00
Amedeo Lepore
f47d0d026c Fix authentication unit tests 2023-08-31 10:27:07 +02:00
Amedeo Lepore
ac1c0ef93d Fix circular dependecies issue importing AppConfigService outside the api entrypoint dir 2023-08-31 10:27:07 +02:00
Amedeo Lepore
76bd08380f 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
2023-08-31 10:26:30 +02:00
Amedeo Lepore
7978ddd196 Fix exports 2023-08-31 10:26:30 +02:00
eromano
f9a378b7f9 fix lint 2023-08-31 10:26:30 +02:00
eromano
ccde807f0e fix unit test 2023-08-31 10:26:30 +02:00
eromano
58ba5b730a clean 2023-08-31 10:26:30 +02:00
eromano
5b235212eb 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
2023-08-31 10:26:30 +02:00
Amedeo Lepore
f2afe1cf8a [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded 2023-08-31 10:26:30 +02:00
Amedeo Lepore
7db4b97496 [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies 2023-08-31 10:26:30 +02:00
Amedeo Lepore
6dd899f585 [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues 2023-08-31 10:26:30 +02:00
eromano
a4b6afedb9 add emitters 2023-08-31 10:26:30 +02:00
Amedeo Lepore
ce08f16663 [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request 2023-08-31 10:26:30 +02:00
Amedeo Lepore
f94df8a5fd [AAE-12501] Restore get username methods 2023-08-31 10:26:30 +02:00
Amedeo Lepore
fcb7962a05 [AAE-12501] Replace alfresco api client with AdfHttpClient 2023-08-31 10:26:30 +02:00
eromano
3b9d1ace1b remove unneeded JS-API dep
move auth in the right place
2023-08-31 10:26:30 +02:00
Denys Vuika
3b4ce3b857 [ACS-5839] migrate to latest JS-API types (#8859)
* [ci:force] migrate Minimal Node to Node

* [ci:force] remove js-api wrappers and use real types

* [ci:force] remove js-api wrappers and use real types

* [ci:force] fix linting errors

* [ci:force] fix linting errors

* [ci:force] security fixes

* [ci:force] sonarcloud bug fixes

* [ci:force] dead code elimination, sonar suggested fixes
2023-08-29 20:56:40 +01:00
Aayush Rohila
837b3b1b92 [ACS-5640] Changing from moment to date-fns. (#8796) 2023-08-25 13:52:51 +05:30
Denys Vuika
29ec2fcc96 [ACS-5845] remove Alfresco Compatibility usage (#8822)
* upgrade to latest js-api

* upgrade to latest js-api

* upgrade to latest js-api

* upgrade to latest js-api

* upgrade to latest js-api

* upgrade to latest js-api

* fix security concerns for execSync

* security fix

* fixes as per code reviews

* code fixes for attach file widget dialog

* code fixes

* code fixes

* disable ACS storage check

* add the jira to the commented out block

* remove useless logger call

* code fixes

* code fixes

* code fixes

* code and typing fixes

* fix lint

* disable the code

* try other fixes, add missing headers

* dump error to console

* replace test file with in-memory stream

* code fixes

* simplify checks

* disable upload

* remove useless test and ng-mocks dependency
2023-08-22 00:02:39 +01:00
DominikIwanek
673010d271 [ACS-5738] unable to unselect libraries (#8825)
* [ACS-5738] - Make libraries in datatable to be possible to unselect
2023-08-17 12:26:18 +02:00
Alfresco Build
1b06742eb6 [ci:force][auto-commit] Update dependencies JS:6.3.0-1108 (#8815)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-08-13 14:31:35 +01:00
Alfresco Build
f1d9e0a92f [ci:force][auto-commit] Update dependencies JS:6.3.0-1104 (#8800)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-08-12 09:33:16 -04:00
Wiktor Danielewski
57ff885483 [AAE-15988] Update About component (#8814)
* [AAE-15988] Update About component

* [AAE-15988] Add automationId to AboutPanel directive
2023-08-11 15:11:58 +01:00
Tomasz Gnyp
e7dbedd497 [AAE-15815] Export variable config interface (#8813) 2023-08-11 11:32:30 +02:00
Denys Vuika
f201efd56a [ACS-5761] Demo Shell Cleanup (part 2) (#8807)
cleanup demo shell
2023-08-10 22:18:21 +01:00
DominikIwanek
ca60b392d4 [ACS-5693] - Fix flickering edit icon (pencil) on hover in chip-list input (#8808) 2023-08-10 16:18:44 +02:00
Pablo Martinez Garcia
04803c1815 [AAE-15839] Fix file object input in viewers (#8804)
* [AAE-15839] Fix file object input in viewers

* [AAE-15839] Attend review comments

* [AAE-15839] Remove duplication

* [AAE-15839] Fix package-lock.json

* [AAE-15839] Fix package.json

* [AAE-15839] Remove duplication

* [AAE-15839] Remove duplication
2023-08-09 13:30:50 +02:00
Tomasz Gnyp
1f96c3452c [AAE-15815] Create Data Table widget (#8801)
* [AAE-15815] Create Data Table widget

* [AAE-15815] Add check for corectness of column schema

* fix mock name typo

* improve method name

* fix testing module config
2023-08-09 01:31:39 +02:00
Denys Vuika
4f2b3bce3c [ACS-5761] Demo Shell pages cleanup (#8802)
remove the content that is not covered by e2e testing, preparation steps for the demo shell decommissioning
2023-08-08 14:09:41 +01:00
Alfresco Build
17535c9f53 [ci:force][auto-commit] Update dependencies JS:6.3.0-1070 (#8780)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-08-03 17:25:20 +01:00
Denys Vuika
3f3e83057d [ACS-5703] Comment List code and styles cleanup (#8787)
* remove useless locale

* remove useless id values, update tests

* code cleanup

* fix formatting

* css cleanup

* code cleanup

* style cleanup

* fix css scope

* cleanup styles

* remove sanitise and don't bind to innerHTML

* reduce ng-container

* move model specific logic to Comment Model

* update tests, remove sanitise tests

* drop carma coverage to 72 as code removed

* drop selection animation as selection operations are not supported by the component itself

* cleanup css

* fix tests and lint

* update stories and tests

* fix line breaks

* move e2e to unit test

* disable search tests

* disable search tests

* disable search tests
2023-07-31 19:23:46 +01:00
Suman Chattopadhyay
48898df0fa [AAE-15741] ADF CardView component - headers for multivalued strings, integers and floats (#8789)
[AAE-15741] add configuration for display label for multivalued chip property



Co-authored-by: “chndn004” <“chandanchatterjee04@gmail.com”>
2023-07-28 12:28:56 +05:30
Alfresco Build
049fb16c6b [ci:force][auto-commit] Update dependencies JS:6.3.0-1054 (#8774)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-07-24 09:28:11 +02:00
Denys Vuika
e20de99974 [ACS-5687] info drawer layout fix for header (#8772) 2023-07-24 09:28:11 +02:00
swapnil.verma
640a736530 [ACS-4985] Resolved e2e test cases
[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
2023-07-24 09:28:11 +02:00
Alfresco Build
2c937060d2 [ci:force][auto-commit] Update dependencies JS:6.3.0-1052 (#8748)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-07-21 10:48:55 +02:00
Popovics András
1ebac21251 [HXCS-1479] Breadcrumbs as secondary entry point (#8750)
* Move breadcrumb outside of the core

* Fix styling

* Fix storybook
2023-07-20 16:13:09 +02:00
Denys Vuika
1a4d7ba008 [ACS-5629] enhanced way of providing translations (#8763)
* enhanced way providing translations

* update documentation

* update documentation

* test fixes

* try add missing module import

* inject i18n to core module to cause the setup
2023-07-18 20:06:09 +01:00
Denys Vuika
f45d69eb49 [ACS-5620] stabilise unit tests by switching to standard Angular api (#8759)
* switch to standard TestBed api for unit testing

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes
2023-07-15 15:02:33 +01:00
Aayush Rohila
77210f43c3 [ACS-5145] Align header row with data rows. (#8732)
* [ACS-5145] Align header row with data rows.

* Styled email and status header for disabled to sort.

* update to accomodate change in another PR
2023-07-14 18:52:49 +05:30
Alfresco Build
7951eba089 GH Auto: Upstream dependencies JS-API:6.3.0-1031 (#8741)
* [ci:force][auto-commit] Update dependencies JS:6.3.0-1031

* Trigger CI

---------

Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>
2023-07-10 18:08:07 +02:00
Ehsan Rezaei
6e203d3aa0 [AAE-15610] - Fixed column resizing issue (#8742)
* [AAE-15610] - Fixed column resizing issue

* AAE-15610: Code improvement

* AAE-15610: Added coverPadding input to resize directive

* AAE-15610: Code Improvement by setting first and last column width based on padding dynamically

* AAE-15610: Fixing lint issue
2023-07-10 10:39:22 +02:00
Alfresco Build
11155e3882 [ci:force][auto-commit] Update dependencies JS:6.3.0-1025 (#8740)
Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
2023-07-05 22:37:43 +02:00
Tomasz Gnyp
10afd501af Fix username pipe div text assign (#8737) 2023-07-05 13:36:33 +02:00
Ehsan Rezaei
8a0769a3c9 [AAE-15523] Setting default value for csrf check (#8736) 2023-07-04 19:57:23 +02:00