Commit Graph

3640 Commits

Author SHA1 Message Date
Denys Vuika
32aa387b61 adfTimeAgo pipe and demo (#2182) 2017-08-08 09:46:23 +01:00
Denys Vuika
05a523c24b [ADF-1312] form validation enhancements (#2180)
* validation api enhancements

- changing 'required' causes re-validation of the form
- get field by id

* allow binding field validators from html

* demo validator

* documentation updates

* fix after rebase

* markdown fixes

* markdown linter settings for workspace config (vs code)

* restore material theme
2017-08-07 18:41:17 +01:00
Denys Vuika
31db995a92 breadcrumb fixes (#2181) 2017-08-07 18:39:48 +01:00
Eugenio Romano
50a13f8cd1 [ADF-852] Form style Material 2 (#2151)
* mdl2 transition part form 1

* hyperlink

* radio buttons

* label

* people component

* [ADF-852] moved textarea to new angular material

* number widget

* change error multiline

* [ADF-852] added md desgin for dropdown

* [ADF-852] removed unused css file

* functional widget

* error dropdown

* [ADF-852] - changed to new md date

* remove md-date-time-picker dependency in ng2-alfresco-from

* [ADF-852] conversion dynamic table phase 1

* container widget

* remove test unused

* validation change

* [ADF-852] convert dynamic table phase 2

* [ADF-852] improving style and fixing bugs

* move custom style for form in form.scss

* error footer refactor

* fix models and test

* [ADF-852]- fixed minor twitch on dynamic table

* align fields and fix tests dropdown

* disabling button in readonly
clean mdl form start process form

* align dropdown

* [ADF-1048] Upload widget can manage multiple files. (#2134)

* [ADF-1048] improving upload widget

* [ADF-1048] added ability to upload multiple file on upload widget

* [ADF-1048] added multiple upload elements on upload widget

* [ADF-1048] - show all the files on the completed form

* [ADF-1048] fixed wrong selecion on displya upload

* [ADF-1048] removed fdescribe from upload widget

* date validation and custom moment data adapter

* move content widget in the widget folder

* add style fields and theming

* color primary radio and checkbox

* fix amount widget and colors

* change ViewEncapsulation and fix date style button issue

* empty form customization 1736

* focus label style

* [ADF-224] fix the rendering of custom stencils when form is opened in readonly state. (#2161)

* [ADF-224] Fixed rendering of custom stencil in readonly mode

* [ADF-224] improved variable name

* test fix

* container filter in form model creation

* show display value correctly

* fix change date and test

* fix date editor and add some test coverage for date

* style minor issue

* fix new unused local import rule

* fix test date

* strict date check

* fix analytics failing test

* restore null as default in model

* unify model diagrams and analytics
2017-08-07 13:15:29 +01:00
Denys Vuika
ba654fd177 (fix) Bad method signatures on component functions (#2177)
* (aot) Viewer fixes

* (aot) Document List fixes
2017-08-05 00:17:45 +01:00
Denys Vuika
5e93bdad69 fix build 2017-08-04 17:11:31 +01:00
Denys Vuika
415dd4afd0 fix demo shell issues (lint) 1.8.0-beta1 2017-08-04 16:32:21 +01:00
Denys Vuika
66de20dd21 [ADF-1287] compatibility with the new noUnusedLocals rule (#2170)
* support for noUnusedLocals rule

* clean diagram components

* code cleanup

* Viewer fixes

* code fixes

* code fixes
2017-08-04 15:35:15 +01:00
Denys Vuika
c5feae5de3 [ADF-1300] Download as Zip feature and dialog (#2174)
* Download API demo

- download single selected file
- download multiple selected files as ZIP
- download one or multiple selected folders as ZIP
- download all mixed content as ZIP (file + folder)

* download dialog (first cut)

* code cleanup
2017-08-04 14:55:15 +01:00
Maurizio Vitale
83fcd5d37e [ADF-1252] Create a different route for processes (#2171)
Change the current route for diagram process
2017-08-04 14:28:32 +01:00
Maurizio Vitale
d3da5e7033 Hide the task audit button when there is no taskId (#2172) 2017-08-04 13:45:10 +01:00
Maurizio Vitale
fc5e3ed682 Fix unit tests (#2173) 2017-08-04 12:21:02 +01:00
Maurizio Vitale
7a0f17b078 [ADF-1261] Task audit log directive (#2162)
* Create task audit directive

* Remove fit

* Add services

* Add adf-task-audit documentation
2017-08-03 10:42:43 +01:00
Denys Vuika
508548fe8b [ADF-1091] Validation layer enhancements for Form component (#2168)
* form/field validation events

* code cleanup

* unit tests

* improve validator management

- form now owns field validators
- readme updates
- unit test updates
2017-08-03 10:21:25 +01:00
siva kumar
6b3b601f7d [ADF-1265] Task Header - Datapicker is not showed in the middle. (#2155)
* Added touchUi property to md-datePicker.
2017-08-03 10:18:08 +01:00
Eugenio Romano
3e2c5d4a45 [ADF-1281] Update CONTRIBUTING.md (#2169) 2017-08-02 20:35:46 +01:00
Denys Vuika
9997e5a9cf [ASF-1227] new adf-node-permission directive (#2154)
* directive implementation

* update docs

* unit tests and api docs

* code improvements

* simplify code

* update type def and docs
2017-08-02 17:34:48 +01:00
Deepak Paul
ac45c2dc9c [ADF-1143] [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form (#2164)
* [ADF-1143] [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form

* Create task has been split into three diffrent service calls to replicate the ecxact behaviour of APS

* Current API call sequence is create-task -> attach-form -> assign-user

* Added a new service assign task

* Modified tests according to the API calls

* [ADF-1143] [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form

* Added responsive behaviour for APIs

* [ADF-1143] [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form

*Code refactoring
2017-08-02 17:32:47 +01:00
Denys Vuika
7b11fc24ac replace 'template' with 'ng-template' (#2167) 2017-08-02 14:27:59 +01:00
Denys Vuika
ae11297a90 remove useless date conversion (#2165)
fixes the bug for Safari whent dates get corrupted on double conversion (createdAt/modifiedAt are already dates)
2017-08-02 11:46:08 +01:00
Denys Vuika
15bdeffeee Optional automatic translation of column headers (#2166) 2017-08-02 11:44:19 +01:00
Denys Vuika
ba41f49cd7 fix local build (#2163)
fixes local builds with 'start.sh -dev'
2017-08-01 21:46:27 +01:00
Eugenio Romano
eeb8ca0bbc remove duplication 2017-08-01 11:11:35 +01:00
Eugenio Romano
20d7d65a0b revert modify after rebase 2017-08-01 11:10:23 +01:00
Eugenio Romano
206a0e99cc update script modify 2017-08-01 10:26:22 +01:00
Eugenio Romano
036243ad35 update 1.7.0 versions (#2158) 2017-08-01 10:20:48 +01:00
Eugenio Romano
21205e3d45 sites dropdown select documentation change 2017-08-01 10:20:36 +01:00
Maurizio Vitale
87184c5611 [ADF-1229] Task Filter - Wrong task filter is selected when a new task is created (#2147)
* Select the correct task filter after a new task is created

* Fix currentFilter
2017-08-01 10:20:36 +01:00
Maurizio Vitale
04de7e2791 Reset the margin for the people component (#2148) 2017-08-01 10:20:36 +01:00
Denys Vuika
f413e44365 fix issues with angular cli imports (#2149)
solves issues with "Cannot find name 'require'." errors when linking to Angular CLI.
2017-08-01 10:20:36 +01:00
Eugenio Romano
a083c88a89 Custom Material2 Style variables and theming (#2146)
* ADF theming Material2

* login style primary buttons and input

* fix color breadcrumb based on the material color
2017-08-01 10:20:35 +01:00
mauriziovitale84
14c4af1304 Reset the margin for the people component (reverted from commit 5a37d8566a) 2017-08-01 10:20:35 +01:00
mauriziovitale84
85c920ab7c Reset the margin for the people component 2017-08-01 10:20:35 +01:00
Popovics András
2f36777598 [ADF-1097] Don't upload file if extension is not acceptable (#2143)
* FileModel's extension getter

* Filter out not supported extension from upload
2017-08-01 10:20:35 +01:00
Vito
f138efbda5 Added platform logged check for about component (#2144) 2017-08-01 10:20:35 +01:00
siva kumar
ddc32328d8 [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked (#2133)
* [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked.

* Added Start task/process cancel emitter handler to redirect when user clicks on cancel start/process .

* [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked.

* Changed activiti-start-task to adf-start-task
* Changed onSuccess to success and Updated     document.

* [ADF-1175] Start Process and Start Task Forms don't close when Cancel button is clicked

* Refactored  start task component unit testcases
2017-08-01 10:20:35 +01:00
Popovics András
32e64339ee [ADF-1200] Error handling for wrong host urls (#2140)
* Make the host errors in settings easier to understand

* Commented proxy settings for testing for the next time

* delete unnecessary proxy rule
2017-08-01 10:20:35 +01:00
siva kumar
cdf75c6be5 [ADF-1168] Tasks header component and Processes header component have different margins (#2139)
* [ADF-1168]  Tasks header component and Processes header component have different margins

*  Removed padding from process header component and used md-card-content .

* [ADF-1168] Tasks header component and Processes header component have different margins

* Removed the external div.
* Added css class to task header component to override default roboto font

* Update process-instance-details.component.css

* Update process-instance-header.component.html

* Update task-header.component.html

* Update process-instance-header.component.html

* Update task-header.component.html
2017-08-01 10:20:35 +01:00
Maurizio Vitale
4d49c9176f Fix date css (#2142) 2017-08-01 10:20:35 +01:00
Vito
64f5b293d7 Added node pagination to SiteModel (#2136) 2017-08-01 10:20:35 +01:00
Maurizio Vitale
792bb3c41a Fix method name (#2135) 2017-08-01 10:20:35 +01:00
Denys Vuika
274128ad86 fix the favorites api (#2129)
- fix the crash related to remapping entities
2017-08-01 10:20:34 +01:00
tdonovancsra
d54eb57573 508 Compliance Resolution for the App tiles. (#2131) 2017-08-01 10:20:34 +01:00
Cilibiu Bogdan
d629c7688c [ADF-924] upload dialog unit tests (#2132) 2017-08-01 10:20:34 +01:00
Deepak Paul
834aa44e39 [ADF-1149] 'Remove' involved people of a task button is displayed behind the dialog (#2130)
* Removed mdl dialogs for comments and people
* Removed list-column CSS class from activiti-demo component to show tasks/process list and details in the same row on low resolution screens
2017-08-01 10:20:34 +01:00
Popovics András
47c229d907 Fix styling of card view text item ruined by global material styles :'( (#2128) 2017-08-01 10:20:34 +01:00
Popovics András
0fed22e686 Prevent settings urls to end with / (#2127)
[ADF-978] Prevent settings urls to end with /
2017-08-01 10:20:34 +01:00
Popovics András
6947861ec9 Make the rendition conversion great again (#2126) 2017-08-01 10:20:34 +01:00
Maurizio Vitale
bc2825f269 [ADF-1162] Form List - Fix the getForms service response (#2125)
* Fix the getForms service response

* Fix unit test
2017-08-01 10:20:34 +01:00
Adina Parpalita
58de71dbdf [ADF-1159] Fix misspellings in .md files (#2124) 2017-08-01 10:20:34 +01:00