4208 Commits

Author SHA1 Message Date
Denys Vuika
db7d0b7c08
[ADF-2961] support for protocol substition in app config files (#3324)
* support for protocol substition in app config files

* Update app-config.service.spec.ts

* Update app-config.service.spec.ts
2018-05-15 13:10:27 +01:00
davidcanonieto
e94ce4602b [ADF-2739] Improved breadcrumb logic (#3287)
* [ADF-2739] Long names in breadcrumb fixed

* [ADF-2739] Updated styles

* [ADF-2739] Fixing @mixin for breadcrumb

* [ADF-2739] Waiting for changes in demo-shell

* [ADF-2739] Fixed @mixin

* [ADF-2739] Fixed issue related to breadcrumb position

* [ADF-2739] Improved ngOnChanges call for breadcrumb

* [ADF-2739] Fixed issues with lint

* [ADF-2739] Removed comment in dropdown breadcrumb component file

* [ADF-2739] Changed recalculateNodes method from public to protected
2018-05-14 12:18:49 +01:00
Vito
9749a3837e [ADF-2912] group everyone is always visible even for no search result (#3316) 2018-05-14 10:26:47 +01:00
Vito
7fdd43f339 [ADF-2986] try to pick the start value from local storage before the standard default (#3318) 2018-05-14 10:25:16 +01:00
Denys Vuika
bd4451e83d remove search configuration enforcement (#3315) 2018-05-14 10:24:29 +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
Georgiana Roman
fd12481843 [ADF-2813] set default sorting (#3311) 2018-05-11 14:12:15 +01:00
Andy Stark
60644d9917 [ADF-2969] Moved doc tools to new tools folder (#3314)
* [ADF-2969] Moved doc tools to new tools folder

* [ADF-2969] Added files missing from schematic

* [ADF-2969] Added missing files to schematic
2018-05-11 14:01:19 +01:00
Vito
9d0ccff189 [ADF-2978] added a check when locally set permission is undefined (#3307) 2018-05-11 12:22:11 +01:00
Denys Vuika
33115567db fix search filter styles (#3313) 2018-05-11 12:21:07 +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
Denys Vuika
589af266d4 fix aot error 2018-05-10 20:45:36 +01:00
Denys Vuika
7ad77493d7 Merge branch 'development' of https://github.com/Alfresco/alfresco-ng2-components into development 2018-05-10 20:04:39 +01:00
Denys Vuika
4f64ebb3ef fix css scope for search filter 2018-05-10 20:04:35 +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
Alex Bolboșenco
4c7a63c95a [ADF-2975] New input for File Upload Button component (#3299)
* new nodeType input

* unit tests

* content type fix

* remove package-lock.json files
2018-05-10 19:36:31 +01:00
Vito
97f888d49c [ADF-NO-PRIVATE] renoved private property which breaks AOT (#3305) 2018-05-10 17:56:24 +01:00
Popovics András
14df79ae1b Fix for a technical bug, which prevents the proper usage of the expanded output event. (#3304) 2018-05-10 17:34:59 +01:00
davidcanonieto
8413bf2183 [ADF-2892] Sidenav now prevents closing itself when ESC key is pressed (#3302)
* [ADF-2892] Sidenav now closes when clicking outside of it

* [ADF-2892] Sidevan now prevents closing itself when ESC key is pressed
2018-05-10 17:33:31 +01:00
Eugenio Romano
c1a8d60ac1 fix tslint error and add and block if tslint give error in the pipeline 2018-05-10 17:01:27 +01:00
Denys Vuika
ae9c9e6869 fix aot crash 2018-05-10 16:52:08 +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
Denys Vuika
7afcd24488 [ADF-2328] filtering support for facets and categories (#3293)
* filtering support for facets and categories

* fix tests

* update variable names
2018-05-10 14:23:18 +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
bbcodrin
a5aff3d2df [ADF-2916] number range form validator added (#3279)
* number range form validator added

* tests added
2018-05-10 10:12:40 +01:00
Andy Stark
d361c7ddd8 [ADF-2905] Added JSDocs for process services (#3292)
* [ADF-2905] Added JSDocs for process services

* [ADF-2905] Added missing return value in tasklist service
2018-05-09 16:12:52 +01:00
Popovics András
641f7d9695 [ADF_NOISSUE] Fix styling and sidenav layout fixes (#3291)
* Fix styling and sidenav layout fixes

* Revert packagr conflicting mods
2018-05-09 16:11:25 +01:00
Andy Stark
06992196cd [ADF-2824] Reviewed docs for core and content services (#3290)
* [ADF-2824] Reviewed card view docs

* [ADF-2824] Reviewed doc for core and content services

* [ADF-2824] Added class name exception to prop script
2018-05-09 15:03:22 +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
Cilibiu Bogdan
f63614e964 pass actual redirect when no state (#3285) 2018-05-09 07:59:03 +01:00
Vito
70fe31f3e9 [ADF-2772] fixed layout style (#3284) 2018-05-08 16:52:41 +01:00
Andy Stark
dd1b8893cc [ADF-2905] Added JSDocs for core (#3281)
* [ADF-2905] Updated JSDocs for core

* [ADF-2905] Added missing JSDoc for user pref service
2018-05-08 15:30:23 +01:00
Cilibiu Bogdan
d456b3cba1 [ADF-2904] Search - redirect breaks application (#3268)
* set navigation commands over plain string

* fix test

* lint
2018-05-08 14:46:35 +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
0a8d1fd6ea fix updater version script 2018-05-08 11:13:20 +01:00
Andy Stark
c824e646de [ADF-2905] Updated JSDocs for core (#3271) 2018-05-04 19:03:13 +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
Andy Stark
563af3bbfa [ADF-2905] Updated JSDocs for content services (#3269)
* [ADF-2905] Updated JSDocs for content services

* [ADF-2905] Added missing update to version manager MD file
2018-05-04 13:56:01 +01:00
Andy Stark
b393708514 [ADF-2905] Updated JSDocs for content services (#3262)
* [ADF-2905] Updated JSDocs for content services

* [ADF-2905] Updated JSDocs for content services

* [ADF-2911] Improved error message handling in doc tools (#3267)

* [ADF-2772] Sidenav Layout - UX review (#3264)

* Add border-right in mat-sidenav

* workaround for enum issue in js-api

* fix the AoT buid error

* fix AoT build error

* fix export problem for AoT

* [ADF-2905] Updated JSDocs for content services

* [ADF-2905] Updated JSDocs for content services
2018-05-04 11:11:11 +01:00
Denys Vuika
7f020348ad fix export problem for AoT 2018-05-04 07:54:50 +01:00
Denys Vuika
5096baa758 fix AoT build error 2018-05-03 20:24:02 +01:00
Denys Vuika
3db5e7706d fix the AoT buid error 2018-05-03 20:08:07 +01:00
Denys Vuika
65a94fb080 workaround for enum issue in js-api 2018-05-03 19:24:08 +01:00
camorra-skk
abb0eb7c41 [ADF-2772] Sidenav Layout - UX review (#3264)
* Add border-right in mat-sidenav
2018-05-03 16:46:05 +01:00
Andy Stark
8f9cb75120 [ADF-2911] Improved error message handling in doc tools (#3267) 2018-05-03 16:39:04 +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
61a4173ad3 fix AOT issue (remove unused attribute from html) 2018-05-03 12:23:24 +01:00