Commit Graph

660 Commits

Author SHA1 Message Date
Denys Vuika
92eed32c61 [ACA-2509] configurable version number 2019-06-20 17:02:27 +01:00
dhrn
5491545ac9 [ACA-2471] - close preview action (#1129) 2019-06-15 06:17:59 +03:00
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
Cilibiu Bogdan
9fef05b69f 3.3.0 alpha update (#1118)
* alpha

* locale
2019-05-31 13:30:11 +03: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
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
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
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
Denys Vuika
dbc2c6c8e4 [ACA-2147] minor theme fixes (#1096) 2019-05-03 16:04:44 +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
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
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
59fa28f683 upgrade to latest ADF 3.2 alpha (#1069) 2019-04-12 15:26:49 +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
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
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
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
927e5232da [ACA-2265] All labels should be translated (#1047)
* [ACA-2265] add missing translation keys

* [ACA-2265] translatable copyright text

* [ACA-2265] translatable 'by {{user}}'

* [ACA-2265] translate special strings from location

* [ACA-2265] translate special strings from location - fix failing e2e test C280499

* [ACA-2265] use translation string from 'LABEL'

- fixes issue [ACA-2072] bcs. it shows "File Libraries" text on breadcrumb as on site-dropdown
2019-03-27 13:35:11 +00:00
Suzana Dirla
ff91ee17ea [ACA-2138] Viewer - remove old styling class (#1044) 2019-03-26 18:32:06 +00:00
Denys Vuika
5aa0c6f21d [ACA-2299] fix search error translation (#1030)
* fix search error translation

* fix translation fallback

* remove fdescribe
2019-03-22 15:06:06 +02:00
Suzana Dirla
700b63fd61 remove unneeded divider from toolbar (#1028) 2019-03-21 14:19:50 -07:00
Denys Vuika
82649955f0 extensions flag inside settings page 2019-03-20 14:49:01 +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
Denys Vuika
f3de90b8fa hide empty metadata by default (#1024) 2019-03-19 12:42:04 +02:00
Suzana Dirla
4508b862b9 [ACA-2270] allow add comments on folder (#1018)
* [ACA-2270] allow add comments on folder

* [ACA-2270] fix return on else

* [ACA-2270] add unit tests
2019-03-15 13:33:16 +00:00
Denys Vuika
07f45e08cf various bug fixes (#1010)
* various bug fixes

* use 'remove favorite' label where appropriate

* fix toggle favorite component labels

* e2e type check and fixes

* favorite library label

* support toggle favorite component selectors

* update tests

* update e2e tests

* update e2e

* e2e update

* update e2e
2019-03-14 15:40:38 +00:00
Suzana Dirla
da65e59b8e [ACA-2264] fix loading on search (#1011)
- do nothing on null built query
2019-03-12 12:24:27 +00:00
Suzana Dirla
8045e17c28 [ACA-2261] improve UX on search input (#1004)
* Remove search on change

- search call would be triggered only on submit or on option change

* clicking search icon triggers search

* caches user changes for a possible future search

* caches non-empty user changes for a possible future search

* close search options menu on submit

* update queryBuilder and navigate to new search url

* add setting to enable/disable searching after typing on search input

* fix double search call

* Apply suggestions from code review

- custom name to distinguish between ADF and ACA settings

Co-Authored-By: suzanadirla <dirla.silvia.suzana@gmail.com>
2019-03-11 14:13:44 +00:00
Cilibiu Bogdan
d0d7765af3 [ACA] Search - show error message on error (#1003)
* show error message

* remove fdescribe
2019-03-08 09:39:16 +00:00
Denys Vuika
92a5ec44e8 [ACA-2215] toggle search filter (#998)
* support for toggling search filter

* update docs

* disable e2e test

* update e2e
2019-03-07 14:04:44 +02:00
Cilibiu Bogdan
003cadfd86 fix route url special characters (#1000) 2019-03-06 14:29:17 +00:00
Denys Vuika
31a0dae59e responsive breadcrumb (#990) 2019-03-05 12:50:01 +00:00