88 Commits

Author SHA1 Message Date
Vito
fc01c5c9a9
[ACA-4238] - added aspect list dialog on context menu action (#2008)
* [ACA-4238] - added aspect list dialog on context menu action

* [ACA-4238] - lint fix

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e #2

* [ACA-4238] - fix e2e #3

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e #2

* Fix E2E #1

* Fix E2E #2

* Improved condition for edit aspect option

* [ADF-4238] - fix e2e #2

* [ADF-4238] - fix lint

* [ADF-4238] - fix e2e #3

* [ADF-4238] - fix e2e #4

* [ADF-4238] - fix e2e #5

* [ADF-4238] - fix e2e #6

* [ADF-4238] - fix e2e - final

* [ADF-4238] - removed console log

* [ADF-4238] - fixed linting

* [ADF-4238] - fixed last e2e failing
2021-02-26 13:48:04 +00:00
arditdomi
0f3aa4b589
[AAE-4515] Provide a way to disable/enable the main file uploading di… (#1981)
* [AAE-4515] Provide a way to disable/enable the main file uploading dialog

* Fix expression has been changed after is has been checked error

* Add unit tests

* Fix linting errors
2021-02-09 20:10:09 +01:00
Urse Daniel
f8eeec9e3d
added new action to refresh(re-render) the current node (#1913) 2021-01-12 10:38:13 +00:00
Denys Vuika
7a5350a06d
reduce duplication and code improvements (#1707)
* reduce code duplication

* reduce duplication, fix license headers

* simplify code

* typings fixes

* update tests

* minor fixes

* markdown fixes

* revert changes
2020-12-11 15:47:17 +00:00
Denys Vuika
b71e1530d1
stabilise unit tests (#1878)
* cleanup async usage

* cleanup async usage

* fix library favorite tests and code
2020-12-11 13:01:31 +00:00
Denys Vuika
6049711a5c
Release 2.2.0 (#1870)
* update package versions script

* update package versions script

* generate reports script

* bump versions to 2.2.0

* audits

* upgrade to final ADF

* update docs

* update app config
2020-12-09 16:55:39 +00:00
Denys Vuika
71c2e40db8
[ACA-4205] Latest ADF and unit test fixes (#1861)
* upgrade ADF and cleanup test

* unit test stabilisation

* cleanup tests

* unit test stabilisation

* unit test stabilisation

* update ADF libs to latest alphas
2020-12-07 18:34:34 +00:00
davidcanonieto
b504a224ea
[ACA-3729] Join library action for Admin Users (#1801) 2020-11-23 15:07:12 +00:00
Denys Vuika
092d430470
support ordering of document list columns (#1799) 2020-11-19 19:38:26 +00:00
Denys Vuika
53f61f19d6
Styles cleanup (#1764)
* remove useless context menu styles

* deprecate layout theme mixins

* cleanup name column

* use adf snackbar styles

* permissions and search results

* cleanup node versions dialog

* cleanup toolbar actions
2020-10-30 11:49:51 +00:00
Denys Vuika
7c894b250f
[ACA-4100] use ADF user info component (#1762)
* use adf user info

* delete old unit test

* remove e2e

* fix lint
2020-10-28 12:25:21 +00:00
Denys Vuika
20f1752b48
[ADF-5247] always enabled language picker (via extensions) (#1730)
* always enabled language picker

* fix tests

* update e2e tests

* fix aos plugin
2020-10-15 08:57:04 +01:00
Denys Vuika
f6116021fb bump libs to 2.1.0 2020-10-14 10:46:51 +01:00
Denys Vuika
9f67cae204
[ACA-2314] display "locked by" in search results (#1732)
* display "locked by" in search results

* Trigger build
2020-10-09 15:44:40 +01:00
Eugenio Romano
ba2961157a
[ACA-4022] Remove custom redirect strategy, the viewer doesn not reload (#1719)
* remove custom redirect strategy, the viewer doesn not reload

* Update extensions-data-loader.guard.ts

add return in case of no loaders

* remove the route strategy

* fix lint

* Fix link error

* Align unit test

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2020-10-06 18:45:03 +02:00
Denys Vuika
50c76f21e7
add "create menu" unit tests (#1720)
* add "create menu" unit tests

* submenu tests
2020-10-06 16:14:20 +01:00
Denys Vuika
8803b3ccee
extra unit tests (#1713)
* typing fixes

* "canDownloadSelection" tests

* fix import

* move test to proper block
2020-10-06 11:13:05 +01:00
Denys Vuika
9c7ac17161
Various code fixes (#1704)
* fix typings and missing lib

* fix i18n typo, add typings

* code improvements

* fix missing awaits

* more fixes

* fix bug in the evaluators, simplify code

* more fixes
2020-10-04 18:09:27 +01:00
arditdomi
4547621da6
Update to latest ADF and fix unit tests and broken e2e (#1702)
* Update to latest ADF

* Trigger a run with an older ADF version (investigation of e2e failures)

* Update to latest ADF

* Fix search e2e to search for a more specific search term according to the files uploaded
2020-10-02 12:28:31 +01:00
Denys Vuika
88e94a4ec9
[MNT-21386] move settings to a separate project (#1676)
* move settings to a separate project

* rework theming
2020-09-17 09:33:27 +01:00
arditdomi
651fb56ec6
Fix create menu and viewer evaluators not in sync with store values (#1634) 2020-08-26 10:09:22 +01:00
Denys Vuika
1c6efc5584
release 2.0.1 (#1625) 2020-08-18 18:58:23 +01:00
Denys Vuika
b5204e50bd
Release 2.0.0 (#1624)
* bump versions to 2.0.0

* update aca-shared dependencies

* audit reports

* upgrade to final ADF

* temporarily disable reload tests

* disable test

* disable test
2020-08-18 17:21:13 +01:00
Eugenio Romano
b0b22170c7
[ACA-3830] Fix favorites navigation (#1599)
* fix favorites navigation

* improve report and unit test

* fix ACA test
mock version directive

* lint fix

* try different startegy

* remove first split

* fix root case
2020-08-14 09:13:23 +01:00
Denys Vuika
b86db21e93
[ACA-3593] fix library builds (#1593)
* upgrade to solution style tsconfig

* remove missing path

* add e2e config to the solution

* fix config path
2020-08-11 17:13:22 +01:00
Popovics András
cd1252cb94
[ACA-3394] Generally available file preview feature for extensions (#1496)
* Adding general purpose preview overlay route

Preparation for file preview feature

Remove unnecessary preview root route and ability to use loadChildren

Extract RouterExtensionService

Remove loadChildren support and use component instead

Cover RouterExtensionService with unit tests

Fix tests

Fix build

Fix rebase issue

Add generally available PluginPreviewAction

Add data option to child routes and navigateBackAsClose option for the preview component

Support plain mode preview

Fix linting

Update to latest alpha of ADF

* Adding documentation

* Rebase fix

* Update to latest adf
2020-08-07 18:24:38 +02:00
Cilibiu Bogdan
a42b853814
include definition field (#1582) 2020-08-07 08:42:01 +01:00
Silviu Popa
ce081aaad2
[ACA-3808] - fix e2e actionMenu (#1580)
* fix e2e actionMenu

* PR changes

* wait for context menu to close

* wait for menu to close after escape key

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-08-06 20:45:05 +01:00
Urse Daniel
f59abb4228
[ACA-100] View a previous version (#1562)
* added a feature to view a previous node version

* added latest versions

* added single selection to match the latest ADF change

* hide version list dialog when opening the viewer

* pass versionId to adf-viewer

* add view versions rendition routes for: shared, recent files, favorites, search.

* added functionality to download a previous version of a node

* small fix - no need to clear the store

* remove unused import

* removed changes

* Delete package-lock.json

* revert

* update to last dependencies

* ACA-3601: Add e2e tests for Preview of a file's previous version

* Address comments

* ACA-3601: Make sub-tests execute independently

* update dependencies

* ACA-3601: Add licenses

* Add type

* ACA-3601: Refactor execution

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2020-08-05 16:15:20 +03:00
Denys Vuika
ddc6f36ab4
Prettier upgrade and e2e type checks (#1522)
* upgrade prettier

* noImplicitAny rule

* fix type

* update tsconfig

* upgrade to 150 print width
2020-07-14 10:03:23 +01:00
Denys Vuika
2854c17cd9
[ADF-5183] Upgrade to Angular 10 (#1506)
* upgrade preparation fixes

* remove fdescribe

* update browserlist config

* ng8

* ngrx 8

* ng9

* ngrx 9

* remove entryComponents

* unit tests

* ng 10

* latest ADF

* fix unit tests

* fix lint

* update deps and travis

* code fixes

* upgrade webdriver

* cleanup libs

* fix test

* update test

* Use browserTarget as target for lite-serve

* Use the update webdriver with CI condition

* Use version console.log('load', path

* Fix path sh

* Try to use remote env

* Add the . to export variabled

* Use hardcoded chrome version

* Remove the run remote

* Avoid to use the escape

* Skip flaky e2e and raise issue ACA-3615

* SKip failing e2e

* Skip flaky e2e and raise issue ACA-3615

* Fix close app toolbar menu and preconditions + tests of  mark-favorite.test.ts  Personal Files section

* Fix mark-favorite tests

* Fix ext-header test

* Fix new-menu tests

* Fix lint

* no message

* Fix viewer tests

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2020-07-09 09:37:06 +01:00
Denys Vuika
a6a05b4a45
Release preparation (#1501)
* 1.12.0

* bump libs

* audit and licenses

* update adf libs
2020-06-29 17:28:42 +01:00
Baptiste Mahé
2e8b863413
[ACA-3468] Enable Document List filters in ACA (#1495)
* [ACA-3471] too long french translation doesn't fix in the UI (#1499)

* [ACA-3538] Fix search result layout (#1500)

* [ACA-3468] Enable Document List filters in ACA

* [ACA-3468] Get pagination settings from document list

* [ACA-3468] Move event handlers and pagination to page component

* [ACA-3468] Remove useless OnChanges

* [ACA-3468] Fix linter

* [ACA-3468] Add test for document list definition

* [ACA-3468] Fix lint

* [ACA-3468] Remove identifier

* [ACA-3468] Update to lastest ADF alpha to fix search result

* [ACA-3468] Update to lastest ADF alpha

* Fixed unit test

* re-enable tests

* rollback changes to test

* fix reload

* * fixed search e2e

* fix issue with page reload on search results

* update tests

Co-authored-by: arditdomi <32884230+arditdomi@users.noreply.github.com>
Co-authored-by: PizzaVito <vito.albano.123@gmail.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: dhrn <dharan.g@muraai.com>
2020-06-29 17:28:31 +01:00
davidcanonieto
85f71f5ae1
[ACA-3427] Remove About tab when it's not useful (#1491)
* [ACA-3427] Remove About tab when it's  not useful

* Add unit tests for isLibraryManager rule

* Fix e2e tests

* Fix e2e tests and add rule to docs

* Fix e2e tests
2020-06-18 22:03:26 +01:00
Denys Vuika
13e506e4dd
[MNT-21419] correctly reset search results (#1487)
* correctly reset search results

* fix tests

* reset the service intstead of copying

* Revert "fix tests"

This reverts commit 8c1ae87caa3828517f0e404f5bb15b7101ffffb6.

* fix app service tests
2020-06-17 12:27:48 +01:00
Mark Steadman
2ddacf4354
fix: proper menuitem aria for screen reader users (#1482) 2020-06-15 12:41:24 +01:00
Urse Daniel
42d3d5cd6f
[ACA-45] Drag and Drop a new version (#1477)
* added functionality to import a file from drag&drop

* handle dropping a file over another and triggering the dialog for manage versions while passing the dropped file

* handle receiving and passing a file to version manager

* handle dropping a file over another.

* refactoring the component by using 2 ADF components and showing them by a specific view case.

* updated the dialog ref based on how the version dialog should behave in order to change/view a file's versions

* handle the new drag&drop to upload a file's version functionality

* removed the custom previous version upload component

* added payload constructor

* added unit test, fixed some misstypes

* fix failing travis unit tests

* fix failing travis unit tests

* added translate module

* added last version and fix failing test

* small fixes and change type workflow to customevent.

* small fix

* fix flaky test

* deleted flaky merge

* ACA-45: Take drag'n'drop pop-up title from ACA rather than the ADF component

* fixed a logical issue

* ACA-45: Fix failing e2e tests

* unit testing error fixing

* unit testing error fixing

* fix unknown word travis

* unlock node after upload success

* unlock node after cancelling upload

* ACA-45: Introduce back fileUnlock asserts

* added unit test for checking if the locked node is unlocked when uploading successfully a new version

* added type of event and small update to unit test

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
2020-06-09 21:48:03 +01:00
Silviu Popa
33327bb505
[ACA-3315] - add predefined extension guard (#1478)
* [ACA-3315] - add predefined extension guard

* update extension loader

* update doc

* fix lint

* PR changes

* PR changes

* remove unnecesary code

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-02 14:03:46 +02:00
Maurizio Vitale
cef088794f
Use latest adf to fix issue 3252 (#1479)
* Use latest adf to fix issue 3252

* Fix unit test
2020-05-29 17:50:01 +01:00
davidcanonieto
51b461f859
[ACA-1992] Keep favorite libraries navigation under same path (#1474)
* [ACA-1992] Keep favorite libraries navigation under same path

* Fix unit test
2020-05-20 13:32:31 +01:00
dhrn
3b4579c19c
[ACA-3257] Add actions extension capability to info drawer (#1471)
* info drawer action added

* actions added

* * improved docs

* * added unit test

* fixed e2e

* * rename actions to toolbar

* * minor changes

* Update application-features.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-19 17:46:11 +01:00
Cilibiu Bogdan
234b41b917
[ACA-3296] Header - support actions order (#1464)
* header action order property

* apply sort for parents and children

* update tests

* use parent class to set style

* render user component through configuration

* header should allow disable actions rendering

* update e2e header resource
2020-05-19 16:56:03 +01:00
dhrn
c8c73acd3d
* build fixed (#1469) 2020-05-13 09:24:56 +01:00
davidcanonieto
6417337f9d
[ACA-3251] Move InfoDrawer and Toolbar components to aca-shared (#1466)
* moved tool bar

* moved info drawer

* moved appextension service

* moved pagination service

* Fix imports

* * fixed lints

* * fixed space

* added travis configuration

* * comments fixed

* * comments fixed

* * lint fixed

Co-authored-by: dhrn <dharan.g@muraai.com>
2020-05-12 14:34:26 +01:00
Popovics András
0e7eed3cd5
Add missing documentation for extension loader callbacks (#1457)
* Add missing documentation for extension loader callbacks

* Fix messed up pipeline, how it could work until now???

* Travis yml fix

* Travis yml fix
2020-05-07 23:23:11 +02:00
Denys Vuika
b138ec780b bump shared libs 2020-05-06 14:59:26 +01:00
Denys Vuika
f6c1843b23
customisable header image url (#1449) 2020-05-06 14:17:42 +01:00
Denys Vuika
404e74c0e8
bump and align lib versions with the app (#1441) 2020-05-04 12:30:06 +01:00
Denys Vuika
ab137d3145
automatically publish libraries on release (#1439) 2020-05-01 17:21:31 +01:00
Popovics András
a21aeab12d
[ACA-3131] Add extension loader guard (#1426)
* [ACA-3131] Add extension loader guard

* Fix linting issue

* Fix cspell issues
2020-04-29 08:41:49 +01:00