Commit Graph

108 Commits

Author SHA1 Message Date
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
Denys Vuika
465646e87e [ACA-2083] reset router cache on login/logout (#867)
* reset router cache on login/logout

* Update src/app/app.routes.strategy.ts

Co-Authored-By: DenysVuika <denys.vuika@gmail.com>

* merge suggestion

* [ACA-2083] reset content filters on logout

* [ACA-2083] unit tests
2018-12-14 15:24:37 +02:00
Suzana Dirla
462cc09146 [ACA-1968] style search input for smaller screens (#833)
* [ACA-1968] more friendly small screen style

* [ACA-1968] media queries

* [ACA-1968] fix margin

* [ACA-1968] small fixes

* [ACA-1968] cleanup unused code
2018-11-29 10:05:33 +00:00
Suzana Dirla
e3cbb5f13d [ACA-1968] Trigger search on Enter (#827)
* [ACA-1968] remove arrow from active input

* [ACA-1968] remove route reuse

* [ACA-1968] trigger search on Enter
2018-11-27 09:17:54 +00:00
Cilibiu Bogdan
647117b488 [ACA-2044] custom library icon consistency (#826)
* add custom library icon

* isLibrary custom type guard

* meaningfull cutom class name

* update isLibrary check for trash

* use custom image for libraries in trash

* remove duplicate subscriber

* change image source color

* remove custom class

* remove library image class

* remove custom type guard
2018-11-26 19:36:33 +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
Suzana Dirla
62e33efbd0 [ACA-1607] context menu - join/cancel join actions (#820)
* [ACA-1607] context menu fix for search-results

* [ACA-19] fix orderBy 'Name'

* [ACA-1607] style changes

* [ACA-1607] reload on join action
2018-11-23 12:00:42 +00:00
Suzana Dirla
54892e71d4 [ACA-1968] Search input tunings (#817)
* [ACA-1968] clear & placeholder changes

* [ACA-1968] auto focus input

* [ACA-1968] don't float placeholder on click
2018-11-21 16:10:53 +00:00
Suzana Dirla
01ea887d5d [ACA-1964] Filter results by Files / Folders option (#812)
* [ACA-1964] keep skipCount after library delete

* [ACA-1964] refactor code

* [ACA-1964] remove service scope's limitation

* [ACA-1964] filter results by files/folders option

* [ACA-1964] refactor code

* [ACA-1964] revert package-lock
2018-11-19 16:04:20 +00:00
Suzana Dirla
dcacbc1210 [ACA-19] show search libraries hint (#802)
* [ACA-19] show hint on 400 error

* [ACA-19] unit test

* [ACA-19] small change

* [ACA-19] unit test

* [ACA-19] unit tests

* [ACA-19] avoid memory leaks with takeUntil

* [ACA-19] remove comment & formatting

* [ACA-19] update documentation
2018-11-16 12:35:41 +00:00
Suzana Dirla
49e80ddce1 [ACA-19] Toggle join request - library action (#800)
* [ACA-19] join/cancel join library actions

* [ACA-19] show the info drawer

* [ACA-19] custom icon for join library

* [ACA-19] css to 'see' custom icon for extension

* [ACA-19] reformat with prettier

* [ACA-19] better role display

* [ACA-19] simplify cancel request rule

* [ACA-19] refactor and use toggle join/cancel join component & directive

* [ACA-19] reformat with Prettier

* [ACA-19] fix title for svgIcon

* [ACA-19] fix translation

* [ACA-19] unit test
2018-11-14 12:43:14 +00:00
Suzana Dirla
aeb8ddd1f2 [ACA-19] Search libraries improvements (#792)
* [ACA-19][ACA-1967] set Libraries columns

according to updated requirement

* [ACA-19] search term length hint & singular result translation

fixes also [ACA-1933]
2018-11-09 15:55:08 +00:00
Suzana Dirla
1e3136332e [ACA-19] Library Search Results (#783)
* [ACA-19] libraries results page

* [ACA-19] libraries search query builder service + trigger action on search option select

* [ACA-19] remove sorting

* [ACA-19] extension - set custom columns for search libraries results

* [ACA-19] add role column

* [ACA-19] adapt text

* [ACA-19] reformat with Prettier

* [ACA-19] fix unit tests

* [ACA-19] reformat with Prettier

* [ACA-19] some unit tests & code cleanup

* [ACA-19] fix navigation

* [ACA-19] remove duplicates

* [ACA-19] unit test
2018-11-08 12:22:09 +00:00
Suzana Dirla
2c9e68ada7 [ACA-1822] input search options (#768)
* [ACA-1822] input search options - needs cleanup and styling

* [ACA-1822] input search options cleanup

- needs styling
- needs tests

* [ACA-1822] input search options cleanup

- needs styling
- needs tests

* [ACA-1822] input search options styling

* [ACA-1822] add translation keys

* [ACA-1822] reformat with Prettier

* [ACA-1822] fix pointer event on FF

* [ACA-1822] fix e2e test

* [ACA-1822] update unit tests

* [ACA-1822] fix spellcheck

* [ACA-1822] fix display

* [ACA-1822] some theme cleanup

* [ACA-1822] reposition icon

* [ACA-1822] code review changes

* [ACA-1822] more unit tests
2018-11-02 07:31:29 +00: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
Suzana Dirla
c6c4db45ff [ACA-1856] Pagination in search result is not reset correctly (#694) 2018-10-08 10:12:13 +01:00
Denys Vuika
25e6f15ffc rxjs linting (#671)
* rxjs linting

* fix lint error
2018-09-29 08:34:16 +01:00
Denys Vuika
f580b96a78 more detailed code coverage reports (#664)
* add about to coverage

* add more components to coverage

* more truth for coverage reports

* even more fun

* switch off json formatting

* deploy war file after unit test run
2018-09-24 14:35:14 +01:00
Denys Vuika
86edfb2e51 [ACA-1823] search fixes (#657)
* update search filter queries

* fix missing toolbar for search results

* configurable search input fields

* disable flaky test
2018-09-22 12:36:55 +01:00
Denys Vuika
eb97b18f95 feature modules (#636)
* permission manager module

* permissions module

* common module

* layout and search modules

* trashcan module, lazy load

* fix context menu module

* lint fix

* recent files module

* favorites module (lazy)

* shared files module (lazy)

* shared link module (lazy)

* lazy loaading fixes
2018-09-17 06:57:56 +03: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
Suzana Dirla
f03196d424 [ACA-1715] Search popup appears when navigating away from search results (#610) 2018-09-06 11:45:23 +01:00
Cilibiu Bogdan
3d5553e206 [ACA-1756] Search - TypeError when redirected search results (#604) 2018-09-05 09:22:09 +01:00
Suzana Dirla
a9c6d0f942 [ACA-1740] hide search filter when getting 0 results without any selected filters (#591) 2018-08-31 19:34:55 +01:00
Denys Vuika
c916ab4cd1 reusable extensibility lib (#585)
reusable extensibility lib (part 1)
2018-08-29 16:38:44 +01:00