Commit Graph

239 Commits

Author SHA1 Message Date
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 0d0b228cb7.
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
Martin Mueller
a182bbe1de prepare extension versions 2019-11-27 18:01:20 +01:00
Adina Parpalita
9738752f0f [ACA-2822] add no-duplicate-imports rule (#1250)
* add no-duplicate-imports rule and fix few issues

* fix incorrect import :D
2019-11-15 14:57:34 +02:00
Suzana Dirla
f2ebb730dc bump aca-shared version (#1236)
- contains changes for the overlay viewer
2019-10-29 11:38:20 +02:00
Cilibiu Bogdan
edf1e52e94 [ACA-2745] Viewer - return to location on close (#1196)
* use viewNodeExtras when calling action

* open viewer based on ViewNodeExtras data

* resolve closing destination based on ViewNodeExtras query params

* remove unused param

* call ViewNodeAction with correct params

* update tests

* update docs
2019-09-06 14:17:29 +03:00
Suzana Dirla
a758c008ba [ACA-2715] sync AOS version displayed on About page with version from AOS package.json (#1183) 2019-08-12 15:56:33 +03:00
Cilibiu Bogdan
e31c0d6caf [ACA-2087] Overlay Viewer (#1175)
* viewer outlet over preview route

* use ViewNodeAction over ViewFileAction

* pass data to dynamic component

* ViewNodeComponent for view file  custom actions

* update docs

* pass primary url to show preview outlet

* update tests

* reset selection on navigation event

* document list update selection action when not viewer

* close viewer for move and delete from viewer

* location as router commands to work with search query

* make viewer to behave like former preview

* viewer error route

* call correct preview method

* remove view/error route

* navigate to show error

* span element for action name

* fix folder navigation

* fix test

* page title fix

* update tests

* locate better the viewer toolbar

* fix viewer url  link

* update navigation rules

* document-list directive tests

* try workaround for chrome 76

* try another workaround for using chromedriver 75 instead of 76

* ViewerEffects tests

* reset selection over reload

* fix tests

* add reset event test

* remove actions

* context menu action refresh on favourite

* reset selection on navigation

* add delete and upload events

* takeUntil after operators

* remove chrome workaround parameter

* filter navigation event
2019-08-08 15:38:50 +03:00
Denys Vuika
957b93aa63 automated license header checks 2019-07-11 15:25:17 +01:00
Suzana Dirla
b08b66ec1e bump aos version (#1166) 2019-07-11 14:25:55 +03:00
suzana_dirla
eeb9ac0f02 bump aca-shared version 2019-07-11 11:13:29 +03:00
Cilibiu Bogdan
de46b7f1fb remove OAUTH check (#1156) 2019-07-09 14:32:17 +03:00