Commit Graph

550 Commits

Author SHA1 Message Date
Denys Vuika
b8eaa2e421 documentation and example (#2081) 2017-07-13 20:35:31 +01:00
Popovics András
66a60acac7 [ADF-112] Change task details feature (due date) (#2071)
* Add Assignee to readonly mode

* Style adoption and first steps to editable mode

* Switch between mode coverage

* Rebase fix

* Because of design and requirement changes, revert unnecessary parts

* Small refactoring before the introduction of CardViewDateItem

* Fix AdfCardView tests

* Editable Card date item

* Do not allow edit on task details after the task is completed.

* Update task details request

* Login footer switch fix

* Login customisable copyright text

* Card text item (first sketches)

* Small fix for supported card items' template

* Dynamic component loading for card view items

* Test and linting fixes

* Updating Readme.md

* Update Readme.md

* Fix Readme.md errors

* CardViewTextItemComponent tests

* Rebase fix
2017-07-13 15:49:21 +01:00
Maurizio Vitale
a2a4935b06 [ADF-1039] Search results highlighting (#2080)
* Provide a way to highlight the searched word

* Add unit test
2017-07-13 15:07:48 +01:00
Eugenio Romano
b851b41544 [ADF-864] codelyzer form component (#2076) 2017-07-12 20:53:07 +01:00
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
Denys Vuika
0244416b3a [ADF-770] upgrade to md-menu (#2060)
* upgrade to md-menu

- upgrade to md-menu
- fix issue with missing icons
- extend demo shell to show icons for actions
- fix issue with border problems in Firefox
- remove commented out samples in demo shell (there's readme for that instead)

* fix unit tests

* fix tests
2017-07-07 17:17:26 +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
Denys Vuika
4cf017d764 fix form demo template 2017-07-06 16:13:28 +01:00
Popovics András
4d6ea931ce Responsive height for login component (#2049) 2017-07-05 20:09:04 +02:00
Vito
77a509efd3 [ADF-966] added the ability to reflect data change on datatable (#2042)
* [ADF - 966] added a setTimeout to test the async loading of datatable

* [ADF-966] added the ability to reflect changes on data change

* [ADF-917] changed due PR
2017-07-05 13:39:50 +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
Maurizio Vitale
bfeba648cf [ADF-914] Form List Component (#2023)
Form List Component
2017-07-03 16:53:15 +02:00
Eugenio Romano
ffbcd7aa48 regenerate lock 2017-06-30 01:21:09 +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
Eugenio Romano
7fd37c553e [ADF-845] breadcrumb root option added and style review (#1999)
* breadcrumb root option added and style review

* new breadcrumbs

* split onchange in a method

* update readme with a note for old pefix tag
2017-06-29 15:09:24 +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
Denys Vuika
3e8d952ad4 remove flags lib from demo shell (#1983)
* remove flags lib from demo shell

greatly reduce demo shell webpack resources by switching off flags (only 3 icons were displayed in the past)

* merge package.json

* add icons
2017-06-29 15:09:21 +01:00
Denys Vuika
38dfa17e3f app settings page (#1997)
- custom app setttings service to use isolated storage (demo shell)
- restore settings UI
- redirect angular and rxjs to the same version as components use.
2017-06-29 15:09:21 +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
Maurizio Vitale
f5b94e1bb4 Disable upload attachment when the task is completed (#1987) 2017-06-29 15:09:19 +01:00
Vito
45f14fa506 [ADF-510] Drag&Drop check permission to allow user to upload a file (#1948)
* [ADF-510] added permission check for drag&drop

* Improved code for drag and drop side

* Added test for drag and drop upload area changes

* Added test for document list permissions check

* [ADF-510] rebased branch after changes applied to upload

* [ADF-510] rebased branch and fixed tests
2017-06-29 15:09:18 +01:00
Eugenio Romano
3cfe8b1b6f Fix host configuration in demo-shell when no port is present (#1971) 2017-06-29 15:09:16 +01:00
Eugenio Romano
b6bf53f457 [ADF-804] webpack proxy setup to avoid CORS problem (#1960) 2017-06-29 15:09:14 +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
Denys Vuika
a02ba4ad71 [ADF-643] upload enhancements (#1949)
* rework folder uploading

- flatterns hierarchy on folder upload
- performs a single traversal for the entire folder heirarchy and ends with a comple file list
- allows now dropping folders on existing folders
- overall code improvements

* fix unit tests

* readme updates

* clean old and unused code

* code cleanup

* limit concurrent uploads

* update code as per review

* fix upload button for Safari

* fixes for Safari

- Safari compatibility
- code updates based on review

* fix code

* fix unit tests
2017-06-29 15:09:12 +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
Eugenio Romano
c6bfe892ee fix blob input in text viewer (#1942) 2017-06-29 15:09:11 +01:00
Denys Vuika
6aa6a155e2 [ADF-754] toolbar component (#1938)
* toolbar component

- simple toolbar component (core lib)
- readme updates (core lib)
- update demo shell with toolbar component demo (document list)

* update unit tests
2017-06-29 15:09:10 +01:00
Eugenio Romano
6258aa3dd0 add info and link on current last git commit (#1940) 2017-06-29 15:09:10 +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
Denys Vuika
4b7c958992 remove old 'banned' demo from login screen (#1929) 2017-06-29 15:09:08 +01:00
Denys Vuika
c2fee79724 [ADF-571] upload feature rework (#1922)
* upload feature rework

lots of improvements for upload dialog and underlying services

* readme update

- readme cleanup
- remove some old comments from code
- update readme with new events for Upload Service

* restore prerequisites section in readme
2017-06-29 15:09:07 +01:00
Hussain Ashraf
b4c9710e71 Add data-automation-id to multi select checkbox (#1924) 2017-06-29 15:09:07 +01:00
Maurizio Vitale
9b7588cf11 ADF-402 add the show diagram button (#1917) 2017-06-29 15:09:05 +01:00
Denys Vuika
5025303980 [ADF-667] selection mode and row styles (#1914)
* selection mode and row styles

- single/multiple/none selection modes for DataTable component (and Document List)
- support for custom row styles (inline and classname values)
- fix karma config (material themes)
- readme updates
- package-lock.json files for NPM5 support
- updated DataTable demo to demonstrate selection modes and row styles

* remove package lock files
2017-06-29 15:09:05 +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
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
d8a46c9765 [ADF-640] reload document list on folder upload (#1895)
* reload document list on folder upload

- extend UploadService with 'folderCreated' event to be able reacting on folder uploads globally
- extend Demo Shell to reload document list on UploadService events (folderCreated)

* readme updates
2017-06-29 15:09:03 +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
0f66ce3472 ADF-656 about component fix (#1899) 2017-05-25 15:12:55 +01:00
Eugenio Romano
c5f0196e71 cahnge label permission button (#1894) 2017-05-25 15:12:53 +01:00
Eugenio Romano
84d0415171 example to not overlay mode viewer (#1893) 2017-05-25 15:12:53 +01:00
Vito
246180925e [ADF-509] - fixed settings window dimension (#1892)
* [ADF-509] - fixed settings window dimension

* [ADF-509] - Changed fixed pixel dimension with percentage values
2017-05-25 15:12:53 +01:00
Denys Vuika
da18a21e7c [ADF-551] sorting for document list (#1891)
* table cell component

- table cell component with performance improvements

* permissions and sorting fixes

- fixed ability to set default sorting
- fixed permission evaluation
- new: context menu now also works with permissions
- disabled tags column in demo shell due to performance implications

* fix unit tests

* fix tsconfig for unit testing
2017-05-25 15:12:52 +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
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