83 Commits

Author SHA1 Message Date
Denys Vuika
b0f0e2a0b3 query improvements for recent files (#843) 2018-11-29 20:18:12 +02:00
Cilibiu Bogdan
da41834524 [ACA-20] Add/Remove favorite library (#804)
* custom add favorite library

* addFavoriteLibrary component

* tests

* update doc

* add content event

* reload on remove favorite library

* consistency

* app.selection.library over app.navigation.isLibraries

* fix duplicate id name
2018-11-16 12:46:36 +02:00
Suzana Dirla
49e80ddce1 [ACA-19] Toggle join request - library action (#800)
* [ACA-19] join/cancel join library actions

* [ACA-19] show the info drawer

* [ACA-19] custom icon for join library

* [ACA-19] css to 'see' custom icon for extension

* [ACA-19] reformat with prettier

* [ACA-19] better role display

* [ACA-19] simplify cancel request rule

* [ACA-19] refactor and use toggle join/cancel join component & directive

* [ACA-19] reformat with Prettier

* [ACA-19] fix title for svgIcon

* [ACA-19] fix translation

* [ACA-19] unit test
2018-11-14 12:43:14 +00:00
Cilibiu Bogdan
4a420cc9f9 [ACA-20] Favorite Libraries (#789)
* libraries submenu config

* fix item id

* favorite libraries columns

* libraries submenu text

* columns text

* submenu schema

* submenu routes

* role column component

* favorite libraries list api

* register favorite libraries presets

* favorite libraries list component

* register role column component

* dl custom node list is library route

* empty state message icon

* remove custom id

* merge subscriptions

* adapt to child route

* fix component selector

* revert to favorite library route

* sidenav main links font weight

* libraries children contants

* library expand panel method

* update e2e

* libraries children columns consistency

* isLibrary workaround for custom node list

* update isLibrary evaluator

* update e2e

* lint

* Update src/assets/app.extensions.json

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* use correct preset

* update e2e

* update page titles values

* find child active link

* fix expected value

* update expected

* role column tests

* check if menu is expanded
2018-11-09 13:53:51 +00:00
Denys Vuika
3a8dbcd7a4 upgrade to Angular 7 (#758)
* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* one more try to fix e2e snackbar issues

* yet another try

* only wait in some tests

* diable animations, extra e2e app configuration

* update tomcat e2e script

* fix prod build memory use

* use another type of wait

* disable check

to be investigated separately
2018-10-31 17:53:36 +02:00
Cilibiu Bogdan
f44b3629e9 [ACA-92] Context Menu - share settings action (#699)
* context menu share settings action

* update cspell with 'qshare'

* share/edit share in viewer

* force change detection on children

* cleanup module declarations

* detection only for preview page

* assert properties

* cast to boolean
2018-10-10 18:31:13 +01:00
Denys Vuika
8a7fbaa70a
[ACA-1809] app header extensions (#659)
* move header to separate component

* code fixes

* project header buttons and menus

* app menu example

* delete empty style

* logout action

* update docs

* and one more test
2018-09-23 17:53:56 +01:00
Denys Vuika
ac0a29e14a
tree-shakable services (#661)
* improved services

* context menu service

* update to latest adf-extensions
2018-09-23 17:06:52 +01:00
Denys Vuika
6cfa74fc48
[ACA-1811] redirect url for login (#645)
* redirect url for login

* cleanup code
2018-09-19 06:36:47 +01:00
Denys Vuika
eb97b18f95 feature modules (#636)
* permission manager module

* permissions module

* common module

* layout and search modules

* trashcan module, lazy load

* fix context menu module

* lint fix

* recent files module

* favorites module (lazy)

* shared files module (lazy)

* shared link module (lazy)

* lazy loaading fixes
2018-09-17 06:57:56 +03: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
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 94b872239b91ba5c6e25217673768d665ad67de0.
2018-09-03 19:28:15 +01:00
Denys Vuika
c916ab4cd1
reusable extensibility lib (#585)
reusable extensibility lib (part 1)
2018-08-29 16:38:44 +01:00
Denys Vuika
89aec91caf
[ACA-1646] "dev tools" extension (#567)
* dev tools extension project

* code editor integration

* latest editor, offline setup

* override extension config (session only)

* schema support

* wire external plugins with experimental flag

* update package scripts

* sidebar extensions scaffold

* propagate extension tabs to info drawer

* separate tab components for info drawer

* extensibility for info drawer

* support tab icons
2018-08-16 16:55: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
8f3030760a extension enhancements (#552)
* default action types

* move context-menu to the correct folder
2018-08-06 11:53:26 +03:00
Cilibiu Bogdan
27977be9a2
[ACA-1614] DocumentList - context menu actions (#544)
* context menu

* make same structure check

* align naming

* lazy loading support

* update module import implementation

* close context menu on Escape

* focus and navigate context menu items

* update with material cdk 'keycodes' name

* changed module folder name
2018-08-03 14:14:19 +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
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
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
a643e8efc1
custom route reuse strategy (#515) 2018-07-18 14:23:26 +01:00
Denys Vuika
4d7b92823e
deprecate "common" folder, use standard structure (#514) 2018-07-18 09:43:57 +01:00
Denys Vuika
79a20c65fb split extension actions into separate service (#512)
* move action management to a separate ActionService

* code improvements and registration chaining

* code fixes
2018-07-18 07:16:09 +03:00
Suzana Dirla
5d8a9057bc [ACA-1440] use ADF Header component (#508)
* [ACA-1440] use ADF HEADER component

* moved style to theme

* removed ACA HeaderComponent

* remove aca header component theme

* Update layout.component.html

* update app header locator
2018-07-17 08:38:36 +03:00
Denys Vuika
51af2071c2 extensibility: rules engine (#511)
* rules format prototype

* config container

* lightweight rules

* fdescribe

* basic rule integration

* migrate "create folder" to click actions

* migrate toolbar to new action handlers

* rule support for "create folder" (toolbar)

* upgrade "View" toolbar command

* migrate to rules

* cleanup tests
2018-07-16 13:27:27 +03:00
Cilibiu Bogdan
0504b28b3c [ACA-1545] Library - create (#506)
* create site implementation

* lint

* update validation

* reuse existent service and renamed site to library
2018-07-13 08:12:03 +01:00
Suzana Dirla
7a95485a05 [ACA-1113] Node Permissions - experimental (#501)
* [ACA-1113] Integrate permissions

* [ACA-1113] experimental flag for permissions

* [ACA-1113] permissions shown only on write permission

* [ACA-1113] remove console.logs
2018-07-09 15:20:54 +01:00
Denys Vuika
1c48198e79
[ACA-1530] allow calling download action from extensions (#500)
* download action

* use download action everywhere
2018-07-08 18:40:36 +01:00
Denys Vuika
fe683015c5
extensions: wave 2 (#497)
* introduce "create folder" action

* track opened folder via store

* "create folder" action, support mulitple targets

* fix card view colors and toolbar layouts

* basic support for permissions

* simplify create menu and add permissions

* add toolbar separators for extension entries

* "edit folder" extension command

* minor code improvements
2018-07-08 07:56:50 +01:00
Denys Vuika
680ea5daed
consolidate search components (#495)
* rename search to search-results

* move search components to the same folder

* layout and performance improvemetns for result row

* update vs code settings
2018-07-07 11:09:02 +01:00
Denys Vuika
1ea1dc41c3
ADF 2.5.0 beta-2 (#494)
* upgrade libs

* remove page title workaround

* remove search workaround
2018-07-07 08:28:34 +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
Cilibiu Bogdan
3e123bee62 [ACA-1115] Quick Share (#492)
* share file

* fix

* fix test dependency

* experimental guard
2018-07-06 10:42:13 +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
e846d97317
remove electron demo code (#453)
* remove electron demo code

* remove unused property

* cleanup tests

* cleanup sidenav tests

* cleanup trashcan tests

* remove fdescribe
2018-06-23 17:30:20 +01:00
Denys Vuika
759fa23ed4
special ifExperimental directive to toggle features (#445) 2018-06-21 16:54:56 +01:00
Denys Vuika
7516e98c9e migrate to adf debug app config 2018-06-20 19:52:46 +01:00
Cilibiu Bogdan
fec3f8aaf7 User profile state (#438)
* user data

* fix missing store selector

* profile state

* use ProfileStatus

* remove tests

* test fixes
2018-06-20 13:43:20 +01: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
73461df930
extract material libs to a separate module (#437) 2018-06-19 19:48:52 +01:00
Suzana Dirla
f34c0a96a6 [ACA-1451] search input component (#432)
* made copy of ADF search-control component

* show search icon even if not 'expandable'

* clear button

* no autoComplete triggered calls when liveSearchEnabled is false

* remove unneeded arguments
2018-06-19 14:07:44 +01:00
Denys Vuika
350ae452e1
data store enhancements (#422)
* separate module for store

* move NodeInfo to models folder

* move store models to correct place
2018-06-15 15:23:47 +01:00
Denys Vuika
13a28bebcd
[ACA-1450] "manage versions" dialog enhancements (#415)
* move dialog to the "dialogs" folder

* rename to node-versions

* style and layout refactoring

* style fixes

* layout fixes

* fix scrollbars

* code polishing
2018-06-15 08:24:47 +01:00
Cilibiu Bogdan
b06dcd4391 [ACA-1437] Custom row for search results DL (#414)
* custom row

* clean up
2018-06-15 07:06:12 +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
Denys Vuika
a849a215bb
[ACA-1379] Search Results Actions and Bulk Actions (#406)
* download actions and effects

* download multiple search results

* remove inline toolbar

* base page and toolbar for the Search results

* toolbar actions

* update search settings

* toggle favorites from search results

* manage versions dialog

* folder navigation

* sidebar integration

* remove obsolete style
2018-06-13 14:21:09 +01:00
Denys Vuika
e83cc18964
fix page title service (#402) 2018-06-12 12:50:19 +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