866 Commits

Author SHA1 Message Date
Eugenio Romano
2f7e0e6cb6 [ADF-3329] datatable component e2e (#3589)
* datatable component e2e
minor fix tslint

* fix review
2018-08-14 15:42:21 +01:00
Eugenio Romano
fcaa033a57 [ADF-3330] Create automated tests for Uploader component (#3581)
* Upload button e2e

* improve test organization

* add dev option in test run

* Create desktop.ini

* upload component automation final step

* remove fdescribe

* ignore downloads folder

* exclude pagination
2018-08-14 15:42:20 +01:00
Eugenio Romano
e7b2daa1fe Reinsert e2e tag test (#3574)
* solve rendition preview

* reinsert tag e2e

* fix tslint

* fix pack problem

* remove reload

* remove refresh
2018-08-14 15:42:17 +01:00
Eugenio Romano
3d86044594 Add e2e test in ADF main repo (#3534)
* move e2e to ADF main repo

* lint e2e test

* enable first set of tests

* enable test

* firs test js-api integrated

* try change name protractor demo shell file

* remove fdescribe

* Update .travis.yml

* exclude failing test and rewrite analytics component with JS-API

* remove fdescribe

* move first part of tests to js-api

* refactor test alfresco-js-api

* replace js-api step 3

* remove adf prefix

* remove unused code

* remove unused part 2

* add option in e2e test for single test and browser

* exclude temp failing test

* refactoring test step 1

* refactoring test step 2

* refactoring test step 3

* refactoring test step 4

* refactoring test step 5

* run against localhost and proxy options

* fix command

* improve configuration

* improve configuration

* use dev configuratio

* fix defering

* comment out not working remotely test

* fix promise login page e2e

* remove console log

* change test

* revert

* improve utils

* improve task list test
util add also numbers in generation of the email

* remove part of the multi selector

* reinsert trashcan test

* uncomment document list test

* try increase delay in search sorting

* improve document list selector

* execute different util methods

* Upload error screenshot

* make oncomplete async

* add z-finish screenshot workaround

* option save

* remove fit
2018-08-14 15:42:14 +01:00
davidcanonieto
a6a77b8561 [ADF-3286] Snackbar now supports custom configuration (#3549)
* [ADF-3286] Snackbar now supports custom configuration

* [ADF-3286] Trailing whitespace removed

* [ADF-3286] Tests added

* [ADF-3286] Improved tests

* [ADF-3286] Documentation added

* [ADF-3286]  Logic improved

* [ADF-3286] Styling error fixed

* [ADF-3286] Broken tests fixed

* [ADF-3286] Broken tests fixed
2018-08-14 15:42:12 +01:00
davidcanonieto
495f9937fe [ADF-3103] Task List Demo Component (#3486)
* [ADF-3103] Added Process Definition Id to task list component

* [ADF-3103] Added @input variable

* [ADF-3103] Added search inputs

* [ADF-2753] Fixed select inputs

* [ADF-3103] Improved logic and funcionality overall

* [ADF-3103] FormControl implementation

* [ADF-3103] Added AppId input

* [ADF-3103] Fixed Link errors

* [ADF-3103] Task list table hides when invalid app is selected

* [ADF-3103] Lint error

* [ADF-3103] Improved user experience

* [ADF-3103] changed formControlNames to [FormControl]

* [ADF-3103] Improved logic and added localization

* [ADF-3103] Removed whitespace

* [ADF-3103] Improved logic of task list form

* [ADF-3103] fixed trailing whitespaces

* [ADF-3103] trailing whitespace fix

* [ADF-3103] Added documentation and tests

* [ADF-3103] Added tests and documentation

* [ADF-3103] Tests fixed
2018-08-14 15:42:12 +01:00
Alex Bolboșenco
65ac1d37c4 CardViewItem in demo-shell (#3562) 2018-08-14 15:42:10 +01:00
davidcanonieto
a3372c3a68 [ADF-2599] Share button disabled after clicking it fixed (#3525)
* [ADF-2599] Share button disabled after clicking it fixed

* [ADF-2599] Share button disabling attribute changed

* [ADF-2599] Trailing whitespace removed
2018-08-14 15:42:09 +01:00
Georgiana Roman
c4d3bf231a [ADF-3177] added general header component (#3537)
* [ADF-3177] added general header component

* [ADF-3177] added documentation and removed user info mobile behaviour

* [ADF-3177] eddited doc file

* [ADF-3177] renamed folder and style changes

* [ADF-3177] style changes

* [ADF-3177] fix tests

* [ADF-3177] fix lint errors and tests

* [APM-3177] css changes

* [ADF-3177] fix pr

* [ADF-3177] updated documentation

* [ADF-3177] expose module with old name

* [ADF-3177] expose module with old name
2018-08-14 15:42:07 +01:00
Vito
21304614e7 [ADF-2671] fixed retrieving of error message (#3553) 2018-08-14 15:42:07 +01:00
Vito
cd4431e547 [ADF-3283] added minimatch options into the configuration to allow cu… (#3542)
* [ADF-3283] added minimatch options into the configuration to allow customisation

* [ADF-3283] added documentation
2018-08-14 15:42:06 +01:00
davidcanonieto
a920c581df [ADF-3149] New Report Issue page created (#3452)
* [ADF-3149] New Report Issue page created

* [ADF-3149] Added missing comma
2018-08-14 15:42:05 +01:00
Vito
0255da80a4 [ADF-2348] added actions on start and cancel start process buttons (#3543) 2018-08-14 15:42:04 +01:00
davidcanonieto
da8ffdfe5e [ADF-2598] Sidenav button only visible when sidenav is enebled (#3526) 2018-08-14 15:42:02 +01:00
Vito
d9c792230f [ADF-2769] Added example page for content node selector (#3498)
* content node selector test page

* [ADF-2769] start adding more examples to node selector page

* [ADF-2769] added more example for node selector page

* [ADF-2769] added examples on node selector page
2018-08-14 15:41:59 +01:00
Eugenio Romano
9ee34e404e remove 404 check in demo shell 2018-06-22 09:56:52 +01:00
Eugenio Romano
3947cc5dc9
check 401 and redirect demo shell (#3516) 2018-06-21 18:00:44 +01:00
Denys Vuika
fa18d4dc3e use i18n key for "Permission" label 2018-06-21 14:11:25 +01:00
Vito
966cbe0d30 [ADF-3242] removed filter for string in example log component (#3511)
* [ADF-3242] removed filter for string in example log component

* [ADF-3242] added try catch for circular dependency objects

* [ADF-3242] added try catch and removed error message
2018-06-20 14:46:31 +01:00
Denys Vuika
491cc3253f update demo shell with metadata demo 2018-06-20 07:47:41 +01:00
Vito
69b47cfd22 [ADF-3233] fixed demo shell filtering for files on drag&drop] (#3504) 2018-06-19 17:21:38 +01:00
Eugenio Romano
ea4c9fe9aa
[ADF-3226] remove Double behaviour setting allow download and comment (#3502)
* fix restore notification

* improve path specification property

* fix lint and document issues

* fix test

* remove unused import

* remove double behavior allowComments and allowDonload can be set only thorough input property
2018-06-19 08:45:11 +01:00
Eugenio Romano
bc23d28ad6
[ADF-3223] Restore message directive files fix (#3499)
* fix restore notification

* improve path specification property

* fix lint and document issues

* fix test

* remove unused import
2018-06-18 22:58:58 +01:00
Eugenio Romano
fa6a6725cf demo shell host setting component login redirect after setting 2018-06-17 23:10:55 +01:00
Denys Vuika
acf73fba54 [ADF-3217] reset previous search settings (#3490)
* reset previous search settings

* unit test

* remove fit
2018-06-15 14:51:26 +01:00
Eugenio Romano
8966e22487
[ADF-3191] Fix userprefrence oauth2 (#3488)
* remove user preference setting save

* fix host setting test

* remove userPreferences test

* fix title service test

* remove unused imports

* restore input align

* fix service import in test tag rating
2018-06-15 08:32:16 +01:00
Eugenio Romano
0cf2a35983 [ADF-3200] custom Extension filter - file with different extension is uploaded with drag and drop 2018-06-13 16:21:23 +01:00
Eugenio Romano
afdedf02d1
[ADF-3191] Not able to login only to BPM or ECM (#3478)
* disable random test

* host setting component reset JS-API

* reload api after user prefrence change

* remove replicate reset

* missing semicolon

* deprecate provider property

* remove trailing space

* check new value before to set
2018-06-13 16:05:35 +01:00
Maurizio Vitale
476b5864bf [ADF-3162] Setting component - Should be able to render the providers passed as input (#3464)
* Be able to change the available providers values

* Add deprecated tag

* add default providers

* Fix empty OAuth and selected providers
Improve the documentation

* Fix BPM guard to check SSO condition

* Add the oauthConfig again

* SSO or Basic otpion auth setting change

* fix host settings sso/basic
add login documentation

* remove test string

* fix auth guard test

* dispose upload emitter test events

* remove space

* exclude failing test
2018-06-12 17:52:36 +01:00
Popovics András
9221d1d0d0 Fix dropdown panel in viewer toolbar because of z-index (#3472) 2018-06-12 16:58:13 +01:00
davidcanonieto
9c8adefece [ADF-3144] Error component displayed when closing file viewer in process tab (#3469) 2018-06-11 16:21:48 +01:00
Eugenio Romano
ee919ff9b4 revert development config 2018-06-11 16:00:40 +01:00
Eugenio Romano
8373b22c0f
[LOC-61] i18n 2.4.0 (#3468)
* i18n 2.4.0

* missing part
2018-06-11 13:10:55 +01:00
Denys Vuika
6f2cbdf697 [ADF-2859] fixes for the conditional visibility and disabled states (#3465)
* fixes for the conditional visibility and disabled states

* update docs

* cleanup code

* remove unused code
2018-06-11 12:53:09 +01:00
Maurizio Vitale
5485431202 [ADF-3156] App config default ALL (BPM and ECM) provider (#3460)
* Use as default provider ALL (BPM and ECM)

* Default host OAUTH
2018-06-08 11:34:41 +01:00
Eugenio Romano
c7dd8da46b remove not used events in demo shell host setting components 2018-06-08 01:56:46 +01:00
Denys Vuika
cb88a22a76 [ADF-2859] conditional evaluation of disabled state for content actions (#3450)
* react on [disabled] binding changes

* [disabled] binding updates for context menu items

* evaluating disabled state with a function

* unit test

* restore original description

* remove irrelevant test

* fix tests
2018-06-08 00:28:00 +02:00
Eugenio Romano
08fd49c4e3
[no-issue] error image resolver mimetype should not be part of datatable (#3415)
* move error image custom logic form datatable to documentlist

* change travis

* [fix-test-log] added optional function to data row interface

* [no-issue] fixed datatable tests

* [no-issue] fixing tests
2018-06-08 00:27:01 +02:00
Denys Vuika
346dff436d fixes for memory leaks and multiple subscriptions (#3456)
* fix content action memory leaks

* memory leak fixes for demo shell
2018-06-08 00:24:51 +02:00
Denys Vuika
30826500e5 simple filtering for datatable (#3453) 2018-06-08 00:20:57 +02:00
Maurizio Vitale
f8e92b2fb0 [ADF-2795] SSO implicitflow (#3332)
* Enable OAUTH2

* Create SSO services

* SSO improvements

* Rollback sso login change

* Add SSO configuration from Setting component

* Refactoring

* Remove login ECM/BPM toggle and move use the userpreference instead of store

* fix host setting unit test

* Fix unit test missing instance

* use the Js api oauth

* add logout component and clean sso not used class

* fix dependencies cicle

* add translation settings

* fix style setting page

* clean

* JS APi should receive the oauth config from the userPreference and not from the config file

* change login if SSO is present

* missing spaces

* add sso test in login component

* add logout directive new properties test

* Improve host setting and remove library reference

* fix login test

* Remove unused code

* Fix authentication unit test

* fix authguard unit test

* fix csrf check login component

* fix unit test core and demo shell

* remove
2018-06-08 00:19:58 +02:00
Denys Vuika
3a6c12e624 (demo shell) fix memory leak with search results 2018-06-07 15:42:01 +01:00
Denys Vuika
cb70c034d2 extend breadcrumb testing page (demo shell) 2018-06-07 08:42:13 +01:00
camorra-skk
bbe0904447 [ADF-3132] TaskList empty state doesn't respect the specification (#3440) 2018-06-06 16:15:29 +01:00
Denys Vuika
8ba68e4f1b notification service demo and testing area (#3443)
* notification service demo and testing area

* fix typo
2018-06-06 15:52:55 +02:00
Denys Vuika
47d7e59df4 extend demo shell upload example to button 2018-06-06 11:21:13 +01:00
camorra-skk
4225bf5213 [ADF-3066] ProcessList Component - Empty State issue. (#3434) 2018-06-05 17:46:18 +02:00
Vito
4a0960e11e [ADF-2999] added a way to test the validation icon on demo shell (#3431) 2018-06-05 10:57:27 +02:00
Denys Vuika
71d5259cb4 demo translation for search radio 2018-06-05 07:03:22 +01:00
siva kumar
d4f57b8786 [ADF-3039] Task List - Enanchement (#3404)
* * Created DataColumnSchemaAssembler component to get column schema from html and app.config.json
* Removed column related  method  from tasklist.

* * Removed data property from the tasklist component
* Using rows input property instead of data input property of the datatable

* *  Renamed  DataColumnSchemaAssembler to DataTableSchema
* Refactored DataTableSchema component

* * Changed schem property into an  input schemaColumns property  in dataTable component

* * Added selectFirstRow input property to select a first row of datatable
* Removed unnecessary method from tasklist component

* * Added test case for the recent changes
* Added mock object for the tasklist spec

* * Added testcases for recent changes in the datatable component

* * Updated datatable and tasklist document for the recent changes

* * Refactored process-service and task list component
* Updated datatable document.

* [ADF-3039] Task List - Enanchement
* Changed schemaColumn name to columns
* Updated datatable documentation.
*  data input Annotated  with @deprecated in the tasklist component

* * Added an sorting input to the datatable.
* Updated datatable and tasklist documentation
* Added method to get current sorting order.

* * After rebasing

* * Revert  sorting changes

* * After rebase

* * fixed conflicts

* * Fixed failing testcase after rebased.
2018-06-01 09:39:09 +01:00