99 Commits

Author SHA1 Message Date
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
Nicolas Barithel
84a3fd7fcf
MNT-19466 - Edit Online for RTF files (#1488) 2020-06-17 12:32:37 +01:00
Nicolas Barithel
c8dd345fed
Edit Online for XLAM files (#1490)
Similar to PPAM files (for MS Powerpoint), those are Macro-Enabled Add-ins for MS Excel
2020-06-17 12:32:13 +01:00
Nicolas Barithel
902cad2e97
MNT-18448 - Edit Online for MS Visio files (#1489)
Supported file extensions: vsd, vss, vst, vsdx, vsdm, vssx, vssm, vstx, vstm
2020-06-17 12:31:48 +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
davidcanonieto
03b75a5fb3
[ACS-180] Add Description column to My libraries / Favorites (#1486)
* [ACS-180] Add Description column to My libraries / Favorites

* Fix e2e test

* Fix datatable selector

* Fix role and visibility selectors

* Add description to search library layout

* Final fix
2020-06-16 14:54:26 +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
Roxana Diacenco
6e17405787
[ACA-3392] Create aca-testing-shared project to be reused in ADW (#1480)
* Move e2e framework to aca-shared/testing

* * Update e2e suites imports from @alfresco/aca-shared/testing
* Remove testing framework from 'e2e' directory

* Move e2e testing framework to `aca-testing-shared` project
2020-06-04 22:40:07 +02: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
Cilibiu Bogdan
b84cdcb1cc
[ACA-3081] upgrade @types/jasmine to latest (#1425)
* fix @type/jasmine update errors

* bump coverage

* fix linting
2020-04-22 12:38:22 +01:00
Denys Vuika
e34962d21f fix build issues 2020-04-20 12:14:47 +01:00
Denys Vuika
bf509843b7
integrate Prettier with tslint (#1419)
* integrate prettier with tslint

* remove obsolte scripts

* update tsconfig

* fix lint issues

* fix lint errors

* more rules and fixes

* kebab case and lint fixes

* update helpers

* update util
2020-04-19 23:29:20 +01:00
Denys Vuika
6e33766fc4
remove external settings (#1413) 2020-04-15 12:33:54 +01:00
Denys Vuika
5c98930520
add missing color header action (#1403) 2020-04-07 14:55:41 +01:00
Denys Vuika
5a88c8c852
[ACA-1743] extension settings (#1399)
* upgrade tslib

* initial settings skeleton

* migrate language picker setting

* support string parameters

* remove process extensions workaround

* update extensions schema

* update docs

* unit tests

* fix unit test
2020-04-06 19:58:41 +02:00
arditdomi
dab3f670f0
[ACA-2948] Add process services extension in settings page (#1374)
* [ACA-2948] Add toggle in settings page for process services extension

* [ACA-2948] Remove console log

* [ACA-2948] Fix import
2020-03-25 14:06:02 +00:00
Denys Vuika
0eb1720f8f
Revert "[ACA-2125] Update sidenav colors and font-size (#1368)" (#1370)
This reverts commit 0d0b228cb7ac78113db91202a0bd81afd931cdc0.
2020-03-23 15:59:45 +00:00
Baptiste Mahé
0d0b228cb7
[ACA-2125] Update sidenav colors and font-size (#1368) 2020-03-23 12:14:25 +00:00
Cilibiu Bogdan
c80cf9bdd2
MNT-21394 Edit in Microsoft Office opens MS Excel documents then immediately prompts that a newer version exists (#1355)
* aos path

* node info allowableOperations and path

* fallback when path elements are not defined

* fallback for no path

* fix tests

* call default optionals params

* node info include path
2020-03-17 08:37:47 +02:00
Cilibiu Bogdan
66a440c26e
bump version (#1344) 2020-02-17 19:06:26 +02:00
Cilibiu Bogdan
1a16d74b62
[ACA-2174][ACA-2173] Shared / Favorites - edit offline (#1341)
* edit offline

* try to fix test for viewer - password protected file

* bug: Edit in Microsoft Office action is displayed in Shared Files for a locked file
move Shared Files workaround down in the file to fix this

* remove some workarounds, update some comments

* remove other workarounds, make some tests independent, enable lock icon on Search results

* forgotten change

* remove another workaround

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-17 16:02:25 +02:00
Cilibiu Bogdan
874392159d
resolve node id for different nodes (#1327) 2020-01-31 06:53:55 +02:00
Cilibiu Bogdan
5102f7d64d [ACA-2704] move Locked By to aca-shared library (#1322)
* move component to aca-shared

* use aca-shared import

* update e2e

* fix selector prefix

* remove

* move node utils to aca-shared

* update reference

* fix lint

* fix linting
2020-01-28 07:00:48 +00:00
Cilibiu Bogdan
8603d13f71 [ACA-1921] Create folder structure from template (#1309)
* update template actions

* update template effects

* declare menu option

* rename dialog component

* rename service

* update tests

* update docs

* e2e fix locator

* fix translation reference
2020-01-22 10:35:32 +02:00
Cilibiu Bogdan
8b7c7b5ed4 [ACA-2873] Move acaContextActions to aca-shared library (#1301)
* move to aca-shared library

* export directive

* context menu action

* import directive from shared library

* context menu effect

* test

* update docs

* fix production code

* fix imports

* fix licence header

* fix licence headers
2020-01-20 10:42:42 +02:00
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Cilibiu Bogdan
0bc4a3453b [ACA-2869] Create File from template - keep the dialog open if creation fails due to the usage of a duplicate file name (#1299)
* rename create from template flow action

* create from template action

* dialog service

* subscribe to dialog service

* dispatch create file from template action on submit

* update tests

* subject value type

* break effects and refactoring

* update tests

* update docs

* change version number
2020-01-16 11:21:06 +02:00
pionnegru
ea6eb8b8fc tests 2020-01-07 20:38:35 +02:00
pionnegru
427ae8aeff user options extension and rules 2020-01-07 20:31:50 +02:00
pionnegru
55fe3f8399 templates actions 2019-12-12 10:11:18 +02:00
Martin Muller
c7b8511d5b
Hid AOS if record (#1272)
* check if record
* prepare aos release
2019-12-02 14:24:07 +01:00
Denys Vuika
961d3896e2 [ACA-2834][ACA-2837][ACA-2835] regression fixes (#1270)
* disable lazy loading for certain routes

* backwards compatibility for old viewer routes

* remove old lazy modules
2019-11-28 19:53:24 +01:00
Martin Muller
5ae12259d7
prepare extension versions (#1269) 2019-11-28 10:57:53 +01:00