1032 Commits

Author SHA1 Message Date
Eugenio Romano
a4da697b7e
[ADF-2586] change export org for AOT (#3170)
* change export org for AOT

* update CLI and remove memory hack

* remove unused import

* right type
2018-04-11 14:04:05 +01:00
Denys Vuika
4293bbba83 upgrade ng-packagr (#3156)
* upgrade ng-packagr

* restore js-api vesion

* restore compiler version

* revert demo shell update package
2018-04-10 02:08:42 +01:00
Eugenio Romano
07c247ca11 [ADF-2500] fix trashcan bug plus refactoring documentlist (#3136)
* [ADF-2500] The full content of Trashcan is not displayed.

fix pagination problem and add tests

* refactor code

* custom resources services

* move custom resources in separate service part 2

* move custom resources in separate service part 3

* move isCustomResources in custom resources

* move getCorrispondinNodeIds in custom services

* reorganize code

* add pagination interface

* remove permissions check document list and use the common cs method
remove the merge option and move it in the paginator

* make infinte scrolling always use the target

* restore loading infinite page

* fix license header

* fix type problems

* breadcrumb test service

* fix test

* export CustomResourcesService

* fix test pagination

* fix content ndoe test

* remove timeout content node selector test

* fix after rebase

* ripristinate observalbe in search service

* fix wrong type return stub document list test

* fix search service

* fix test document list

* move handle error in common method

* restore observable in search control

* Update search-control.component.spec.ts

* fix after rebase

* add import switchmap

* core import in karma conf

* missing commas

* fix mocks

* fix mock searchquerybody

* search test fix
2018-04-09 10:31:43 +01:00
Vito
8769c257f8 [ADF-2580] - changing the inherit permission button by status (#3152) 2018-04-08 16:20:14 +01:00
Eugenio Romano
f78d5e2865
Update generator to use packages version 2.3.0-beta7 (#3153) 2018-04-08 16:18:59 +01:00
Denys Vuika
5325fd4cd4
[ADF-2567] delete a version (#3151)
* configuration support for version manager

* checkbox for version deletion demo

* i18n support for version manager

* deleting versions

* confirmation dialog for version deletion

* readme update

* update schema

* update code as per code review

* update i18n resources for demo shell

* unit tests
2018-04-06 18:40:17 +01:00
Denys Vuika
38f2973863
tooltip and i18n fixes (#3147)
* tooltip fixes

* i18n for info drawer strings
2018-04-06 12:47:19 +01:00
Alex Bolboșenco
7d1b4bf14a [ADF-2540] Lock node feature (#3138)
* add adf-node-lock directive

* add lock-node service + button in context menu

* unit tests

* docs

* unit tests fix

* Remove unnecessary imports

* PR changes

* Remove fit from tests

* Update specific node from list on lock/ulock
2018-04-06 06:59:28 +01:00
Suzana Dirla
7b7e39d989 [ADF-2562] Download a previous version (#3141)
* [ADF-2562] Download a previous version

* [ADF-2562] add input property to enable/disable version downloads

* [ADF-2562] add example in demo-shell

* [ADF-2562] unit tests

* [ADF-2561] View comments on previous versions (#3137)

* [ADF-2561] View comments on previous versions

add input property to enable/disable viewing version comments

* [ADF-2561] add more tests

* remove name property

* test fixes
2018-04-05 21:24:05 +01:00
Maurizio Vitale
9792f83c9b Provide a way to change the contextBpmRoot from the app.config file (#3144) 2018-04-05 14:13:28 +01:00
Suzana Dirla
c7507c0c31 [ADF-2561] add showComments toggle on demo-shell (#3143) 2018-04-05 12:05:58 +01:00
Denys Vuika
9b3e153b83
[ADF-2595] fix demo shell pagination for search filter (#3142) 2018-04-04 13:37:41 +01:00
Denys Vuika
5d7ccbeb9a
[ADF-2595] use pagination settings with search filter (#3139)
* use pagination settings

* unit tests
2018-04-03 12:58:14 +01:00
Mario Romano
653a510a5c [ADF-2588] make comment component compatible with content (#3128) 2018-03-30 11:13:38 +01:00
Denys Vuika
9401e77e0c style fix (#3134) 2018-03-29 13:57:14 +01:00
Popovics András
00b04d53dd Fix assorted styles for files in different breakpoints (#3132) 2018-03-29 11:50:15 +01:00
Denys Vuika
ed48994e67 [ADF-2128] facet container component (#3094)
* (wip) facet container

* shaping out the API

* code lint fixes

* radiobox facet example

* fields selector facet

* search limits support

* scope locations facet example

* move custom search to 'search.query' config

* use facet fields and queries from the config file

* use facet filters

* use facet buckets in query

* preserve expanded/checked states

* code cleanup and binding fixes

* fix apis after rebase

* extract query builder into separate class

* code improvements

* full chip list (merge facet fields with queries)

* placeholder for range requests

* move search infrastructure to ADF core

* cleanup code

* auto-search on init

* move search components to the content services

* selected facets chip list

* split into separate components at ADF level

* move the rest of the implementation to ADF

* facet builder fixes and tests

* translation support for category names

* docs placeholders

* update language level

* unit tests and packaging updates

* fix after rebase

* remove fdescribe

* some docs on search settings

* rename components as per review

* simplify chip list as per review

* turn query builder into service

* improve search service, integrate old search results

* fix node selector integration

* move service to the top module

* update tests

* remove fdescribe

* update tests

* test fixes

* test fixes

* test updates

* fix tests

* code and test fixes

* remove fit

* fix tests

* fix tests

* remove obsolete test

* increase bundle threshold

* update docs to reflect PR changes

* fix docs
2018-03-29 11:34:08 +01:00
Eugenio Romano
d6f51c22aa
[ADF-2477] add new log component in demo shell (#3129)
* add CTRL + L new log component in demo shell to test the log service bus

* remove trivial definition

* close tag app-log
2018-03-29 11:04:33 +01:00
cristinaj
aaddc58bfd Adding data-automation-id (#3131) 2018-03-29 10:34:23 +01:00
Eugenio Romano
152c825328 [ADF-2428] aspectNames in demo shell for document list 2018-03-28 17:06:24 +01:00
Popovics András
0aba5bb1b5 [ADF-2559] Sidenav layout (#3119)
* First step of extraction

* Add sidenav-layout to demo-shell

* Fix some sidenav-layout styles

* Fix tests

* Add documentation

* Fix typescript transpiler's stomache

* Modify component's directive's interface

* Enrich documentation

* Another documentation enrichment

* Fix tests and mobile expanded issue
2018-03-28 13:49:52 +01:00
Eugenio Romano
9e2969b955 [ADF-2569] fix reload app.config.json (#3124)
* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
2018-03-28 11:01:04 +01:00
davidcanonieto
3033102ae4 [ADF-1935] Content on widgets now wraps when viewing it on a small de… (#3117)
* [ADF-1935] Content on widgets now wraps when viewing it on a small device

* [ADF-1935] Width property replaced for flex property

* [ADF-1935] Query modified to work with variable

* [ADF-1935] Removed unnecessary styling classes
2018-03-26 14:32:46 +02:00
davidcanonieto
2940b6ce99 [ADF-1932] Settings button now is located inside the login menu (#3114)
* [ADF-1932] Settings button now is located inside the login menu

* [ADF-1932] Improved styles

* [ADF-1932] CSS replaced by SCSS, settings button now matches material accent color

* enable source map in the dist

* Revert "enable source map in the dist"

This reverts commit 0e53ace55bd9d9c689cb1fa1496010332d5cf1d5.
2018-03-26 10:57:50 +02:00
Eugenio Romano
b84e716fe5
Update generator to use packages version 2.3.0-beta5 (#3120) 2018-03-26 10:57:20 +02:00
Eugenio Romano
812c7be6f6
[no-issue] remove viewChildren use (#3116)
* remove viewChildren component use in lib and demoshell

* Update trashcan.component.ts

* Update trashcan.component.ts
2018-03-23 10:06:59 +00:00
Eugenio Romano
845bdebfc9 remove sourcemap 2018-03-22 23:41:30 +00:00
Eugenio Romano
11c0c89c25 exclude node_modules demo shell 2018-03-22 21:36:50 +00:00
Eugenio Romano
c2820ee9b4 fix demo node permissions dist 2018-03-22 19:09:08 +00:00
Eugenio Romano
535a445c95 enable source map in the dist 2018-03-22 17:46:44 +00:00
Vito
10d437b30b [ADF-2432] created directive for add/remove inherited permissions (#3111)
* [ADF-2432] permission display component - phase 1

* [ADF-2432] display permission table for node - phase 2

* [ADF-2432] fixed layout for display permissions

* [ADF-2432] added test and documentation for permission display

* [ADF-2432] fixed wrong rebase changes

* [ADF-2432] created directive for add/remove inherited permissions

* [ADF-2432] renamed folder and added inheriting directive

* [ADF-2432] removed old documentation

* [ADF-2432] added async to tests
2018-03-22 14:56:32 +00:00
davidcanonieto
2084748993 [ADF-2018] Hide details button when it's displayed on a smartphone (#3100)
* [ADF-2018] Hide details button when it's displayed on a smartphone

* [ADF-2018] Media query with variables fixed

* [ADF-2018] Properly merged
2018-03-22 14:53:17 +00:00
Denys Vuika
5c4a18dd48 [ADF-2531] support for AoT and production builds (#3110)
* fix translation for Core module

* fix datatable reference

* fix issue with duplicate pipe and i18n error

* fixes for upload service cutomisation (process services)

* demo shell fixes

* fix search component

* remove unused declaration

* update tests

* remove fdescribe
2018-03-22 10:43:56 +00:00
Eugenio Romano
e8e2af7d6b
[ADF-2306] DocumentList should let configure the includeFields request to the se… (#3109)
* DocumentList should let configure the includeFields request to the server

* fix test

* fix test after rebase

* fix permissions

* travis_wait dist
2018-03-22 09:27:12 +00:00
Vito
99e694ef98 [ADF-2432] Creating component to display node permission (#3106)
* [ADF-2432] start adding demo shell changes for permissions

* [ADF-2432] permission display component - phase 1

* [ADF-2432] added permissions to node query|

* [ADF-2432] display permission table for node - phase 2

* [ADF-2432] fixed layout for display permissions

* [ADF-2432] added test and documentation for permission display

* [ADF-2432] fixed wrong rebase changes

* [ADF-2432] added peer review changes

* [ADF-2432] added license header to mock file
2018-03-21 22:02:40 +00:00
Eugenio Romano
2951374cc0
[ASD-2483] Validate folder name on change (#3088)
* notify service refactoring
get translate eliminitation in favor of instant
add error event where necessary
fix config problem during test

* fix delete notify test

* remove fdescribe

* fix core test

* errors

* fix types
2018-03-21 16:55:52 +00:00
Eugenio Romano
18a5106b86 rollback update angular cli because of https://github.com/angular/angular-cli/issues/10031 2018-03-21 02:12:15 +00:00
Eugenio Romano
2761626f55
[ADF-ADF-2528] share directive (#3102)
* share file directive

* share link phase 2

* share dialog

* share dialog test

* more documentation

* add more meaningfully specification

* Add  description in the dialog
2018-03-20 22:32:56 +00:00
Eugenio Romano
71b85588cf fix pipeline 2018-03-20 21:45:22 +00:00
Vito
ebec5ea8d7 [ADF-2444] supportedPageSize is used only via input parameter (#3087)
* [ADF-2444] supportedPageSize is used only via input parameter

* [ADF-2444] removed white space

* [ADF-2444] added deprecation to supportedPageSize attribute of paginated interface
2018-03-20 17:23:10 +00:00
Eugenio Romano
c578529b15
[ADF-2514][ADF-2517][ADF-2143] Fix build isssues (#3097)
* fix remove angular folder problem

* fix npm import cli

* fix search module

* fix comment

* fix tsconfig output

* es 20016 tsconfig

* travis add demo shell dist

* exclude datapicker process services

* demo shell script fix

* bundle check new build

* add simulate publish

* invert publish

* test distribution

* improve sh help

* uncomment script

* finally got the guilty piece of code

* run e2e
2018-03-20 11:53:11 +00:00
Vito
5d92fc4b3b [ADF-2480] document list reload should be always performed (#3096) 2018-03-19 22:36:33 +00:00
Vito
8ead17685a [ADF-2484] moved translation into the context menu action (#3092) 2018-03-19 15:57:37 +00:00
cristinaj
43503c5f61 Add data-automation-id for theming (#3078) 2018-03-14 14:23:42 +00:00
Vito
c162899b75 [ADF-2393] added fix for infinite scrolling to the other delete buttons (#3077) 2018-03-14 12:57:31 +00:00
Eugenio Romano
ad6c6847de
add proxy in start command (#3071) 2018-03-13 17:36:10 +00:00
Vito
766bb082f5 [ADF-2393] fixed reloading on delete with infinite scrolling (#3057)
* [ADF-2393] fixed reloading on delete with infinite scrolling

* [ADF-2393] refactored after PR
2018-03-13 17:28:25 +00:00
Eugenio Romano
c3e2588e35
[ADF-No-issue-number] search problem type fix (#3068)
* search problem type fix

* fix type test

* fix test node selector

* fix test content node selector panel
2018-03-13 12:10:06 +00:00
Vito
84fcdd46c2 [ADF-2443] renaming getDifferentPageSize to getDefaultPageSize (#3060)
* [ADF-2443] renaming getDifferentPageSize to getDefaultPageSize

* [ADF-2443] fixed method call for demo shell
2018-03-12 16:25:38 +00:00
Popovics András
8859d3466e [ADF-2368] Version manager update (#3058)
* Add auto file renaming in FE side

* Add error handling, file type restriction

* Documentation

* Fix ts-lint error

* Test the service

* Fix fdescribe...
2018-03-09 22:55:24 +00:00