Commit Graph

2952 Commits

Author SHA1 Message Date
Adina Parpalita
d5f8699976 [ACA-1258] automate tests for viewing file/image properties (#1101)
* split InfoDrawer test component and add tests for viewing properties

* add “date item” to spell ignore and remove commented code

* try to increase timeout
2019-05-09 14:57:31 +03: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
Cilibiu Bogdan
ad1c8c58e6 enable tests (#1093) 2019-05-03 16:00:02 +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
Denys Vuika
0b3d19695b bump shared lib version 2019-05-01 14:23:37 +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
39d3ccb7ac fix generic error icon styling 2019-04-30 10:23:31 +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
Denys Vuika
1519008de2 update plint-bot settings 2019-04-17 16:15:59 +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
Martin Muller
380a5f0cb0 Feature/ACA-1633 travis dist cache (#1074)
* ACA-1633 add new test stage e2
* cache dist
2019-04-16 12:08:17 +01:00
Adina Parpalita
2a4be64bcc [ACA-823] refactoring (#1077) 2019-04-16 10:01:39 +01:00
Denys Vuika
2e61c49537 Merge branch 'master' into development 2019-04-15 21:09:23 +01:00
Denys Vuika
8557f4e96d add plint configuration 2019-04-15 21:09:04 +01:00
Denys Vuika
3f4dd6d81e add plint configuration file 2019-04-15 20:58:58 +01:00
Denys Vuika
02fcf26aa4 update angular core libs 2019-04-15 11:21:47 +01:00
Denys Vuika
802360db17 [ACA-2351] allow rules access user group membership (#1071) 2019-04-13 07:45:58 +01:00
Adina Parpalita
fcb077d803 add automated tests for password protected files (#1073) 2019-04-13 06:56:49 +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
Martin Muller
c83f78f801 Feature/ACA-1633 parallel tests (#1064)
* [ACA-1633] create test suites. update protractor to use suites. update travis to split in to test suite groups.
* disable tomcat tests
* exclude failing expect
2019-04-12 15:06: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
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
35c84bdd0c upgrade angular libs 2019-04-10 08:25:13 +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
Adina Parpalita
7df8d8a4ae [ACA-1766] disable selenium_promise_manager (#1061)
* disable selenium_promise_manager and fix some methods

* some more changes
2019-04-09 20:06:59 +01:00
Martin Muller
f051f01279 WIP: [ACA-823] automate undo copy (#1057)
[ACA-823] automate undo copy
2019-04-09 13:30:30 +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
Adina Parpalita
deea3465e0 [ACA-1088] add tests for search results page and actions on search results (#1051)
* add tests for search results page and actions on search results

* fix selector and add more tests

* split unshare tests

* fix tests

* add more tests and TestRail ids
2019-04-03 18:49:34 +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
Martin Muller
04cdc1dadd [ACA-2257] Remove locking when open with MS Office because the AOS Amp is handling the locking on his own. (#1053) 2019-04-02 13:49:02 +01:00
Denys Vuika
777de27fab fix cell width issue 2019-03-31 15:08:35 +01:00