93 Commits

Author SHA1 Message Date
Denys Vuika
9f13b28502
fix client sorting issues (#1608) 2020-08-14 17:39:30 +01: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
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02: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
Suzana Dirla
9f127c0530 [ACA-2328] style cleanup to prepare for move css overrides to ADF (#1055)
* [ACA-2139] remove style override

- was added on ADF component since 3.0.0

* [ACA-2149] prepare for moving adf-upload-dialog style to ADF

- separate new styling from overrides

* [ACA-2148] just delete without moving to ADF

- since we no longer use the adf-upload-button anywhere in ACA

* [ACA-2150] refactor adf-upload-drag-area code

* [ACA-2150] more refactor adf-upload-drag-area scss

* [ACA-2150] change variable naming on adf-upload-drag-area scss

* [ACA-2141] fix adf-info-drawer height

- and mark code that could be removed in the future - without moving to ADF

* [ACA-2147] prepare adf-toolbar code to be moved to ADF

* [ACA-2141] remove not needed styles

- already set inside the adf-version-manager styling

* [ACA-2146] prepare adf-sidenav-layout code to be moved to ADF

* [ACA-2144] remove no more needed styles for facet-buttons

- styles for adf-facet-buttons are applied in ADF 3.1.0

* [ACA-2150] fix reset 'parent' color on adf-upload-drag-area

* [ACA-2150] refactor adf-upload-drag-area code

- to easier to move to ADF

* [ACA-2141] better fix for adf-info-drawer height

* [ACA-2147] rename css class to prepare adf-toolbar code to be moved to ADF
2019-04-05 12:38:08 +01: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
Suzana Dirla
8b0c18629e [ACA-2228] Add PipeModule to AppTestingModule (#993)
- fixes unit tests after upgrade to 3.1.0-beta4
2019-03-05 09:28:10 +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
Denys Vuika
ecc94a6dd2
upgrade libraries (#910)
* upgrade libraries

* fix breaking changes

* fix divider

* remove header workarounds
2019-02-01 19:19:44 +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
fe8c459637
use dynamic columns from ADF (#889)
* upgrade to latest ADF 3.0.0 alpha

* migrate to ADF column components

* use dynamic column from ADF

* fix e2e tests
2019-01-04 11:50:51 +00:00
Cilibiu Bogdan
5b4af869b1 [ACA-2039] Libraries - custom icon (#825)
* custom icon for library nodes

* match DL folder color
2018-11-23 17:39:31 +00:00
Suzana Dirla
13db4fb339 [ACA-1607][ACA-1985] Leave library action (#824)
* [ACA-1607] leave library action

* [ACA-1607] confirm leave action

* [ACA-1607] confirm leave action

* [ACA-1607] remove comment
2018-11-23 14:23:26 +00:00
Cilibiu Bogdan
0bd64f2543 [ACA-1607] Libraries - add/remove favorite library action (#816)
* workaround rework

* avorite unfavorite i18n reference

* extension definition

* is favorite library default value

* add action tooltip

* toglle favorite library state

* add toggle favorite library directive

* remove default isFavorite library value

* rework favorite library directive

* mark selected as favorite on favorite libaries route

* update tests

* add context menu delete library action

* update e2e
2018-11-22 10:37:14 +00: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
Cilibiu Bogdan
031198e784
[ACA-20] Sidenav - navigate to first child route when expanded for the first time (#798)
* bradcrumb root title

* use correct i18n string reference

* expansion panel state directive

* takeUntil

* fix text

* parameter type

* fix title error message reference

* fix My Libraries test and add separate one for Favourite Libraries
2018-11-14 12:09:24 +02: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
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
0b65ff46a0 [ACA-1956] Libraries - remove toolbar experimental flag (#764)
* remove experimental flag

* e2e
2018-10-29 20:48:57 +00:00
Cilibiu Bogdan
1807456a3e
[ACA-1956] Library - metadata info (#760)
* library metadata panel

* add infoDrawer component to Library

* set infoDrawer state to false onDestroy

* infoDrawer action

* update actions index

* infoDrawer set state reducer

* register Library metadata component to extensions

* filter infoDrawer tabs

* update library api

* library actions and effects

* refresh library view on update event

* infoDrawer tests

* refactor

* check permission on update

* check permission on update

* lint

* reference selection library

* add parameter type

* full width
2018-10-29 14:09:05 +02:00
Denys Vuika
8ada58f3a5 improved page layout (#761)
* app-layout component

* layout theme reorg

* merge app-layout styles

* rework page layouting
2018-10-29 11:47:10 +02:00
Denys Vuika
f975650850
fix imports (#757)
* fix imports

* fix lazy paths
2018-10-26 16:09:31 +01:00
Denys Vuika
f1813d2082
improve column rendering performance (#742)
* improve column rendering performance

* disable ACA-1892 implementation

* fix sidenav auto-close
2018-10-20 09:44:22 +01:00
Cilibiu Bogdan
4802656d79 [ACA] Context menu - support nested sub menus (#715)
* remove ContextMenuItemDirective

* remove custom menu animation

* remove custom menu styling

* menu item component

* material menu trigger

* clean up menu theme

* update context menu module

* remoe context menu from libraries document list

* clean up

* clean up

* tests
2018-10-14 11:27:47 +01:00
Denys Vuika
9dcdacce40 [ACA-1552] extensibility support for document lists (#714)
* dynamic column component

* dynamic columns for files

* support conditional rendering

* libraries preset

* shared files preset

* recent files preset

* favorites preset

* trashcan preset

* load presets from the extension config

* code fixes
2018-10-14 10:21:58 +03: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
Denys Vuika
457fa74048
[ACA-1830] create menu enhancements (#670)
* nested menus for create button

* evaluate sub-menu permissions

* demo plugin

* "create library" action

* unit tests and proper effect name
2018-09-27 09:07:24 +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
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
Cilibiu Bogdan
091e0d3e3f [ACA-1696] contextmenu (#587)
* enbale contextmenu by default

* attach event only when backdrop is set

* outside event for contextmenu

* apply outside event directive

* workaround fro contextmenu event row selection

* remove Output parameter

* update dockerfile

* update docker compose file
2018-08-29 13:44:47 +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
54f879f5e6 mobile enhancements (#550)
* hide menu bar elements on small screens

* show less columns on handsets

* reduce pagination for handsets
2018-08-06 14:18:03 +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
Cilibiu Bogdan
f9afd3ee84 [ACA-1609] Document List - name column ellipsis (#534) 2018-07-24 20:00:07 +01:00
Cilibiu Bogdan
9dba35baed [ACA] Document List - e2e fix (#522)
* e2e fix

* fix name column as link

* fix 1
2018-07-24 10:23:08 +01:00
Cilibiu Bogdan
af4089ae74 [ACA-1574] DocumentList - single click navigation (#513)
* single click navigation

* fix tests

* allow action on row

* use adf link class

* update tests
2018-07-18 16:25:30 +01:00
Denys Vuika
4d7b92823e
deprecate "common" folder, use standard structure (#514) 2018-07-18 09:43:57 +01:00
Cilibiu Bogdan
d5763f585d [ACA-1571] File library - navigate into library after create process (#510)
* notify library ID conflict

* navigate into library node
2018-07-14 11:46:40 +01: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
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
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
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
Suzana Dirla
e5bc3bb755 [ACA-1490] Enable CardView (#491)
* integrate carview

* experimental cardview

* fix tests

* fix spellcheck error
2018-07-05 12:29:30 +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
ac6e96530f
unit test cleanup (#454)
* auth mock

* avoid using jasmine

* cleanup preview tests

* cleanup recent files tests

* cleanup shared files tests

* remove fdescribe

* update tests

* move adf services to single place

* move app specific services to single place

* cleanup directive tests

* cleanup directive tests

* update directive tests
2018-06-24 17:33:50 +01:00