81 Commits

Author SHA1 Message Date
Denys Vuika
251b6a0ec7
[ACS-5308] cleanup content common module and move to standalone components (#3234)
* language picker

* location link

* logout component

* logout: fix tests

* toggle shared component

* user info component

* cleanup common module

* migrate generic error to standalone

* thumbnail column component

* name column component

* tags column component

* locked by component

* cleanup module dependencies

* comments tab component

* info drawer and details

* cleanup infodrawer module

* remove useless test

* reduce useless imports

* info drawer module

* context menu component
2023-05-29 10:28:26 +01:00
Denys Vuika
fd495f6e95
code cleanup (#3210)
* code cleanup

* rollback changes

* remove dead code

* remove debug app config

* cleanup unused locales

* no-unused-vars rule

* test fixes and cleanup

* remove unnecessary translate modules
2023-05-22 08:23:35 +01:00
MichalKinas
5d4a999ca1
[ACA-4710] Use caret for js-api and adf versions (#3204) 2023-05-19 10:58:10 +02:00
MichalKinas
38a6d8698b
[ACS-5186] Use update version script for ADF upstream (#3197)
* [ACS-5186] Use update version script for ADF upstream

* [ACS-5186] Bump ADF and JS-API version

* [ACS-5186] Correct version

* [ACS-5186] Correct migration logic
2023-05-17 15:02:22 +02:00
Amedeo Lepore
ec37bf0ec2
Update adf dependencies version to 6.1.0-4944969415 (#3183)
* [ci:force][auto-commit] Update @alfresco/js-api to 6.1.0-912 for branch: update-alfresco-dependencies originated from @alfresco/js-api PR: 4945048596

* Update adf deps versions, update js-api version to solve dependency conflict

* Exclude e2e [C290020]

* Update adf peerDependencies version

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-05-12 16:56:02 +02:00
Denys Vuika
2b90a66c48 [ACA-4646] fix folder rules dependencies 2023-05-05 17:22:26 +01:00
Denys Vuika
6e6f06746d [ACA-4646] fix ACA plugins dependencies 2023-05-05 17:11:18 +01:00
MichalKinas
5fa5ac4117
[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
AleksanderSklorz
e9bc42df10
[ACS-4534] nx workspace support for aca (#3143)
* ACS-4534 Added nx workspace support

* ACS-4534 Updated package-lock.json file

* ACS-4534 Configured cache directory and affected command

* ACS-4534 Updated README

* ACS-4534 Updated more README files

* ACS-4534 Fixed lint

* ACS-4534 Address comment for readme

* ACS-4534 Removed redundant build-libs script

* ACS-4534 Fixed start script

* ACS-4534 Updated some left documentation

* ACS-4534 Added more helper scripts, addressed PR comments

* ACS-4534 Updated package-lock.json after rebasing

* ACS-4534 Fix stylelint issue
2023-04-25 15:34:34 +02:00
Gloria Camino
c335a148b9
LOC-434 - further updates to ACA 3.0 - localized files in 16 languages (#3145)
* LOC-434 - further updates to ACA 3.0 - localized files in 16 languages

* LOC-434 - small correction made to a PL file. please USE THIS FILE
2023-04-24 18:11:38 -04:00
Yasa-Nataliya
6fac964d94
[ACS-3742] Layout changes for workspace (#2980)
* Layout changes for workspace sidemenu

* added header and search layout changes

* implemented review comments and removed process related code

* Added expand and collapse functionality

* Modified the paths

* linting fixes

* use standard material settings icon

* use only specific modules needed for page layout

* use standard "menu" icon for now

* use standard avatar icon for now

* cleanup user profile menu item

* cleanup About component layout

* remove hardcoded settings route

* deprecate "headerImagePath"

* deprecate "headerTextColor" customisation

* deprecate "headerColor" customisation

* proper toggle of the side menu

* proper sidebar header implementation

* user profile basic cleanup

* minor fixes

* cleanup buttons

* remove old app layout and use ADF one

* remove old header component

* cleanup old layout module

* fix unit tests

* cleanup unit tests

* cleanup header actions module

* deprecate unused main-action component

* cleanup styles

* restore removed method

* cleanup search results toolbar

* restore expand menu functionality

* cleanup code, back buttons for about and profile

* restore original code

* proper collapse button

* remove unused i18n key

* styles cleanup

* cleanup sidebar

* cleanup user profile

* add safety checks for focus after close

* layout fixes

* update view profile unit tests

* code cleanup after reviews

* cleanup header actions

* fix menu population, user info

* improved upload and create actions

* remove useless tests

* fix folder rules tests

* search button workaround

* e2e: remove wait

* add create/upload tooltips

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* try fix e2e

* update e2e extension configs

* try fix e2e

* try fix e2e

* fix eslint config

* try fix e2e

* move search button to extensions

* move upload and create to extensions

* remove header actions as no longer needed

* cleanup

* e2e fixes and cleanup for unwanted files

* linting fixes

* linting fixes

* added button type to support text buttons

* linting fixes

* added more unit tests to achieve code coverage requirement

* fixing code covergae for aca-content

* fixed code coverage for aca-shared

* linting fixes

* linting fixes

* cleanup

* version fix

---------

Co-authored-by: SheenaMalhotra182 <sheena.malhotra@globallogic.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: SheenaMalhotra182 <sheena.malhotra@contractors.onbase.com>
2023-04-20 07:18:24 -04:00
Gloria Camino
c9163038ab
LOC-416 - Updated UI files for ACA in 16 languages (#3131) 2023-04-19 08:20:17 -04:00
Nikita Maliarchuk
7245e994c5
[ACS-4959] Update license headers to reflect Hyland Copyright Guidelines (#3115)
* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
2023-04-13 04:32:30 -04:00
Aayush Rohila
2787ed97fb
[ACS-4448] Adding selectable options of mime types in folder rules add conditions (#3098)
* [ACS-4448] Adding selectable options of mime types in folder rules conditions.

* [ACS-4448] Restructuring

* PR comments

* added unit tests

* PR comments

* unit tests

* unit tests
2023-04-11 05:04:48 -04:00
Raviraj Bahirsheth
918176aca2
add dynamic title (#3073) 2023-03-23 14:19:24 +05:30
Jatin Chugh
8fd7e626a4
[ACS-4436] comparator options set as Equals only when Encoding is selected in condition in Create/Edit a rule in Manage rules same as Share application (#3080)
* added comparator value only as Equals when Encoding is selected same as Share application which was earlier “Equals, Contains, Starts with and Ends with”

* used 'special' type instead of custom type equals_comparator.
2023-03-23 11:04:16 +05:30
Denys Vuika
9609393d1e
[ACS-4865] setup and enable code coverage for all projects (#3074) 2023-03-20 09:06:19 -04:00
Denys Vuika
86c0bbb998
[ACS-4837] eslint spellcheck support (#3072)
* eslint spellcheck support

* restore node memory settings for linting
2023-03-17 05:31:23 -04:00
Raviraj Bahirsheth
13548b730d
[ACS-4106] Removed default text for file upload placeholder (#3065)
Co-authored-by: Aayush Rohila <aayush.rohila@contractors.onbase.com>
2023-03-16 05:53:10 -04:00
Jatin Chugh
8a7b051c96
Destination folder ids are now properly visible on View Rule Screen in Folder Rules (#3060) 2023-03-15 12:36:19 +05:30
Denys Vuika
b939d1c582
[ACS-4792] provide support for style linting (#3055)
* [ACS-4792] provide support for style linting

* style fixes

* style fixes

* style fixes

* disable yarn licenses until the issue is fixed

* fix package lock

* fix after rebase
2023-03-14 04:16:36 -04:00
Denys Vuika
4292f0fbc0
update libs packages (#3044) 2023-03-07 17:06:18 +00:00
Gloria Camino
bd025f500d
LOC-409 Updated string for Mobile in 16 languages plus some fixes. (#3026) 2023-03-02 11:06:59 -05:00
Denys Vuika
748e60f6a4
[ACS-4702] fix license fields for libs (#3009) 2023-02-24 14:36:55 +00:00
Kristian Dimitrov
d68deab2bd
[ACS-4586] Implemented Playwright Framework and add it to CI/CD (#2985) 2023-02-16 17:23:08 +00:00
Bartosz Sekula
a325deaf1a
[AAE-11496] Publish aca-folder-rules fix (#2954) 2023-02-01 14:52:05 +01:00
Bartosz Sekula
93cc64b9a9
[AAE-11496] Make aca-content buildable (#2859) 2023-01-31 19:32:27 +01:00
Nikita Maliarchuk
93ba00516a
[ACS-4446] Folder Rules Bug Fix: Error thrown when Condition If Name Starts With/Ends With is used (#2918)
* ACS-4446 - renamed names

* ACS-4446 - renamed 'less/greater than or equal' filds name
2023-01-24 17:14:55 +00:00
Gloria Camino
a1392c5ab5
LOC-406 - Updated UI files in 16 languages - aca-folder-rules (#2917) 2023-01-20 16:19:53 +00:00
Nikita Maliarchuk
125724242f
[ACS-4075] - Folder Rules bugfix: Execute Script uses node ref picker instead of dropdown (#2875)
* ACS-4075 - redisigned edit-rule-dialog from smart to ui component

* ACS-4075 - deleted 'console.log()'

* ACS-4075 - added type
2023-01-16 13:58:52 +01:00
Thomas Hunter
b4503c1de9
[ACA-4633] Fix error script dropdown sometimes not having a label (#2899) 2023-01-12 09:34:25 +00:00
arohilaGL
2bd05c4788
Revert "[ACS-4108] bug fix for showing id instead of name. (#2888)" (#2896)
This reverts commit 6ed062f69a38440564a72b5849bd42a2a987604e.
2023-01-10 15:34:00 +00:00
Thomas Hunter
547e17bee8
Capitalised the 'r' in 'Manage rules' (#2891) 2023-01-06 15:56:05 +00:00
arohilaGL
6ed062f69a
[ACS-4108] bug fix for showing id instead of name. (#2888) 2023-01-06 14:37:03 +00:00
Thomas Hunter
8f28408607
[ACA-4070] Add unit tests for linking rule sets (#2878)
* Commit before rebase

* Added some tests in the rule set picker

* Add unit tests for manage rules component
2023-01-04 16:14:03 +00:00
Bartosz Sekuła
c5951edccf
[AAE-11496] - Make aca-shared and aca-folder-rules buidlable (#2851)
* [AAE-11496] Fix aca-shared build

* Add build option to aca-folder-rules

* Add small test for aos
2022-12-20 19:21:22 +01:00
MichalKinas
cb84a06e25
[ACA-4625] Add ADF linking to unit tests and e2es (#2853) 2022-12-20 09:40:33 +00:00
Thomas Hunter
8c7c40a3d4
[ACA-4644] Inherited & linked rules that are disabled should not be listed (#2843)
* [ACA-4644] Inherited & linked rules that are disabled should not be listed

* Added condition for linked rule sets to need only enabled rules

* Added a bypass for the empty rules list for linked rule sets that have only disabled rules

* Replaced array filter with some
2022-12-13 10:10:17 +00:00
Nikita Maliarchuk
088eac5a3a
[ACA-4634] Folder Rules style fix: Edit and Delete Rule buttons disappear if rules have long description or name (#2842)
* [ACS-4146] - unit tests

* [ACS-4146] - removed console.log()

* ACS-3961 - style fixes

* ACS-3961 - removed calculated width
2022-12-11 12:10:15 +00:00
Nikita Maliarchuk
86178c3a3a
[ACS-4146] Folder Rules bug fix: An empty list for a child folder is displayed instead of an empty content template (#2839)
* [ACS-4146] - functional implementation

* [ACS-4146] - unit tests

* [ACS-4146] - removed console.log()
2022-12-07 13:43:48 +01:00
Nikita Maliarchuk
79243bad54
[ACS-4129] Folder rules - temporarily change 'Category value' to text box (#2830)
* ACS-4129 - temporarily changed category-value to text box

* ACS-4129 - typo correction
2022-12-02 16:03:27 +00:00
Gloria Camino
95ed79bc0e
LOC-400 - Localized UI files for ACA 4.0 in 16 languages (#2829) 2022-12-02 11:15:32 +00:00
Nikita Maliarchuk
d1c143333a
[ACS-4091] Folder rules: "Add simple workflow" action clears out parameters when trying to set destination folder (#2826)
* ACS-4091 fixed a bug

* ACS-4091 - fixed typo
2022-12-01 15:22:45 +01:00
Thomas Hunter
409b9751a5
[ACA-4632] [ACA-4633] Fix error script dropdown not having any options + hide dropdown when isAsynchronous unchecked (#2825) 2022-12-01 13:55:01 +00:00
Nikita Maliarchuk
5d330d3e36
[ACA-4627] Folder Rules - clicking on Manage Rules button does not fire the correct requests to the backend for inherited rules (#2822)
* ACA-4627 - changed from parent id to the current folder id

* ACA-4627 - unit test
2022-11-30 20:18:08 +00:00
Thomas Hunter
bfe14f8143
[ACS-4630] Fix no different rule is selected when rule is deleted (#2824)
* [ACS-4630] Fix no different rule is selected when rule is deleted

* Add unit test

* Some tests were failing due to objects with same references being used across different tests
2022-11-30 18:28:40 +00:00
Nikita Maliarchuk
60ba8eb6ce
[ACS-3895] ACA - Folder Rules: inherit rule sets toggle (#2808)
* ACS-3895 - initial layout

* ACS-3895 - finished functionality

* ACS-3895 - unit tests

* ACS-3895 - deleted comments

* ACS-3895 - small fixes

* ACS-3895 - renamed ruleSettings to ruleSettingsMock

* ACS-3895 - rebase
2022-11-24 19:07:21 +01:00
Thomas Hunter
d9d2441b3a
[ACS-3513] [ACS-3515] Create, edit and delete rule set link (#2810) 2022-11-24 15:37:01 +00:00
Nikita Maliarchuk
81033450d8
[ACS-3860] Folder rules - Node picker for action parameters of type "d:noderef" (#2800)
* [ACS-3860] - added callback with node selector dialog

* ACS-3860 - implemented node picker for actions

* ACS-3860 - unit tests

* ACS-3860 - linting

* ACS-3860 - i18n

* ACS-3860 - small fix

* ACS-3860 - changed to private method, added typization

* ACS-3860 - removed useless getter and setter

* ACS-3860 - added 'noderef' to cspell.json
2022-11-22 13:30:46 +01:00
Thomas Hunter
03ed8e071a
[ACS-4010] Rule sets listing regrouping (#2803)
* [ACS-4010] Rule sets listing regrouping

* Linting

* Unit tests

* Remove TODOs
2022-11-22 11:14:09 +00:00