Commit Graph

119 Commits

Author SHA1 Message Date
Maurizio Vitale
c7d10f59d5 [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-07-11 14:12:54 +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
7289315c37 [ADF-744] Attachment List is not displayed within Processes. (#1937)
* Use the adf process attachment list indise demo shell

* Change documentation
2017-06-29 15:09:10 +01:00
Maurizio Vitale
c278fd9910 [ADF-702] Task/Process Filter - Provide a way to change the default filter (#1932)
* [ADF-702] Task/Process Filter - Provide a way to change the default filter

* Provide a way to select a custom menu filter

* Improve activiti process filter

* Add internal link

* Change link name

* add link
2017-06-29 15:09:10 +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
Denys Vuika
5b4aad5d91 icon type for columns (#1902)
- new 'icon' type for columns to render internal icons
- enable attachment list in the demo shell
2017-05-25 15:12:55 +01:00
Eugenio Romano
075ee8a538 relative pointing (#1879)
readme modify
start.sh and nom-build-all refactoring
change travis conf
update version of zone.js (fixes console error)
karma conf remove dist
add alias build
override tsconfig components build
2017-05-25 15:12:52 +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
Maurizio Vitale
1d45089125 #514 (#1840)
Follow the component guide style
The accordion should be open by default
2017-04-27 14:05:11 +01:00
Denys Vuika
dad7a575f7 disable debug button by default (#1836)
- debug button is now disabled by default for the Form and Task Details
- debug mode now enabled by the demo shell explicitly
2017-04-27 14:05:11 +01:00
Maurizio Vitale
1de625d960 Custom Filter Component (#1823)
* Add Accordion component

* Add property to hide icon

* Use accordion component in demo shell

* Add basic doc

* Add adf prefix

* Add element id and change unit test
2017-04-27 14:05:10 +01:00
Vito
1eea3c2983 #ADF-440 move start task and start process button on respective filters list (#1816) 2017-04-27 14:05:08 +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
2cc124bb87 #1657 - Added filter by name when clicking on specific app (#1794) 2017-03-30 18:15:32 +01:00
Denys Vuika
4814e95e30 add custom columns support for process list (#1787) 2017-03-30 02:02:08 -07: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
Denys Vuika
861393de60 more control over task details header (#1688)
- toggle task details header
- toggle visibility of involve/comments/checklist
- readme updates
2017-03-04 17:29:48 +00:00
Eugenio Romano
12abac0339 add tslint in demo shell #1641 (#1642) 2017-02-20 14:23:01 +00:00
Maurizio Vitale
e3ce65880f Analytics - Add a property to hide the analytics parameters component (#1635)
* Add a property to hide the analytics parameters component
Improve the save/delete/export icons

* Add documentations
2017-02-15 14:45:05 +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
Eugenio Romano
d3b2108ac2 add header missing app.component and minor clean 2016-12-19 17:38:06 +00:00
Mario Romano
72ae760b85 improve style demo shell (#1326) 2016-12-19 16:13:07 +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