502 Commits

Author SHA1 Message Date
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
Denys Vuika
b0be88ec37 [ADF-551] allow setting sorting in html (#1857)
* allow setting sorting in html

* readme update

* update readme

* restore permissions code

* - Remove the check permission from the datatable and move inside the documentlist

* Remove commented test
2017-05-25 15:12:49 +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
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Eugenio Romano
e25b05d991 rating component #521 (#1810)
* rating component #521

* use adf prefix
2017-04-27 14:05:11 +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
Vito
93b8d3742f Added permission check on documentlist action menu (#1832)
* #ADF-166 - add permissin check on folder creation

* #ADF-166 - removed wrong pushed change

* #ADF-166 - improved permission check

* #ADF-166 - added test for menu action permission check

* #ADF-166 upgraded disabled attribute to match all the browsers

* #ADF-166 added peer review changes

* #ADF-166 added some little code improvements
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
Denys Vuika
95711616ca upload button enhancements (#1835)
- add support for [disabled] attribute
- move to angular/material icons
- improve demo shell layout (files.component)
2017-04-27 14:05:11 +01:00
Vito
806874cdca #ADF-498 added check for valid settings addresses (#1834)
* #ADF-498 added check for valid settings addresses

* #ADF-498 added adf prefix to the new style class
2017-04-27 14:05:10 +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
Maurizio Vitale
0e4dab8b66 Disable upload button with no permission (#1820)
* Add the permission check on the activiti button

* Fix code after unit test

* Add basic documentation
2017-04-27 14:05:10 +01:00
Denys Vuika
87b479e720 datatable improvements (#1822)
- move ngSwitch outside of the ngFor directive (to avoid issues)
- improved template maintainance (without ngFor template hack)
- readme updates to reflect new features
2017-04-27 14:05:09 +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
Eugenio Romano
6af0f10fa8 demo shell remove unused import and add tslint on start dev 2017-04-27 14:05:08 +01:00
Maurizio Vitale
f6102dfc07 DocumentList - Check permissions on delete folder/file (#1808)
* Add check permission on delete folder/file

* Provide a way to disable the action when if there is no permission

* Improve the code using the external permission inside the folder/document action service

* Add basic documentation.
 - How disable the button when the permission is missing
 - How to show a notification message when the permission is missing

* Resize the image

* Change the value to true for demo purpose

* Update folder-actions.service.ts

* Update document-actions.service.ts
2017-04-27 14:05:08 +01:00
Eugenio Romano
dba5d5a037 reload folder after success upload event only if is the event is related to the current folder #1637 (#1813) 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
Eugenio Romano
955f8759e3 remove unused phantomjs dep (#1797) 2017-03-31 18:08:40 +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
Denys Vuika
fa448374a9 fix datatable multi select checkboxes (#1784)
* fix datatable multi select checkboxes

* template cleanup

* fix unit tests
2017-03-30 01:44:34 -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
Eugenio Romano
c65d271c9c add hammerjs demo shell (#1778) 2017-03-28 11:07:25 +01:00
Denys Vuika
8f62a28096 bundle improvements (#1774)
- add missing alfresco-js-api to the vendors
- add missing 3D viewer related libs to the vendors (fixes issue with
app bundle having duplicates)
2017-03-28 09:48:23 +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
Maurizio Vitale
cbd827ab51 Fix dynamic translate parameter (#1772) 2017-03-27 14:32:18 +01:00
Eugenio Romano
1f536d2db8 use mdl input for tag #1506 (#1764) 2017-03-24 15:40:57 +00:00
Mario Romano
fab8866d0c #1214 use angular 2 mdl input field (#1762) 2017-03-24 10:32:09 +00:00
Eugenio Romano
f3c9ffab8d remove style in html #1678 (#1743) 2017-03-22 10:50:24 +00:00
Denys Vuika
3fee3b5002 improved uploading of files (#1730)
* improved uploading of files

- new core/UploadDirective to allow dropping files to any html element
- enhanced file dropping for DataTable rows (disabled by default)
- enhanced file dropping for DocumentList rows (disabled by default)
- upload drop area now handles file uploads for child elements (i.e.
rows in the document list)

* fix unit tests

* unit tests and code cleanup

* #1732, fix upload of folders
2017-03-16 16:28:18 +00: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
facd6e0458 DataTable docs and backwards compatibility (#1702)
* example: custom datatable row actions

* update docs, provide backwards compatibility
2017-03-10 09:50:02 +00:00
Mario Romano
122469c7fe #1512 fix text demo shell (#1695) 2017-03-06 15:36:18 +00:00
Denys Vuika
796d9b0e9d minor Login improvements (#1685)
- replace inline SVG with the md-icon component
- own validation/error style classes for theming purposes
2017-03-05 18:50:52 +00:00
Denys Vuika
9c07262657 upgrade to latest ng2-charts (#1686) 2017-03-04 17:30:22 +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
Mario Romano
cbc4518e9c fix style rebranding 2017-02-27 10:46:58 +00:00
Maurizio Vitale
c35f948546 #1512 Rebranding fixes (#1650) 2017-02-23 15:44:29 +00:00
Eugenio Romano
12abac0339 add tslint in demo shell #1641 (#1642) 2017-02-20 14:23:01 +00:00
Eugenio Romano
59cbbcbe4d Dev eromano external viewer (#1636)
* add extensibility point to add a custom viewer

* documentation and tests

* add example in document list
2017-02-16 09:50:12 +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
Maurizio Vitale
9b2740ff64 ADF Rebranding (#1628)
* #1512 Rebranding

* Fix peer review
2017-02-13 17:20:00 +00:00
Denys Vuika
07bad77547 i18n fixes (#1614)
* i18n fixes

- fix issue with default (fallback) language set to browser language
- fix issue with fallback language loading when browser language set to
non-English locale

* code and UI fixes

- move document list i18n strings into own scope
- replace MDL menu with @angular/material menu (fixes issue with menu
items translation, not supported by MDL)
- minor improvements

* fix unit tests

* improve i18n docs and code

- provide basic documentation for Translation service
- remove custom Login component localisation in favour of documentation
sample
- simplified i18n setup for demo shell (single path for dev/prod env)

* remove unnecessary comments
2017-02-10 11:22:25 +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
Eugenio Romano
5c5911beef Dev eromano tag example (#1596)
* Update README.md

* Readme update with tag example integration document list

* add tag component in the document list demo
2017-02-06 09:54:35 +00:00