1447 Commits

Author SHA1 Message Date
Wojciech Duda
d7e0bb6cd3
[AAE-16369] use layout-bp mixin where applicable (#8896) 2023-09-28 14:18:15 +02:00
Alfresco Build
ed0dd094b4
[ci:force][auto-commit] Update dependencies JS:7.1.0-1349 (#8941)
Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
2023-09-28 10:23:44 +02:00
Alfresco Build
a488a729eb
[ci:force][auto-commit] Update dependencies JS:7.1.0-1346 (#8939)
Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
2023-09-28 00:36:57 +02:00
Mykyta Maliarchuk
44694c0ee1
[ACS-5748] The file gets unshared when setting the past expiration date (#8876)
* [ACS-5748] set validation for share link input

* [ACS-5748] code smells

* [ACS-5748] lint

* [ACS-5748] rebase

* [ACS-5748] CR fixes

* [ACS-5748] rebase
2023-09-27 16:30:47 +02:00
Alfresco Build
06bfded238
[ci:force][auto-commit] Update dependencies JS:7.1.0-1331 (#8925)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-27 15:10:01 +02:00
Denys Vuika
ef551a9c71
Improved ESLint configuration, integrated spellcheck and error fixes (#8931)
* integrate cspell with eslint, improved configuration

* core: fix linting errors

* core: fix lint warnings

* content: lint fixes

* process service lint fixes

* lint: process services cloud

* lint: insights

* lint: extensions

* [ci:force] lint: cli fixes

* [ci:force] comment out dead code

* [ci:force] exclude dead code

* fix code and tests

* rollback some changes

* fix testing lib

* fix demo shell

* minor lint warning fixes

* minor lint fixes

* fix process services
2023-09-26 13:46:53 +01:00
Alfresco Build
919a8ba80c
[ci:force][auto-commit] Update dependencies JS:7.1.0-1313 (#8918)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-22 04:58:09 -04:00
Denys Vuika
9ca7dbdce9
Release 6.3.0 (#8917)
* bump versions and deps

* release reports

* release notes

* update lock file
2023-09-18 14:55:34 +01:00
Denys Vuika
a1dd270c5d
[ACS-5991] ESLint fixes and code quality improvements (#8893)
* prefer-optional-chain: core

* prefer-optional-chain: content, fix typings

* prefer-optional-chain: process, fix typings

* prefer-optional-chain: process-cloud, fix typings, fix ts configs and eslint

* [ci: force] sonar errors fixes, insights lib

* [ci:force] fix security issues

* [ci:force] fix metadata e2e bug, js assignment bugs

* [ci:force] fix lint issue

* [ci:force] fix tests
2023-09-18 09:42:16 +01:00
Alfresco Build
6df6fd16fc
[ci:force][auto-commit] Update dependencies JS:6.3.0-1289 (#8907)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-13 03:33:10 -04:00
DominikIwanek
e14e489d2d
[ACA-4313] - Sort order doesn't work correctly (#8892)
[ACA-4313] - Sort order doesn't work correctly
2023-09-12 16:07:16 +02:00
Mykyta Maliarchuk
0d5e70ebf7
[ACS-5742] Fix Search e2e's (#8902)
* [ACS-5742] added People filter to demo-shell

* [ACS-5742] fixed search e2e's

* [ACS-5742] linter

* [ACS-5742] build fix

* [ACS-5742] fixed build

* [ACS-5742] removed duplicated unit test
2023-09-12 05:34:44 -04:00
Alfresco Build
3aa55996bf
[ci:force][auto-commit] Update dependencies JS:6.3.0-1288 (#8904)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-12 04:43:40 -04:00
Alfresco Build
d2ef772e0a
[ci:force][auto-commit] Update dependencies JS:6.3.0-1280 (#8819)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-11 14:35:30 +01:00
MichalKinas
76e2870c66
Adjust ADF to latest JS-API version (#8882)
* 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
2023-09-07 07:29:42 -04:00
Aayush Rohila
b4ffc866d7
[ACS-5654] Retain filter header in document list. (#8811)
* [ACS-5654] Retain filter header in document list.

* [ACS-5654] Unit tests

* [ACS-5654] Unit tests

* [ACS-5654] Unit test fix.
2023-09-01 10:30:24 -04:00
Aayush Rohila
c6fdbd601a
[ACS-5876] Change from moment to date-fns for lock.service. (#8862)
* [ACS-5876] Change from moment to date-fns for lock.service.

* [ACS-5876] Unit test update.
2023-08-31 16:51:50 +01:00
Denys Vuika
c83d92c539
[ACS-5839] migrate from QueryBody to SearchResult type (#8861)
* [ci:force] migrate from QueryBody to SearchQuery

* [ci:force] migrate from QueryBody to SearchQuery

* [ci:force] migrate from QueryBody to SearchQuery

* [ci:force] update docs and variables as per code review
2023-08-31 15:36:21 +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
DominikIwanek
af3c7eb783
[ACS-5505] - Custom aspect properties are not updated when removing last existing property (#8828)
* [ACS-5505] - Custom aspect properties are not updated when removing last existing property
2023-08-28 11:28:10 +02:00
AleksanderSklorz
efa691b249
[ACS-5281] Allow to change editable of content metadata from parent (#8841)
* ACS-5281 Allow to change editable of content metadata from parent

* ACS-5281 Added empty spaces to import
2023-08-25 10:49:28 +02:00
tiagosalvado10
b58e6f628a
[MNT-23821] Filter custom aspects (#8790)
* [MNT-23821] Filter custom aspects

* [MNT-23821] getCustomAspects initialization

* [MNT-23821] Added aspect list service tests

* [MNT-23821] getCustomAspects - whiteList argument as optional. Added tests.

* [MNT-23821] Changed from double to single quotes

* [MNT-23821] Lint
2023-08-22 10:27:31 -04:00
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
AleksanderSklorz
40adcfec2d
[ACS-5797] Disable restore action for the latest version of file (#8827)
* ACS-5797 Hide restore action for the latest version of file

* ACS-5797 Removed duplications

* ACS-5797 Fix for e2e

* ACS-5797 Disable restore button for latest version
2023-08-17 18:44:18 -04:00
Mykyta Maliarchuk
3e56b9a4cc
[ACS-5226] Make Categories & Tags View Details Edit consistent (#8826)
* [ACS-5226] hide & clear tags input

* [ACS-5226] added unit test for reseting properties
2023-08-17 11:54:24 -04:00
DominikIwanek
f8d587bc2e
[ACS-5373] - Every getPerson() call changes current user (#8830) 2023-08-17 17:08:46 +02:00
Denys Vuika
d0b1f77b7b
fix document list memory leak (#8823) 2023-08-16 14:46:30 +01:00
MichalKinas
005115ee19
[ACS-5836] Display label for chips (#8820) 2023-08-14 10:59:14 -04: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
Grzegorz Jaśkowski
6cb881e8cf
[ADF-5557] add missing i18n resources for library membership directive (#8806)
* ADF-5557 add missing i18n resources for library membership directive

* ADF-5557 change i18n key naming in moved resources
2023-08-11 15:13:25 +01:00
Denys Vuika
f201efd56a
[ACS-5761] Demo Shell Cleanup (part 2) (#8807)
cleanup demo shell
2023-08-10 22:18:21 +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
9497abcb43
[ACS-5743] Cleanup Content tests (Demo Shell) (#8799)
* remove unused demo shell api

* remove recent files and cleanup unused api

* cleanup upload dialog page

* [ci:force] dummy commit

* [ci:force] cleanup the toolbar and tooltips

* [ci:force] remove dead code

* [ci:force] remove logger and custom action

* [ci:force] remove custom permission e2e test as already tested by unit

* [ci:force] remove "Start process" from the Content demo as not related to document list

* [ci:force] remove useless divs for selection

* [ci:force] dummy change to trigger CI/CD

* Revert "[ci:force] remove useless divs for selection"

This reverts commit fb3ae0b4396f44fc5aa055fcc5edf2df3e870fee.

* [ci:force] remove e2e for artificial scenario

* [ci:force] cleanup unused navigation bar protractor api

* [ci:force] cleanup unused datatable protractor api

* [ci:force] cleanup unused login protractor api

* [ci:force] fix process cloud demo page selector
2023-08-01 18:48:19 +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
AleksanderSklorz
fee60cd4ab
[ACA-4712] changes required to disallow using important for styles in aca (#8785)
* ACA-4712 Changed floating labels

* ACA-4712 Fixed cut off icon
2023-07-25 23:02:39 +02:00
Denys Vuika
80a6dadbfa
enable flags for tags/categories in the metadata card (#8783) 2023-07-25 14:05:28 +01:00
MichalKinas
f8f72d7f1a
[ACS-5179] Add search facet tabbed component for creator and modifier (#8775) 2023-07-25 13:06:05 +01:00
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
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
Mykyta Maliarchuk
2a4507d529
[ACS-5266] Advanced Search - New component for Category facet (#8764)
* [ACS-5266] new component for category facet

* [ACS-5266] fixed tests & docs

* [ACS-5266] some fixes

* [ACS-5266] linting

* [ACS-5266] some improvements

* [ACS-5266] reduced observable from child component

* [ACS-5266] fixed docs

* [ACS-5266] rebase & improvements

* [ACS-5266] typo
2023-07-21 09:27:31 +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
AleksanderSklorz
d70f689e06
[ACS-5183] properties facet file size and file type (#8766)
* ACS-5183 Created component which displays form to search nodes by file type and size

* ACS-5183 Validate proper value in number input and allow to use custom file types

* ACS-5183 Corrected problem with styles, case insensitive compare for extensions

* ACS-5183 Added translations, styles for selecting type, proper comparator for types

* ACS-5183 Prevent adding custom file type when selecting existing one

* ACS-5183 Corrected bytes for each file size unit and clear number input when value is incorrect

* ACS-5183 Added documentation for search properties component, updated documentation for search chip autocomplete input and taking values from settings

* ACS-5183 Unit tests

* ACS-5183 Added automation ids

* ACS-5183 Added missing license header

* ACS-5183 Fixed lint issues

* ACS-5183 Fixed build issue
2023-07-18 15:45:00 +02: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
Grzegorz Jaśkowski
574bff2d8d
[ACS-5572] Add deprecated attribute to Like and Rating components (#8756) 2023-07-14 22:12:49 +01:00
Grzegorz Jaśkowski
e37b03cbb4
ACS-5571 Add deprecated attribute to Webscript component (#8755) 2023-07-14 22:11:51 +01:00
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
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
Mykyta Maliarchuk
fceb7ecb9e
make resetNewFolderPagination method public again (#8739) 2023-07-05 16:32:45 +01:00