Commit Graph

133 Commits

Author SHA1 Message Date
Denys Vuika
8c1ae87caa fix tests 2020-06-16 15:36:20 +01:00
Denys Vuika
2372eadc18 correctly reset search results 2020-06-16 12:57:07 +01:00
Maurizio Vitale
cef088794f Use latest adf to fix issue 3252 (#1479)
* Use latest adf to fix issue 3252

* Fix unit test
2020-05-29 17:50:01 +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
b84cdcb1cc [ACA-3081] upgrade @types/jasmine to latest (#1425)
* fix @type/jasmine update errors

* bump coverage

* fix linting
2020-04-22 12:38:22 +01:00
Vito
a1a2a1c22f [ACA-3015] - fixed style for chips (#1423) 2020-04-20 19:18:08 +01:00
Denys Vuika
bf509843b7 integrate Prettier with tslint (#1419)
* integrate prettier with tslint

* remove obsolte scripts

* update tsconfig

* fix lint issues

* fix lint errors

* more rules and fixes

* kebab case and lint fixes

* update helpers

* update util
2020-04-19 23:29:20 +01:00
Baptiste Mahé
8d710d627a [ACA-2980] Update search input background-color (#1397) 2020-04-02 21:25:55 +01:00
Baptiste Mahé
cb26102a99 [ACA-2604] Fix color update on datable row (#1395) 2020-04-01 15:33:34 +01:00
Denys Vuika
8e5345b717 upgrade codelyzer and enable a11y rules (#1391)
* upgrade codelyzer and enable a11y rules

* a11y fixes
2020-03-30 11:09:57 +01:00
Baptiste Mahé
69c92cf275 [ACA-2604] Search result/input color update (#1380) 2020-03-26 18:07:49 +00:00
Cilibiu Bogdan
1a16d74b62 [ACA-2174][ACA-2173] Shared / Favorites - edit offline (#1341)
* edit offline

* try to fix test for viewer - password protected file

* bug: Edit in Microsoft Office action is displayed in Shared Files for a locked file
move Shared Files workaround down in the file to fix this

* remove some workarounds, update some comments

* remove other workarounds, make some tests independent, enable lock icon on Search results

* forgotten change

* remove another workaround

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-17 16:02:25 +02:00
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Adina Parpalita
9738752f0f [ACA-2822] add no-duplicate-imports rule (#1250)
* add no-duplicate-imports rule and fix few issues

* fix incorrect import :D
2019-11-15 14:57:34 +02:00
Suzana Dirla
ef97c646bc [ACA-2601] Search-date-range - fix content overlap (#1246) 2019-11-12 07:57:34 +02:00
Martin Muller
1c1a365ac9 Trap the tab in the cdk overlay for the search input to make it possible to reach the Search filter checkboxes (#1227) 2019-10-17 18:12:39 +03:00
Denys Vuika
af67703371 enable noImplicitReturns rule 2019-10-16 09:45:52 +01:00
Cilibiu Bogdan
f29c477ce8 [ACA-2499] Document list - search results accessibility (#1212)
* accessibility

* fix focus outline
2019-09-30 12:27:59 +03:00
Cilibiu Bogdan
edf1e52e94 [ACA-2745] Viewer - return to location on close (#1196)
* use viewNodeExtras when calling action

* open viewer based on ViewNodeExtras data

* resolve closing destination based on ViewNodeExtras query params

* remove unused param

* call ViewNodeAction with correct params

* update tests

* update docs
2019-09-06 14:17:29 +03:00
suzana_dirla
12a718d9cb [ACA-2140] improve search-results style 2019-08-20 18:02:39 +03:00
suzana_dirla
3423ba298d [ACA-2140] move search-results styles to component 2019-08-20 16:47:32 +03:00
Cilibiu Bogdan
e31c0d6caf [ACA-2087] Overlay Viewer (#1175)
* viewer outlet over preview route

* use ViewNodeAction over ViewFileAction

* pass data to dynamic component

* ViewNodeComponent for view file  custom actions

* update docs

* pass primary url to show preview outlet

* update tests

* reset selection on navigation event

* document list update selection action when not viewer

* close viewer for move and delete from viewer

* location as router commands to work with search query

* make viewer to behave like former preview

* viewer error route

* call correct preview method

* remove view/error route

* navigate to show error

* span element for action name

* fix folder navigation

* fix test

* page title fix

* update tests

* locate better the viewer toolbar

* fix viewer url  link

* update navigation rules

* document-list directive tests

* try workaround for chrome 76

* try another workaround for using chromedriver 75 instead of 76

* ViewerEffects tests

* reset selection over reload

* fix tests

* add reset event test

* remove actions

* context menu action refresh on favourite

* reset selection on navigation

* add delete and upload events

* takeUntil after operators

* remove chrome workaround parameter

* filter navigation event
2019-08-08 15:38:50 +03:00
Cilibiu Bogdan
d5d548c9de parameters types 2019-07-12 08:54:39 +03:00
Cilibiu Bogdan
79f3ad8840 prevent link name to select row 2019-07-12 08:54:37 +03:00
Denys Vuika
957b93aa63 automated license header checks 2019-07-11 15:25:17 +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
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
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
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
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
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
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
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
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
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
f58b6e5a9f [ACA-2219] support more precise searching (#976)
* support more precise searching

* exact term matching

* remove fdescribe

* update docs
2019-02-27 06:25:50 +02:00
Denys Vuika
f03eae5317 [ACA-2220] simple "search in fields" support (#972)
* simple "search in fields" support

* unit tests
2019-02-26 09:06:43 +02: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
Suzana Dirla
9ccd430087 [ACA-2200] Upgrade to 3.0.0-beta9 ADF (#931)
* upgrade to latest ADF 3.0.0-alpha

- remove selectedFacetQueries check
- renamed hasPermission from ADF ContentService to hasAllowableOperations

* update to ADF 3.0.0-beta9

* [ACA-2200] mincount workaround

- until we get the fix for the facet update issue (ADF-3401)
2019-02-12 14:40:05 +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
7992b0a015 [ACA-2122] automatic code formatting on commit (#890) 2019-01-04 15:20:24 +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
af3af845aa add context menu (#881) 2018-12-17 16:43:27 +02:00