956 Commits
Author SHA1 Message Date
Denys Vuika 36043d1473 [ACA-2182] ADF 3.3.0 alpha (#1126)
* upgrade to latest adf 3.0.0 alpha

* use ADF share dialog

* [ACA-2069] make sure toggles have the right color

* raise error popups for shared links

* update test

* use date only for sharing

* [ACA-2069] small improvement - make sure toggles have the right color

* remove old share dialog

* move toggle-shared component to common module
2019-06-14 12:59:09 +01:00
Cilibiu Bogdan ca5795fac0 rtl fixes (#1128) 2019-06-14 10:26:31 +03:00
Suzana Dirla 3e2c33567d [ACA-2420] exclude aspects and order effectivity properties (#1124)
* [ACA-2420] exclude aspects and order effectivity properties

* [ACA-2420] ids not needed inside app.config

- this is the 'applied' setting for content-metadata when there
isn't one inside the app.extensions.json that overwrites it
2019-06-13 10:09:40 +03:00
Cilibiu Bogdan 24217dc050 upgrade ADF 3.3.0 alpha (#1123)
* update to alpha

* remove locale
2019-06-08 15:01:24 +01:00
Suzana Dirla 9e95b6414f [ACA-2415] author & titled aspects should be excluded (#1120) 2019-06-07 06:13:57 +03:00
Cilibiu Bogdan baef12dd0f mirror mat-icon when rtl (#1119) 2019-06-05 14:08:40 +03:00
Cilibiu Bogdan 9fef05b69f 3.3.0 alpha update (#1118)
* alpha

* locale
2019-05-31 13:30:11 +03:00
Cilibiu Bogdan d28114f2ee [ACA-2390] Evaluators - user is admin (#1116)
* user isAdmin rule

* register rule

* test

* update docs

* remove fdescribe
2019-05-24 16:12:54 +01:00
Denys Vuika 715609f71a [ACA-2286] handle metadata errors (#1115)
* [ACA-2286] handle errors in metadata

* [ACA-2377] use ADF i18n support for info drawer

* update lint settings

* update plint settings
2019-05-22 10:45:57 +03:00
Suzana Dirla eb1e8c8fa1 [ACA-2147] toolbar clean css - fix colors (#1114)
* [ACA-2147] toolbar clean css - fix colors

* [ACA-1619] keep aspect properties config example

* [ACA-2147] keep toolbar color setting in custom-theme

* remove dist folder from travis cache

* build dist folder before each suite

* remove no longer needed 'Prepare dist cache' since dist cache was disabled
2019-05-21 16:38:19 +01: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 9892580e29 use css variables for About screen (#1111) 2019-05-17 11:52:58 +01:00
Suzana Dirla 5ffdf75f52 [ACA-1619] automatically show content metadata (#1104)
* [ACA-1619] overwrite the app.config metadata settings only of the 'content-metadata-presets' is non-empty

* [ACA-1619] app config to show automatically all metadata aspects

- not extendable version

* [ACA-1619] app extension to show automatically all metadata aspects

- extendable version
- the app.config setting is overwritten by the one with ids from app.extensions
- could remove completely the content metadata setting from app.json

* [ACA-1619] allow 'disabled' property on content metadata configuration

* [ACA-1619] test content-metadata plugin extension

 - allow 'disabled' property on content metadata configuration

* [ACA-1619] remove test reference to metadata plugin

* [ACA-1619] backwards compatibility for metadata plugin extensions

- add back initial structure (& ids) of content-metadata "custom" preset
- revert change to sample metadata extension plugin

* [ACA-1619] forgotten change

* [ACA-1619] tests
2019-05-17 10:34:20 +01:00
Martin Muller b4e6b43787 Fix/ACA-2111 blue toggle (#1109)
* Revert "[ACA-2069] fix blue slider issue (#854)"

This reverts commit 84b0cd4e7e.

* ACA-2111 remove default color for toggle as it defaults to orange

* ACA-2111 remove default color for toggle as it defaults to orange
2019-05-16 10:01:32 +03:00
john-knowles 3bbf8b2685 Update app.config.json (#1110) 2019-05-15 18:50:59 +03:00
Cilibiu Bogdan 07c7f49af1 [ACA] 3.3.0 alpha update (#1108)
* update to 3.3.0 alpha

* add arabic language

* layout orientation support

* take direction from parent

* set direction based on language locale on initialization

* test
2019-05-15 13:38:50 +01:00
Denys Vuika d8e3b9ada0 [ACA-2364] support 'canPreview' rule for the Viewer (#1102)
* support `canPreview` rule for the Viewer

* update plint settings

* update prettier settings for plint

* test fixes

* update config
2019-05-10 15:08:00 +01:00
Cilibiu Bogdan 996975fdb5 [ACA-2375] Contextmenu - RTL support (#1099)
* direction element wrapper

* use CONTEXT_MENU_DIRECTION injection

* direction injection token

* refactor positionStrategy

* set CONTEXT_MENU_DIRECTION  value

* test
2019-05-08 16:22:03 +01:00
Suzana Dirla 7e4b635154 Upgrade to ADF 3.2.0 (#1100)
* Upgrade to ADF 3.2.0 version

* fixes login button color

* Revert "fixes login button color"

This reverts commit 29c529d

* include only button color styling for toolbar
2019-05-08 16:14:57 +01:00
Denys Vuika 6b5a14dee9 Revert "[ACA-2147] minor theme fixes (#1096)"
This reverts commit dbc2c6c8e4.
2019-05-08 09:36:57 +01:00
Cilibiu Bogdan 6cb1ad4101 [ACA-2374] Sidenav - RTL support (#1098)
* add rtl HostBinding

* sidenav direction input

* remove unused style

* rtl style changes

* test
2019-05-07 07:33:09 +01:00
Suzana Dirla 21f85015e0 [ACA-1623] enable Reset all filters button (#1097) 2019-05-06 08:54:40 +03:00
Denys Vuika dbc2c6c8e4 [ACA-2147] minor theme fixes (#1096) 2019-05-03 16:04:44 +01:00
Suzana Dirla f74a1f5606 [ACA-1623] remove mincount set to 0 (#1094)
- use the default value of 1
2019-05-03 15:56:28 +01:00
Denys Vuika f3d8171579 upgrade to latest ADF and Angular libs (#1092)
* upgrade to latest ADF and Angular libs

* disable e2e tests for libaries

* [ACA-2130] fix a11y for header

* disable e2e tests

* sticky header, layout fixes

* switch to ADF upload dialog

* disable broken test

* disable broken test

* disable test
2019-05-02 21:02:06 +01:00
dhrn 6d3b6407bc [ACA-2365] infodrawer metadata in expanded card (#1090)
* feat(info-drawer):- infodrawer default metadata in expanded card

* * test added

* * initial state fixed

* * package updated with beta
2019-05-01 14:22:11 +01:00
Denys Vuika f45145f3a6 [ACA-2367] default header actions (#1088)
* enable header actions by default

* exclude app.extensions from spellcheck
2019-04-30 14:41:48 +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 f3c5ffb977 update test setup 2019-04-25 11:30:46 +01:00
Suzana Dirla 3f5e8815c3 Upgrade to latest ADF beta & UI fixes (#1082)
* [ACA-2359] upgrade ADF to 3.2.0-beta7 version

* [ACA-2359] revert temporary fix because no more nested 'adf-datatable-cell' items coming from ADF

* [ACA-2359] remove no more needed styles related to [ADF-4401] issue

* [ACA-2359] clean-up unneeded styles - coming from new ADF version

* [ACA-2363] fix issue with text being visible underneath the info drawer

* [ACA-2359] fix ellipsis on locked_by text

* [ACA-2359] increase item select area

* [ACA-2331] fix destination picker custom source title

* [ACA-2331] fix destination picker column display

* min-width for adf-no-grow-cell
2019-04-23 12:57:48 +01:00
Suzana Dirla 5788d1e7c4 Clean up css overrides (#1081)
* fix height on search-libraries DL

* [ACA-2141] deleted adf-info-drawer css overrides - already moved to ADF

* [ACA-2151] deleted adf-version-manager css overrides - already moved to ADF

* [ACA-2144] deleted adf-search-filter css overrides - already moved to ADF

* [ACA-2145] deleted adf-search-sorting-picker css overrides - already moved to ADF

* [ACA-2147] partial clean-up of adf-toolbar-theme css overrides

- need to fix the colors schema to be able to remove it completely

* [ACA-2149] deleted adf-upload-dialog-theme css overrides - already moved to ADF

* [ACA-2146] clean-up of adf-sidenav-layout-theme css overrides

- might need to make another change on ADF side for height value

* [ACA-2150] deleted adf-upload-drag-area-theme css overrides - already moved to ADF

* [ACA-2146] prepare to move to corresponding ADF component theme
2019-04-19 10:19:12 +03:00
Suzana Dirla 434ab8a655 Update to latest ADF alpha (#1079)
* update to latest ADF alpha version

* better date column display - ellipsis fix

* renaming to prepare to clean-up document-list scss overrides

* fix ellipsis display & cells min-width

* update to a more latest ADF alpha
2019-04-17 20:15:39 +01:00
Suzana Dirla 91eaa3c305 [ACA-2350] fix ellipsis on DL and the context-menu issue (#1070)
* add adf-no-grow-cell & min-width on columns

* [ACA-2350] fix ellipsis on DL and the context-menu issue

- issues were caused by nested items with the same classname: 'adf-datatable-cell'

* [ACA-2350] fix unit test

* [ACA-2350] remove deprecated classname

- mention 'adf-datatable-cell--text' example container class for elements that have context menu

* [ACA-2350] small fixes on search-results display

* [ACA-2350] fix location check

* [ACA-2350] should clean-up code once [ADF-4401] issue is fixed

* [ACA-2350] change e2e expect to check match

* [plint] fix code formatting

* [plint] fix code formatting
2019-04-17 10:01:43 +01:00
Cilibiu Bogdan b2b234c3cb [ACA-2345] Metadata - edit button is not displayed for folders (#1078)
* remove node type check

* tests
2019-04-17 11:57:30 +03:00
Denys Vuika 802360db17 [ACA-2351] allow rules access user group membership (#1071) 2019-04-13 07:45:58 +01:00
Denys Vuika 59fa28f683 upgrade to latest ADF 3.2 alpha (#1069) 2019-04-12 15:26:49 +01:00
Denys Vuika 2001bcd447 [ACA-2327] rule and evaluator optimisations (#1065)
* reduce imports

* canCopyNode rule

* simplify naming

* improve canShareFile rule

* canToggleJoinLibrary rule

* canEditFolder rule

* improve canUploadVersion rule

* isTrashcanItemSelected rule

* improve canDelete usage

* simplify canDownload usage

* canViewFile rule

* canLeaveLibrary rule

* rule usage improvements

* canToggleSharedLink rule

* canShowInfoDrawer rule

* canManageFileVersions rule

* canManagePermissions rule

* canToggleEditOffline rule

* canToggleFavorite rule

* minor polishing

* fix test

* fix evaluator

* code and test fixes

* fix evaluator
2019-04-12 15:26:32 +01:00
Cilibiu Bogdan 5bf77dfc81 [ACA-2322] Sidenav - support dynamic components (#1066)
* dynamic components support

* subscribe to sidenav selector

* update module for extension

* sidenav selector

* support dynamic components definistion

* update docs

* stabilise tests

* Update src/app/components/sidenav/sidenav.module.ts

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

* Update src/app/components/sidenav/sidenav.module.ts

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

* rename selector
2019-04-12 10:39:05 +01:00
Suzana Dirla bbdf3a9b27 [ACA-2143] clean-up css overrides for pagination (#1063)
* [ACA-2143] clean-up css overrides for pagination

- add back borders
- upgrade to 7.0.0-beta24 for the flex Layout media query mixin to work as expected
2019-04-11 15:35:54 +03:00
Suzana Dirla 8d02203a54 [ACA-2330] fix document-list styling (#1062)
* [ACA-2330] fix DL display - enable single click tests

* [ACA-2330] fix locked-by item display

* [ACA-2330] set text color and padding on DL

* [ACA-2330] fix ellipsis on name column text

* [ACA-2330] apply fix to library-name-column also

- fixes failing test on libraries DL

* [ACA-2330] set scss variables

* [ACA-2330] fix wrong variable names

* [ACA-2330] decrease thumbnail width

* [ACA-2330] enable related tests
2019-04-10 16:34:21 +01:00
Denys Vuika dd861e6283 upgrade to latest adf, remove search workarounds (#1060) 2019-04-09 20:10:43 +01:00
Denys Vuika 0428a86f2c [ACA-1288] dynamic name cells (#1059)
* dynamic name cells

* search results

* fix size value

* update code

* check for node properties

* conditionally show title

* Update src/app/components/dl-custom-components/name-column/name-column.component.ts

Co-Authored-By: DenysVuika <denys.vuika@gmail.com>
2019-04-09 20:08:35 +01:00
Cilibiu Bogdan 839c9d0dbb [ACA-2320] Navigation - support store actions (#1052)
* move component into folder

* update module

* add children template references

* clean up styling

* clean up theme

* use content projection

* remove old tests

* button menu component

* expand menu component

* link item component

* resolve action directive

* custom active link directive

* collapse template reference

* expanded template reference

* expansion panel directive

* item template directive

* menu panel directive

* support for ngrx actions

* update side navigation inplementation

* remove unused component

* remove unused styling

* update module

* clean up

* unit tests

* unit tests

* remove unused component

* lint

* remove unused import

* fix test

* add tooltip

* fix text

* fix e2e

* use action route commands

* remove fdescribe

* styles fix

* e2e fix tooltip test

* fix active route when drill down

* update docs
2019-04-05 13:03:40 +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
Denys Vuika 2029a11774 fix trashcan layout 2019-04-04 16:53:21 +01:00
Suzana Dirla ffe2e4bd36 fix column name width (#1056) 2019-04-04 15:56:12 +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 3a4cff505f add missing typings to code (#1050)
* remove unused parameters

* add missing types

* add missing typing information

* fix tests

* restore old code
2019-04-02 14:38:29 +01:00
Denys Vuika 777de27fab fix cell width issue 2019-03-31 15:08:35 +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