1358 Commits

Author SHA1 Message Date
Eugenio Romano
08165d6fd4 remove console log error from version list and content node selector test stubbing necessary method 2018-05-30 11:22:03 +01:00
Eugenio Romano
a11766aa23 remove console log err from document list test 2018-05-29 17:17:40 +01:00
Eugenio Romano
eb0f91c5db fix random test failing part 2 (#3395)
* fix random failing test core search/comment/auth/user

* fix node delete directive

* fix lint issues

* node restore fix

* fix comment test

* remove fdescribe

* fix tests and tslint

* fix upload test

* unsubscribe success event task test

* copy comment object during test

* use the data pipe performance improvement and standard usage

* uncomment random test

* fix comment date random failing test

* disposable unsubscribe

* fix start process

* remove fdescribe

* change start process test and remove commented code

* fix error event check double click

* clone object form test

* refactor date time test

* fix service mock

* fix test dropdown and context

* git hook lint

* fix language test

* unsubscribe documentlist event test

* fix disposable error

* fix console log service error document list

* unusbscribe search test

* clear input field

* remove wrong test
2018-05-29 10:18:17 +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
Suzana Dirla
11bac7e796 [ADF-3042] Use the custom date adapter from adf-core on Search Date Range widget (#3394)
-fix localization
-fix tests
-show parse error
2018-05-25 14:45:55 +02:00
Denys Vuika
405306d9ab minor layout fix for search facet buttons 2018-05-24 12:34:36 +01:00
Andy Stark
591bec5bdd [ADF-2824] Added and reviewed some content services docs (#3385) 2018-05-23 19:35:19 +01:00
Denys Vuika
30f13cdecd bold font for checked boxes (#3381) 2018-05-23 19:21:05 +01:00
Denys Vuika
44a39b76a5 search filter now remembers original user query (#3384) 2018-05-23 19:06:49 +01:00
Eugenio Romano
7e67257b8a
first part random test fix (#3376)
fixing random test executions first part
2018-05-23 01:23:54 +01:00
Andy Stark
c8f04193c7 [ADF-2764] Updated doc files with latest script features (#3368)
* [ADF-2764] Updated doc files with latest script features

* [ADF-2764] Rebuilt full index instead of just content services index
2018-05-23 00:40:02 +01:00
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