18 Commits

Author SHA1 Message Date
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
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
Denys Vuika
f6c1843b23
customisable header image url (#1449) 2020-05-06 14:17:42 +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
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
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
55fe3f8399 templates actions 2019-12-12 10:11:18 +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
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
dhrn
5491545ac9 [ACA-2471] - close preview action (#1129) 2019-06-15 06:17:59 +03:00
dhrn
6d3b6407bc [ACA-2365] infodrawer metadata in expanded card (#1090)
* feat(info-drawer):- infodrawer default metadata in expanded card

* * test added

* * initial state fixed

* * package updated with beta
2019-05-01 14:22:11 +01:00
Denys Vuika
9db1c2989f
shared library (#1080)
* shared project scaffold

* rules package

* move evaluators to shared lib

* add rxjs peer dependency

* use dedicated material namespaces

* create store package, move actions

* move selectors to shared library

* move generic effects to shared lib

* move routing extensions

* minor code reorg

* fix unit tests

* move content-api service

* move permission service

* update tests

* update plint config

* move page layout

* css variables

* use dedicated css property

* move generic error component to shared lib

* fix test
2019-04-25 14:56:54 +01:00