652 Commits

Author SHA1 Message Date
Denys Vuika
be4978a91c [ADF-3880] fix header logo a11y (#4114)
* fix header logo a11y

* fix test
2019-01-10 13:43:47 +00:00
cristinaj
968c65ff70 [ADF-3885]Change auth host path in cloud e2e tests (#4123) 2019-01-10 13:42:23 +00:00
Denys Vuika
7dde329d81 [ADF-3874] icon component (#4112)
* adf-icon component

* demo shell example page

* add docs

* integration with thumbnail service
2019-01-08 16:31:55 +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
06e45bb29e [ADF-3777] Add localization to About Page on Demo Shell (#4094) 2018-12-21 18:07:30 +00:00
Denys Vuika
b5f9036545 [ADF-3784] support for browser cultures (i18n) (#4066)
* support language cultures

* update docs

* fix typo

* fix tests

* correctly replace fallback translations

* login dialog fixes

* fix error component

* [denys-i18n-cultures] Fix error content unit tests
2018-12-20 16:41:56 +00:00
Eugenio Romano
ffd72b853f
fix peer-dependencies (#4080)
update codelyzer rules
2018-12-13 23:08:08 +00:00
Nicolas Barithel
411166605e Fix pageSize value fetch for infinite pagination (#4073)
- uses pageSize defined on the component or by the UserPreferencesService
if not defined
2018-12-13 14:20:20 +00:00
Maurizio Vitale
e241779f3a Fix process cloud page (#4075)
* Fix process cloud page

* Use FilterParamModel

* Rollback method

* Fix core unit test related to identity service

* Fix process filters cloud
Get user info from different keys

* Select the my-task filter in case the task has been created

* Add family_name and given_name to the jwt token
2018-12-12 15:43:57 +00:00
davidcanonieto
95260a7ca7 [ADF-3802] Default ascending order fix (#4070) 2018-12-12 10:58:30 +00:00
davidcanonieto
b113ad83f1 [ADF-3124] Fix overflowing text on file info dialog values (#4058) 2018-12-12 10:54:40 +00:00
Maurizio Vitale
276e40e4bb [ADF-3790] Fix core coverage (#4011)
* Fix core coverage

* Fix karma path
2018-12-11 17:17:08 +00:00
davidcanonieto
4302cfbd04 [ADF-3815] Fix image render on Viewer Component for IE 11 (#4067) 2018-12-10 16:55:05 +00:00
davidcanonieto
0eb9bb2a3e [ADF-3777] Add localization for About Component (#4059) 2018-12-07 09:53:27 +00:00
Denys Vuika
220930d27b [ADF-3351] angular 7 (#3956)
* upgrade Angular CLI

* upgrade material and fix breaking changes

* upgrade lib dependencies

* upgrade i18n

* update test

* disable flaky tests

* try fix notification test

* update package-lock

* code and dependency fixes

* card view e2e fixes

* udpate e2e tests

* fix e2e utils

* updated e2e typings

* test fixes

* notification fixes

* update tests
2018-12-07 09:16:21 +00:00
davidcanonieto
7340fce205 [ADF-3814] Fix PDF file not centered on PDF Viewer (#4055) 2018-12-05 19:15:34 +00:00
Vito
fead152ca2 [ADF-3220] fixed icon change when multiselection is enabled (#4033) 2018-12-05 16:48:32 +00:00
davidcanonieto
7197e1e13a [ADF-1443] Refactor Download directive (#4028)
* [ADF-1443] Refactor Download directive

* [ADF-1443] Node Download Directive now accepts single node and an array as input

* [ADF-1443] Fix Unit tests

* [ADF-1443] Fix unit test related to viewer component
2018-12-05 16:39:21 +00:00
Andy Stark
81c84074ec [ADF-3806] Updated Search Service docs (#4044) 2018-12-05 14:33:21 +00:00
samuelengelen
9881e52873 [ADF-3716] Add filterWithContains configuration option for SearchFilt… (#4017)
* [ADF-3716] Add filterWithContains configuration option for SearchFilterComponent

* [ADF-3716] Add unit test and modify translationMock
2018-12-05 14:25:57 +00: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
Deepak Paul
2f0f33643b [ADF-3540] Start Task Cloud by cli (#3954)
* [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

* 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

* Fix process service cloud path

* Remove useless file

* [ADF-3540] Start Task Component APS2

* Generated startTaskCloudModule
* Generated start-task-cloud  component by cli
* Used  start-task-cloud in the demo shell

* * Added FormModule instead of  CoreModule
* Added StartTaskTestingModule
* Refactored startTaskCloud Component

* * Used FlexLayout
* Used Keylock api to fetch users
* Removed all css
* Refactored start-task-cloud component
* Removed form field from the starttask form
* Created UsedCloud model
* Added unit test to the recent changes
* Added mock objects

* * Added  unit test to the startTaskCloud component

* * Added documentation about startTaskCLoud component
* Changed runtimeBundle to appName
* Changed defaultTaskName to name

* * Generated people-cloud component
* Created initialUserName pipe

* * Fetching roles by userId
* Filtering Users with required roles
* Removed duplicates
* Generated initial-user-name pipe
* Generated people-cloud component
* Created roleCloud module

* * Rebased with development branch
* Created start-task-cloud-demo component in the demo-shell

* * Added unit tests to the start-task-cloud service
* Added unit test to the people-cloud component and userInitail pipe
* Updated start-task unit tests to the recent changes
* Created mock data

* * Updated people-cloud component with  error message* Updated unit tests

* * Included StartTaskCloud component in the demoShell* Created startTask demo component* Added create task button in the tasklist demo component

* * Added lodash

* * Fixed lodash import

* Add the start task into the cloud demo

* Fix the lodash import and @type

* Show the My task once the task has been created

* first change

* [ADF-3540] Improved start task component

* [ADF-3540] Fixed expression changed error

* [ADF-3540] Refactored code

* [ADF-3540] Fix lodash import error

* [ADF-3540] Remove lodash dependency

* [ADF-3540] Refatored code

* tmp

* [ADF-3540] Show/Hide current user as part of list

* [ADF-3340] Assign new task to current user when no assignee selected

* [ADF-3540] Rebased the latest changes

* [ADF-3540] Refactored code

* [ADF-3540] Improved user search logic for people component

* [ADF-3540] Moved user services to Core module

* [ADF-3540] Modified translation keys

* Add process-services-cloud into the license rule

* Fix wrong import for prod build

* Add license header

* Fix unit tests

* Fix proxy karma for content

* Fix proxy karma for process services

* Fix proxy karma for process cloud
2018-11-29 14:36:51 +00:00
Vito
13f049b671 [ADF-3256] added quote to handle special characters for query search (#4025) 2018-11-28 17:36:16 +00:00
siva kumar
b5c693fe79 [ADF-3791] [User Info] - SSO - User Info displays only the First Name* Fixed display fullname * Updated unit test for the recent changes (#4022) 2018-11-28 15:25:31 +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
Vito
8a09d0db6a [ADF-3615] created a pipe to replace empty space in strings with a special character (#4005) 2018-11-26 16:15:50 +00:00
Deepak Paul
74851ac651 [ADF-3540] Start Task Cloud by cli - Core module changes (#4006)
* [ADF-3540] Added username and id to the usermodel

* [ADF-3540] Added tests
2018-11-23 09:31:55 +00:00
Eugenio Romano
34a30c0f14
tslint arrow-parens rule (#4003) 2018-11-23 01:06:56 +00:00
Vito
51bb6a420f [ADF-3604] fixed style for login dialog (#3996)
* [ADF-3604] fixed style for login dialog

* [ADF-3604] removed duplicated voice in tsconfig

* [ADF-3604] fixed locator for css style
2018-11-22 17:20:18 +00:00
siva kumar
974929e76d [ADF-3666] User Profile - Provide a way to show SSO Logged-In User (#3976)
* * Created IdentityUserService
* Created IdentityUserModel
* Added JWT lib into package.json

* * Provided a way to show SSO user info

* * Added  condition to check sso login

* * Refactored userInfo component* Updated unit tests to the recent changes

* * Created IdenityUser model
* Refactored userInfoComponent

* * Modified userInfoComponent
* Modified unit tests

* * Used Fullname pipe* Removed the logic that we had to display fullname in the ecm/bpm/identity model* Created JwtHelperService* Modified ecm/bpm services * added test cases to the identity service

* * Moved jwt service to core/service

* * Updated userInfo doc

* * Added missing return types

* * Created a mockToken* Added unit tests to the JwtHelperService* Updated identityUserService unit test

* Update jwt-helper.service.spec.ts

* * Updated bpm/ecm/identity services
2018-11-22 10:03:19 +00:00
Vito
539850612e [ADF-3354] removed the adf-accordion component to use material accordion (#3980)
* [ADF-3354] removed the adf-accordion component to use material accordion

* [ADF-3354] fixed default opened state for the accordion

* [ADF-3354] fixed locator for new accordion menu
2018-11-21 12:34:45 +00:00
Andy Stark
0a394869f5 [ADF-3745] Updates for doc review (20-11-2018) (#3992) 2018-11-21 11:19:56 +00:00
Andy Stark
383b74151a [ADF-3745] Updates for doc review (#3989) 2018-11-20 02:03:20 +00:00
Vito
2fcec4f235 [ADF-3606] added extra icon for special folders and fixed link navigation folder (#3960)
* [ADF-3606] added extra icon for special folders

* [ADF-3606] changed icons and added tests

* [ADF-3606] added navigation via linked folder

* [ADF-3606] fixed problem in test

* [ADF-3606] added extra documentation

* [ADF-3606] fixed problem with folderchange event
2018-11-19 12:29:26 +00:00
Vito
465e55acb5 [ADF-3719] added rendition when creating a shared link (#3968)
* [ADF-3719] i
nserted rendition generation for shared link nodes

* [ADF-3719] added rendition when creating a shared link

* [ADF-3719] added fake parameter to subscribe
2018-11-15 14:41:17 +00:00
Andy Stark
54cbd210a1 [ADF-3745] Updates for doc review (#3970)
* [ADF-3745] Updated tutorial text

* [ADF-3745] Updates for doc review
2018-11-14 19:43:23 +00:00
Andy Stark
7b3f400c48 [ADF-3745] Updates for doc review (#3965) 2018-11-14 14:23:14 +00:00
Andy Stark
aab19708a2 [ADF-3745] Doc review updates (#3957)
* [ADF-3745] Updates for doc review

* [ADF-3745] Corrected title for process list cloud doc page
2018-11-12 11:52:31 +00:00
davidcanonieto
21f155e285 [ADF-3655] Fix styles on date, date-time and people widgets (#3951)
* [ADF-3655] Fix layout issue on IE 11

* [ADF-3655] Fix styles on date, date-time and people widgets

* [ADF-3655] Fix styles on date, date-time and people widgets
2018-11-09 10:21:28 +00:00
Maurizio Vitale
0ee592607a Add fullName pipe and change example (#3946) 2018-11-07 19:26:13 +00:00
Eugenio Romano
23022d6ca7
Update ADF packages version 2.7.0-beta5 (#3941) 2018-11-02 23:13:43 +00:00
Popovics András
daf7c50a19 Fixing typescript compilation error to work together with AMA (#3938) 2018-11-02 09:53:15 +00:00
davidcanonieto
a358a81132 [ADF-3655] Fix layout issue on IE 11 (#3924) 2018-10-29 14:44:47 +00:00
Eugenio Romano
b37e37497d
Update ADF packages version 2.7.0-beta4 (#3926) 2018-10-28 19:19:18 +00:00
davidcanonieto
b630869f6c [ADF-3561] Fix form action buttons translation (#3920)
* [ADF-3561] Fix form action buttons translation

* [ADF-3561] Fix unit test

* [ADF-3561] Change Key to complete form button in translation file
2018-10-26 14:45:05 +01:00
Maurizio Vitale
38f4916e06 [ADF-3538] [ADF-3547] Migration - Task Filters - Task List - New Process cloud page on demoshell (#3914)
* [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

* 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 process service cloud path

* [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

* [ADF-3538] generated task-list cloud by cli

* [ADF-3550] Added Task Filter Cloud component

* [ADF-3550] Task Filter Cloud component relocated

* [ADF-3538] rebased task list cloud 2.0

* [ADF-3538] fixed ng-package.json

* [ADF-3538] reverted worng changes

* [ADF-3538] removed wrong rebased files

* [ADF-3538] forcing update of app-list file

* [ADF-3538] wrong file after rebase removed

* [ADF-3538] wrong file after rebase fixe

* Merge the applist component with task list

* [ADF-3550] Added Task Filter Cloud component

* emit the event

* Add the route process cloud and fix the page issues

* fixed wrong pagination initialisation

* improved initialisation of page size

* removed unused import

* fixed tsconfig with double definition

* Use standard name for scss

* fix sorting issue and remove useless models

* Fix tslint

* Use 1 single testing module file

* [ADF-3538] [ADF-3547] Fix selected task filter and unit tests

* Fix unit tests and remove useless imports

* Uncomment unit tests

* Remove useless component

* Use main module instead of submodules

* Remove useless jsdoc and improve doc

* Remove useless jsdoc

* Remove useless interface

* remove AfterViewInit import

* remove js doc params
2018-10-26 14:39:06 +01:00
davidcanonieto
ee7af9d797 [ADF-3671] Add automation tests for Form Widgets (#3911)
* [ADF-3617] Fix bugs in Task Details Page controller

* [ADF-3617] Fix bugs in Task Page controller

* [ADF-3617] Separate in different describes automation tests

* [ADF-3671] start working on e2e form tests

* [ADF-3671] improved checks for form widgets

* [ADF-3671] start adding multiline text widget tsts

* [ADF-3671] added test for multiline and some improvements

* [ADF-3671] Add e2e tests for Dropdown, Date, Checkbox widgets

* [ADF-3671] Add e2e test for radio, number, hyperlink widgets

* [ADF-3671] Add automation tests for Form Widgets

* [ADF-3671] Update usage of Dropdown Widget

* [ADF-3671] Fix fileModel file and rename widget controles

* [ADF-3671] Rename Widget Controllers

* [ADF-3671] Remove unused imports and fix dynamic table e2e test

* [ADF-3671] Fix spell errors

* [ADF-3671] Fix people, date time, attach widget

* [ADF-3671] Fix Form People widget tests

* [ADF-3671] Rebase and remove unused variables
2018-10-26 14:03:13 +01:00
Denys Vuika
e39a2b149b [ADF-3591] spellcheck support for code (#3827)
* setup spellcheck
2018-10-23 15:05:38 +01:00
Denys Vuika
fee35c98df tree shaking support for services (#3906)
[ADF-3697] tree shaking support for services
2018-10-22 11:09:43 +01:00