Commit Graph

84 Commits

Author SHA1 Message Date
Eugenio Romano
8b93c0b5ed [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-07-15 21:59:31 +01:00
Eugenio Romano
b851b41544 [ADF-864] codelyzer form component (#2076) 2017-07-12 20:53:07 +01:00
Maurizio Vitale
1801c9ff0f [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-07-11 10:21:04 +01:00
Maurizio Vitale
990865a701 [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-07-07 15:58:59 +01:00
Eugenio Romano
f66178d601 [ADF-843] Form events bus (#1990)
* form events bus

* event test bus fix

* fix test after code review

* fix types errors

* change to public formservice

* make optional formservice
2017-06-29 15:09:24 +01:00
Maurizio Vitale
f5b94e1bb4 Disable upload attachment when the task is completed (#1987) 2017-06-29 15:09:19 +01:00
Vito
ab57b6fcd1 [ADF-740] Add button for process attachment list (#1955)
* [ADF-740] adding button to allow user to upload related content on process instance

* [ADF-740] add button for attachment content list for process

* changed locatin for translation

* [ADF-740] added test for add button for process attach

* [ADF-740] added PR request changes
2017-06-29 15:09:14 +01:00
Maurizio Vitale
33d5f66bd7 [ADF-741] Add the create task attachment component to the demo shell (#1946)
* Add the create task attachment component to the demo shell

* Add translation keys

* Add return to methods
2017-06-29 15:09:12 +01:00
Maurizio Vitale
9b7588cf11 ADF-402 add the show diagram button (#1917) 2017-06-29 15:09:05 +01:00
Vito
6e3e3ab5b7 [ADF-242] Fixed behaviour for saving/deleting reports (#1905)
* [ADF-242] - fix for deleting - saving a report

* [ADF - 242] added test for fixed feature on reports save - delete

* Added translation key
2017-06-29 15:09:04 +01:00
Maurizio Vitale
a90423aa21 [ADF-491] Task Attachment List Component (#1877)
* Create a new component Task Attachment List
Improve the datatable to get the rows to show

* The component name should follow the guide style
Move the Content calls in a different service file
Show the attach file inside the viewer

* Change method name

* Datatable should get the path and show the icon

* Improve attachment component

* Improve datatable documentation

* Remove console.log
2017-05-25 15:12:51 +01:00
Maurizio Vitale
e09d317d1e [ADF-242] Select the first in the list when the report is deleted (#1862)
* ADF-242 Select the first in the list when the report is deleted

* Update README.md
2017-05-25 15:12:48 +01:00
Vito
4bee113e36 #1426 - Checklist task delete action (#1812)
* #1426 - added remove checklist feature on task details
* #1426 - Improved test for tasklist service
* 426 - added component test for deleting a checklist
2017-04-27 14:05:07 +01:00
Denys Vuika
73b1ed6040 demo app improvements (#1796)
- fix navigation within process details
- fix ‘create task’ button name (was ‘start task’ previously)
- put ‘create task’ and ‘start process’ buttons to proper places in
layout
2017-03-31 15:44:54 +01:00
Vito
4ef560e7f5 #1517 - ADF-163 - Fixed wrong behaviour when task is created on the s… (#1785)
* #1517 - ADF-163 - Fixed wrong behaviour when task is created on the same selected filter

* 1517 - removed consecutives blank lines
2017-03-30 09:16:52 +01:00
Eugenio Romano
3a300c20d4 Minification fix #1693 (#1782) 2017-03-28 20:47:57 +01:00
Maurizio Vitale
fde08bb573 Integration beetwen Viewer and Activiti Content (#1765)
* Provide a FormService event when you click on the uploaded content

* Add a formContentClick event to the Form component

* Provide a way to pass Blob to viewer

* Provide a way to use the viewer using a Blob
 - Fix the pdf viewer
 - Fix the image viewer
 - Fix the media viewer

* Update the viewer documentation

* Use the ContentService provided by the core

* Fix and improve unit test

* Add unit test blob viewer
2017-03-27 14:33:07 +01:00
Vito
8132f79e97 #1517 - Added new behaviour when user create a new task (#1769)
* #1517 - added search task into filters by id feature

* #1517 - added test for tasklist service

* #1517 - Added test for filter component
2017-03-27 14:32:22 +01:00
Denys Vuika
f3de023ab3 extra DOM events for DataTable (#1723)
* extra DOM events for DataTable

- support for ‘row-click’ DOM event (bubbling)
- support for ‘row-dblclick’ DOM event (bubbling)
- DataRowEvent exposes ‘sender’ property to simplify access to
component from within handlers
- readme and test updates

* fix unit tests
2017-03-14 10:17:33 +00:00
Denys Vuika
57557a991e support for column definitions in html (#1705)
* support for column definitions in html

- provides generic support for html-based column definitions for
datatable-like controls

* html column definitions for Task List component

* html column definitions for Document List component

* update code and documentation
2017-03-13 11:05:52 +00:00
Eugenio Romano
12abac0339 add tslint in demo shell #1641 (#1642) 2017-02-20 14:23:01 +00:00
Vito
8bb00fdd00 #1184 - Added option to reports : Save, Delete and Export to CSV (#1600)
* #1184 - adding save export and delete to report

* #1184 - added save button for report

* #1184 - improved export file

* 1184 - fix condition for save and export button

* #1184 - added custom validator for dropdown to avoid wrong selection

* #1184 -start fixing form model

* #1184 - added dynamic build for formBuilder

* #1184 - rebased to development

* #1184 - little test refactoring

* #1184 - added test and some fix

* #1184 - added new events

* #1184 - removed old changes to api service
2017-02-07 15:21:03 +00:00
Denys Vuika
bd485c730f basic form events hooks and readme updates (#1528)
* basic form events hooks

FormService now exposes the following events:

- formLoaded (formRendered alternative)
- formFieldValueChanged
- taskCompleted
- taskCompletedError
- taskSaved
- taskSavedError

* readme updates
2017-01-25 10:44:41 +00:00
Will Abson
82603bbfef Display process instance details after Start Process (#1525)
Refs #1332
2017-01-24 00:53:25 +00:00
Vito
0fd45a2f88 #1431 - fix tasklist on click process task detail (#1492)
* #1431 - fix tasklist on click process task detail

* Update form-viewer.component.html

#1431 - removed wrong change on form-viewer
2017-01-17 15:00:37 +00:00
Will Abson
c6126b6be1 Hide the process list when starting and after started new process (#1470)
- Ensures that the newly-started process is *always* shown
- No need to reload the list any more as not shown
- Filter component shows no selected filter when starting process
- User can exit Start Process by clicking a filter again

Refs #1332, #1307
2017-01-16 03:53:18 -08:00
Will Abson
0afcc29e37 Load process definitions for Tasks app (#1459)
Refs #1416
2017-01-13 16:57:35 +00:00
Will Abson
6658630eea Process filters should use own model class not task filter (#1458)
Refs #1422
2017-01-13 16:56:35 +00:00
Vito
98523a8fc1 #1431 - reload tasklist when user click on task (#1456) 2017-01-13 12:47:54 +00:00
Vito
9e0536bca9 #1259 - checklist task does not appear on tasklist after creation (#1435)
* #1259 - refresh tasklist when checklist is added

* #1259 - updated readme to reflect changes

* #1259 - fixed wrong rebase import
2017-01-11 14:32:17 +00:00
Denys Vuika
885e0e85aa process details improvements (#1408)
* process details improvements

- new: redirect to task instead of opening a dialog (Activiti parity)
- fixed: task headers for nameless tasks
- fixed: cursor style for task list items
- new: stub for ng-1 directive api (Activiti stencils)
- code cleanup

* error handling fixes
2017-01-09 12:57:03 +00:00
Will Abson
94f11a1aae Set default sorting of processes based on started date
Refs #1307
2017-01-04 19:49:24 +00:00
Mario Romano
11894a9769 Dev mromano improveprocess (#1334)
* fix overload activiti

* fix reload tasklist

* fix process variables

* fix default filter

* improve process list

* fix tests process

* fix tests

* Fix test for form

* fix tests

* fix tests

* #fix activiti bug

* #fix activiti bug (reverted from commit c966395ed1087e1dedaf0af0923a89ba99d6ab9f)

* fix tests

* #fix header test bug

* fix tests

* fix process

* fix tests
2016-12-20 09:37:56 +00:00
Mario Romano
b4b008416c Merge pull request #1267 from Alfresco/dev-mvitale-1174
Report rename
2016-12-14 17:06:35 +00:00
Denys Vuika
394e5bec6c fix blocking issue with bpm controllers 2016-12-14 15:34:12 +00:00
mauriziovitale84
8bfa71bc48 #1174 Refresh the report list after edit report title 2016-12-14 15:14:37 +00:00
Mario Romano
8d619da667 #1146 load right filter on create task (#1250) 2016-12-13 22:53:49 +00:00
Mario Romano
6c7e28a83f #1176 improve responsiveness task list and process list (#1235) 2016-12-13 15:32:31 +00:00
Mario Romano
8e9cab657a #1157 reload process list (#1238) 2016-12-13 14:36:07 +00:00
Mario Romano
d7e6f08448 Merge pull request #1210 from Alfresco/dev-denys-webpack
Webpack integration
2016-12-09 17:07:03 +00:00
Denys Vuika
c7167bb812 basic webpack setup 2016-12-06 15:39:22 +00:00
Will Abson
72fc9a0b5d Add process variables component to demo app
Refs #775
2016-12-05 12:32:22 +00:00
Denys Vuika
294f7c0ec1 #1190 routing improvements, bug fixes (#1193)
- split apps view and single app view to reflect Activiti UI
- dedicated route for each app tasks: /activiti/apps/:appId/tasks
- remove performance bottleneck for activiti demo (AfterViewChecked)
- load stencil controllers together with Tasks view (fixes #1190)
2016-12-01 16:27:07 +00:00
Will Abson
87412a4590 Do not reload process instances in list after starting new instance
Refs #1048
2016-11-25 19:09:06 +00:00
Will Abson
a6a5400956 Move Start Process form into Process List view
Refs #1048
2016-11-25 19:09:06 +00:00
Will Abson
8a85c69256 Add plain button to allow navigation from Processes screen again
Refs #1048
2016-11-25 19:09:06 +00:00
Will Abson
9e7ca14ec9 Separate Start Process UI from dialog
- Add Start Process section in demo shell
- Remove old component in filters component

Refs #1048
2016-11-25 19:09:06 +00:00
mauriziovitale84
e127837bcc #1107 Fixes demo and documentation 2016-11-25 19:09:05 +00:00
Vito Albano
1121a387fd Fix task reload on form completed 2016-11-25 19:07:32 +00:00
Denys Vuika
24daa074e0 #967 custom stencil mapping demo 2016-11-25 19:07:32 +00:00