Commit Graph
100 Commits
Author SHA1 Message Date
Maurizio Vitale 427b8737ee Fix default SSO config not filled in (#3479) 2018-06-13 12:49:52 +01:00
Maurizio Vitale 928340f65b Remove unused field (#3480) 2018-06-13 12:49:01 +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
Maurizio Vitale 3281891dcd Fix host component (#3463) 2018-06-08 14:20:30 +01:00
Maurizio Vitale 5485431202 [ADF-3156] App config default ALL (BPM and ECM) provider (#3460)
* Use as default provider ALL (BPM and ECM)

* Default host OAUTH
2018-06-08 11:34:41 +01: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
Maurizio Vitale ecd7c85de5 [ADF-2854] Fix demoshell task/process filter and routing (#3360)
* Fix demoshell task/process filter and routing

* Use the correct js api model

* Fix unit test
2018-05-23 13:14:27 +01:00
Maurizio Vitale 86f4c23afa [ADF-3065] TaskList component - Deprecate the processDefinitionKey (#3369)
* Deprecate the processDefinitionKey property.
remove unused tasklist code. It was needed with the old pagination component

* Remove nosense test

* Use adf version
2018-05-23 11:53:56 +01:00
Maurizio Vitale df0e530f27 [ADF-2985] Demo shell - Provide an easy way to test the security issue (#3354)
* Provide an easy way to test the security issue

* use logService
2018-05-23 00:50:24 +01:00
Maurizio Vitale 0ebd4c62e3 Only the username form control should be emitted (#3333) 2018-05-16 15:45:39 +01:00
Maurizio Vitale 3f9dc53722 Fix sidenav action icons (#3331) 2018-05-16 12:40:05 +01:00
Maurizio Vitale b7fc44d576 fix unit test (#3236) 2018-04-25 14:08:05 +01:00
Maurizio Vitale 1f72317e93 Fix form visibility related to the process variables (#3232) 2018-04-25 09:28:27 +01:00
Maurizio Vitale a32b1b7359 Remove wrong process service import and use the content service (#3162) 2018-04-10 15:36:25 +01:00
Maurizio Vitale 24b3972d84 [ADF-2609] Add the contextRootBPM and contextRootECM to the schema validator (#3146) 2018-04-06 07:05:16 +01:00
Maurizio Vitale 9792f83c9b Provide a way to change the contextBpmRoot from the app.config file (#3144) 2018-04-05 14:13:28 +01:00
Maurizio Vitale 37561d1d27 [ADF-2289] Login with oauth2 provider (#2924)
* Fix oauth2 provider

* Add the schema validation

* Improve the login doc with provider "OAUTH"

* fix doc
2018-02-12 15:25:03 +00:00
Maurizio Vitale 0f6ac42e4c Process list implement pagination interface (#2872) 2018-02-03 18:22:05 +00:00
Maurizio Vitale f7229e39fb Remove app.config reference from doc (#2889) 2018-01-26 11:21:27 +00:00
Maurizio Vitale 657c28491a [ADF-2188] Start Process - Change processDefinition property and fix bug (#2884)
* Change processDefinition property and fix bug

* Fix unit test

* Fix async

* Fix id
2018-01-25 16:52:05 +00:00
Maurizio Vitale 21571b45e5 Fix margin top (#2875) 2018-01-24 12:16:27 +00:00
Maurizio Vitale 8788eaeb80 remove processInstanceId reset (#2847) 2018-01-22 20:04:51 +00:00
Maurizio Vitale 28e9697604 Add @angular-devkit/core as dev dependency (#2853) 2018-01-19 14:09:15 +01:00
Maurizio Vitale e883f5c83d Rollback the upgrade libs (#2850) 2018-01-18 19:15:52 +00:00
Maurizio Vitale 3461749dc6 Fix default translation key (#2844) 2018-01-17 17:09:27 +00:00
Maurizio Vitale b932942983 Fix mobile media query (#2840) 2018-01-17 13:44:34 +00:00
Maurizio Vitale 3671c12f35 [ADF-2148] Update the angular and material libraries to the latest version (#2821)
* Update the angular and material library to the latest version
2018-01-16 00:10:50 +00:00
Maurizio Vitale 23c912989a Fix adf is not defined for customStencil (#2795) 2017-12-21 17:18:02 +01:00
Maurizio Vitale 14c81ca978 [ADF-2103] Info Drawer - Provide a way to select a different tab (#2788)
* Provide a way to select a different tab

* Fix the default value

* Override the value through the html
2017-12-18 12:11:23 +00:00
Maurizio Vitale 18dc0711f9 [ADF-1711] Task Attachment list - Fix the TaskService dependency (#2752)
* Fix the TaskService dependency

* Improve doc and remove unused dep
2017-11-29 12:06:52 +00:00
Maurizio Vitale 6fbda1919c [ADF-1711] Task Attachment list - fix custom template (#2748)
* fix custom template

* rollback change process attachment
2017-11-28 22:00:05 +00:00
Maurizio Vitale 6a24c6ef75 fix task dependency (#2643) 2017-11-14 12:54:28 +00:00
Maurizio Vitale 9608beba9f fix tasklist dependency (#2640) 2017-11-13 11:57:37 +00:00
Maurizio Vitale 7146ee51a2 Rollback background color. (#2609)
By default, toolbars use a neutral background color based on the current theme (light or dark). This can be changed to 'primary', 'accent', or 'warn'.
2017-11-06 13:00:04 +00:00
Maurizio Vitale 9ef4c8003b Fix production mode dependency (#2605) 2017-11-03 17:54:02 +00:00
Maurizio Vitale 189bc6513d Fix select current process (#2601) 2017-11-03 09:47:49 +00:00
Maurizio Vitale 5ca66bb75f Select the currentTask (#2598) 2017-11-02 15:30:23 +00:00
Maurizio Vitale 30ee40a4be Fetch the background color from the theme (#2592) 2017-11-02 11:14:14 +00:00
Maurizio Vitale 1a01b67e7c Fix accordion menu css (#2591) 2017-11-01 19:33:42 +00:00
Maurizio Vitale cb50ab7e6a [ADF-1822] Process header - Should show the businessKey property (#2549)
* Add the businessKey in the process header

* Add unit test
2017-10-26 14:28:07 +01:00
Maurizio Vitale 52bba291de [ADF-1819] Start task - Use the correct translation path (#2540)
* Use the correct translation path

* Fix start process component
2017-10-25 11:52:35 +01:00
Maurizio Vitale 6ce8a33d3b Add new keys (#2538)
Make the existing one more specific
2017-10-24 15:31:47 +01:00
Maurizio Vitale 2ec059f53a Add PROCESS_NAME key (#2539) 2017-10-24 15:22:03 +01:00
Maurizio Vitale c958d4a2fe Use the translation keys of task component (#2530) 2017-10-23 21:55:29 +01:00
Maurizio Vitale 4d9591c76c [ADF-1781] Task List - the default columns must be localisable (#2517)
* Rename processlist.component.ts to process-list.component.ts
Rename processlist.component.md to process-list.component.md

* Add a root scope ADF_TASK_LIST into the json file
Remove the hardcoded string from the component and use keys
Refactoring json structure
2017-10-20 16:44:29 +01:00
Maurizio Vitale 729270b138 [ADF-1782] Language menu - Fix typo (#2520)
* Rename processlist.component.ts to process-list.component.ts
Rename processlist.component.md to process-list.component.md

* Fix typo

* Fix typo
2017-10-20 16:43:08 +01:00
Maurizio Vitale c2cafaa648 [ADF-1768] Process list - The columns must be localisable (#2515)
* Rename processlist.component.ts to process-list.component.ts
Rename processlist.component.md to process-list.component.md

* Add a root scope ADF_PROCESS_LIST into the json file
Remove the hardcoded string from the component and use keys
Refactoring json structure

* Fix unit test
2017-10-20 16:36:57 +01:00
Maurizio Vitale 8963320f01 [ADF-1735] Rename tasklist.component.ts to task-list.component.ts (#2510)
* Rename tasklist.component.ts to task-list.component.ts
Rename tasklist.component.md to task-list.component.md

* Rollback change service name
2017-10-20 12:27:01 +01:00
Maurizio Vitale c3b948a1b7 Rename processlist.component.ts to process-list.component.ts (#2511)
Rename processlist.component.md to process-list.component.md
2017-10-20 12:26:49 +01:00
Maurizio Vitale d5cd38b7ee [ADF-1698] Task Info Drawer should be localizable (#2495)
* Card component should provide the localization

* Fix unit test
2017-10-18 19:21:18 +01:00
Maurizio Vitale 0bdd66e158 [ADF-1758] Remove the hardcoded work and add keys (#2499) 2017-10-18 19:15:21 +01:00
Maurizio Vitale 0c717fe9cc The translation service must be called at the beginning of the bootstrap (#2497)
* The translation service must be called at the beginning of the bootstrap

* Fix name
2017-10-18 17:32:39 +01:00
Maurizio Vitale ed36d08344 [ADF-1706] Translate ADF i18n strings into all supported languages (#2490)
* ALL LANGUAGES: This includes all ADF UI files localised into 10 languages as indicated in JIRA ADF-1706: Translate ADF i18n strings into all supported languages

* ITALIAN: Small amends to Italian strings as part of previous commit to complete ADF-1706

* Add multilanguages

* Load the languages from the app config file

* Fix it json

* Simplify the adf menu languages

* Removed unused code

* Basic documentation

* Fix unit test
2017-10-18 15:50:52 +01:00
Maurizio Vitale c6518dd6c5 Fix dev build (#2491) 2017-10-18 11:54:09 +01:00
Maurizio Vitale fa7f89c75f [ADF-1694] Datepicker should be localizable (#2471)
* Add locate as user preference property

* The datepicker should be localizable.
Save the locale as user preference
The app should get the default locale from the store or appcongif or Browser or en

* Fix build error

* Fix unit test date widget

* Needs more investigation

* Fix import UserPreference

* Rollback date format change
2017-10-17 14:12:07 +01:00
Maurizio Vitale 793432d89f [ADF-1695] Comment component - Fix the header key (#2462)
* Fix the comment header key

* Fix unit test

* Fix process comment
2017-10-16 12:21:13 +01:00
Maurizio Vitale 2fff4d038e Remove processDefinitionKey from Process Model (#2459) 2017-10-11 13:46:41 +01:00
Maurizio Vitale 2e0a6936aa ADF InfoDrawer the title and tabs label must be localized (#2454) 2017-10-11 10:10:25 +01:00
Maurizio Vitale 87ba3aac6e Change task/process on double click (#2439) 2017-10-05 17:49:01 +01:00
Maurizio Vitale 6d3c3316d9 Fix Form Service parseForm (#2440) 2017-10-05 17:13:02 +01:00
Maurizio Vitale 3f1383e412 [ADF-1640] Start form - Get the variables from the process instance API (#2425)
* Get the variables from the process instance API
/api/enterprise/process-instances/XXX
instead of
/api/enterprise/process-instances/382/variables
because the latest api returns 404 if the process is completed

* Fix unit test

* Add field id
2017-10-05 12:29:09 +01:00
Maurizio Vitale 80b6e15420 [ADF-1629] Fix check the visibility before render the form (#2423) 2017-10-04 14:09:56 +01:00
Maurizio Vitale 757128186c [ADF-1632] Task Header - The default parent name value should be None (#2409)
* The default parent name should be None

* Fix trim

* add js doc
2017-10-03 15:47:13 +01:00
Maurizio Vitale 55a999b492 Revert "Adding some responsiveness to demo shell app (#2408)" (#2410)
This reverts commit 6fa135faf3.
2017-10-03 11:54:31 +01:00
Maurizio Vitale ed14fe5f5f THe login component should check the minLength as default (#2407) 2017-10-02 22:42:01 +01:00
mauriziovitale84 1edf5623fc Fix dev build 2017-10-02 13:14:49 +01:00
Maurizio Vitale cf0b45acb6 Provide a multiselection property to select more than one row (#2389) 2017-09-29 17:07:41 +01:00
Maurizio Vitale e3ab50b4a1 [ADF-1595] Typeahead - Fetch the value from the process variables (#2388)
* Get the typeahead value from the process variables. We should not use the processDefinition to get again all the values

* Improve the dropdown widget
2017-09-28 15:22:26 +01:00
Maurizio Vitale e1573ddbde Fix dropdown should show the value in readonly mode (#2380) 2017-09-27 09:06:49 -04:00
Maurizio Vitale 17d0525c24 Fix check taskList exist (#2375) 2017-09-26 10:35:27 -04:00
Maurizio Vitale f6907a7a00 Fix call start form with processInstance instead of processDefinition (#2373) 2017-09-26 14:13:31 +01:00
Maurizio Vitale e8c9c209dc Save host only when apply (#2371)
[ADF-1581] Demo shell - Improve host setting configuration check
2017-09-25 22:13:45 +01:00
Maurizio Vitale 5cf61e319f Disable drag drop parent component (#2357) 2017-09-20 17:07:11 +01:00
Maurizio Vitale 77e75757a6 Fix start task form (#2356) 2017-09-20 14:59:35 +01:00
Maurizio Vitale 7a31a16178 Disable the attachment component when the task/process is completed (#2351) 2017-09-19 13:36:05 +01:00
Maurizio Vitale 7a26c1d53d [ADF-1521] Form string type is not rendered (#2318)
* Fix missing string widget and task list loading

* Update tasklist.component.ts

call initStream
2017-09-11 18:01:42 +02:00
Maurizio Vitale 7479bb1b6f [ADF-1537] Fix check property defined (#2320) 2017-09-11 16:34:45 +01:00
Maurizio Vitale 204ecd9842 Remove MDL from input field and use MD (#2289) 2017-09-05 15:16:41 +01:00
Maurizio Vitale cd5c8842f2 [ADF-1494] Processlist Filter - Fix padding (#2279)
* Fix processlist padding

* Move css in property above
2017-09-05 15:16:41 +01:00
Maurizio Vitale cbe7db7ed2 [ADF-1487] ADF checklist - fix mdl issue (#2274)
* fix mdl issue in the next release we should redesign this component

* Implement the correct interface
2017-09-05 15:16:41 +01:00
Maurizio Vitale acbba18e22 Fix demo shell pagination style (#2265)
Add missing properties about the pagination inside the tasklist readme
2017-09-05 15:16:41 +01:00
Maurizio Vitale 5d22e78bb7 [ADF-1309] Task List Pagination (#2255)
* Basic version

* Fix pagination errors

* Fix error on complete task

* Add error

* Fix unit test

* Remove the external paginator component

* Rollback unit test about error event
2017-09-05 15:16:41 +01:00
Maurizio Vitale 738074ef7c Rollback undescore change (#2237) 2017-09-05 15:16:41 +01:00
Maurizio Vitale 17e6b5eb42 ADF Theme Dev/Prod mode (#2236)
* Add undescore

* Move the scss logic from webpack common to dev/prod
Rollback the change about the color.scss name
2017-09-05 15:16:41 +01:00
Maurizio Vitale c168a88775 Add undescore (#2235) 2017-09-05 15:16:41 +01:00
Maurizio Vitale 4547fbdd99 bug fixes (#2233) 2017-09-05 15:16:41 +01:00
Maurizio Vitale a742e033d1 [ADF-1316] Add a new service assignByUserId (#2214) 2017-09-05 15:16:41 +01:00
Maurizio Vitale 426464a53c [ADF-1139] People search - Provide an API to reset the search (#2196)
* People search provide a way to reset the search

* Fix readme rules
2017-09-05 15:16:41 +01:00
Maurizio Vitale cfe6cacc8f Add process audit directive (#2188) 2017-09-05 15:16:41 +01:00
Maurizio Vitale abe5ed5a67 [ADF-1252] Create a different route for processes (#2171)
Change the current route for diagram process
2017-09-05 15:16:41 +01:00
Maurizio Vitale f50c9d8b5c Hide the task audit button when there is no taskId (#2172) 2017-09-05 15:16:41 +01:00
Maurizio Vitale 10b7bdbfaa Fix unit tests (#2173) 2017-09-05 15:16:41 +01:00
Maurizio Vitale cc192d7dc4 [ADF-1261] Task audit log directive (#2162)
* Create task audit directive

* Remove fit

* Add services

* Add adf-task-audit documentation
2017-09-05 15:16:41 +01:00
Maurizio Vitale 0cdeb3647c [ADF-1229] Task Filter - Wrong task filter is selected when a new task is created (#2147)
* Select the correct task filter after a new task is created

* Fix currentFilter
2017-08-01 11:25:32 +01:00
Maurizio Vitale 8ebd30c286 Reset the margin for the people component (#2148) 2017-08-01 11:25:32 +01:00
mauriziovitale84 ee4ada3e2b Reset the margin for the people component (reverted from commit 5a37d8566a) 2017-08-01 11:25:32 +01:00
mauriziovitale84 f2ea3c6315 Reset the margin for the people component 2017-08-01 11:25:32 +01:00
Maurizio Vitale 5b859193a0 Fix date css (#2142) 2017-08-01 11:25:32 +01:00
Maurizio Vitale 16149e8c55 Fix method name (#2135) 2017-08-01 11:25:32 +01:00
Maurizio Vitale df32a49c9e [ADF-1162] Form List - Fix the getForms service response (#2125)
* Fix the getForms service response

* Fix unit test
2017-08-01 11:25:32 +01:00