207 Commits

Author SHA1 Message Date
Eugenio Romano
34a30c0f14
tslint arrow-parens rule (#4003) 2018-11-23 01:06:56 +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
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
davidcanonieto
a358a81132 [ADF-3655] Fix layout issue on IE 11 (#3924) 2018-10-29 14:44:47 +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
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
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
Denys Vuika
f5a7b07370 [ADF-3593] remove rxjs-compat layer (#3886)
* remove rxjs-compat layer

* add rxjs linter

* observable new instead of create

* lint fixes

* disable rxjs-no-subject-value for certain scenarios

* fix auth rxjs
2018-10-16 19:45:00 +01:00
davidcanonieto
67785cba54 [ADF-3629] Fix involved user bug on People Widget (#3858) 2018-10-04 11:33:07 +01:00
Eugenio Romano
488ce948be
fix readonly form in complete task (#3857) 2018-10-03 19:01:02 +01:00
Eugenio Romano
e12c1f69e7 ADF-3641 Broken form layout for Involve people widget 2018-10-02 16:14:54 +01:00
Eugenio Romano
0051e26159 rollback dropdown editor modify 2018-09-26 15:45:07 +01:00
Andy Stark
431bde3ddf [ADF-3587] Fixed doc comment problems (#3822)
* [ADF-3587] Fixed missing docs for accessor properties

* [ADF-3587] Fixed badly formed doc comments with deprecated tag

* [ADF-3587] Fixed linting issue with doc comment
2018-09-25 21:45:16 +01:00
Eugenio Romano
9fe85419f5 fix test core 2018-09-23 01:42:45 +01:00
Eugenio Romano
bd5be8912f fix protractor report
fix validation
fix log deprecated
fix ADF-3576 Single required dropdown column dynamicgrid aps-form row editor not saving
2018-09-21 15:18:06 +01:00
davidcanonieto
bd4ac1b71d [ADF-3562] People Widget reactive form (#3805)
* [ADF-3562] People Widget reactive form

* [ADF-3382] Removed comment
2018-09-19 11:13:33 +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
Andy Stark
a7cdcbf7b9 [ADF-3551] Doc review updates (#3789)
* [ADF-3551] Updated docs plus minor ToC tool fix

* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs
2018-09-13 18:08:47 +01:00
bbcodrin
de9a053fc5 placeholder position fix (#3771) 2018-09-12 13:20:33 +01:00
Vito
4b6adfdb41 [ADF-3509] - added autoscroll for dynamic table widget (#3763) 2018-09-11 12:19:28 +01:00
Vito
04799f0c95 [ADF-3427] fixed wrong validation for dropdown widget and date widget (#3745)
* [ADF-3427] fixed wrong validation for dropdown widget and date widget

* [ADF-3427] fixed unit test
2018-09-10 14:47:35 +01:00
Denys Vuika
c0acc53eb9 [ADF-3501] PDF view fixes (#3735)
* PDF view fixes

* updated package.lock

* fix failing tests

* restore test

* use fake web worker for tests

* test fixes

* test fixes

* disable i18n test

* test fixes
2018-09-04 14:55:44 +01:00
Eugenio Romano
a94e76d45f exclude validators in readonly mode forms 2018-08-14 15:43:21 +01:00
bbcodrin
cacf93ad2f observable fix (#3692) 2018-08-14 15:43:13 +01:00
Denys Vuika
7ceee231bd viewer fixes for demo shell (#3686) 2018-08-14 15:43:06 +01:00
bbcodrin
ecd0ed6166 [ADF-3424] Start task - Object display instead of value for assignee (#3679)
* object input fix

* tests focus fix
2018-08-14 15:43:04 +01:00
Eugenio Romano
5e57b7f9d4 fix placeholder people 2018-08-14 15:43:01 +01:00
Eugenio Romano
f3755ddb08 fix placeholder align problem in form 2018-08-14 15:43:00 +01:00
Denys Vuika
f606149344 [ADF-3380] lazy loading fixes (#3609)
* lazy loading file viewer

* fix issue with CoreModule referencing

* fix issue with app config and lazy loading

* test fixes

* fix import

* lazy loading workaround for content module

* fix providers for lazy loading

* fix tests

* lazy loading for Process Services lib

* lazy loading for Insights, module cleanup

* fix issue with Translate module, optimise imports

* lazy-load blob viewer (demo shell)

* remove duplicate pdf init

* update to more stable pdfjs

* fix license header

* fix lint issues

* fix test import

* fix pdf version
2018-08-14 15:42:50 +01:00
Denys Vuika
6b24bfb1d4 [ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 (#3579)
* upgrade to HttpClient

* upgrade to Renderer2

* upgrade Document reference

* remove useless test with deprecated ReflectiveInjector

* upgrade to latest typescript

* upgrade libs

* upgrade package scripts

* remove rxjs blacklists and duplicate rules

* add rxjs compat to help with migration

* fix breaking changes

* fix breaking changes in material

* fix breaking changes (material 6)

* upgrade rxjs, ngx-translate and flex layout

* update unit tests

* restore providers

* upgrade deprecated Observable.error

* rebase
fix first configuration problems

* fix style issues commented

* fix core build

* fix lib template errors

* move lib test execution in angular.json

* ignore

* karma conf files

* fix import statement test

* single run option

* update packages reporter

* restore report

* increase timeout

* improve karma conf test configuration

* fix test issues about lint

* fix test analytics

* fix process service test

* content service fix test

* fix logout directive test

* fix core test

* fix build

* update node-sass to latest

* update angular cli dependencies

* improve build script

create directorites and move files only if previous command succeded

* upgrade individual libs to 6.0

* remove old webpack files

* revert sass change

* fix type issues
fix style issues

* fix tslint demo shell issue

* fix peerdependencies

* fix test e2e BC

* package upate

* fix style import issue

* extract-text-webpack-plugin beta

* fix test dist build command

* remove alpha js-api

* fix tslint issue
add banner tslint rule

* upload service fix

* change BC script

* fix test dist script

* increase demo shell timeout test

* verbose copy

* path absolute

* fix script bc

* fix copy part

* fix path warning
fix monaco editor

* remove duplicate header

* remove unused import

* fix align and check ago tests

* add missing import

* fix notification button selector

* [ANGULAR6] fixed core tests

* fix CS test

* fix cs test step 2

* increase travis_wait for dist

* fix attachment PS

* fix checklist test

* use pdf min
2018-08-14 15:42:43 +01:00
cristinaj
d056b3decd [ADF-3385] Implementing start task - test cases (#3613)
* Implementing start task - test cases

* Removed syntax error.

* Add data-automation-id for people widget.
2018-08-14 15:42:32 +01:00
Eugenio Romano
b2cb93468d [ADF-3259] [ADF-3363] e2e login and card metadata (#3612)
* remember me

* add login component e2e test

* add success route test

* add change logo check

* redirect url after logout e2e

* move redirection test in a separate file

* login component tslint

* cardview e2e

* fix login test

* add test case number

* move version test in a separate file

* clean unused elements

* metadata part 1

* tslint fix

* fix metadata test

* remove fit

* fix formatting file viewerPage

* multi propety test

* metadata and login improvements

* fix data automation fix

* metadata permission e2e

* fix tslint problems

* improve selector

* stabilize search component test

* stabilize test step 1

* fix tag test
add config timeout

* tentative

* delay after download

* change meatdata test

* stabilize metadata

* use smaller file for not extension related test

* stabilize test step 2

* exclude failing test

* timeout fix

* split in multiple task e2e

* trick travis

* trigger build

* fix command issue

* fix save screenshot

* fix run subfolder

* test timeout increase
2018-08-14 15:42:28 +01:00
Maurizio Vitale
0274088114 [ADF-3274] people widget instead of the people list (#3582)
* people list added

* tests added

* style fix

* Update start-task.component.ts

Use correct import

* Update people.widget.spec.ts

add the async

* peopleSelected test fixed
2018-08-14 15:42:27 +01:00
bbcodrin
d77463af97 header separator fix (#3535) 2018-08-14 15:42:04 +01:00
Vito
2759196cde [ADF-3268] added datetime widget for dynamic table (#3529) 2018-08-14 15:42:01 +01:00
Vito
61e2f257cf [ADF-3266] fixed style for amount widget (#3531) 2018-08-14 15:42:00 +01:00
Vito
f7aaafed86 [ADF-3267] changed true/false values showed with a readonly checkbox (#3524) 2018-08-14 15:42:00 +01:00
Vito
3e0e2609f7 [ADF-3248] fixed readonly status for people widget (#3512)
* [ADF-3248] fixed readonly status for people widget

* [ADF-3248] fixed test people widget

* [ADF-3248] added readonly test
2018-06-21 18:36:47 +01:00
bbcodrin
7dd462fb1a [ADF-3229] people widget list reseted if empty input (#3507)
* list reseted when input is empty

* test added
2018-06-20 13:08:46 +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
Vito
fc26eb42f3 [ADF-3123] removed default choice for the first radio button (#3462) 2018-06-08 14:10:32 +01:00
Vito
74ed04dc53 [ADF-fix date widget test] Fixing a randomly failing test (#3439) 2018-06-06 10:13:02 +02:00
bbcodrin
465a2d090d [ADF-2754] People component tests fixed and style improvement (#3414)
* tests fixed and style

* show people test fixed

* error message test fixed
2018-06-05 10:38:59 +01:00
Suzana Dirla
fd90fe69c9 [ADF-2698] Date and time Widget - UTC vs local time issue (#3393)
* [ADF-2698] Date and time Widget - UTC vs local time issue

* [ADF-2698] add unit test to check that the format for min and max values is correct

* [ADF-2698] test behavior
2018-05-31 14:47:19 +01:00
bbcodrin
a91fffff97 [ADF-2754] People Widget - Refactoring style and logic (#3349)
* observable logic added

* tests added & bug fixed

* onkeyup removed

* isValidUser method removed

* tslint fix

* test added

* comments fixed

* check if input value is string
2018-05-29 15:50:23 +01:00
Eugenio Romano
eb0f91c5db fix random test failing part 2 (#3395)
* fix random failing test core search/comment/auth/user

* fix node delete directive

* fix lint issues

* node restore fix

* fix comment test

* remove fdescribe

* fix tests and tslint

* fix upload test

* unsubscribe success event task test

* copy comment object during test

* use the data pipe performance improvement and standard usage

* uncomment random test

* fix comment date random failing test

* disposable unsubscribe

* fix start process

* remove fdescribe

* change start process test and remove commented code

* fix error event check double click

* clone object form test

* refactor date time test

* fix service mock

* fix test dropdown and context

* git hook lint

* fix language test

* unsubscribe documentlist event test

* fix disposable error

* fix console log service error document list

* unusbscribe search test

* clear input field

* remove wrong test
2018-05-29 10:18:17 +01:00
Vito
a2581417bd [ADF-2857] fixed message for date and date time widget (#3370) 2018-05-24 17:48:42 +02:00
Vito
86ec482843 [ADF-2999] readded form validation icon (#3367)
* [ADF-2999] readded form validation icon

* [ADF-2999] fixed broken test
2018-05-23 12:01:21 +01:00