156 Commits

Author SHA1 Message Date
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Denys Vuika
1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
Eugenio Romano
5ce06d80cb remove wrong use of get in translation service 2019-07-11 19:50:03 +01:00
Eugenio Romano
79a95ecd5d use instant pipe translate in demo shell error message 2019-07-11 16:24:18 +01:00
Geeta Mandakini Ayyalasomayajula
fadcc19eba e2e tests for favourite directive (#4912)
* in progress - favourite directive e2e tests

* in progress - favourite directive e2e tests

* favourite directive e2e tests

* update testcase name

* updated test case names

* remove unnecessary line spaces

* refactored favourites to favorites
2019-07-10 09:56:28 +01:00
Geeta Mandakini Ayyalasomayajula
65dc1a5c31 Test cases for Edit Folder Directive (#4910)
* added tests for Edit Folder Directive

* added tests for Copy and Move actions on no permission folder.

* moved the checkDisabled function to BrowserActions to make it reusable.

* updated method name
2019-07-09 15:30:37 +01:00
Denys Vuika
f64cd9cffd
[ADF-4640] share dialog fixes (#4830)
* unshare fixes and error notifications

* fix disabled toggles issue

* code fixes and separate interface

* remove 'isFavorite' include

* safety checks for properties

* update e2e

* refactor test after functionality change

* fix issue with the missing properties

* safety checks
2019-06-12 17:21:23 +01:00
Eugenio Romano
924c20d410 remove duplicated column and fix null in checkbox 2019-06-11 17:28:12 +01:00
davidcanonieto
7497822a46 [ADF-4342] Create localized pipe and centralize date format (#4813)
* [ADF-4342] Date Format defined in app config

* [ADF-4342] Create localized pipe and centralize date format

* Add unit test for new date pipe

* Add info internationalization docs

* Fix lining

* Fix linting

* Fix date pipe unit test

* [ADF-4342] Add supported language files

* Fix e2e tests
2019-06-11 09:35:35 +01:00
Suzana Dirla
3d73e94b5d [ADF-4402] Move component related styles from demo-shell to ADF components (#4808)
* [ADF-4402] remove styling of non-existent items

* [ADF-4402] remove not needed style - bcs overwritten by style from core

* [ADF-4559] remove demo-shell only class from core styling

- use class name from core component for styling

* [ADF-4402] remove not used styling code

- .adf-app-layout-toolbar no longer exists, so no need keep its style

* [ADF-4402] move style from demo-shell to core

- same style was needed in ACA, so probably should be best in core ADF

* [ADF-4402] remove not used styling code

* [ADF-4402] move adf-toolbar-title style from demo-shell to core

* [ADF-4402] remove not used styling code

* [ADF-4402] use existing css class

* [ADF-4402] remove style already set from pagination component

* [ADF-4402] remove not used styling code

* [ADF-4402] viewer toolbar width
2019-06-05 16:01:38 +01:00
Denys Vuika
ac224a0b82
[ADF-4489] metadata errors demoshell (#4720)
* raise errors in demo shell for metadata

* remove commented out code
2019-05-14 11:45:07 +01:00
Denys Vuika
0e2e5e35a0 [ADF-3126] i18n support for info drawer tabs (#4698)
* [ADF-3126] i18n support for info drawer tabs

* fix tests

* code fixes
2019-05-07 17:31:22 +01:00
Suzana Dirla
59eee6ebaf [ADF-4401] Fix DL issues because of nested 'adf-datatable-cell' items (#4615)
* [ADF-4401] remove classname from nested items - use 'adf-content-cell' instead

* [ADF-4401] some DL display fixes

- align header cells with content cells
- columns aligned on Trashcan DL
- ellipsis on long folder names inside the content node selector
- more width on highlight cell from search-results

* [ADF-4401] use 'adf-content-cell'

- to allow ellipsis to display when a parent has 'adf-ellipsis-cell' class

* [ADF-4401] remove not used styles

* [ADF-4401] rename scss classname to have 'adf-datatable' prefix

* [ADF-4401] Add documentation for datatable
2019-04-18 17:07:31 +02:00
Eugenio Romano
64be9e3624
[NO-ISSUE] Fix e2e test (#4621)
* fix sso, change timeout, parallel

* cange travis

* move name apps in resources file

* resources fix

* resources fix

* add sleep before search group

* add possibility to extend duration of snack-bar message from configuration

* fix unit test

* fix unit test

* remove timeout

* change timeout

* decrease message time

* add lint main branch travis

* reduce timeout

* add new check application presence

* change permission script
fix search selector

* fix travis conf

* check app environment and upload the app if abbsent

* fix cloud test

* remove duplicate

* restore ps test

* restore resources file

* fix e2e test

* process with variables missing

* test new conf travis

* fix lint

* fix spellcheck

* remove duplicate module

* fix ps module

* fix travis conf

* change check activiti env

* add concept of processes in resources
2019-04-18 13:31:42 +02:00
Suzana Dirla
e656cc6977 [ADF-4323] Add style fixes from ACA (#4546)
* [ADF-4323] add style fix for adf-search-sorting-picker

- moved from ACA

* [ADF-4323] use Flex Layout's media query mixin

* [ADF-4323] add style fix for adf-pagination

- moved from ACA

* [ADF-4323] add style fix for adf-version-manager

- which fixed issue [ACA-1750]

* [ADF-4323] remove not used property

* [ADF-4323] remove extra bottom-border

* [ADF-4323] upload-drag-area refactor to scss

* [ADF-4323] add style fix for adf file upload

- from ACA

* [ADF-4323] add style fix for adf-info-drawer

- from ACA

* [ADF-4323] add style fix for adf-toolbar

- from ACA

* [ADF-4323] add style fix for adf-sidenav-layout

- from ACA

* [ADF-4323] add style fix for adf-search-filter

- from ACA

* [ADF-4323] add style fix for adf-upload-drag-area

- from ACA

* [ADF-4323] add style fix for adf-info-drawer

- from ACA

* [ADF-4323] move style fix for adf-manage-versions from demo-shell

* [ADF-4323] use Flex Layout's media query mixin

* [ADF-4323] small fix to remove scrolling

* [ADF-4323] add adf-sidenav-layout host element class

* [ADF-4323] change 'inline' class name to 'adf-toolbar--inline'

- css lint was failing because of old naming

* [ADF-4323] set pagination empty state styling

* [ADF-4323] set pagination border to none
2019-04-05 14:05:21 +01:00
Eugenio Romano
b35fb4df93 Merge branch 'development' into next-release-3.2.0 2019-03-29 16:17:03 +00:00
davidcanonieto
2b4f42e042 [ADF-4325] Demo-Shell - Fix alignment in document-list (#4513) 2019-03-28 16:15:53 +00:00
davidcanonieto
f00ee43b60 [ADF-4305] Fix document list component styling (#4509) 2019-03-28 10:54:39 +00:00
Denys Vuika
e75335a06d [ADF-3794] Update individual rows without reloading DocumentList (#4213)
* reload table cells on node updates

* update unit tests

* update dynamic columns

* fix value type

* fix tests

* update code as per review

* update variable name

* test fixes, core automation service

* fix test
2019-03-27 11:38:37 +00:00
Eugenio Romano
5f4fef63f1 search should not be always show 2019-03-26 12:19:32 +00:00
arditdomi
0a3c4367a0 [ADF-4282] Fix document list UI when on small screen devices (#4497)
* [ADF-4282] Fix document list content UI in small resolution devices

* [ADF-4282] Fix document list content UI in small resolution devices
2019-03-26 11:41:00 +00:00
Denys Vuika
505aad4cb5 css fixes for datatable (#4471) 2019-03-20 21:33:06 +00:00
Eugenio Romano
5a7fe6f499
[ADF-4267] expose stiky heder in document list (#4455)
* expose stiky heder in document list

* lint fix
2019-03-19 16:41:28 +00:00
davidcanonieto
8dc9eba4c7 [ADF-3677] Add highlight configuration to SearchQueryBuilder (#4358)
* [ADF-3677] Add highlight configuration to SearchQueryBuilder

* highlight property in search

* Update files.component.ts

* remove comma

* highlight missspell

* fix schhema json highilight

* fix test

* fix lint

* fix lint

* fix lint

* fix search sorting tests

* fix search sorting

* fix lint

* remove useless test

* check for null nodes

* remove duplicated test

* lint

* fix sorting tests

* remove test not search component related
2019-03-17 17:23:07 +00:00
davidcanonieto
7da9bd89cb [ADF-4122] Add sticky header feature to datatable and refactor styles (#4370)
* [ADF-4122] Add sticky header config to datatable and refactor styles

* [ADF-4122] Fix core unit tests

* [ADF-4122] Commit requested changes

* [ADF-4122] Fix e2e tests

* Update docs/core/datatable.component.md

Co-Authored-By: davidcanonieto <david.cano@alfresco.com>
2019-03-01 16:23:31 +00:00
Eugenio Romano
c55cba5514
license header update 2019 (#4300) 2019-02-12 01:18:43 +00:00
Eugenio Romano
3263659ac2
rename old hasPermission as allowableOperation and introduce the real hasPermissions (#4294) 2019-02-11 10:44:37 +00:00
Eugenio Romano
836caf5253 fix infinite pagination delete, difficult to handle the delta in case of delete better to reload the whole list for infinite pagination 2019-02-06 19:19:01 +00:00
Eugenio Romano
fec2b89b2d
[ADF-3930] Can't load more results in Copy/Move dialog (#4247)
* fix unrelated failing test
improve type definition
add set get filtering node selector
fix directive highlight
fix minor problem style breadcrumb
small refactoring problem documentlist

* fix lint style

* fix html node

* fix test
2019-02-03 20:10:54 +00:00
davidcanonieto
1b81f687a3 [ADF-3964] Regression - No content template not displaying in search component (#4223) 2019-01-29 16:32:11 +00:00
davidcanonieto
1c25b50b1a [ADF-1344] New Custom Loading Content Directive for Datatable Component (#4156)
* [ADF-1344] New Custom Loading Content Directive for Datatable Component

* [ADF-1344] Add unit tests for directives on Document List

* [ADF-1344] Add directive prefix to context-menu directive

* [ADF-1344] Old directive selectors have been put back

* [ADF-1344] Add old selector for empty-content directive
2019-01-25 12:15:28 +00:00
Florin Butu
5b2887fea1 [ADF-3823] Add tests for create site dialog (#4090)
* [ADF-3823] Create Library component tests

* [ADF-3823] Create Library component tests

* [ADF-3823] Fixing lint errors.

* [ADF-3823] Added automation id for Create Library btn

* [ADF-3823] Updated tests and added check for white spaces only.

* [ADF-3823] Updated tests & rebased
2019-01-15 17:34:00 +00:00
davidcanonieto
46150a65f2 [ADF-3855] Add minimum length to library title (#4139)
* [ADF-3855] Add minimum length to library title

* update name test
2019-01-14 19:23:27 +00:00
Eugenio Romano
3ef7d3b7ea [ADF-] update library to use new js-api 3.0.0 (#4097) 2019-01-08 16:29:30 +00:00
Denys Vuika
9dba816877
[ADF-3869] extensibility related components (#4107)
* extensions: dynamic column

* content: trashcan name column

* content: library status column

* content: library role column

* content: library name column

* style fixes

* content: name column

* demo: use name column in DL example

* fix tests

* lint fixes

* code fixes

* update docs

* add toggle to demo shell
2019-01-03 14:07:07 +00:00
davidcanonieto
21710cfcff [ADF-3822] Add Create Library button on mobile view (#4106) 2019-01-02 21:39:06 +01:00
Denys Vuika
058d23d57f [ADF-3442] create library dialog (#4018)
* library dialog

* integrate with demo shell

* update resources

* fix license

* auto focus for the first input

* update e2e tests

* try close the dialog between tests

* fix afterEach

* Revert "try close the dialog between tests"

This reverts commit 63464f2b03c226c606d09b18c7d2782e3bb52c0a.

* update code due to css lint issues

* csslint settings for vs code

* missing import
lint fix
remove not used import
convert errorPage js to ts
convert tasklistpage js to ts
fix redirection creation folder in root
fix lint issue
fix e2e

* e2e fix

* fix PS tests

* navigation import

* fix tests tooltip
convert paginapage to ts

* fix lint

* fix lock files e2e
filterspage to ts

* fix lint

* fix cs cre
git dept 3 and not 50 as default in travis

* quiet log git download

* add some delay and change the delete lock

* fix node entry

* convert searchDialog to typescript
parallel protractor

* disable browser execute

* restote test

* change search tests

* move search in a separate e2e folder

* experiment fix e2e

* change util presence
change protractor conf

* fix unshare test

* improve query viewerPage using css over xpath

* waitForAngularEnabled before browser redirect

* convert util to ts and more

* convert other files to ts

* convert to ts other files

* trigger build

* function fixes use arrow function

* process service fixes

* lint fix
review timeout default

* fix failing tests

* restore timeout

* share dialog fix

* remove

* use configuration admin

* fix APS 2 login sso
2018-12-05 13:05:39 +00:00
Eugenio Romano
27b0ba897a
[lint-refactor] simplify tslint and unify main tslint extension in sub folders (#4032)
* simplify tslint and unify main tslint extension  in sub folders

* remove autofix

* fix lint extension and process cloud
2018-11-29 15:04:12 +00:00
davidcanonieto
1a21f234b6 [ADF-3746] Add style lint rules (#3975)
* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
2018-11-28 14:43:18 +00:00
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
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
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
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
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
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
Eugenio Romano
8f407a4f93 reload document list after successfully edit node 2018-08-14 15:43:00 +01:00