866 Commits

Author SHA1 Message Date
Vito
3f332997c6 [ADF-3111] pagination is not showed when automation test are running (#3420) 2018-05-31 18:10:23 +02:00
Vito
e5476ee97a [ADF-3102] added lazy loading for tab content to fix animations (#3418) 2018-05-31 16:04:42 +02:00
Denys Vuika
54e80e7863 [ADF-3095] ability to intercept, pause and resume upload process (#3416)
* prevent and resume upload process

* upload fixes and confirmation dialog demo

* ability to toggle the upload confirmation demo

* fix tests

* unit tests

* docs update

* remove deprecation

* fix test name
2018-05-31 11:21:32 +02:00
Eugenio Romano
64a8c66103 fix gallery view demo shell route 2018-05-30 13:48:37 +01:00
Eugenio Romano
39f76a11c4 fix conflict link creation id (#3412) 2018-05-30 12:46:23 +01:00
Denys Vuika
3162a73f61 [ADF-2541] reset datatable selection when rows are changed from code (#3410)
* reset selection when rows are replaced from code

* code fixes

* unit test updates

* visualise selection count for testing purposes

* make row selection api public

* remove question mark from the event name
2018-05-30 12:53:12 +02:00
Eugenio Romano
7e59b24f2c
fix demo shell gallery view switch (#3413) 2018-05-30 12:30:01 +02:00
siva kumar
9eae0fcc8f [ADF-3082] Task Filter - Custom Task filters don't work (#3402)
* [ADF-3082] Custom Task filters don't work.

* Added an sorting input to the datatable.
* Updated documentation for the recent changes.
* Added testcases for the recent changes.

* [ADF-3082] Custom Task filters don't work

* Added a sorting input to the datatable
* Added testcases to the recent changes.
* Updated doc for the recent changes.

* * Refactored task/process list dataSort.

* * Refactored process/task list datasort method
2018-05-30 09:27:08 +01:00
Denys Vuika
fd729e76c0 [ADF-3053] breadcrumb fixes (#3406)
* translate breadcrumb root in demo shell

* optional "max items" feature and style fixes

* should not be restricted by default

* style updates

* toolbar and breadcrumb layout fixes

* breadcrumb demo and testing page

* full toolbar scenario

* fix translation issue with the dropdown and custom root

* a11y fixes

* fix issue with duplicate id, remove unused attribute
2018-05-25 21:42:24 +02:00
Cilibiu Bogdan
c5936e7db0 revert changes (#3387) 2018-05-24 10:15:42 +01:00
Georgiana Roman
5831bc1d77 [ADF-2774] fixed message bus, background and language dropdowns that were hidden by the toolbar (#3379) 2018-05-23 19:23:50 +01:00
Denys Vuika
44a39b76a5 search filter now remembers original user query (#3384) 2018-05-23 19:06:49 +01:00
Maurizio Vitale
ecd7c85de5 [ADF-2854] Fix demoshell task/process filter and routing (#3360)
* Fix demoshell task/process filter and routing

* Use the correct js api model

* Fix unit test
2018-05-23 13:14:27 +01:00
Maurizio Vitale
86f4c23afa [ADF-3065] TaskList component - Deprecate the processDefinitionKey (#3369)
* Deprecate the processDefinitionKey property.
remove unused tasklist code. It was needed with the old pagination component

* Remove nosense test

* Use adf version
2018-05-23 11:53:56 +01:00
Maurizio Vitale
df0e530f27 [ADF-2985] Demo shell - Provide an easy way to test the security issue (#3354)
* Provide an easy way to test the security issue

* use logService
2018-05-23 00:50:24 +01:00
Cilibiu Bogdan
89ede1514b remove redundant logic (#3361) 2018-05-22 16:47:08 +01:00
Vito
1c7f267c63 [ADF-2726] fixed save content for external repository (#3341)
* [ADF-2726] start fixing the show of files loaded from CS

* [ADF-2726] start fixing the show of files loaded from CS

* [ADF-2726] fixed save content for external repository|

* [ADF-2726] fixed save content for external repository|

* [ADF-2726] reeanabled and fixed the tests

* [ADF-2726] reeanabled and fixed the tests

* [ADF-2726] added tests for attach file widget and activiti alfresco service

* [ADF-2726] added tests for attach file widget and activiti alfresco service

* [ADF-2726] fixed test
2018-05-21 12:14:11 +01:00
Denys Vuika
b599e3a41a breadcrumb bug fixes (#3348) 2018-05-20 20:07:10 +01:00
davidcanonieto
70d93805d4 [ADF-2753] New error component (#3336)
* [ADF-1938] Overflowing text in reports section fidex

* [ADF-1938] Long names in report section now fit

* [ADF-1938] Reverted changes in container widget

* [ADF-2753] New error component created

* [ADF-2753] Unit test for Error Content Component

* Deleting unused files

* Deleting unused files

* Deleting unused files

* [ADF-2753] Documentation added

* [ADF-2753] Fixed minor bugs

* [ADF-2753] Authentication not needed to view error

* add error handler

* tslint fix

* router app component

* remove unused import

* fix import modules

* limit to 404

* destroy fixture after any test

* misspelling error
2018-05-19 01:20:49 +01:00
Deepak Paul
bdf0a455dc [ADF-2884] Task List - Custom apps display all tasks (#3329)
* [ADF-2884] Handled filterParam input change
Changed component selector

* [ADF-2884] Modified/Added tests

* [ADF-2884] Deprecated old selectors

* [ADF-2884] Added deprecated version

* [ADF-2884] Improved filter finding condition
2018-05-18 16:16:48 +01:00
Denys Vuika
07440731fa [ADF-2131] Search sorting (#3334)
* sorting configuration

* detect primary sorting and use with document list

* search results sorting

* docs update

* unit tests and code updates

* update code

* update code

* generic sorting picker, test updates

* ability to switch off client side sorting

* update docs for document list
2018-05-18 14:33:28 +01:00
Denys Vuika
ace38942af (demo shell) login css fixes (#3344) 2018-05-18 10:57:18 +01:00
Denys Vuika
53cf5acc86 [ADF-3028] i18n support for title service (#3342)
* i18n support for title service

* cleanup tests

* update tests
2018-05-18 10:51:13 +01:00
Eugenio Romano
9e3a4aa49f
[ADF-2563] Improve versioning functionality (#3335)
* change input with textarea

* update file version use now the update content API

* provide way to test read only mode version list

* fix test

* test fix
2018-05-17 11:35:42 +01:00
Eugenio Romano
9772b2308a
about component (#3337) 2018-05-17 09:58:22 +01:00
Maurizio Vitale
3f9dc53722 Fix sidenav action icons (#3331) 2018-05-16 12:40:05 +01:00
Denys Vuika
d67f160fdc [ADF-2503] conditional visibility for content actions (#3325)
* conditional visibility for content actions

* fix typo

* workaround for "target: all"
2018-05-15 16:53:52 +01:00
Vito
f159fbaa2c [ADF-2967] fixed create new task navigation (#3322)
* [ADF-2967] fixed create new task navigation

* [ADF-2967] removed extra variables

* [ADF-2967] removed unused methods
2018-05-15 10:45:38 +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
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