Commit Graph

49 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
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
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
4abb09c98f filter element target on keyboard event 2019-10-21 12:15:41 +03:00
dhrn
5491545ac9 [ACA-2471] - close preview action (#1129) 2019-06-15 06:17:59 +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
59fa28f683 upgrade to latest ADF 3.2 alpha (#1069) 2019-04-12 15:26:49 +01: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
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
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
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
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
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
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
c916ab4cd1 reusable extensibility lib (#585)
reusable extensibility lib (part 1)
2018-08-29 16:38:44 +01:00
Denys Vuika
e97c8b703c [ACA-1695] viewer extensions (#576)
[ACA-1695] viewer extensions
2018-08-19 15:14: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
alex
5596738703 [ACA-1542] Print file (#518)
* Add Services and Behaviors to support print file dialog, which opens a browser renderable version of the file with the print dialog; after which, closes the window when the print dialog is closed.
2018-07-20 20:21:37 +01:00
Denys Vuika
8c9ffc1160 [ACA-1591] Load extensions from multiple files (#521)
* rework extension service, separate file with config

* improve loading, optional entries

* simplify config and unify content actions

* load and merge multiple files

* improve plugin loading, introduce second demo

* move demo stuff to a plugin

* rework navbar to make it pluggable

* code and naming convention cleanup

* extension schema

* switch off custom navbar group by default

* hotfix for facetQueries issue

* consolidate files, final renames
2018-07-19 20:54:39 +01:00
Denys Vuika
4d7b92823e deprecate "common" folder, use standard structure (#514) 2018-07-18 09:43:57 +01:00
Denys Vuika
f503880f72 viewer enhancements (#499)
* fix ngOnInit inheritance

* use unified info drawer
2018-07-08 15:58:45 +01:00
Denys Vuika
718a32a907 [ACA-1529] performance fixes for permission checks (#498)
* fix recent files

* fix files component

* fix shared files

* don't evaluate permissions for empty selection

* fix info drawer

* fix viewer

* fix tests

* reduce one more check

* track upload errors on app level

* remove console log

* reduce service dependencies
2018-07-08 12:25:20 +01:00
Denys Vuika
e75042aa46 [ACA-1508] extensions: wave 1 (#480)
* initial structure scaffold

* core extensions module

* simple navbar composition

* allow using app routes instead of registered

* migrate to new navbar setup

* remove commented out tests

* populate toolbar

* evaluate expressions

* redirect to url from toolbar

* populate "open with" viewer menu

* update test setup

* experimental flag for extensions

* test fixes

* fix tests

* code improvements, order support

* improve routing management

* populate "create" menu

* extra dictionaries for spellcheck

* allow disabling extension content

* support file/folder targets for toolbar actions

* add safety check

* navigate directly

* toolbar actions for all pages

* support route data

* "experimental" flag for "create" menu extensions

* code fixes
2018-07-06 19:45:42 +01:00
Denys Vuika
af547aac31 content api service (#455)
* introduce content-api service

* upgrade files component

* upgrade directives

* upgrade directives

* update directives

* fix profile resolver call ordering issue

* fix reducer

* update services

* extra apis

* update about page

* update preview component

* code updates
2018-06-25 10:37:21 +03:00
Denys Vuika
9e08b8a232 app directives (#439)
* pagination directive

* document list directive

* cleanup code

* cleanup code

* unified includeFields
2018-06-20 12:13:29 +01:00
Denys Vuika
e2eed9b71c style and theming fixes (#428)
* fix generic error text and styles

* search input layout and style fixes

* settings theme

* layout theme support

* current user theme

* theming support for header component

* disable "use-host-property-decorator" tslint rule

* sorting picker button theme
2018-06-17 16:16:38 +01:00
Denys Vuika
f8fe664f1f [ACA-1455] universal Viewer @effect (#412)
* viewer @effect

* universal preview effect

* remove router where not needed

* update tests

* update tests
2018-06-14 16:10:31 +03:00
Cilibiu Bogdan
9076c7ee9f [ACA-1407] Version Manager - file name conflict message (#398)
* upoad file conflict message

* SnackbarErrorAction
2018-06-12 07:51:57 +01:00
Denys Vuika
e34e9ee726 [ACA-1442] improved notifications and delete/restore (#393)
* remove notifications from files component

* remove notifications from favorites page

* remove irrelevant tests

* snackbar effects

* snackbar theme

* improve permanent delete messaging

* cleanup tests

* strongly typed node delete directive, node actions

* strongly-typed directives

* test fixes

* redux dev tools, migrate permanent delete directive

* reload trashcan on service events

* delete and restore nodes, snackbar effects with undo

* wire viewer with store and effects

* test fixes

* migrate events

* fix spelling

* bug fixes

* use notification effects on restore node

* remove fdescribe

* node-versions using snackbar actions

* dispatch snackbars from node-move directive

* store-enabled create folder

* reduce dependency on ContentService for list reloads

* favorites use unified preview api for files

* simplify preview for shared files

* remove test
2018-06-11 06:33:37 +01:00
Cilibiu Bogdan
f21ddee491 [ACA-1426] Search - back from preview breaks view (#376)
* build url from string

* fix tests
2018-06-01 11:48:56 +01:00
Cilibiu Bogdan
2a79bbd018 delete action (#324) 2018-04-19 18:05:00 +01:00
Cilibiu Bogdan
142b179841 [ACA-1273] Preview - node metadata (#272) 2018-04-04 09:24:26 +01:00
suzanadirla
ac28a28f94 add version manager on favorites, preview, recent and shared (#250) 2018-03-23 13:08:32 +02:00
Adina Parpalita
6688e236d9 update copyright year on license headers and login page (#212) 2018-03-02 14:11:31 +00:00
Denys Vuika
3a55411f40 [ACA-99] Viewer actions (#203)
* "toggle favorite" action

* copy and move actions

* move actions to the "more" menu
2018-02-27 15:30:24 +00:00
Denys Vuika
5234a875e7 [ACA-1135] spike on deleting nodes from the viewer (#192)
* delete/restore from the viewer

* rename content management service events

* test fixes

* offload node delete/restore to content service

* improve tests
2018-02-21 08:00:58 +02:00
Denys Vuika
3cff48cac5 [ACA-1078] next/prev navigation for the Viewer (#187)
* basic navigation through the folder

* carousel mode for libraries

* code polishing

* save and restore sorting settings

* get user sorting preferences into account

* sorting fixes

* full test coverage
2018-02-08 20:39:19 +02:00
Denys Vuika
00d14069c5 [ACA-1066] Improved files preview (#173)
* preview files child route

* fix previewing root files (personal)
2018-01-09 16:00:19 +00:00
Denys Vuika
d4a55c5b95 [ACA-1042] switch license (#129) 2017-12-11 14:58:25 +00:00
Denys Vuika
89fb92d1d9 Upgrade to ADF 2.0.0-beta2 (#65)
* upgrade to 2.0.0-beta2

* search fixes

* test fixes

* test fixes

* cleanup CLI config

* remove unused property
2017-11-20 18:23:23 +02:00
Denys Vuika
1bf4f26df8 main application 2017-10-19 11:21:51 +01:00