1032 Commits

Author SHA1 Message Date
Eugenio Romano
4ced4164bf
pipeline-update (#3309)
* deploy PR script
2018-05-14 16:05:27 +01:00
Vito
2dff636fb1 [ADF-2826] fixed wrong parsing for error message (#3317) 2018-05-14 10:27:22 +01:00
camorra-skk
84a9837789 [ADF-2888] UX doesn't respect the Sidenav specifiactions (#3303)
* [ADF-2771] Sidebar action menu component - UX review

* Add a input property to set the width of sidebar-action-menu.

* [ADF-2888]  UX doesn't respect the Sidenav specifiactions

* Add a input property to set the width of sidebar-action-menu.
2018-05-14 10:00:05 +01:00
Vito
0d8825c97e [ADF-2891] decoupled search service love (#3312) 2018-05-11 14:13:09 +01:00
Vito
dde0e1807b [ADF-2912] added group everyone as constant result for add permissions (#3266)
* [ADF-2556] first step to create add people or group to permissions

* [ADF-2556] creating a dialog with user results

* [ADF-2556]
integrated service for add and remove permission from node

* [ADF-2556] fixed behaviour and style for add user group

* [ADF-2556] added some refactoring for dialog service

* [ADF-2556] refactoring the dependencies of the components

* [ADF-2556] added some fix and a new key for dialog

* [ADF-2556] start adding test for node permission service

* [ADF-2556] added test for add permission panel component

* [ADf-2556] adding tests for new add permission component

* [ADF-2556] fixed tests and added documentation

* [ADF-2556] fixed documentation for add-node components

* [ADF-2556] added peer review changes

* [ADF-2912] added group everyone as constant result for add permissions

* [ADF-2912] readded jsdoc
2018-05-11 10:44:24 +01:00
Georgiana Roman
18177f5697 [ADF-2843] added tooltips for all the buttons in toolbar (#3297)
* [ADF-2843] added tooltip for create new folder and edit folder icons from Content Service

* [ADF-2843] added translation for tooltip

* [ADF-2843] added tooltips for all the buttons in toolbar

* [ADF-2843] discard package-lock

* [ADF-2832] discard changes to package-lock

* [ADF-2843] discarded changes from package-lock

* [ADF-2843] added tooltip for list view button
2018-05-11 10:42:18 +01:00
Vito
d2cfbeadb5 [ADF-2699] added localisation for time ago pipe (#3298)
* [ADF-2699] added localisation to the time-ago pipe

* [ADF-2699] added lang to time ago pipe

* [ADF-2699] added localisation for time ago pipe

* [ADF-2699] removed fdescribe

* [ADF-2699] removed comments

* [ADF-2699] removed useless default values
2018-05-10 19:41:02 +01:00
Denys Vuika
6e5d6ea3bb
[ADF-2930] general purpose "Empty Page" component (#3296)
* empty content component

* fix selector name

* style fixes

* cleanup code

* docs for empty content

* update docs

* update docs

* use typography for icon

* layout fixes for Login (ported from ACA)
2018-05-10 16:13:53 +01:00
Vito
18ebf9f2f7 [ADF-2826] added a check for duplicate permission add (#3265)
* [ADF-2556] first step to create add people or group to permissions

* [ADF-2556] creating a dialog with user results

* [ADF-2556]
integrated service for add and remove permission from node

* [ADF-2556] fixed behaviour and style for add user group

* [ADF-2556] added some refactoring for dialog service

* [ADF-2556] refactoring the dependencies of the components

* [ADF-2556] added some fix and a new key for dialog

* [ADF-2556] start adding test for node permission service

* [ADF-2556] added test for add permission panel component

* [ADf-2556] adding tests for new add permission component

* [ADF-2556] fixed tests and added documentation

* [ADF-2556] fixed documentation for add-node components

* [ADF-2556] added peer review changes

* [ADF-2826] added a check for duplicate permission add

* [ADF-2826] removed fdescribe

* [ADF-2826] applied peer review changes
2018-05-10 14:31:29 +01:00
Suzana Dirla
5f004c9972 [ADF-2849] Search Date Range - Set the format of the date from config (#3288)
* format date chosen from the datePicker's calendar

* format date on focusout event

* fix tests & some code refactoring

* more validation messages

* unit tests

* fix typecast error

* move "dateFormat" to be part of the "date range" widget settings block

* fix error on Moment

"...Type 'moment.Moment' is not assignable to type 'moment.Moment'. Two different types with this name exist, but they are unrelated.
          Property 'isLocal' is missing in type 'Moment'..."

* moment - use old version

* change script - use recent version of moment
2018-05-10 14:27:31 +01:00
Denys Vuika
b66154773a [ADF-2973] Angular pipe to get application configuration settings (#3301)
* app config pipe

* update docs
2018-05-10 14:25:45 +01:00
Georgiana Roman
440c666583 [ADF-2626] added preserved state functionality for sidenav component (#3278)
* [ADF-2626] added preserved state functionality for sidenav component

* [ADF-2626] changed logic for preserving the sidenav component state

* [ADF-2626] added missing curly brace }

* [ADF-2626] small changes on logic based on pr comments

* [ADF-2843] added tooltip for create folder and edit folder icons from Content Services

* Revert "[ADF-2843] added tooltip for create folder and edit folder icons from Content Services"

This reverts commit d5a7abb65b5bbfd024b44aa7e331e688aa13eb60.

* [ADF-2626] changed casting

* [ADF-2626] updated documentation with event

* [ADF-2626] removed app-config pipe because it was not being used
2018-05-10 10:21:30 +01:00
Georgiana Roman
212909228e [ADF-2843] added tooltip for create new folder and edit folder icons … (#3286)
* [ADF-2843] added tooltip for create new folder and edit folder icons from Content Service

* [ADF-2843] added translation for tooltip
2018-05-09 15:04:16 +01:00
Denys Vuika
3a3acd23ff [ADF-2914] support for number range patterns (#3282)
* support for number range patterns

* fix memory leak for tag actions
2018-05-09 09:33:11 +01:00
Denys Vuika
ba35eda2f9 search fixes (#3272)
* "show less" button for search filter container

* consistent button styles across widgets

* i18n support for facets

* page sizes for check list

* display page buttons only when needed

* page sizes for all facet fields

* test fixes

* update lib versions

* fix angular configuration
2018-05-08 13:41:27 +01:00
Eugenio Romano
fe0ac0e474
move tslint ADF rules in principal repo (#3247)
* move tslint ADF rules in principal repo

* fix style issues

* change pacakge.json position

* update to angular cli 6.0.0

* reorganization package.json

* remove node modules2 folder

* exclude integration

* rollback alfresco-js-api

* solve types problems

* fix pdf test

* fix errors and exclude two tests

* fix e2e

* fix test

* copy all the new packages in node_modules

* fix test

* fix packaging script

* scss issue fix

* move test export in tools
2018-05-04 17:13:45 +01:00
Vito
513915b3d9 [ADF-2556] Created component for add group or user to permission (#3242)
* [ADF-2556] first step to create add people or group to permissions

* [ADF-2556] creating a dialog with user results

* [ADF-2556]
integrated service for add and remove permission from node

* [ADF-2556] fixed behaviour and style for add user group

* [ADF-2556] added some refactoring for dialog service

* [ADF-2556] refactoring the dependencies of the components

* [ADF-2556] added some fix and a new key for dialog

* [ADF-2556] start adding test for node permission service

* [ADF-2556] added test for add permission panel component

* [ADf-2556] adding tests for new add permission component

* [ADF-2556] fixed tests and added documentation

* [ADF-2556] fixed documentation for add-node components

* [ADF-2556] added peer review changes
2018-05-03 15:14:15 +01:00
Denys Vuika
9b78fcb445 [ADF-2766] download button for custom sources (#3258)
* download button for custom sources

* fix enum usage
2018-05-03 10:29:27 +01:00
Denys Vuika
856c4fd7f5 search bug fixes and documentation updates (#3256)
* bug fixes for search

* test fixes

* bug fixes for search
2018-05-03 10:28:20 +01:00
davidcanonieto
ebfc40b1c8 [ADF-2760] Toolbar and datatable background colours fixed (#3250)
* [ADF-2760] Toolbar and datatable background colours fixed

* [ADF-2760] Improved variables for background colors

* [ADF-2760] comment removed

* [ADF-2760] fixed for dark themes
2018-05-02 09:59:01 +01:00
Denys Vuika
d8e623531b restore missing content 2018-05-01 19:56:45 +01:00
Denys Vuika
dbe88a5efc [ADF-2846] new facets (#3251)
* schema and configuration improvements

* check list search widget

* "Clear all" button to reset the list

* page size and "show more" for response facet fields

* test fixes

* fix tests

* fix pagination bug (skipCount reseting)

* integrate date range picker from #3248

* i18n support for date and number range

* some docs for search filter

* docs update

* docs update

* cleanup code as per review
2018-05-01 14:49:03 +01:00
Eugenio Romano
bb664a283b
Update ADF packages version 2.4.0-beta2 (#3252) 2018-05-01 11:26:41 +01:00
bbcodrin
b58a24c126 [ADF-2788] Filter task url involved (#3243)
* filter task url involved

* task filter observer removed

* tests fix

* clean code
2018-04-30 10:19:22 +01:00
Eugenio Romano
b18b041ade
add reset pagination (#3239) 2018-04-26 15:15:02 +01:00
Eugenio Romano
8872706eab
[ADF-2563] Upload new version information dialog (#3235)
* add majorVersion param
move common part in base class

* refactor upload queue

* fix after refactoring

* add comment functionality in versioning
add minor and major option in versioning
add animation in versioning
add new functionality in demo shell

* add animation test

* add missing properties test and base upload class

* fix reload after new version upload [ADF-2582]

* update documentation

* update doc and fix minor style issues

* fix tslint error

* change cachebuster

* ADF-2672 version manager disable buttons

* [ADF-2649] hide show actions in version list

* fix tests
2018-04-26 14:57:55 +01:00
Eugenio Romano
94ebb3f602 cache burst version file about demo shell 2018-04-26 00:31:36 +01:00
Denys Vuika
3a51c27f66 [ADF-2189] new search facets (#3230)
* slider facet

* number range facet

* unit tests

* remove fdescribe

* remove old demo-only content

* remove old tests

* Support "include" and "field" values with app config

* exclude deprecated demo content from export checks
2018-04-25 17:45:14 +01:00
Denys Vuika
b580efb7f6 [ADF-2786] AOT support for search filter widgets (#3224)
* AOT support for search filter widgets

* json schema for search settings
2018-04-24 14:28:24 +01:00
Denys Vuika
edee2f12b6 [ADF-2589] conditional visibility for DL/DT components (#3223)
* watch data columns and update layout if needed

* update docs

* support DataTable, docs and tests
2018-04-24 10:06:32 +01:00
Eugenio Romano
5a255d27fd
Update ADF packages version 2.4.0-beta1 (#3222) 2018-04-20 22:23:38 +01:00
davidcanonieto
37c0d583aa [ADF-1934] Item select in search bar fixed for touchscreens (#3221)
* [ADF-1934] Item select in search bar fixed for touchscreens

* [ADF-1934] Bug fixed
2018-04-20 22:23:05 +01:00
Francesco Corti
0ff0573401 New tutorial about: Working with DataTable. (#3199)
New tutorial about: Working with DataTable
2018-04-19 09:22:12 +01:00
Eugenio Romano
30758f95e9 save package-lock.json (#3209) 2018-04-18 14:23:22 +01:00
Vito
e3ff312d04 [ADF-2692] - refresh must be done on tab changes otherwise ViewChild obj refrence are null (#3190)
* [ADF-2692] - refresh must be done on tab changes otherwise ViewChild obj refrence are null

* [ADF-2692] removed extra reloading calls

* [ADF-2692] rebased and fixed name
2018-04-18 11:16:03 +01:00
Eugenio Romano
89af79029a
Update 2.3.0 version (#3207) 2018-04-17 17:40:50 +01:00
Popovics András
fba23c4377 [ADF-2755] Fix preview overlay (#3208)
* Fix overlay in the new sidenav

* Update wrong url

* Enrich BlobPreviewService

* Fix another previews

* Filepreview use the same router outlet
2018-04-17 17:04:24 +01:00
Eugenio Romano
1681958d6b [ADF-2743] changes gallery manager 2018-04-17 12:27:05 +01:00
Eugenio Romano
0a8438954b [ADF-2455] fix properly fall back datatable thumbnail
fix search node selector
drop down list style
2018-04-17 01:19:59 +01:00
Eugenio Romano
c8cbc8d645
fix cdk scrollable sidenav (#3204) 2018-04-16 22:42:22 +01:00
Vito
fc22c2a4c8 [ADF-2734] added the listner for user preference supported page to th… (#3201)
* [ADF-2734] added the listner for user preference supported page to the trashcan

* [ADF-2734] revert changes on app.config

* [ADF-2734] added missing whitespace
2018-04-16 21:05:24 +01:00
Vito
a6b8e16391 [ADF-2723] preventing document list to restart always from -my- folder (#3200)
* [ADF-2723] preventing document list to restart always from -my- folder

* [ADF-2723] fixed condition

* [ADF-2723] removed commented line
2018-04-16 21:03:03 +01:00
Eugenio Romano
62f91b567c
[ADF-2682][ADF-2714][ADF-2719] fix issues folder navigation and messages releated (#3196)
* [ADF-2687] No message is displayed when deleting a folder from content action
[ADF-2714] Not able to download a version of a file
[ADF-2682] Number of page doesn't change when navigating to another folder
Expand lock documentation

* fix test init
2018-04-16 14:02:44 +01:00
Eugenio Romano
eff3ea83b0
Update ADF packages version 2.3.0-beta10 (#3193) 2018-04-14 19:11:53 +01:00
Eugenio Romano
6cd0e9f5bb
[ADF-2645] move the service use in the upload in the right place (#3189)
[ADF-2645] move the service use in the upload in the right place 
[ADF-2687] No message is displayed when deleting a file/folder from content action
[ADF-2714] [demo shell] Not able to download a version of a file

* add spaces tslint fix
2018-04-14 10:39:24 +01:00
Eugenio Romano
f8d1480f29 [ADF-2682] Fix pagination, bradcrumb, general reload scenarios (#3184)
* skipcount page reset in new folder

* fix files component reload multiple times

* fix folderNode scenario
2018-04-13 10:08:02 +01:00
Eugenio Romano
007cc1d1fc
i18n update 2.3.0 (#3185) 2018-04-12 19:53:15 +01:00
Vito
7a41803cf0 [ADF-2687] enabled snack bar for delete confirmation (#3178) 2018-04-12 12:24:54 +01:00
Eugenio Romano
dc432897c9 rollback angualr cli update demo shell because bug https://github.com/angular/angular-cli/issues/10031 2018-04-11 17:52:17 +01:00
Denys Vuika
aba9f41af1 [ADF-2672] version manager fixes (#3169)
* fix app config, add extra flags for version manager

* add docs and tests

* update i18n strings

* rename "id" to "nodeId"

* automatically detect permissions

* restore 'id' and mark as deprecated
2018-04-11 17:34:45 +01:00