23 Commits

Author SHA1 Message Date
Urse Daniel
422f8bc986
[ADF-5378] Rotate image: auto increment version on submit (#2099)
* add cropperjs dependency

* remove unnecesary dependencies

* misstype

* misstype

* update core package & added testing

* change with latest typos

* update tests & integrate jasmine-marbles
2021-05-06 13:42:00 +01:00
Vito
409210e05b
[ACS-1519] - Fixed double loading of the viewer (#2095) 2021-05-04 10:23:19 +01:00
Dharan
759099bde7
[ACA-4287] Move hooks to shared library (#2052)
* * move hooks

* * import fixed

* fix prod build

* * refactor hook service

* * fixed test

* * docs added

* * revert tsconfig

* * revert tsconfig

* * docs updated

* * fixed setting testing

* * lint fixed

* * remove duplicate actions
2021-04-29 13:50:25 +05:30
Eugenio Romano
5340745fcb
fix Flickering viewer toolbar icons when navigating to next/previous files (#2074) 2021-04-15 15:15:49 +01:00
Urse Daniel
f8eeec9e3d
added new action to refresh(re-render) the current node (#1913) 2021-01-12 10:38:13 +00:00
Urse Daniel
42a779f068
added the version to the parameter (#1874) 2020-12-09 15:37:15 +00: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
arditdomi
651fb56ec6
Fix create menu and viewer evaluators not in sync with store values (#1634) 2020-08-26 10:09:22 +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
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
dhrn
38a889f7e5
[ACA-2368] UI Issues while editing Metadata in the Preview Page (#1369)
* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* * comments fixed
2020-04-06 10:28:04 +01:00
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Cilibiu Bogdan
55547ed163
[ACA-2850][ACA-2849] Viewer - document properties not refreshed after changes or uploading new version (#1286)
* update viewer on upload complete

* prevent multiple same actions triggers

* Display node again after upload was complete

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Update src/app/components/page.component.ts

return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

Co-authored-by: Martin Muller <damadden88@googlemail.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-01-02 20:17:59 +02: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
Cilibiu Bogdan
cb268f2ebe
[ACA-2489] - Drag and Drop is not operable with keyboard alone (#1235)
* filter out image-viewer for key navigation

* cancel keyboard navigation for cdk-overlay-container children
2019-10-24 07:55:57 +03:00
pionnegru
4abb09c98f filter element target on keyboard event 2019-10-21 12:15:41 +03:00
pionnegru
aa0cbcfd38 set image name 2019-10-04 14:29:26 +03: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
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
Denys Vuika
b69ed7da28 Overlay viewer outlet (#1054)
* separate outlet for the Viewer

* separate node viewer route

* update docs
2019-04-03 11:43:14 +03:00