Commit Graph

258 Commits

Author SHA1 Message Date
Denys Vuika
0443fbf2ea [AAE-10766] upgrade to new About component 2022-11-11 14:06:12 +00:00
MichalKinas
8081bc81d6 [ACA-4618] Decouple ACA and Governance (#2757)
* [ACA-4618] Remove governance dependecies from ACA

* [ACA-4618] Move canOpenWithOffice evaluator to ACA shared

* [ACA-4618] Add missing unit test changes

* [ACA-4618] Prettier fixes
2022-11-04 11:15:33 +00:00
AleksanderSklorz
ae57a094b1 ACS-3545 fix e2e tests (#2759)
* [ci:force][auto-commit] Update @alfresco/js-api to 5.2.0-401 for branch: update-alfresco-dependencies originated from @alfresco/js-api PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-core to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-cli to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-testing to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 36873

* ACS-3545 Fix for e2e tests

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2022-11-04 10:47:28 +00: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
MichalKinas
eee6feca1a [ACS-3700] Pass mat menu items from external components to mat menu (#2720)
* [ACS-3700] Pass mat menu items from external components to mat menu

* [ACS-3700] Linter fixes
2022-11-02 13:10:27 +01: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
AleksanderSklorz
fd83219d54 [ACS-3545] a11y aca metadata sidebar (#2742)
* ACS-3545 Added aria label to progress bar for metadata sidebar

* ACS-3545 Fixed lint issues
2022-10-27 09:18:37 +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
MichalKinas
3e44f46575 [ACS-3552] Accessibility fixes for CSV file issues (#2705)
* [ACS-3552] Accessibility fixes for CSV file issues

* [ACS-3552] Fix tabindex attribute values
2022-10-11 23:46:10 +01:00
Denys Vuika
df4a80f641 [MNT-22754] fix context menus for records (#2706)
* fix context menus for records

* fix unit tests

* fix unit tests
2022-10-11 22:21:30 +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
MichalKinas
958134e22d [ACS-3621] Fix context menu directive flaky unit test (#2675) 2022-10-03 10:07:36 +01: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
Ketevani Kvirikashvili
50c84a0e8c [AAE-10253] It shouldn't be possible to right click in a drag&drop empty area (#2611)
* [AAE-10253] It shouldn't be possible to right click in a drag&drop empty area

* changed expect

* add method isEmptyTable
2022-09-16 11:40:22 +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
Sushmitha V
49e48abf3a [AAE-6294] The list should be refreshed without allowing a used to se… (#2629)
* [AAE-6294] The list should be refreshed without allowing a used to select the same folder already deleted

* Changes done as per comment

* resolved build fails
2022-09-12 14:24:19 +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
Thomas Hunter
9cd616ff8c [ACS-3256] Add trigger / "when" section to rule details & edit rule dialog (#2603)
* Add triggers section with checkboxes

* Add some unit tests

* Changed Input property of rule details so that it takes a changeable value rather than just an initial value

* Made separate component with control value accessor for triggers

* Linting

* Change trigger values to lowercase to be in sync with the API

* Minor styling changes and add new rule button to manage rules screen

* Add option for unknown field to be selected

* Add read only to nested composite and simple conditions

* Added unknown field tests for simple condition

* Linting

* Change how the triggers component displays when disabled
2022-08-23 09:54:08 +01:00
Nikita Maliarchuk
5f009e89fa [ACS-3339] Manage Rules screen / listing - Manage rules screen template & minimal listing (#2596)
* First commit: rules listing

* [ACS-3339] Manage Rules screen / listing - Manage rules screen template & minimal listing

* some changes for rule model

* some changes requested for PR

* a couple more fixes

* removed initial value from aca-rule-details

* spelling error fixed
2022-08-19 18:27:21 +02:00
Thomas Hunter
9a650f5265 [ACS-3257] Create / Update rules dialog condition section (#2585)
* First commit: simple and composite condition UI

* Styling, readonly mode, etc...

* Unit tests for RuleSimpleConditionUiComponent

* Validation for composite condition

* Add unit tests for composite conditions

* Revert manage rules screen

* Reset karma conf singleRun to true

* Couple of small changes

* Typo
2022-08-18 17:39:36 +01:00
Thomas Hunter
b082aaa011 [ACS-3441] Fix aos plugin not detected on app deploy, failing e2e tests (#2600) 2022-08-18 16:32:54 +01:00
Nikita Maliarchuk
0577f35e29 [ACS-3338] Manage Rules screen / listing - Folder rules service (#2577)
* created service for rules

* progress on folder-rule service

* some progress with folder-rules service unit testing

* [ACS-3339] Manage Rules screen / listing - Folder rules service

* Review comments

* Review comments
2022-08-12 09:31:51 +01:00
Michał Fidor
49b68f6a87 [AAE-10264] Rework the shareActions spec files (#2584) 2022-08-11 15:53:10 +01:00
Denys Vuika
e237e373eb remove unused project files (#2583)
* remove unused project files

* restore package for shared testing lib
2022-08-11 13:55:18 +01:00
Denys Vuika
fa68c6fcf4 Angular 13 upgrade (#2493)
* upgrade to Angular 13

* upgrade datetime picker libs

* upgrade to eslint 13

* fix eslint issues

* downgrade datetime picker

* fix scss builds

* use proper node version on travis

* fix e2e check

* fix test run

* upgrade ngrx to 13

* use latest ADF 5.x

* add missing ban plugin for eslint

* use latest ADF 5.x branch

* use latest ADF 5.x

* use latest ADF

* sync libs with adf and apps

* Updating to the right version of mat-datetime-picker

* Fix Test Suites: Search - AAE-10222

* Satisfy linter

* upgrade to adf 5.0.0-angular.13

* upgrade adf to 5.0.0-angular.13.1

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-08-09 18:39:25 +01:00
Thomas Hunter
38cae75476 [ACS-3379] Fix unit tests for the visibility rules of the folder rules (#2576)
* [ACS-3379] Fix unit tests for the visibility rules of the folder rules

* Add stage to .travis.yml so unit tests run on Travis

* Karma singleRun: true so that Travis doesn't stall
2022-08-03 16:22:42 +01:00
Thomas Hunter
30eebfa1e2 [ACA-3379] Routing & skeleton for manage rules screen (#2575)
* [ACA-3379] Routing & skeleton for manage rules screen

* Linting

* Update routing so it's no longer lazy loaded

* Reverted to using lazy-loaded routes

* Remove action visibility from favourites, update e2e test data
2022-08-02 12:46:47 +01:00
Thomas Hunter
a9f1946a0a [ACS-3255] Add basic dialog for create / update rule (#2568)
* [ACS-3255] Add basic dialog for create / update rule

* Remove test data

* Fix import

* Fix linting
2022-07-15 16:37:41 +01:00
Denys Vuika
8312bf8d84 [ACS-3217] initial project scaffold for the Folder Rules (#2566)
* initial project scaffold

* visibility rules placeholders

* custom scope for rules evaluators

* unit tests and minor improvements

* update e2e

* add write permission check

* update e2e

* update e2e

* enable the env variable

* fix tests

* update e2e

* fix e2e
2022-07-08 10:53:53 +01:00
Shubham Bansal
3a7938b895 APPS-1568 : ACA should be extended to support visibility rules for Document List columns. (#2560)
* APPS-1568 Extended rules visibility functionality for Document List columns

* APPS-1568 Unit test case added

* APPS-1568
2022-06-30 10:20:07 +05:30
Thomas Hunter
866ac19d82 [ACS-3109] Release 2.11.0 (#2549)
* [ACS-3109] Release 2.11.0

* Update git links in changelog
2022-06-16 17:06:17 +01:00
Amedeo Lepore
18270d3368 [AAE-6242] upload a new version of a file attached in a form (#2524)
* [AAE-8822] Use ADF New Version Uploader dialog instead of using node-version dialog, to allow to upload new file version and to manage file versions

* [AAE-8822] Add versionUpdateDialog unit tests

* [AAE-8822] Add openVersionManagerDialog unit tests

* [AAE-8822] Fix lint problem

* [AAE-8797] Update slector with new adf version uploader dialog class

* [AAE-8797] Remove unused node versions dialog, since the ADF NewVersionUploaderService is used
2022-06-07 09:48:24 +02:00
Thomas Hunter
746f31e299 [ACS-2838] Release 2.10.0 (#2515)
* [ACS-2838] Release 2.10.0

* update adf to correct version
2022-04-27 15:38:50 +01:00
Bartosz Sekuła
9689131520 [ACA-4578] Fix for datatable e2e-s (#2511) 2022-04-19 16:56:51 +02:00
arditdomi
bacd9e5c10 [AAE-8201] - Add a way to hide libraries and secondary navbar sections (#2492)
* [AAE-8201] - Add a way to hide libraries and secondary navbar sections

* Add new variable

* Rename variable for toggling content service sections

* Fix lint errors

* Remove unnecessary or condition
2022-04-06 14:20:10 +01:00
Vito
31d677c12d Removing eslint react weird plugin (#2483)
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-03-29 15:05:07 +01:00
Denys Vuika
a17e027ab5 [AAE-8204] Remove tslint and codelizer (#2488)
* upgrade protractor retry lib

* remove tslint
2022-03-29 15:04:21 +01:00
Denys Vuika
1727554517 [AAE-7145] upgrade to Ngrx 10 (#2479)
* upgrade to ngrx 10

* fix auth proxy

* migrate effects to newer syntax
2022-03-24 11:36:21 +00:00