59 Commits

Author SHA1 Message Date
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
Thomas Hunter
c75091bf59
[ACS-3887] Rule set listing, including linked & inherited rules (#2780)
* [ACS-3887] Rule set listing to include linked & inherited rules

* Handled rules & rule sets reloading after a create/update/delete operation

* Linting

* Start rewrite of folder rules service unit tests

* Rules service and rule sets service unit tests

* Readd rules services create, update & delete unit tests

* rule set list ui component unit tests

* Manage rules component unit tests

* Remove & modify comments
2022-11-16 16:29:26 +00:00
Nikita Maliarchuk
b63a07b012
[ACA-4624] - added placeholder (#2777) 2022-11-16 10:07:39 +01:00
Nikita Maliarchuk
854fb28374
[ACS-3859] Action parameter constraints into dropdown box (#2773)
* [ACS-3859] - functionality implementation

* [ACS-3859] - unit tests

* [ACS-3859] - small fix
2022-11-15 11:07:27 +01:00
Thomas Hunter
e354ec3891
[ACS-3744] Folder rules styling fixes (#2753)
* Folder rules styling fixes

* Fix not showing isInheritable in read only
2022-11-02 12:51:40 +00:00
Thomas Hunter
2b12fa983c
[ACS-3886] Fix edit button being disabled when opening edit rule dialog initially (#2754)
* [ACS-3886] Fix edit button being disabled when opening edit rule dialog initially

* Fix test
2022-11-02 09:35:52 +00:00
Thomas Hunter
2bdad0bce7
[ACS-3872] Disable boolean mode dropdown due to lack of OR in ACS (#2744) 2022-10-27 12:37:19 +01:00
Nikita Maliarchuk
441df71885
renamed comparator's value (#2733) 2022-10-21 14:43:41 +01:00
Nikita Maliarchuk
77c5ac0c96
[ACS-3576] Map aspect actions with the aspect picker dropdown (#2713)
* rebased

* rebased

* unit tests

* linting

* publicApiCall

* renamed method formatAspects to parseAspectsToSelectOptions

* added getter cardViewStyle

* removing business logic from the ui component

* moved 'loadAspects()' to actions.service.ts

* preview fix

* removed duplicate
2022-10-18 15:49:20 +01:00
Thomas Hunter
a66226992e
[ACS-3721] Change folder rules endpoints to private (#2710) 2022-10-13 14:14:48 +01:00
Thomas Hunter
9549a6c098
[ACS-3698] Add some validation to the actions section of the folder rules create / update dialog (#2712)
* Action definition ID required

* Unit tests

* Lint
2022-10-13 11:31:20 +01:00
Nikita Maliarchuk
a804dceade
[ACS-3511] Update rules (#2701)
* rebase

* fixed a bug conserning isEnabled checkbox

* removed addFakeApect, added unit tests

* linting

* renamed openNewRuleDialog to openCreateUpdateRuleDialog
2022-10-11 09:24:37 +01:00
Thomas Hunter
59c7d68299
[ACA-3258] Edit rule dialog actions section (#2692)
* Add actions service

* Create components

* Rebasing

* Add card view component

* Moved actions definition call outside of actions list component

* Localisation of parameter and action labels + read only mode for components

* Remove action option

* Default to one item in array

* Handle change of cardview

* Linting

* Add unit tests

* Fix broken unit tests

* Fix unknown word

* Add private to property
2022-10-06 14:07:47 +01:00
Nikita Maliarchuk
cd6a2cc238
[ACS-3596] Create / Update rule dialog - display errors (#2685)
* folder-rules.service - createRule method

* add temp method addFakeAction

* [ACS-3596] Create / Update rule dialog - display errors

* comments removed
2022-10-04 12:18:36 +02:00
Nikita Maliarchuk
4a6725133d
[ACS-3359] Rename boolean fields in rule API. (#2672)
* [ACS-3359] Rename boolean fields in rule API.

* renamed some other fields

Co-authored-by: Tom Page <thomas.page@alfresco.com>
2022-09-28 16:51:46 +02:00
Nikita Maliarchuk
aaa1914263
[ACS-3575] Update FolderRulesService to provide a list of available aspects (#2669)
* first commit

* [ACS-3575] Update FolderRulesService to provide a list of available aspects

* rebase
2022-09-26 11:11:49 +02:00
Nikita Maliarchuk
1f0d590a84
[ACS-3586] ACA/Folder Rules: Adding a rule to a Folder seems to break the Folder Rules UI (#2663)
* [ACS-3586] ACA/Folder Rules: Adding a rule to a Folder seems to break the Folder Rules UI

* refactored condition statement

* linter

* parseSimpleCondition fn
2022-09-23 09:29:46 +01:00
Nikita Maliarchuk
c2b9c6cc55
[ACS-3259] Create / Update rule dialog - options section (#2651)
* first commit

* intermediate commit

* some progress

* [ACS-3259] Create / Update rule dialog - options section
2022-09-20 10:14:49 +01:00
Gloria Camino
f48a5b8483
LOC-391 Fix for ACA-4606 - Updated strings in 16 languages (#2647) 2022-09-16 12:38:49 +01:00
Nikita Maliarchuk
3b9eae677c
[ACS-3512] - ACA enable/disable rule from listing (#2636)
* initial html layout

* toggleRule method

* [ACS-3512] - ACA enable/disable rule from listing

* useless crutch was deleted
2022-09-16 11:14:32 +02:00
Gloria Camino
402a14368d
LOC-383 - Updated UI files in 16 languages for ACA 2.13 release (#2619) 2022-09-02 15:46:12 +01:00
Nikita Maliarchuk
db47d862e3
[ACS-3219] Delete Rule (#2609)
* [ACS-3219] Delete Rule

* rebased + added unsubscribe()

* small fix

* a couple more fixes

* manage-rules css formatting fix
2022-08-30 10:18:10 +01:00
Denys Vuika
69cb107dd9
Angular 14 upgrade (#2598)
* angular 14

* material 14 and ADF 14

* latest ADF 5.x and theme import fixes

* use latest ADF 5.x

* update build command

* update travis command

* upgrade ngrx to v14

* upgrade flex layout lib

* fix after rebase

* fix after rebase

* upgrade to latest ADF
2022-08-25 12:05:00 +01:00