1447 Commits

Author SHA1 Message Date
Denys Vuika
f69bad3732 [ADF-2927] search filter enhancements (#3365)
* search filter enhancements

* reset button for facet queries

* update code and tests

* remove unused type

* restore code missing after rebase
2018-05-23 00:36:20 +01:00
bbcodrin
b2e35c3560 [ADF-2923] button type added (#3358)
* button type added

* remove unnecessary code
2018-05-22 13:40:44 +01:00
Denys Vuika
5aa523d9ac [ADF-3055] fix bug with page size for facet fields (#3359)
* fix bug with page size for facet fields

* move page size to a constant

* move const inside the scope

* test fixes
2018-05-22 10:33:46 +01:00
Eugenio Romano
8fae47639c
fix breadcrumb align in object picker (#3353) 2018-05-21 16:23:07 +01:00
Eugenio Romano
ce75d42079 replace jasmine ajax with spy in rating tests 2018-05-21 16:20:51 +01:00
Eugenio Romano
adc1d9cb95 fix failing tests replace ajax with spy 2018-05-21 15:44:38 +01:00
Denys Vuika
266ad76ad9 fix typo in the resource key (#3352) 2018-05-21 15:33:11 +01:00
Eugenio Romano
ff5d02b5b7 fix like test 2018-05-21 15:15:15 +01:00
Denys Vuika
b599e3a41a breadcrumb bug fixes (#3348) 2018-05-20 20:07:10 +01:00
Denys Vuika
e2bfcd20a9 restore deleted breadcrumb code 2018-05-18 21:26:04 +01:00
Suzana Dirla
67e0c02a5a [ADF-2984] Show date invalid message on search date range picker (#3323)
* [ADF-2984] Show date invalid message on search date range picker

* [ADF-2984] test that required format is displayed when date input is invalid

* [ADF-2984] More space above buttons
2018-05-18 17:22:12 +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
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
Suzana Dirla
4e70a116eb [ADF-2997] The meaning of the range fields is not clear (#3338)
* [ADF-2997] restrict 'to' field not to allow dates in the future

* [ADF-2997] more clear labels for start and end date fields

the translation team will decide what will be the best values for the date fields
2018-05-17 11:41:51 +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
Cilibiu Bogdan
374c5a3fed [ADF-2995] Permissions - Consumer should be able to upload a new version for his file on a private site (#3326)
* check node permission instead of parent

* tests
2018-05-16 09:40:49 +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
bbcodrin
fd924c439a [ADF-2925] Required and invalid validators added (#3277)
* test added

* tests clean

* test added

* tslint clean

* test name changed

* update tests
2018-05-15 13:21:38 +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
Denys Vuika
bd4451e83d remove search configuration enforcement (#3315) 2018-05-14 10:24:29 +01:00
Georgiana Roman
fd12481843 [ADF-2813] set default sorting (#3311) 2018-05-11 14:12:15 +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
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
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
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
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
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
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
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
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
76005cd215 style fixes (#3257)
* fix for the Firefox and Viewer scrolling

* breadcrumb style fixes
2018-05-03 10:28:56 +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
Denys Vuika
bc61407f64 Revert "[ADF-2739] Long names in breadcrumb fixed (#3245)"
This reverts commit 321c57c78fb96d995dfe962520eb0ac5868e4e42.
2018-05-01 19:31: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