Commit Graph

239 Commits

Author SHA1 Message Date
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
Denys Vuika
6a9a863163 release 2.9.0 (#2476) 2022-03-17 19:14:49 +00:00
Denys Vuika
4ec181f829 quick share unit tests (#2469) 2022-03-14 11:09:50 +00:00
Bartosz Sekuła
2cd84e2dde [AAE-7832] Custom header text colour is not applied to user name (#2467) 2022-03-11 17:10:05 +01:00
rafalszmit
803f59b57c [AAE-7660] file preview from info drawer (#2463)
* [AAE-7660] file preview from info drawer

* condition update

* wait for node to be searchable
2022-03-01 15:46:42 +01:00
rafalszmit
2f1a908fd5 [AAE-7448] Automate remember sorting (#2460)
* [AAE-7448] Automated C261136

* [AAE-7448] Revert unused changes

* [AAE-7448] Automated C261137

* [AAE-7448] Automate C261138

* [AAE-7448] Automate C261139

* [AAE-7448] Automate C261150

* [AAE-7448] Automate C589205

* [AAAE-7448] Automate C261153 TBC

* [AAE-7448] Automate C261147

* [AAE-7448] refactor

* [AAE-7448] - remove unused method

* remove randomness

* sort wait in case spinner's missing + small fixes

* adding types
2022-02-25 10:49:29 +00:00
Ketevani Kvirikashvili
22d65f006d [AAE-7154] Automate upload file dialog (#2418)
* [AAE-7154] Automate upload files dialog

* [ACA-71546] Fix for sigout

* update test

* delete comment

* fix lint

* fix

* fix after CR

* CR

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2022-02-15 22:57:23 +00:00
rafalszmit
3afc4f4859 [AAE-7355] automate manual C599174 (#2451)
* [AAE-7355] automate manual C599174

* C306959 ci flakiness - click insead of Enter
2022-02-14 22:20:14 +00:00
Bartosz Sekuła
c14ba477fd [AAE-6823] Customize font (#2423)
* [AAE-6823] Customize font

* Fix for adf vars

* update

* update

* update

* update

* [AAE-6823] Custom fonts

* [AAE-6823] Create new css var for new button

* [AAE-6823] Cleaning code

* [AAE-6823] Changed configuration to tpl

* [AAE-6823] Cleaning code

* [AAE-6823] Cleaning code
2022-02-10 15:04:12 +01:00
Vito
23262d0949 [AAE-7101] - Introduced Eslint to ACA and added some fix to avoid errors (#2424)
* Conversion to ESlint

* Fixed ESLINT for ACA

* [AAE-6638] - typo in eslint file

* [AAE-6638] - attempt to fix problem on linting

* Check caching to improve lint speed

* Improved eslint for content-app

* Added new cache

* Remove cache file

* Removed eslintcache

* Attempt to make eslint run on travis

* Slow ng lint on travis

* Fixed eslint error
2022-02-09 08:40:04 +00:00
Antonio Felix
fde64be498 MNT-22687 - Fixed error in path when importing the new alfresco-office-extension service (#2432) 2022-02-08 16:21:43 +00:00
Antonio Felix
fce8857585 MNT-22687- Add new aosPlugin variable to hide or show the AOS plugin (#2382)
* MNT-22687- Add new aosPlugin variable to hide or show the AOS plugin

* MNT-22687 - Added a new interface to extend the RuleContext from ADF

* MNT-22687 - Removed carriage return and added whitespaces

* MNT-22687 - Removed carriage returns

* MNT-22687 - Fixed PR Comments
Completed documentation, removed environment variable from the package.json, added plugins section in the app.config.json.tpl

* MNT-22687 - Created a new service to deal with the new functionality. Reverted the old approach.

* MNT-22687 - Reverted missing file

* MNT-22687 - Reverted missing file

* MNT-22687 - Removed variable replacement

* MNT-22687 - Included environment variables in the README.md file
2022-02-08 13:18:28 +00:00
Bartosz Sekuła
60e1d13bb7 [ACA-4546] Flaky ACA Library actions test (#2417)
* [ACA-4546] Flaky ACA Library actions test

* [ACA-4546] Flaky ACA Library actions test

* [ACA-4546] Update

* [ACA-4546] Update

* [ACA-4546] Update
2022-02-02 11:53:28 +01:00
Denys Vuika
047c4bcd72 Release 2.8.0 (#2415)
* release 2.8.0

* update changelog script

* update changelog

* use latest ADF release
2022-01-27 16:10:37 +00:00
Bartosz Sekuła
37acccd6d6 [AAE-6811] Load custom theme (#2402) 2022-01-18 10:15:42 +01:00
Maurizio Vitale
4d1dab60b2 [AAE-6555] Rename the app into content-ce (#2375)
* Rename the app into conten-ce

* switch test to singleRun true

* Fix typo

* Use single run false for libs

* run test content-ce
2021-12-07 18:23:20 +00:00
Eugenio Romano
3ed95559a7 [ACA-4382] Use adf about and make it available in prod mode (#2361)
* use adf about and make it available in prod mode

* fix

* Fix unit test due about page refactoring

* fix review

* fix

* [link-adf:develop]

* fix pret

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2021-11-30 11:27:56 +00:00
Bartosz Sekuła
60446dc36e [AAE-6309] New process start button (#2353)
* [AEE-6309] New start process button

* [AEE-6309] Added documentation

* [AEE-6309] Change main action to object

* [AEE-6309] Clean code

* [AEE-6309] Linting fix

* [AEE-6309] Fix trashcan translation

* [AEE-6309] Fix tests
2021-11-22 08:23:10 +01:00
Denys Vuika
4e2c968595 Release 2.7.0 (#2351)
* update app config

* update to latest ADF

* update package versions

* generate reports
2021-11-16 13:06:37 +00:00
Bartosz Sekuła
bc626798d5 [AAE-6057] Customize text color in the header (#2326)
* [AAE-6057] Customize text color in the header

* [AAE-6057] use css vars

* [AAE-6057] added tests

* [AAE-6057] clear code

* [AAE-6057] quick fix

* [AAE-6057] update css so they wark nicly with new --adf-header-text-color
2021-11-16 13:05:05 +00:00