762 Commits

Author SHA1 Message Date
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
Vito
3627116b7c [ADF-2460] fixed some translations (#3740) 2018-09-03 17:19:54 +01:00
Eugenio Romano
1ceb26dd4d 2.5.0 update version 2018-08-14 15:43:22 +01:00
Vito
9ac4dba207 [ADF-3473] added check for no form to not be showed when a form is attached and showed (#3699) 2018-08-14 15:43:20 +01:00
Eugenio Romano
3c7c3316bf [ADF-3473] Show complete button when you can't attach a form (#3695)
* ADF-3473 show complete button

* fix isCompletedTask case

* fix single run test option
2018-08-14 15:43:17 +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
Maurizio Vitale
8330ed2879 [ADF-3409] [ADF-3413] Standalone task - Attach/Remove forms bugs (#3670)
* Fix 3409 disable button logic
Fix 3413 change the formName based on selected form

* [ADF-3409] fixed missing import

* [ADF-3409] fixed Observable.of in of
2018-08-14 15:43:03 +01:00
davidcanonieto
6cf6c9c0e4 [ADF-3335] Task filter e2e tests (#3614)
* [ADF-3335] Automation Tests for Tasks Filter component

* [ADF-3335] Changed " for \'

* [ADF-3335] Solved style issues

* Update task_filters_component.e2e.ts

* [ADF-3335] Added missing parentheses

* [ADF-3335] Added missing bracket

* [ADF-3335] Improved data automation selectors
2018-08-14 15:42:54 +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
4d624d6d45 fix problems with rxjs imports 2018-08-14 15:42:48 +01:00
Vito
5f86ac52bf [ADF-3418] added new languages strings for translation (#3663)
* [ADF-3418] added new languages strings for translation

* [ADF-3418] fixed some missing translation key
2018-08-14 15:42:46 +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
Eugenio Romano
a12662e7e2 [ADF-3384] Create automated tests for Version Component (#3631)
* fix version component restore and delete event

* version manager actions

* fix test

* fix unit test

* remove fdescribe

* fix tslint

* fix screenshot rewrite problem

* remove fdescribe

* multi instance try

* remove fdescribe

* try uncomment some test

* error page

* fix user preferences pagiantion

* search page test include

* fix type tslint e2e

* restore code

* default lang momentadapter

* fix test

* [ADF-3384] removed console log from test

* [ADF-3384] adding some fixes for tests and code

* [ADF-3384] fixed some test and code
2018-08-14 15:42:42 +01:00
Maurizio Vitale
547c56aeef [ADF-3103] Added new inputs, columns and overall improvement to Task List Demo (#3653)
* Added columns, inputs and error message alert

* [ADF-3103] Fixed variable name typo

* Add basic documentation
2018-08-14 15:42:41 +01:00
bbcodrin
ca62616936 [ADF-3284] ProcessFilter - preselect filter param (#3637)
* preselect filter

* tests fix

* process filter refactor

* unit tests fix

* focus tests fix
2018-08-14 15:42:38 +01:00
Maurizio Vitale
ba0ddd5454 Fix failing unit test related to the double merge of ADF-3141 and ADF-3308 (#3642) 2018-08-14 15:42:38 +01:00
siva kumar
052a5ab049 [ADF-3141] ProcessList Enanchement (#3454)
* * Process list enhancements

* * Updated doc for the recent changes

* * After rebase

* * Require changes done
* after rebase
2018-08-14 15:42:37 +01:00
Deepak Paul
50e5e7a36a [ADF-3308] ProcessList Component - Provide a way to filter the list by fields (#3629)
* [ADF-3308] Removed name input added two inputs

* * [ADF-3308] Modified demo component

* [ADF-3367] Modified docs

* [ADF-3308] Added tests

* [ADF-3308] Deprecated processDefinitionKey property
2018-08-14 15:42:37 +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
855fdd8f48 [ADF-3308] Process list filter by fields (#3588)
* process list component created

* process list renamed

* routing fix
2018-08-14 15:42:27 +01:00
cristinaj
b015594de6 [ADF-3369] Add toggle for showHeaderContent property (#3603)
* Add toggle for showHeaderContent property

* Add tests for showHeaderContent property
2018-08-14 15:42:26 +01:00
bbcodrin
54380fd693 [ADF-3237] Change and remove form from a task (#3597)
* button added for task standalone

* rebase fixed

* review fix

* test added & fixes

* refresh task details

* change and remove form added

* localize & documentation work

* tests added

* tests fixes

* tests fixes
2018-08-14 15:42:25 +01:00
Eugenio Romano
b54ec57033 Update ADF packages version 2.5.0-beta2 (#3569) 2018-08-14 15:42:17 +01:00
bbcodrin
4ecea64e19 [ADF-3284] filterParam checking in onChanges (#3561)
* filterParam checking in onChanges

* test improvement
2018-08-14 15:42:13 +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
Eugenio Romano
d4ebfb462e Update ADF packages version 2.5.0-beta1 (#3547) 2018-08-14 15:42:05 +01:00
Vito
d7faaf51b9 [ADF-3281] - fixed error when user try to involve people (#3538)
* [ADF-3281] moved current user retrieving in the constructor

* [ADF-3281] moved current user retrieving in the constructor #2
2018-08-14 15:42:05 +01:00
bbcodrin
8dfd67e037 [ADF-2494] Task Standalone - Provide a way to attach a form (#3459)
* button added for task standalone

* attach form component added

* slide-toggle position fixed

* tests added

* rebase fixed

* review fix

* test added & fixes

* tests fixes

* refresh task details

* tests fixed

* attachFormToATask test added

* formPreview test fixed

* adf-form test fixed
2018-08-14 15:42:03 +01:00
Vito
119ebf635c [ADF-2876] retrieving user from APS api and not from js-api (#3426)
* [ADF-2876] retrieving user from APS api and not from js-api

* [ADF-2876] added support by checking externalId instead of email

* [ADF-2876] fixed auth service after rebase
2018-08-14 15:42:02 +01:00
Eugenio Romano
3063f739e3 bump 2.4.0 version 2018-08-14 15:41:57 +01:00
siva kumar
6584bc307e [ADF-3262] Remove avoidable css style from task/process list component (#3518) 2018-06-22 11:17:47 +01:00
Andy Stark
c1b12204f3 [ADF-3239] Fixed deprecated property descriptions (#3509)
* [ADF-3239] Changed deprecated properties to include full description

* [ADF-3239] Updated deprecated properties of affected doc files

* [ADF-3239] Fixed badly formatted doc comment in tasklist
2018-06-20 13:04:21 +01:00
Eugenio Romano
4d4a8d2864
Update ADF packages version 2.4.0-beta14 (#3493) 2018-06-15 16:36:47 +01:00
Vito
528d8e5855 [ADF-3196] fixed selection of first tasklist element (#3491)
* [ADF-3196] [Task list / Process list] - The 'Task details' are not displayed for the selected Task

* * After rebase

* [ADF-3196] fixed selection for fist element
2018-06-15 14:52:45 +01:00
davidcanonieto
a2f32e451b [ADF-3210] Typo People Search (#3487) 2018-06-15 08:33:04 +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
Vito
af2cde0791 [ADF-3196] fixed task selection and double click (#3484) 2018-06-14 16:42:28 +01:00
Eugenio Romano
c66573939f
Update ADF packages version 2.4.0-beta13 (#3475) 2018-06-13 08:19:10 +01:00
siva kumar
eda43aa9ae [ADF-3173] [Task List] - Empty list message is not translated (#3471)
* Added a missing translation keys.
2018-06-12 16:36:28 +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
Eugenio Romano
fd7bb49289 fix test 2018-06-08 01:22:11 +01: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
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
Vito
e988691d0a [ADF-3120] fixed sorting for tasklist and process list (#3435)
* [ADF-3120] fixed sorting for tasklist and process list

* [ADF-3120] removed commented code

* [ADF-3120] fixing another randomly failing test
2018-06-07 15:25:57 +02:00
camorra-skk
bbe0904447 [ADF-3132] TaskList empty state doesn't respect the specification (#3440) 2018-06-06 16:15:29 +01:00
camorra-skk
508308113c [ADF-3067] App-list Empty State. (#3432) 2018-06-06 09:54:43 +01:00
camorra-skk
4225bf5213 [ADF-3066] ProcessList Component - Empty State issue. (#3434) 2018-06-05 17:46:18 +02: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
davidcanonieto
ed1b30169a [ADF-2593] z-index fix for search bar (#3409)
* [ADF-2593]

* [ADF-2593] Removed unnecessary style attributes
2018-05-31 16:06:30 +02:00
camorra-skk
2bf82eeae2 [ADF-3041] - Task List Empty State Issue (#3408) 2018-05-30 12:29:24 +02:00