Commit Graph

379 Commits

Author SHA1 Message Date
Eugenio Romano
b851b41544 [ADF-864] codelyzer form component (#2076) 2017-07-12 20:53:07 +01:00
Vito
38f4d0b302 [ADF-923] Added check for only involved user cannot complete a task (#2068)
* [ADF-923] Added check for only involved user cannot complete a task

* [ADF-923] fix compilation error

* [ADF-923] added review changes

* [ADF-923] corrected mispelling
2017-07-12 12:26:51 +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
Vito
58e8253cb6 [ADF-858] added multiple attribute to upload widget (#2064) 2017-07-07 17:34:54 +02: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
9a04a78cff [ADF-859] add codelyzer in core and datatable (#2056)
* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
2017-07-07 01:20:41 -07:00
Eugenio Romano
c008efbb96 [ADF-506] Unify thumbnail service (#2014)
* move thumbnail service in core

* fix folder
2017-07-06 09:43:13 +01:00
Vito
8727a7870b [ADF-957] removed double call to load form (#2046) 2017-07-05 18:29:22 +02:00
Denys Vuika
f4ad5846da [ADF-850] example on using in-memory form data (#2037)
* stub for custom form service

* demo polishing

- use in-memory formService only for the corresponding demo page 'Form'
- support for mocking rest field values
- demo of the typeahead data mocked

* load data from app config

* fix lint errors

* separate Form and Form List demos
2017-07-04 17:58:55 +02:00
Denys Vuika
76c47909e5 [ADF-967] evaluate "hostname" and "port" for string settings (#2040)
* evaluate 'hostname' and 'port' in app config strings

* update unit tests

* fix unit tests

* fix unit tests

* update readme
2017-07-04 11:04:58 +02:00
Eugenio Romano
03686aa4ee [ADF-868] Use new ADF prefix in all tags (#2035)
* use new ADF prefix in all thr tag

* fix failing test

* fix datatable test
2017-07-04 00:47:29 -07:00
Maurizio Vitale
bfeba648cf [ADF-914] Form List Component (#2023)
Form List Component
2017-07-03 16:53:15 +02:00
Vito
d0271bc188 [ADF - 334] Added prefix to amount widget (#2031)
[ADF - 334] added material design prefix to amount widget
2017-07-03 09:18:11 +01:00
Vito
fa0e416851 [ADF - 950] - disabling date button on readonly form (#2032) 2017-06-30 22:25:03 +01:00
Maurizio Vitale
0a0884c2a8 Fix upload process attachment (#2024) 2017-06-29 15:09:29 +01:00
Vito
a431f3934f [ADF-907] - Form reacts to data added in input (#2016)
* [ADF-907] Enable activiti form to react on value data changes

* [ADF-907] - Form reacts to data added in input]

* [ADF - 907] added mock json for form

* [ADF-907] added new event of the form to the event list

* [ADF - 907] Added return column to README

* [ADF - 907] Added return column to README
2017-06-29 15:09:28 +01:00
Maurizio Vitale
e30a1aed30 Fix upload related content (#2019) 2017-06-29 15:09:28 +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
Denys Vuika
036f131122 support binding [form] data directly (#1996)
- ability to bind [form] data directly inside `<activiti-form>` component
- ability to parse forms with FormService
- demo of the custom form in demo shell
2017-06-29 15:09:22 +01:00
mauriziovitale84
9c3c5d9dc7 Fix typo error 2017-06-29 15:09:21 +01:00
Maurizio Vitale
cb5d0e8886 Fix compilation error (#1993) 2017-06-29 15:09:20 +01:00
Denys Vuika
201741aeee [ADF-851] execute-outcome event for form service (#1989)
* execute-outcome event for form service

* readme updates
2017-06-29 15:09:20 +01:00
Denys Vuika
d5f64fa9fc [ADF-847] upgrade to use application configuration service (#1986)
* migrate core lib to use server-side app config

* fix unit tests

* update Search tests

- update tests
- upgrade tests to use TestBed

* update UserInfo tests

* update Social tests

* update tests

* update unit tests

* cleanup old code

* update about page

* update demo shell readme

* dev and prod configurations
2017-06-29 15:09:19 +01:00
Eugenio Romano
44161dc4d5 readonly value set 2017-06-29 15:09:18 +01:00
Eugenio Romano
25cefc6414 [ADF-810] fix default value radio button (#1975) 2017-06-29 15:09:17 +01:00
Vito
b045044d12 [ADF-494] fixed readonly rendering for forms (#1972)
* [ADF-494] improved disabling for form

* [ADF-494] fixed readonly rendering for forms
2017-06-29 15:09:17 +01:00
Denys Vuika
774498e045 [ADF-591] documentation refinements (#1959)
* refine ng2-activiti-analytics

* refine ng2-activiti-diagrams docs

* refine ng2-activiti-form

* refine ng2-activiti-processlist

* refine ng2-activiti-tasklist

* refine ng2-alfresco-core

* refine ng2-alfresco-datatable

* refine ng2-alfresco-datatable

* refine gn2-alfresco-login

* refine ng2-alfresco-search

* refine ng2-alfresco-social

* refine ng2-alfresco-tag

* refine ng2-alfresco-upload

* refine ng2-alfresco-userinfo

* refine ng2-alfresco-viewer

* refine ng2-alfresco-webscript

* various readme cleanups
2017-06-29 15:09:15 +01:00
Eugenio Romano
282e64f93d Source Mapping is not working on test debugging (#1931)
* coverage single components run fix

* remove spec.ts from coverage

* make the coverage and the istanbul-instrumenter-loader works only over the console test because a problem on the remapping for the browser test

* move tslint on the main folder of any component

* remove build:w from readme

* stop build tslint error also in spec files

* clear karma file from unnecessary files

* add set -f for build all script in order to accept *

* fix lint problem and failing tests

* fix failing test search component

* add loader test for viewer

* fix tslint error userinfo

* --max_old_space_size=2048 remove

* fix tslint error uploader unused EventEmitter

* remove spec|index|.*mock|.*model|.*event from coverage
2017-06-29 15:09:08 +01:00
Vito
0c995bff6e [ADF-709] add autofocus when a new row is added on dynamic table widget (#1927)
* [ADF-709] add autofocus when a new row is added on dynamic table widget

* [ADF-709] removed wrong reference for template
2017-06-29 15:09:07 +01:00
Infad Kachancheri
52d2d7a349 [ADF-713] Process Attachment - Provide a way to attach a new content (#1920)
* added service to get all the related content of the process instance

* added new component to create/upload attachment for process instance

* added unit test cases for create-process-attachment component

* exported create-process-attachment component

* added documentation for create-process-attachment component
2017-06-29 15:09:07 +01:00
Eugenio Romano
9db047f8fc [ADF-721] Fix translation reference for dev task (#1923)
* move translation files in the bundles folder

* fix after review
ripristinate tslint and remove override tsconfig
2017-06-29 15:09:06 +01:00
Vito
7572c8d098 [ADF-707] Ability to select a row on a dynamic table (#1921) 2017-06-29 15:09:06 +01:00
Infad Kachancheri
8afe6e2125 [ADF-712] Task Attachment - Provide a way to attach a new content (#1898)
* create button, download, view functionality added in task attachment list component

* created sevice to attach document to task

* added new component to create/uplaod attachment to task

* added new component to create/uplaod attachment to task

* added test case for create task attachment component

* added test case for create task attachment component

* added input to block upload document  to ECM

* fixed create task attachment spec file issue

* changed alfresco-upload to alfresco-core upload directive

* removed attachCreate button and emitter from task-attachment-list

* removed uploadToEcm input and checkValidity method from alfresco-upload

* added documentation for task-attachment-list and create-task-attachment components
2017-06-29 15:09:06 +01:00
Denys Vuika
a2ef939860 [ADF-604] Upgrade @angular/material to latest version (#1909)
* update dependencies and module imports

* fix template warnings and fix import issues

* migrate Activiti Form to MdTabsModule

* fix unit tests

* fix tests

* fix unit tests

* fix unit tests

* disable test that fails only on travis

* upgrade activiti form component to angular/material

* fix test (remove MDL class check)
2017-06-29 15:09:04 +01:00
Vito
2b755d7ee4 [ADF-673] - text widget value is not updated when the mask is not applied (#1900) 2017-05-25 15:12:55 +01:00
Vito
38a04d24fc [ADF-647] Fix retrieving value for dropdown (#1888)
* [ADF-647] Fix retrieving value for dropdown
2017-05-25 15:12:51 +01:00
Vito
e8889a5adb [ADF-147] Add input mask to Text Widget on Form (#1885)
* ADF-147 create directive to apply input mask
* ADF-147 - created directive for calculate input mask
* ADF-147 added input mask for text element
2017-05-25 15:12:51 +01:00
Denys Vuika
e63802ef4f form renderer fixes (#1882)
- provide support for showing generated documents in Display Value widget
2017-05-25 15:12:51 +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
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
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +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
1dd283b0d8 Form renderer enhancements (#1839)
- readonly mode for “Dynamic Table”
- “Display Value” now just uses “Dynamic Table” if needed (previously
rendered the table itself)
- support for “tableEditable” settings
2017-04-27 14:05:11 +01:00
Maurizio Vitale
d2f7a6858f Activiti form - Custom date format (#1806)
* Fix format date|
#1704

* Add unit tests on custom format date
#1704

* Update form-field.model.ts

* Update display-value.widget.ts
2017-04-27 14:05:07 +01:00
Vito
25a430c933 #1712 - Removed old private api call for wokflows users and groups (#1799)
* #1712 - changed workflow api call from private to enterprise

* #1712 - removed Testbed added injector
2017-04-27 14:05:07 +01:00
Maurizio Vitale
64a66e676b Improve activiti content coverage (#1800) 2017-04-02 13:44:05 +01:00
Maurizio Vitale
952df8d81c Activiti form - Dropdown display label in complete form (#1777)
* Dropdown - retrieve the label instead of the id

* Add unit test

* Use find instead of filter
2017-03-30 18:14:22 +01:00
Maurizio Vitale
a608bc40a4 Close the dialog when the activiti content preview is cliecked (#1792) 2017-03-30 18:10:26 +01:00
Denys Vuika
aa9269291a remove hardcoded date format (#1779) 2017-03-28 17:25:44 +01:00
Denys Vuika
88acf9d3c1 fix checkboxes (Form) (#1773)
- migrate to angular/material checkboxes
- add required indicator
- various fixes and improvements (caused by migration)
2017-03-28 09:47:41 +01:00