Commit Graph

88 Commits

Author SHA1 Message Date
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
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
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
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +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
473f4ced8e test 2019-10-21 12:15:52 +03:00
pionnegru
4abb09c98f filter element target on keyboard event 2019-10-21 12:15:41 +03:00
Suzana Dirla
c83a3f53cc [ACA-2288] Music / video stops playing when opening the Info drawer in the viewer (#1146)
* [ACA-2288] avoid triggering ngOnChanges on showRightSide toggle

* [ACA-2288] code review change

* check mediumDate corresponding format
2019-07-02 13:24:35 +03:00
dhrn
5491545ac9 [ACA-2471] - close preview action (#1129) 2019-06-15 06:17:59 +03:00
Denys Vuika
1928aa0b1b npm security audit fixes (#1112)
* update angular libs

* audit fix

* fix code style

* remove rimraf dependency
2019-05-17 15:14:23 +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
Denys Vuika
59fa28f683 upgrade to latest ADF 3.2 alpha (#1069) 2019-04-12 15:26:49 +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
Denys Vuika
672d6a75b1 [ACA-2302] upgrade to ADF 3.2.0 beta (#1049)
* upgrade to ADF 3.2.0 beta 2

* remove deprecated extension classes

* fix some DL style issues

* update class names

* update cell classes

* update viewer

* fix test

* update angular dependencies

* cleanup login component

* update tests

* fix selector

* fix document list cell selector

* fix viewer extension test

* upgrade to beta3

* fix some tests and disable tests until regression is fixed on ADF side

* disable hyperlink e2e for now

* upgrade to latest alpha

* restore tests
2019-03-30 16:48:15 +00:00
Suzana Dirla
ff91ee17ea [ACA-2138] Viewer - remove old styling class (#1044) 2019-03-26 18:32:06 +00:00
Adina Parpalita
6ac697564d update copyright year (#1022)
* update copyright year

* forgot a file

* update year on licence header
2019-03-19 15:41:27 +02:00
Cilibiu Bogdan
2be93af273 [ACA-2180] Viewer toolbar - rearrange actions layout (#962)
* merge action in toolbar submenu

* viewer add info drawer action

* toggle infoDrawer extension action

* hide viewer toolbar info drawer action

* fix typo

* allow to  unsubscribe from infoDrawerOpened event
2019-02-24 14:20:21 +00:00
Denys Vuika
4cde12dfee node locking enhancements and fixes (#955)
* optimize image resolver

* allow previewing locked files

* allow selecting locked nodes

* fix comments and metadata tabs

* improved lock checks

* remove obsolete "experimental" directive
2019-02-15 18:36:51 +00:00
Cilibiu Bogdan
894a928187 [ACA-2193] Lock node - unlock after new version is uploaded (#924)
* unlock node api call

* unlock action and effect

* unlock node after version upload

* check if locked

* clear version input on dialog cancel event

* update viewer on node version upload

* update viewer on file upload delete

* test

* update tests

* update tests

* rename evaluators

* update docs
2019-02-10 13:56:02 +00:00
Denys Vuika
f0a3f6f630 upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs

* upgrade to latest js-api and ADF

* upgrade tests

* update viewer code

* use @alfresco/js-api

* update to latest adf

* fix deprecation issues

* update viewer

* fix copy/move dialog

* change expect

* fix remove site from favorites

* fix unit test

* update adf version

* use ADF upload dialog
2019-01-22 14:10:48 +00:00
Denys Vuika
da3527b0db unified format for viewer sub-menus (#901)
* unified format for viewer sub-menus

* fix tests

* update prettier
2019-01-20 11:13:55 +00:00
Denys Vuika
7992b0a015 [ACA-2122] automatic code formatting on commit (#890) 2019-01-04 15:20:24 +00:00
Suzana Dirla
caa44b1fc2 [ACA-2077] viewer - filter recent files (#866)
* [ACA-2077] get filtered recent files from viewer

* [ACA-2077] use same filters
2018-12-11 10:35:32 +00:00
Suzana Dirla
b2244cb1c4 [ACA-2062][ACA-2066] Update Viewer actions (#861)
* [ACA-2062] viewer - set icons order & set more menu separators

* [ACA-2062] add separator for viewer toolbar icons
2018-12-07 13:11:06 +00:00
Suzana Dirla
4dca8ebc2a [ACA-2060] arrange viewer toolbar icons (#849)
* [ACA-2060] checks if empty

* [ACA-2060] hide last divider

* [ACA-2060] switch info drawer button & more menu

* [ACA-2060] cspell change

* [ACA-2060] apply changes only to viewer top toolbar
2018-12-05 11:31:55 +00:00
Denys Vuika
eb57553140 [ACA-1144] fix keyboard navigation (#819) 2018-11-22 17:42:07 +00:00
Denys Vuika
cb3754e29d update prettier (#790)
* update prettier

* enable auto-formatting for html
2018-11-08 11:54:25 +00:00
Denys Vuika
2dc2f51944 [ACA-1970] extension fixes (#780)
* cleanup extension settings

* remove header demo and update schema

* move card view to separate demo extension

* update to ADF 2.6.1
2018-11-08 06:46:32 +00:00
Cilibiu Bogdan
44a9ade552 [ACA-1806] Viewer - navigate on node delete event (#775)
* navigate onode delete event

* remove console
2018-11-03 17:46:58 +00:00
Denys Vuika
796c6587a8 separate column templates from doc list (#700)
* use standard date columns

* use standard file size column

* name column component

* library name template

* library status column

* enable tests

* trashcan name column template
2018-10-10 10:44:44 +01:00
Cilibiu Bogdan
253425971f [ACA-1841] Hide app menu in preview (#698)
* hide menu in preview

* fix getNodeInfo return value when no node is found
2018-10-09 16:52:46 +01:00
Denys Vuika
22800c0e5a optimise routes and guards (#676)
* reduce duplicate settings

* simplify guards/resolvers

* fetch data after 401

* unit tests

* extra unit tests

* unit tests for auth guard

* trashcan tests
2018-10-01 07:47:40 +01:00
Denys Vuika
f580b96a78 more detailed code coverage reports (#664)
* add about to coverage

* add more components to coverage

* more truth for coverage reports

* even more fun

* switch off json formatting

* deploy war file after unit test run
2018-09-24 14:35:14 +01:00
Suzana Dirla
8a11137eed [ACA-1548][ACA-1807] Set viewer toolbar actions via extensions (#640)
* [ACA-1548][ACA-1807] add download action via extension

* [ACA-1548][ACA-1807] add print action via extension

* [ACA-1548][ACA-1807] add fullscreen viewer action via extension

* [ACA-1548][ACA-1807] prettier formatting
2018-09-18 16:01:25 +01:00
Suzana Dirla
e373064fd1 [ACA-1548][ACA-1802] add actions to viewer toolbar via extensions (#637)
* [ACA-1548] rename viewer toolbar extension of More menu

* [ACA-1548][ACA-1802] add actions to the viewer toolbar via extensions
2018-09-17 13:14:27 +01:00
Denys Vuika
f44838ac42 split toolbar components (#635)
* split create menu into separate component

* toolbar menu item component

* toolbar menu component

* component updates

* unified property name

* code and style improvements

* login module (lazy)
2018-09-15 19:28:33 +01:00
Denys Vuika
1dcd06d311 use ADF printing feature (#630) 2018-09-14 13:25:35 +01:00
Denys Vuika
883a1971c5 [ACA-1443] prettier formatting and checks (#629)
* intergrate prettier

* update settings

* integrate with travis

* unified formatting across all files
2018-09-13 16:47:55 +01:00
Denys Vuika
fa0d10c419 extra app modules (#596)
* toolbar module

* lazy load Settings

* fix build

* remove duplicate build for e2e

* Revert "remove duplicate build for e2e"

This reverts commit 94b872239b.
2018-09-03 19:28:15 +01:00
Denys Vuika
b145edd22d use minified pdf worker (configured at ADF side) 2018-08-31 13:19:07 +01:00
Denys Vuika
c916ab4cd1 reusable extensibility lib (#585)
reusable extensibility lib (part 1)
2018-08-29 16:38:44 +01:00
Suzana Dirla
7b347421d7 [ADF-1695] add automation helper id (#581) 2018-08-24 14:10:46 +03:00
Denys Vuika
e97c8b703c [ACA-1695] viewer extensions (#576)
[ACA-1695] viewer extensions
2018-08-19 15:14:06 +01:00
Denys Vuika
160226094d extensibility docs update (#571)
* docs: custom sidebar tabs

* update docs

* docs update, simplify extension schema

* test fixes
2018-08-17 13:44:01 +01:00
Denys Vuika
f91608fe78 Angular 6 (#556)
* upgrade to angular 6 (with rxjs-compat)

* fix tests

* fix test scripts

* upgrade rxjs to 6.0

* remove rxjs-compat layer

* update unit tests

* restore tests

* context-menu transparent backdrop

* upgrade libs

* changed snackbar locator

* locator as class

* remove locator element reference

* snackbar locators

* wait for snackbar before executing the action button

* expect cdk-overlay before mat-menu-panel condition

* update libs
2018-08-09 11:11:06 +01:00
Denys Vuika
4668112871 minor code reorg for Viewer and Extensions (#554)
* self-registering extension module

* move printing service to the preview chunk
2018-08-07 17:25:06 +03:00
Denys Vuika
ae8675dfd7 [ACA-1631] more application ngrx actions (#540)
* delete action

* library path evaluator

* extension for sharing files

* upload actions

* delete library

* use extensions for experimental library actions

* unshare nodes

* fix icons and titles

* "create menu" backed by core extension

* support for descriptions, update upload selector

* update code and tests

* support disabled tooltips for navbar

* fix selector

* [ACA-1486] remove double fetch call

* migrate to trashcan actions, element IDs

* cleanup code, remove deprecated directives

* add/remove favorite

* improve rendering performance

* update favorites without reload

* support for adding Sites to favorites

* disable favorites for Libraries for now

* copy action

* move node

* manage versions and permissions

* cleanup code

* toggle info drawer

* card view mode

* use extension layer for favorites toolbar

* fix menu tooltips

* fix 'remove as favorite' tests

* update tests

* test fixes

* fix edit folder for favorites

* fix test

* cleanup favorites layout

* upgrade recent files layout

* update evaluators for shared nodes

* test fixes

* test fixes

* restore recent files layout

* workaround for "favorite" toggle and recent files

* upgrade shared files page

* upgrade files page layout

* fix library evaluator

* workaround for shared files and permissions

* cleanup code

* upgrade search results

* upgrade sidebar and viewer actions

* code cleanup

* code cleanup

* code cleanup
2018-07-31 10:36:26 +01:00
Denys Vuika
9676bf6f79 [ACA-1589] fix auth redirects when ticket expires (#529) 2018-07-23 19:33:05 +01:00
Denys Vuika
9c92fca44f [ACA-1608] lazy loading support for Viewer and About screens (#526)
* move viewer and directives to separate modules

* lazy loading for Viewer and About screens

* lazy loading support for extensions module
2018-07-21 15:36:26 +01:00