783 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
Eugenio Romano
be062917b8 start server fix 2017-05-25 15:12:49 +01:00
Mario Romano
6da0eaba37 Fix build problem (#1861)
* fix sourcemap
fix relative path and pre publish build
change travis wait
all test run build and remove unused cpx

* global test task
modify publish script to accept options

* appveyor run

* different approach single test run

* make it work the analytics test
modify start demo shell script to use a different registry

* sourcemap demo shell working

* update readme and add install after any clean
add registry option in start.sh script
add develop and normal mode in demo shell
add -d option in start.sh to point to the local components
add -c option in build script to point to the local components
2017-05-25 15:12:49 +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
Eugenio Romano
416d8c2a1b reintroduce start:dist task 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
Denys Vuika
e29741d18d [ADF-587] upgrade components to angular 4 (#1866)
[ADF-587]  upgrade components to angular 4
2017-05-25 15:12:48 +01:00
Eugenio Romano
80d67212b7 [ADF-579] - move license check in webpack (#1859)
* move license check in webpack

* fix exclusion check header

* different headers
2017-05-25 15:12:47 +01:00
Denys Vuika
fc728676c0 webpack configuration fix 2017-05-25 15:12:47 +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
6342c34f51 version 1.4.0 social component 2017-04-28 13:01:23 +02:00
Mario Romano
ac16f1c3dc 1.4.0 (#1848) 2017-04-27 14:05:12 +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
Eugenio Romano
0fcd40b7f0 revert update ng2-translate-version #1397 (#1818) 2017-04-27 14:05:08 +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
ab3d18e5c1 update ng2-translate-version #1397 (#1805)
* update ng2-translate-version #1397

* change karma.conf and build for ng2-translate 4.0.0
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
8725a745c2 1.3.0 (#1795) 2017-04-04 12:27:58 +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
Mario Romano
2651ec46d6 #1711 fix version package.json 3rd libraries (#1768)
* #1711 fix version package.json 3rd libraries

* fix test
2017-03-30 19:06:01 +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
707851ce85 fix HammerJS warning #1617 (#1755) 2017-03-23 15:44:52 +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
64565c44f4 migrate from PhantomJS to Chrome (#1716) 2017-03-13 11:25:47 +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