1358 Commits

Author SHA1 Message Date
Eugenio Romano
97a10bde78
add possible future configurability display mode document list and datatable (#2998) 2018-02-26 03:04:19 +00:00
Eugenio Romano
76cf4f178e
[ADF-2312] Sites Dropdown component - default select option (#2994)
* fix gallery view sort drop down empty values
restore recent in main pace
trashcan example demo shell add multi select

* add selectable default value

* remove change delete directive

* remove fdescribe

* missing return type
2018-02-24 18:00:41 +00:00
Denys Vuika
40f51a17df fixes for AoT (#2995)
* fixes for missing values in templates

* fix location cell implementation for object picker
2018-02-24 10:28:45 +00:00
suzanadirla
d997f14565 [ADF-2077] [Destination picker] User should not be able to copy / mo… (#2978)
* [ADF-20177] [Destination picker] User should not be able to copy / move items into a site outside of the documentLibrary

* [ADF-20177] added unit tests for the change

* [ADF-2077] refactor code and unit tests after code review

* [ADF-2077] more refactoring to make the unit tests messages more clear
2018-02-23 17:38:08 +00:00
Eugenio Romano
7f63b76d37
[ADF-2311] fix metadata components with folders (#2985)
* fix metadata folders

* remove dead code

* fix check mimetype
2018-02-23 10:41:03 +00:00
Denys Vuika
c915a79342
[ADF-2169] Destination Picker fixes (#2984)
* style and layout fixes for Destination Picker

* fix for binding to private member, remove recent demo

* add 'search results' label, code fixes

* selected icon style fixes

* style fixes

* style fixes

* fix column header align issue

* style fixes for empty content

* icon column style fixes
2018-02-22 19:21:10 +00:00
Eugenio Romano
8a36adb469
new translated files 2.2.0 (#2979) 2018-02-22 11:46:58 +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
siva kumar
bca77b390e [ADF-2260] Action menu translation is missing when right clicking on a file/folder. (#2971)
* Fixed missing translation support.
* Added a action-menu key in en.json
2018-02-21 09:27:21 +00:00
Denys Vuika
2f69383c44 [ADF-2316] upgrade ngx-translate (#2956)
* upgrade ngx-translate

* add missing export

* add missing export

* Update test-e2e-bc.sh

* rxjs fixes

* increase timeout test

* lettable operator translate
2018-02-20 18:39:57 +00:00
suzanadirla
ed9289d6df [ADF-2310] Error is thrown if isSelectionValid optional property is not defined (#2957)
* [ADF-2310] Error is thrown if isSelectionValid optional property is not defined

* [ADF-2310] added unit tests for the change and removed unneeded import

* fix tests

* [ADF-2310] add missing async

* [ADF-2310] add more async function to unit tests
2018-02-20 18:22:21 +00:00
Andy Stark
b45048b5ed [ADF-1769] Added JSDocs for directives (#2964) 2018-02-20 14:00:18 +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
Andy Stark
de575fd47b [ADF-1769] Added JSDocs for services (#2961) 2018-02-19 17:28:44 +00:00
suzanadirla
6d0bab9278 [ADF-2304] Add option to Content Node Selector to transform the breadcrumb folder node (#2952)
* [ADF-2304] Add option to Content Node Selector to transform the breadcrumb folder node

* [ADF-2304] update documentation with recent changes

* [ADF-2304] added example of using the breadcrumbTransform
2018-02-19 17:27:55 +00:00
siva kumar
6b980edcf5 [ADF-2260] Action menu translation is missing when right clicking on a file/folder. (#2958)
* Fixed Action menu translation.
2018-02-18 10:13:47 +00:00
suzanadirla
6f81d7729e [ADF-2264] [Destination picker] File Libraries visibility column is not displayed (#2954) 2018-02-15 10:17:43 +00:00
Denys Vuika
63a146616b
[ADF-2161] download directive (#2934)
* node download directive

* integrate with demo shell

* docs on the directive

* node actions integration

* test fixes

* remove old and disable invalid tests

* remove fdescribe

* fix unit tests
2018-02-15 09:23:55 +00:00
Andy Stark
9887d8bca4 [ADF-1769] Added JSDocs for services (#2949) 2018-02-14 14:20:10 +00:00
Eugenio Romano
8bfac2f9f8
[ADF-2236] Automatic check export (#2933)
* save export in a file

* print errors

* add position error

* color error log and add comment to skip a file

* export check ver 2

* ignore source

* fix export modules

* fix possible nullable value

* remove duplicates

* improve logs

* add travis configuration

* fix travis and import

* export fix

* remove export check js file

* add export check js ignore

* fix content metadata service export
2018-02-14 09:33:50 +00:00
Andy Stark
68ded23c9a [ADF-1769] Added JSDocs to services (#2937)
* [ADF-1769] Added JSDocs to services

* Removed JSDoc return directives from doc comments
2018-02-13 22:44:47 +00:00
Vito
b3955b3f6c [ADF-1876] added custom empty result tag for search result control (#2940)
* [ADF-1876] added custom empty template for no search result

* [ADF-1876] added custom empty result tag for search result control

* [ADF-1876] added custom no search result tag for search control component

* [ADF-1876] added documentation for template no result
2018-02-13 18:11:09 +00:00
Eugenio Romano
239772bbb2
update moment.js to last version (#2939) 2018-02-13 14:00:21 +00:00
Popovics András
c109b9f6f3 [ADF-2232] Content metadata layout oriented configuration (#2918)
* Small refactoring I.

* Small refactoring II.

* On the way of implementing the soultion

* Refactoring aspect to groups and supporting different type of configs

* Fixed linter errors

* Fix debug project runner

* Fix linting errors

* Fix and align tests

* Config factory tests

* Layout oriented config parser

* Adding layout oriented config to the config factory

* Update config schema

* Layout oriented config

* Aspect oriented and indifferent configs alignment to the new propertyGroups structure

* Remove dead codes

* Fixinfinite loading error and custom type properties

* Add documentation

* Fix tests
2018-02-13 13:57:45 +00:00
Eugenio Romano
a863631f0d
[ADF-2149] Update ng-packagr to 2.0.0 (#2935)
* ng-packagr version 2.0.0 core fixes

* fix content services jsdoc

* fix process service jsdoc

* last update new build 2.0.0

* fix comment jsdoc
2018-02-13 10:37:03 +00:00
Andy Stark
76ad797488 [ADF-1769] Added JSDocs and methods and updated script (#2927) 2018-02-09 18:06:24 +00:00
Andy Stark
3114fa4862 [ADF-1769] Added support for methods to JSDoc tool (#2925)
* [ADF-1769] Refactored component props features

* [ADF-1769] Added methods list feature to doc tool

* [ADF-1769] Added support for optional parameters and initialisers

* [ADF-1769] Switched off prop generator tool
2018-02-09 10:22:41 +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
Andy Stark
03cca19599 [ADF-1769] Added JSDocs and prop tables (#2913) 2018-02-05 19:05:48 +00:00
suzanadirla
b6cc8efe27 [ADF-2246] [Destination Picker] The selection from the dropdown is ignored after 'Clear' action (#2908) 2018-02-05 11:24:19 +00:00
Vito
105bc80d2c [ADF-2163] added target all for content actions (#2900)
* [ADF-2163] first step to target all

* [ADF-2163] start refactoring folder dulpication action

* [ADF-2163] start refactorin all approach

* [ADF-2163] added test for target action 'all'

* [ADF-2163] fixed test and added enum for target actions

* [ADF-2163] updated documentation for content action target all

* [ADF-2163] updated documentation adding ENUM

* [ADF-2163] added change to documentation after quick review

* [ADF-2163] moved to upper case enum

* Revert "[ADF-2163] moved to upper case enum"

This reverts commit 41da0a34dd075971ded8c633dd293c9d8c59ef40.

* [ADF-2163] fixed case for documentation
2018-02-02 19:27:54 +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
Andy Stark
5ee9b09a21 [ADF-1769] Added prop tables and JSDocs (#2906) 2018-02-02 14:56:59 +00:00
Eugenio Romano
9e4b2e74e9
[ADF-2159] Update angular-cli to latest version (#2874)
* Update angular cli version 1.6.5

* fix tslint problems and update devdependencies using the angularcli 1.6.4

* test fixing

* [ADF-2159] start fixing userinfo test

* [ADF-2159] fixed userinfo tests

* [ADF-2159] added async to accordion component test

* [ADF-2159] testing probable failed test on CI

* [ADF-2159] check removing fake destroyed view test

* [ADF-2159] check viewer tests

* [ADF-2159] attempt on test fix

* [ADF-2159] test fix

* [ADF-2159] fix test

* [ADF-2159] fix test

* [ADF-2159] rebased

* [ADF-2159] check test

* [ADF-2159] fixing test

* [ADF-2159] Fix#1

* [ADF-2159] Fix#2

* [ADF-2159] Fix#3

* [ADF-2159] Fix #4

* [ADF-2159] Fix #5

* [ADF-2159] Fix #6

* [ADF-2159] fixed viewer test

* [ADF-2159] fixed cast element
2018-02-01 10:08:25 +00:00
Andy Stark
dd7afc65db [ADF-1769] Added JSDocs and prop tables (#2898) 2018-01-31 17:40:28 +00:00
Denys Vuika
0d93c65fd7 [ADF-2064] Lazy loading support (#2811)
* remove BrowserAnimationsModule dependency

* improve test shim

* update test shim

* test shim updates

* example of lazy-loaded datatable

* local and global i18n demo for lazy modules

* lazy loading support for CoreModule providers

* test shim updates

* update test shim

* support global i18n for lazy modules

* cleanup lazy loading example

* update card view after rebase

* backwards compatibility

* cleanup files

* fix code after rebase
2018-01-31 17:39:26 +00:00
Andy Stark
900fd70d63 [ADF-1769] Added prop tables and fixed script (#2896)
* [ADF-1769] Added prop tables and fixed script

* [ADF-1769] Corrected JSDoc formatting errors

* [ADF-1769] Restored default column to prop tables
2018-01-31 09:22:05 +00:00
suzanadirla
d2d635b94d [ADF-2000] Destination picker is not completely translated (#2883) 2018-01-28 22:55:39 +00:00
Eugenio Romano
3ffc4f809a update versions to 2.1.0 2018-01-26 11:37:56 +00:00
Eugenio Romano
ad02ec1fbd
export material only from the core (#2885) 2018-01-26 11:21:10 +00:00
suzanadirla
d071250e24 [ADF-2221] Search fails on Content Node Selector (#2888) 2018-01-26 10:25:55 +00:00
Eugenio Romano
8e4017ed19
new i18n file 2.1.0 (#2878) 2018-01-24 17:22:53 +00:00
Vito
101701b72e [ADF-2196] fixed error message for no permission on copy and move (#2863)
* [ADF-2196] fixed error message for no permission on copy and move

* [ADF-2196] removed fdescribe
2018-01-23 12:06:10 +00:00
Vito
a401ebd35d [ADF-2150] improved queryBody mechanism (#2852)
* [ADF-2150] changed query body parameter to a function

* [ADF-2150] added an example page where to try change query body

* [ADF-2150] improved queryBody mechanism

* [ADF-2150] fixed content node test

* [ADF-2150] extended docs added another way to use the query node

* [ADF-2150] fixed test for search on content node

* [ADF-2150] added some improvements to service config

* [ADF-2150] changed the documentation accordingly

* [ADF-2150] added PR changes

* [ADF-2150] fixed jdoc

* [ADF-2150] added checkbox to switch from service approach to input object approach

* [ADF-2150] fixed build error on demo shell
2018-01-23 10:12:52 +00:00
Popovics András
eb6db1d449 [ADF-2186] Update calculated properties on node change in content metadata compo… (#2862)
* Update calculated properties on node change in content metadata component

* Add module to public api
2018-01-22 19:56:31 +00:00
Vito
b481bde483 [ADF-2170] fixed condition for file size equal zero (#2860)
* [ADF-2170] fixed condition for file size equal zero

* [ADF-2170] refactored if condition
2018-01-22 16:52:02 +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
Maurizio Vitale
e883f5c83d Rollback the upgrade libs (#2850) 2018-01-18 19:15:52 +00:00
Andy Stark
c9a3b048b4 [ADF-1769] Added JSDocs and updated prop table script (#2838)
* [ADF-1769] Added JSDocs and updated prop table script

* [ADF-1769] Fixed lint error in JSDoc
2018-01-17 17:11:22 +00:00
Eugenio Romano
b1fd6cb60c
[ADF-2055] Ability to pre-populate form with a file and values (#2834)
* fix translations form

* fix style webpack script

* fix tslint error problem in viewer

* fix naming problems in attach file widget

* add start process form values data initialization option

* fix translation problems

* missing return type

* start process name configuration

* add CS cross PS configuration

* start process from file example

* fix minor issues

* add documentation and move the dialog in a separate component

* easy test select app

* alfrescoRepositoryName right property

* file conversion test

* fix issue after CR

* Remove forgotten semicolon.
2018-01-17 17:06:00 +00:00