29 Commits

Author SHA1 Message Date
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
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
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
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
Andy Stark
606009cac2 [ADF-2456] Fixed property table formatting (#3051) 2018-03-08 19:41:37 +00:00
suzanadirla
f8f79b3f31 [ADF-2421] Unable to copy / move a file from Recent or Favorites when user has only granular permissions on the file (#3041)
* [ADF-2421] Unable to copy / move a file from Recent or Favorites when user has only granular permissions on the file

* [ADF-2421] refactor code

* [ADF-2421] refactor to simplify code
2018-03-08 10:58:35 +00:00
Vito
6afdbcad7c [ADF-2358] Always enabling copy action (#3044) 2018-03-07 14:11:36 +00:00
suzanadirla
0a748ac555 [ADF-2391] skipCount is not reset on document-list when choosing a custom source from adf-sites-dropdown, nor the currentFolderId and folderNode (#3012)
* [ADF-2391] skipCount is not reset on document-list when choosing a custom source from adf-sites-dropdown, nor the currentFolderId and folderNode

fix and tests added

* [ADF-2391] refactor code & took into account merge parameter
2018-03-06 09:58:28 +00:00
suzanadirla
c1f0537a0d [ADF-2406] [Document Picker] Unnecessary extra request is made on Load more click (#3019)
* [ADF-2406] [Document Picker] Unnecessary extra request is made on Load more click

fixed bug

* [ADF-2406] refactored code

* [ADF-2406] added tests
2018-03-06 09:19:06 +00:00
Eugenio Romano
97a10bde78
add possible future configurability display mode document list and datatable (#2998) 2018-02-26 03:04:19 +00:00
Eugenio Romano
62d5dd1b30
[ADF-2322] Card view datatable and documentlist (#2968)
* move table in style

* Enable the cardview mode

* add button in demo shell to change view
add missing translation terms toolbar

* missing comma

* add example in demo shell

* style loading and images

* border card container

* document list tests

* test check class and input

* test fix

* fix test process services

* more documentation

* rirpristinate base pacakge integgration

* remove test color
2018-02-21 09:57:01 +00:00
suzanadirla
d731cc651c [ADF-2175] Document List requests are executed twice when opening the copy and move dialog (#2960)
* [ADF-2175] Document List requests are executed twice when opening the dialog

fixed bug

* [ADF-2175] added unit tests for the change & refactored initial code
2018-02-20 13:59:12 +00:00
suzanadirla
9e6469c566 [ADF-2176] [Destination picker] File Libraries are not displayed (#2868)
* [ADF-2176] [Destination picker] File Libraries are not displayed

update columns used for display according to the folder node to display

* [ADF-2176] revert initial changes

* [ADF-2176] assure that site entries have 'name' property set

* [ADF-2176] add unit test
2018-02-06 13:53:44 +00:00
suzanadirla
78c6a68e51 [ADF-2242] Search on custom sources is not working. (#2904)
* [ADF-2242] Search on custom sources is not working.

fix search on custom sources

* [ADF-2242] added unit tests

* [ADF-2242] reverted change

* [ADF-2242] simplify code on search method and make extra call only when having custom dropdown defined
2018-02-02 15:22:33 +00:00
Popovics András
89a7b0c4b0 [ADF-2157] Infinite pagination target supporting (#2856)
* Infinite pagination target supporting

* Updating documentation
2018-01-22 10:59:05 +00:00
Andy Stark
3bee9a70f5 [ADF-1769] Updates to prop table script (#2829)
* [ADF-1769] Fixed prop table tool formatting

* [ADF-1769] Added code style to event type column
2018-01-16 00:10:02 +00:00
Andy Stark
72cfd7894d [ADF-1769] Added JSDoc for components (#2823)
* [ADF-1769] Added JSDoc for components

* [ADF-1769] Fixed tslint error with trailing whitespace
2018-01-12 13:25:54 +00:00
madhukar23
f58405e07a [ADF-2119] Document List - The pagination should be fetched from the UserPreference (#2801)
* Changed the service fetching page sizes in document-list component

* uncommented a line in process-service.component.ts for the tasklist to show page-sizes in task-list
2018-01-05 13:23:40 +01:00
Eugenio Romano
c763ba45e0
[ADF-2045] Pagination is not working properly on Search Results Page (#2744) 2017-11-28 12:46:01 +00:00
Denys Vuika
82dca30d7f [ADF-2039] pagination fixes (#2742)
* pagination fixes

* test fixes
2017-11-27 22:39:58 +00:00
Eugenio Romano
9b7e018f93
[no issue number] fix unsubscribing in documentlist (#2740)
* fix unsubscribing in documentlist

* fix tslint errors
2017-11-27 17:51:18 +00:00
Denys Vuika
a9d61e5d6e [ADF-2016] pagination integration for document list (#2718)
* pagination integration for document list

* reload data only if needed

* unit tests for document list

* pagination tests

* update docs
2017-11-27 10:14:08 +00:00
Eugenio Romano
f629f48d16
[ADF-1968] [IE11] The login page is not loading and import fix (#2679)
* fix viewer script
export insights and diagram
remove requires svg
fix new data adapter path
dist working with diagrams commented out
change use of minimatch
fix unused import
remove unused component
fix test
new import moment es6 and throw rxjs
fix import analytics test
fix imports rxjs
new pacakging

* fix after rebase

* fix test upload services

* exclude temporarily button event test

* restore commented demo shell files

* fix process spy
2017-11-22 10:33:56 +00:00
Vito
d138d6af16 [ADF-1805] added some peer review changes and documentation changes (#2669)
* [ADF-1805] added some peer review changes and documentation changes

* Revert "[ADF-1805] added some peer review changes and documentation changes"

This reverts commit c132ee61ee607a9ed18e1c7bd5ea589808d9fd57.

* [ADF-1805] fixed documentation and added previous page load on empty page
2017-11-20 13:24:30 +00:00
suzanadirla
edaa442e18 [ADF-1949 ] Allow customization of the dropdown menu on document picker (#2660)
* [ADF-1949] Allow customization of the dropdown menu on document picker

- add as input properties the 'dropdownHideMyFiles' and the 'dropdownSiteList' to the destination picker, so the list of sites from the dropdown can be customized, if wanted
- add navigation on '-mysites-' entries on document-list
- use custom dropdown on the copy/move document picker

* [ADF-1949] do not use a custom dropdown on the copy/move document picker on ADF side, because this can be done only on ACA side

* [ADF-1949] handling the node-dblclick event on content-node-selector.component instead of doing it on the document-list component

- and update the sites-dropdown documentation file

* [ADF-1949] changes requested on code review

* [ADF-1949] fix failing tests
2017-11-20 12:10:38 +00:00
Vito
141bc0f8b4 [ADF-1805] rebased documentlist pagination removal (#2668)
* [ADF-1805] rebased documentlist pagination removal

* [ADF-1805] fixed some wrong changes]
2017-11-20 10:40:05 +00:00
Eugenio Romano
ff2e855aa3
Fix prefix adf- import (#2657)
* fix prefix adf- import

* missing conf file prefix replacement

* fix demo shell start
2017-11-17 02:46:31 +00:00
Eugenio Romano
a52bb5600a
New packages org (#2639)
New packages org
2017-11-16 14:12:52 +00:00