394 Commits

Author SHA1 Message Date
Denys Vuika
e39a2b149b [ADF-3591] spellcheck support for code (#3827)
* setup spellcheck
2018-10-23 15:05:38 +01:00
Mario Romano
53d96679ea [ADF-3609 ] fallback for metadata and undefined value check (#3838)
* [ADF-3609 ] fallback for metadata and undefined value check

* fix lint issues

* make name new property optional
2018-10-23 14:35:44 +01:00
Eugenio Romano
7f448d78d1 [ADF-3685] Close all dialog when redirect after 401 to demo shell 2018-10-22 16:27:09 +01:00
Eugenio Romano
368f949fc4
[no-issue] general fix e2e and unit test (#3903)
* add missing import
remove creation folder in redirect test in main folder
fix update script
update node js-api to last alpha before to install
improve share dialog test

* update gnu

* fix notification and search e2e

* change name compatible with file name

* improve failing test to avoid cdk overlay problems

* [ADF-3561] fix Outcome not translatable

* increase sleep in user permission
checklist missing uppercase
comment possible different value in test due time

* improve document list actions

* improve document list action test

* tag refresh bbefore next test
comment possible value due the time
2018-10-20 18:16:44 +01:00
Maurizio Vitale
4c9629c2d6 [ADF-3550] Migration - Application List Component (#3902)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* fix package

* Add a cloud component as example

* Skip the scss style

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* add the app-list-cloud-component
add the app-details-cloud-component

* Expose and use the new component

* Consume the new package and component from the demoshell

* Fix unit test app list cloud

* Fix process service cloud path

* Remove useless file

* * Added documentation to the appListcloud component

* Fix failing unit tests
2018-10-18 17:11:32 +01:00
Suzana Dirla
63fb4fc857 [ADF-3668] Search filter buckets are set to 0 after any search filtering (#3891)
* [ADF-3668] Fix facet fields 0 buckets

* [ADF-3668] add test for case when labels are i18n keys

* [ADF-3668] add translations on demo-shell - for manual testing

* [ADF-3668] allow translations for the bucket labels

* [ADF-3668] Fix facet queries buckets for translated labels

* [ADF-3668] Fix e2e tests

* [ADF-3668] Fix facet queries filtering when having translated labels

* [ADF-3668] add translations on demo-shell - for manual testing

* [ADF-3668] case covered by translationMock custom instant

* [ADF-3668] move test translations to demo-shell resources

* [ADF-3668] code review changes
2018-10-18 10:42:01 +01:00
Maurizio Vitale
0ecb6c13ec [ADF-3538] Alfresco Process Service Cloud - new package with CLI (#3872)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* Fix process service cloud path

* Download process-service-cloud from the CS
2018-10-16 18:15:11 +01:00
Denys Vuika
415d2185b1 [ADF-3381][ADF-3492] search results improvements (#3727)
* search results improvements

* fix search term formatting

* rollback the query change

* fix search test

* lint fix

* lint fix

* search page component to ts
2018-10-16 16:51:49 +01:00
davidcanonieto
a9245b5ef9 [ADF-3586] Refactor Process List page and fix query bugs (#3868) 2018-10-11 22:31:27 +01:00
Denys Vuika
07d0290633 lazy loading support for demo shell (#3871)
* breadcrumb demo

* datatable demo

* about module

* notifications module

* card view module

* config editor module

* trashcan module

* header data module

* node selector module

* custom sources module

* webscript module

* tag module

* social module

* settings module

* task list module

* process list module

* fix translation minor issue
2018-10-11 17:06:23 +01:00
Eugenio Romano
7fd905d92c
[no-issue] refactor failing e2e (#3865)
* fix ps test

* fix import

* fix import

* fix ps

* fix hyperlink

* fix radio hiperlynk

* autorename for clashes

* notification fix

* convert userdialog to ts

* fix travis configuration

* fix download in folder

* convert contentservice page to ts

* convert setting and login to ts

* remove unused import

* fix login import

* fix login page

* fix chips

* fix import
speed up viewer test

* fix contentlist

* change id

* fix cs e2e

* fix search lint

* fix name issue
2018-10-11 14:22:44 +01:00
Maurizio Vitale
29f28c7c82 [ADF-3670] Checklist - fix failing unit test (#3873)
* fix unit test on checklist

* Fix relative path import
2018-10-09 12:26:04 +01:00
Cilibiu Bogdan
95587de864 [ADF-3530] Share file dialog - expiration date update (#3860)
* disable button when no selection

* fix date
2018-10-04 15:38:42 +01:00
Vito
8fde14e2ca [ADF-3646] refreshing tasklist and process list when a task of a process is completed (#3856) 2018-10-03 18:32:13 +01:00
Eugenio Romano
718b3e8817
rename hasIcon to shoIcon to be equal to process-filter (#3855) 2018-10-03 15:20:37 +01:00
Eugenio Romano
58f61fd836
[ADF-3643] Viewer shows both sidebar icons (#3852)
* Viewer shows both sidebar icons

* update readme

* add config editor for start-process
2018-10-03 11:29:55 +01:00
Denys Vuika
d53db9ca77 Merge branch 'development' of https://github.com/Alfresco/alfresco-ng2-components into development 2018-10-02 16:15:08 +01:00
Denys Vuika
c12e4232cb remove i18 workaround that makes things worse 2018-10-02 16:15:03 +01:00
Eugenio Romano
e12c1f69e7 ADF-3641 Broken form layout for Involve people widget 2018-10-02 16:14:54 +01:00
Eugenio Romano
6a546289b7
[no-issue] fix e2e uploader (#3840)
* fix e2e upload
move viewer subbfolder

* fix CS services e2e test

* add log for error in upload delete

* aysnc get node

* new tentative

* attempt 2

* attempt 3

* new demo shell test
travis change for test

* excluded file tslint fix

* remove desktop only class

* renable tests

* decrease time notification

* add process service multiselect demo test
fix e2e

* remove log

* add custom toolbar example
2018-10-02 12:26:13 +01:00
davidcanonieto
77a6f1e902 [ADF-3614] Fix styling bug in Custom Sources Page (#3845) 2018-10-01 19:36:12 +01:00
Cilibiu Bogdan
42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +01:00
davidcanonieto
4a42dbac16 [ADF-3607] JSON Upload File & Editor in Form Page (#3839)
* [ADF-3607] JSON Upload File & Editor in Form Page

* [ADF-3607] Removed unused variable
2018-09-28 15:35:05 +01:00
Eugenio Romano
6c6bb18d1d
remove web-animation-js not needed anymore in angular 6 (#3833) 2018-09-27 12:05:33 +01:00
Marouan Bentaleb
5a6d8d8a2a [ADF-3331] Automated tests for Viewer Component (#3615)
* Automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Updating Viewer Page for failing tests

* Adding tests for Viewer Component and some minor changes on Viewer Component - Content Services

* Removing some lines used to test

* Automation tests for Viewer component and Viewer component - Integration with Router + minor changes on tests for Viewer Component - Content Services

* Correcting an import + some improvement to the code

* Correcting tests for opening different file extensions

* Removing a console.log I forgot

* Refactoring the test in Viewer Component

* Refacotring using lint

* Adding browser refresh after each file type

* Moving tests to proper folder

* Minor changes

* remove faulty BE files from e2e

* fix test viewer

* fix process service tests

* fix test

* fix process test

* fix lint
timeout decrease

* increase some timeouts to fix CS e2e

* lint fix
2018-09-25 21:58:22 +01:00
Denys Vuika
0d78e35de1 i18n workaround for non-supported langs (#3819) 2018-09-25 21:45:57 +01:00
davidcanonieto
ab4f964f7f [ADF-3573] Task list pagination on Task List Demo page fix (#3823)
* [ADF-3573] Task list pagination on Task List Demo page fix

* [ADF-3573] Added minimum values for size per page and page inputs
2018-09-25 21:32:24 +01:00
davidcanonieto
d186e4e6f6 [ADF-3555] [ADF-3382] Start Process component refactored (#3817)
* [ADF-3555] [ADF-3382] Start Process component refactored

* [ADF-3555] [ADF-3382] Start Process component unit tests fix
2018-09-24 15:21:35 +01:00
davidcanonieto
559dbc7f40 [ADF-3438] Page input fixed in Task List Demo (#3815)
* [ADF-3438] Page input fixed

* [ADF-3438] Improved code on component
2018-09-24 14:11:35 +01:00
Eugenio Romano
897a557afa
[ADF-3332][ADF-3352] Add property e2e test and leftsidebar viewer (#3814)
* new viewer test
left sidebar
fix height width no overlay viewer

* fix lint and failing e2e

* missing semi column

* fix test

* fix template

* documentation
2018-09-21 11:37:40 +01:00
Maurizio Vitale
cfbe3cfd86 [ADF-3570] ADF Migration - Add the interceptor layer (#3813)
* Enable impliciFlow and add new interceptor

* Fix errors

* add excluded path rules

* Add the needed methods to the AuthenticationService core

* Remove unused library and service
2018-09-20 22:17:05 +01:00
davidcanonieto
244d1aae85 [ADF-3438] Bugs in Task List Demo Component fixed (#3809)
* [ADF-3438] Bugs in Task List Demo Component fixed

* [ADF-3438] Added default size value for pagination
2018-09-20 14:02:15 +01:00
Eugenio Romano
219e093d66
[ADF-584] [ADF-3561] Validation error summary for error component (#3795)
* emit Forms error

* add demo

* add documentation
remove old form tag deprecated in 1.x
fix translation outcome

* remove prevent default validation

* fix lint
2018-09-18 17:40:00 +01:00
bbcodrin
a801f656a7 [ADF-3422] Process Services - Create settings tab (#3702)
* settings tab added

* fix icon

* fix e2e
2018-09-18 16:09:09 +01:00
bbcodrin
6ac0346039 [ADF-3415] Process filter - icons added (#3705)
* task filters icons added

* test fix

* process filters icons added
2018-09-14 17:59:59 +01:00
bbcodrin
73a5eddebd [ADF-3438] Task List Demo - created date filter and pagination (#3782)
* date filter and pagination

* remove wrong mat-form-field
2018-09-14 16:55:57 +01:00
Denys Vuika
c5c1aa9ecb [ADF-3443] basic printing support (#3777)
* printing service

* code fixes

* update code
2018-09-12 13:04:43 +01:00
Eugenio Romano
609a6c154b remove user admin write file e2e 2018-09-12 12:43:08 +01:00
Eugenio Romano
7ccbeee017
[ADF-2640] remove option configurable (#3772)
* add optional delete button in tag node list

* add demo

* fix lint
2018-09-12 10:05:03 +01:00
Eugenio Romano
cc396e2a11
[ADF-3512] SidenavLayoutComponent option to show the sidebar on the right (#3768)
* add sidebar end start property

* add demo and test

* fix test

* fix failing test
2018-09-12 10:02:24 +01:00
Marouan Bentaleb
55677e2b7b [ADF-3498] Automated tests for Permissions - Search (#3774) 2018-09-11 17:51:22 +01:00
Vito
35e1563fde [ADF-3324] added redirect to 404 page when the shared link is invalid (#3749)
* [ADF-3324] added redirect to 404 page when the shared link is invalid

* [ADF-3324] removed fdescribe

* [ADF-3324] fixed documentation adding the new event
2018-09-10 11:10:44 +01:00
Vito
9ef00e3ddd [ADF-3500] added an event to react when a filter is force selected (#3753)
* [ADF-3500] added an event to react when a filter is force selected

* [ADF-3500] renamed method for clarification
2018-09-07 11:34:26 +01:00
Vito
6c748cc24b [ADF-3513] - removed wrong slide from task-detail component (#3746) 2018-09-06 12:26:26 +01:00
Eugenio Romano
c6f56a2c2a
Improve build stages (#3744)
* travis precache

* rb change

* remove ut

* add cache warm up

* Prepare cache fix

* add test

* use env variabble to tag

* use env to label stages

* move lint step at start

* use dist for e2e

* upload dist in alfresco

* modify permissions

* travis script node

* remove polyfills

* revert some changes

* fix demo shell run test

* solve download

* revert debatable gallery change
2018-09-05 12:40:03 +01:00
davidcanonieto
567d172176 [ADF-3119] Gallery mode layout fixed for document list (#3731) 2018-09-04 11:18:49 +01:00
Eugenio Romano
c839fd516b [Dem0 shell] increase default time to message in order to help the e2e 2018-08-14 15:43:18 +01:00
davidcanonieto
d47a5bfbbf [ADF-3432 ]Added size and page control to task list demo (#3674)
* [ADF-3432] Added size and page control to task listdemo

* [ADF-3432] Removed console log

* [ADF-3432] Errors catched on TaskList component when a bad query is made

* [ADF-3432] It reloads task list content when form is reset

* [ADF-3432] Fixed missing whitespace lint error

* remove unused dependency
2018-08-14 15:43:16 +01:00
Eugenio Romano
dd4c0e37f2 ADF-3474 demo shell process list fix column 2018-08-14 15:43:15 +01:00
Eugenio Romano
83b2857097 [ADF-2629] Fix infinite pagination and e2e parallel task (#3691)
* change infinite pagination logic
make merge in share adapter a real merge

* missing semi column

* type problem

* fix pagination infinite test

* tentative file detector

* add other remote files for webdriver

* parallel execution test

* fix refresh browser e2e

* missing driver remote in util
2018-08-14 15:43:13 +01:00