Commit Graph

660 Commits

Author SHA1 Message Date
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
Denys Vuika
97372711ea unit tests for manual regression cases (#1841)
* unit test for pagination in shared

* extra tests for sticky headers

* move e2e to unit test
2020-12-04 15:06:54 +00:00
Eugenio Romano
ad58be3d05 Rebalance suites conf to be less error prone (#1819)
* rebalance suites conf to be less error prone

* shared api - wait for specific files instead of totalItems

* remove unused

* - make search api wait calls more stable on parallel runs
- remove not needed workaround from closeMoreMenu

* reorganize test suites
a few more test stabilisations

* improve copy tests for parallel running

* more changes to consider parallel running

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
2020-12-04 12:39:39 +00:00
Denys Vuika
ffc4bd6e0f remove unused directives (#1830)
* remove unused directives

* remove unused mock
2020-11-27 15:28:49 +00:00
Vito
1de6dbf903 [ACA-4168] - reset pagination on breadcrumb navigation (#1816)
* [ACA-4168] - reset pagination on breadcrumb navigation

* [ACA-4168] - fixed conflict

* [ACA-4168] - using latest version of adf and js-api

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-11-25 12:55:30 +00:00
davidcanonieto
b504a224ea [ACA-3729] Join library action for Admin Users (#1801) 2020-11-23 15:07:12 +00:00
davidcanonieto
f14f8104e2 [ACA-4038] Fix Description error message not showing (#1775)
* [ACA-4038] Fix Description error message not showing

* increase timeout due really slow create sites

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-11-10 17:05:25 +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
dhrn
b949aad9d4 [ACA-4041] [ADW] Sort order doesn't work correctly after opening a document (#1738)
* [ACA-4041] [ADW] Sort order doesn't work correctly after opening a document

* fixed header

* * fix test and improvements

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-10-13 10:06:55 +01:00
davidcanonieto
8430ea0929 [ACA-4045] Show Document List header if filter header is active (#1739)
* [ACA-4045] Show Document List header if filter heeader is active

* Update files.component.spec.ts
2020-10-12 17:03:35 +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
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
davidcanonieto
fc5b77fbeb Fix FilterSearch import path (#1695) 2020-09-28 13:48:41 +02:00
davidcanonieto
51184e5b16 [ADF-5257] Refactor Document list header filters (#1691)
* [ADF-5219] Refactor Document list header filters

* Fix navigation

* Remove unsued code

* Push package-lock

* Fix C306990
2020-09-28 09:14:02 +01:00
Sushmitha V
b4ffd56b9a [ACA-3971] Added lightweight blank page to ACA for the sake of e2es (#1685)
* [ACA-3971] Add lightweight blank page to ACA for the sake of e2es

* [ACA-3971] Add lightweight blank page to ACA for the sake of e2es

* [ACA-3971] Removed unit test file for blank-page component

* [ACA-3971] Imcluded the missing license header in ts file to resolve lint errors
2020-09-25 12:02:14 +02:00
Cilibiu Bogdan
29f2f67491 accessibility (#1689) 2020-09-25 10:58:49 +01:00
Cilibiu Bogdan
68594cbbc0 [ACA-3907] Document list header should not appear on an empty list (#1657)
* show header based on data

* try another selector

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-09-22 09:16:19 +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
Denys Vuika
6612a702c0 [MNT-21386] about extension (#1674)
* separate project for about extension

* move components to the about project

* remove about from the app

* update travis

* fix lint
2020-09-16 08:48:17 +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
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
davidcanonieto
75adf0fd67 [ACA-3542] Fix Filter Sorting Initialization (#1617) 2020-08-17 15:30:52 +01:00
Denys Vuika
9f13b28502 fix client sorting issues (#1608) 2020-08-14 17:39:30 +01:00
Eugenio Romano
c015c8a6a6 [ACA-3855] fix go home id you are in uuuid root (#1607)
* fix go home id you are in uuuid root

* fix lint
2020-08-14 16:57:49 +01:00
Cilibiu Bogdan
f908005178 declare client side sorting (#1605) 2020-08-14 15:32:22 +01:00
Vito
5c471ff34a [ACA-3506] - added refresh for filters (#1601)
* [ACA-3506] - added refresh for filters

* Fix unit tests

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
Co-authored-by: Cano <david.cano.nieto@gmail.com>
2020-08-14 14:26: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
Silviu Popa
9bdaa59657 [ACA-3848] - change default sorting (#1600)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-08-13 16:50:54 +01:00
Vito
736b5ccf80 Fixed sorting for filters (#1597)
Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-08-13 09:35:45 +01:00
Cilibiu Bogdan
cf4af3bab5 [ACA-3788] Viewer - toolbar disappears after refresh (#1592)
* reset results if not in viewer outlet

* update tests
2020-08-11 15:41:09 +01:00
Vito
053d2de069 [ACA-3796] - fixed error on sorting (#1575)
* [ACA-3796] - fixed error on sorting

* [ACA-3796] - fixed unit test

* [ACA-3796] - start fixing e2e plus fixed filter parent node

* Rebased and upgraded to the latest ADF

* [ACA-3796] - fixed pr comments

* last adf update

* remove unused loading

* clean unit test

* [ACA-3796] - reverted fix for filters parent

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-10 21:13:28 +01:00
Eugenio Romano
97a7831726 fix unit test 2020-08-10 16:42:47 +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
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
dhrn
d414e540c9 [ACA-3752][ADW] Pagination values are not passed when a filter is applied (#1547) 2020-07-22 14:31:10 +01: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
arditdomi
4ac1b8d7dd [ACA-3595] Fix broken extending navbar by using route id reference (#1505) 2020-07-02 12:41:50 +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
Baptiste Mahé
ef5457875e [ACA-3538] Fix search result layout (#1500) 2020-06-29 00:36:41 +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
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
davidcanonieto
7ffecc546c [ACA-3317] Show app current deployed commit in About Page (#1472)
* [ACA-3317] Show app current deployed commit in About Page

* Fix script

* Fix script param

* Remove commit

* Update proxy.conf.js
2020-05-20 13:15:31 +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
Maurizio Vitale
523d9e5bcb Favorite remove the route evaluation (#1470)
* Remove the evaluation of routing

* Remove the data from json

* Use JSON parse to evaluate
2020-05-14 12:54:16 +01:00