159 Commits

Author SHA1 Message Date
Denys Vuika
bf05b5df05 [ADF-1744] content projection for toolbar and info drawer (#2476)
* content projection for toolbar and info drawer

* unit tests
2017-10-16 18:21:07 +01:00
Eugenio Romano
fcb292c849 [ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12
update angular2 4.4.5

* fix changed version js-api

* update types hammerjs

* fix test

* clean old doc

* fix pagination test

* fix test

* missing update packages

* fix <mat-form-field> for select box

* start task component test
2017-10-16 09:58:19 +01:00
Eugenio Romano
a46cf4be64 [ADF-1724] Remove all log in favor of log service (#2465)
* remove console log from components

* remove console log from demo shell

* fix visibility issue

* fix error template

* remove console.log from spec

* fix tests

* fix test
2017-10-12 23:14:28 +01:00
Vito
45db903d49 [ADF-1663] refreshing process list when a task is completed (#2452)
* [ADF-1663] refreshing process list when a task is completed

* [ADF-1663] added check for process list
2017-10-11 10:57:09 +01:00
Vito
fcda2228fa [ADF-1679] added translation for form field validators (#2455)
* [ADF-1679] added translation for form field validators

* [ADF-1679] fixed typeahead test
2017-10-11 10:11:52 +01:00
Eugenio Romano
4617a3b1cf remove >>> in favor of ::ng-deep
fix license check
2017-10-09 15:51:07 +01:00
Eugenio Romano
70182c53aa [ADF-1685] tasklist is not loading after logout 2017-10-06 20:28:17 +01:00
Eugenio Romano
85a275d66a make comments always editable for process (#2447)
make comments editable only when there are users involved
2017-10-06 17:27:10 +01:00
Maurizio Vitale
87ba3aac6e Change task/process on double click (#2439) 2017-10-05 17:49:01 +01:00
Denys Vuika
e3fbe21340 [ADF-1634] floating toolbar for PDF viewer (#2413)
* floating toolbar for PDF viewer

* use routing settings to toggle app menu

* remove dialog viewer

* remove duplicate menu
2017-10-04 09:57:35 +01:00
Denys Vuika
93a87af4a5 [ADF-1623] routing integration for Viewer (#2404)
* routed viewer (demo app)

* toolbar support

* app menu component for demo shell

* navigate back button

* fix unit tests

* improve viewer type detection and rendering

* download button

* automatic pdf rendition, spinners, ui tweaks

* border for pdf pages

* scroll top support

* docs update

* info drawer placeholder
2017-10-03 11:57:23 +01:00
mauriziovitale84
1edf5623fc Fix dev build 2017-10-02 13:14:49 +01:00
Popovics András
e9766a6090 Fix running process issue (#2391) 2017-09-28 14:17:00 -04:00
Popovics András
092528db4f Show missing list after starting a process (#2379) 2017-09-27 08:24:58 -04:00
Maurizio Vitale
17d0525c24 Fix check taskList exist (#2375) 2017-09-26 10:35:27 -04:00
Maurizio Vitale
5cf61e319f Disable drag drop parent component (#2357) 2017-09-20 17:07:11 +01:00
Maurizio Vitale
7a31a16178 Disable the attachment component when the task/process is completed (#2351) 2017-09-19 13:36:05 +01:00
Eugenio Romano
3c1729b960 [ADF-1518] Update material2 beta 10 and angular 4.3.6 (#2304)
* ignore pkg lock

* update pkg json

* date picker update material beta.10

* isDateInstance moment adapter

* style and  datepicker update material2 beta 10

* update test dateitem to beta10

* regenerate style files

* use material icons web font

* fix data range material 2 beta 10

* minors cleaning

* recreate styles

* remove unused componentHandler var

* fix failing test checkbox
2017-09-15 11:39:27 +01:00
Eugenio Romano
5c7ccb9b83 fix toolbar and page port view for size in small devices (#2338)
remove old alfresco and activiti prefix
fix login toggle mobile devices
2017-09-14 19:53:46 +01:00
Eugenio Romano
d1d3e02c33 disable upload content for completed task (#2332)
use primary color for upload button in proccess attachment and task attachment
2017-09-13 18:22:30 +01:00
Popovics András
1f4b1231c6 Fix minimal responsiveness of demo app's activiti section (#2324) 2017-09-12 14:10:16 +01:00
Denys Vuika
a8dfbeb572 [ADF-1090] support custom dynamic table row validation (#2308)
* support custom dynamic table row validation

* test fixes

* export missing models
2017-09-08 08:46:29 +02:00
Popovics András
f6bee14f30 Remove MDL from demo shell (#2302) 2017-09-06 16:39:41 +02:00
Eugenio Romano
7ba63d7182 fix minor theming issues (#2294) 2017-09-05 15:16:41 +01:00
Eugenio Romano
2cd3c9c233 clean form name in task header only when change task id (#2291) 2017-09-05 15:16:41 +01:00
Vito
53d8aa4a6f [ADF-1442] added selectedIndex managing for tab group on activiti demo (#2275)
* [ADF-1442] added selectedIndex managing for tab group on activiti demo

* [ADF-1442] removed old tab click managing
2017-09-05 15:16:41 +01:00
Deepak Paul
d3602a16b1 [ADF-1480] Padding is missing from Task List (#2269)
* Fixed padding
* Migrated from mdl to md
* Removed additonal styles from demo-shell
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
Vito
58c298fc25 [ADF-1381] improving the style for form reflecting UX spec (#2256)
* [ADF-1381] improving the style for form reflecting UX spec

* [ADF-1381] fix error message icon

* [ADF-1381] added more spec details to form widgets

* [ADF-1381] fixed wrong check

* [ADF-1381] removed wrong added deep into scss

* [ADF-1381] applied changes due the peer review

* [ADF-1381] missed whitespace
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
Popovics András
e852856a24 [ADF-1435] Info drawer (#2249)
* First version of adf-info-drawer with design make-ups for task details page

* Moving tabbing functionality into adf-info-drawer

* Update documentation
2017-09-05 15:16:41 +01:00
Maurizio Vitale
4547fbdd99 bug fixes (#2233) 2017-09-05 15:16:41 +01:00
Eugenio Romano
d4e64ac438 [ADF-1434] Theming ADF component (#2228)
* start custom theming adf

* demo shell cleaning

* login mdl cleaning

* uploader mdl cleaning

* prebuilt themes

* theme picker in demo shell

* clean custom colors and mdl

* fix rebase errors

* theming from color style guide

* dev default theme orange purple

* fix color accent inverted in picker

* fix test and add colors classes

* fix tag component theming issues

* fix datatable theming

* add theming guides
2017-09-05 15:16:41 +01:00
Eugenio Romano
4e4c22389c [ADF-1052] remove mdl tab (#2213) 2017-09-05 15:16:41 +01:00
Infad Kachancheri
5ad4fe171a [ADF-1088] Task Header in TaskDetails component shows Assignee but is not editable (#2176)
* added translate keyword for assignee header

* changed people-search component to change the header according to filter type

* changed tash-header component to make assignee clickable

* imlemented people-search component to assign the task to new user

* added handler for assign task to new user

* added testcase for assign task to user

* changed mdl textbox to angular material

* changed button to md and fixed issues in testcase after changed md

* changed property for people-search component

* added ng-content selector to pass header text and action button text  and removed property from people-search component

* added no_error_schema to fix testcase issue in people component

* fixed no-task-details component test case bug

* added people-search component in read me
2017-09-05 15:16:41 +01:00
Maurizio Vitale
cfe6cacc8f Add process audit directive (#2188) 2017-09-05 15:16:41 +01:00
Denys Vuika
3d65b49af7 [ADF-1312] form validation enhancements (#2180)
* validation api enhancements

- changing 'required' causes re-validation of the form
- get field by id

* allow binding field validators from html

* demo validator

* documentation updates

* fix after rebase

* markdown fixes

* markdown linter settings for workspace config (vs code)

* restore material theme
2017-09-05 15:16:41 +01:00
Denys Vuika
a570e480a9 fix build 2017-09-05 15:16:41 +01:00
Denys Vuika
2fe81ceeae fix demo shell issues (lint) 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
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
siva kumar
54779cb38c [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked (#2133)
* [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked.

* Added Start task/process cancel emitter handler to redirect when user clicks on cancel start/process .

* [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked.

* Changed activiti-start-task to adf-start-task
* Changed onSuccess to success and Updated     document.

* [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked

* Refactored  start task component unit testcases
2017-08-01 11:25:32 +01:00
Deepak Paul
896149acd8 [ADF-1149] 'Remove' involved people of a task button is displayed behind the dialog (#2130)
* Removed mdl dialogs for comments and people
* Removed list-column CSS class from activiti-demo component to show tasks/process list and details in the same row on low resolution screens
2017-08-01 11:25:32 +01:00
Maurizio Vitale
6bde12f770 Move the adf start task component in a different zone (#2099) 2017-08-01 11:25:32 +01:00
Eugenio Romano
a8eac42c05 [ADF-1103] Add custom tslint rules to avoid unwanted Class and File name prefix (#2087)
* custom tslint rules adf project name files

* filename and class prefix rule

* filename process service mock

* fix spec filename

* fix demo shell

* rename mock

* alias deprecated name class

* core rename services

* fix pacakge.json adf-rules

* add exclude in whitelist
2017-08-01 11:25:32 +01:00
Eugenio Romano
8cdb276dc4 [ADF-864] codelyzer form component (#2076) 2017-08-01 11:25:32 +01:00
Maurizio Vitale
8a509e3c31 [ADF-971] Create task/process attachment should show the new button (#2069)
* Remove the drag and drop
Change the design button
Fix the Event with the name inside the Readme

* Fix unit test

* Rollback id button
2017-08-01 11:25:32 +01:00
Maurizio Vitale
50fef106a8 [ADF-1045] Process Attachments List - Improve the component (#2067)
* Create two different ProcessUpload service on for task one for process because the API are different
Move the attachment task list and process list in different component outside the activiti demo component

* Move the create task/process attachment in the child component
2017-08-01 11:25:32 +01:00
Maurizio Vitale
183dd3c990 [ADF-1002] Move the UploadService from the upload to core component and share it with the Process service (#2055)
* use the same upload component between the content and process service

* Create a BaseUploadServe inside the core
The AlfrescoUpload should extend the BaseUpload

* Improve the code

* Move the process service from the demo shell to form component

* Merge [ADF-917] added exlcluded files into app config to prevent special files

* Remove typo

* Fix import

* Fix FileModel import

* Fix Denys comment

* Fix unit test with the new path of UploadService

* Add missing implementation
2017-08-01 11:25:32 +01:00