493 Commits

Author SHA1 Message Date
Eugenio Romano
cebadc8bd5 remove max length attribute (#2321) 2017-09-11 18:21:24 +02:00
Maurizio Vitale
7a26c1d53d [ADF-1521] Form string type is not rendered (#2318)
* Fix missing string widget and task list loading

* Update tasklist.component.ts

call initStream
2017-09-11 18:01:42 +02:00
Maurizio Vitale
7479bb1b6f [ADF-1537] Fix check property defined (#2320) 2017-09-11 16:34:45 +01:00
Denys Vuika
a8dfbeb572 [ADF-1090] support custom dynamic table row validation (#2308)
* support custom dynamic table row validation

* test fixes

* export missing models
2017-09-08 08:46:29 +02:00
Denys Vuika
1f766f3ade new "document" widget (#2307) 2017-09-07 16:05:46 +02:00
Denys Vuika
acef0c1159 fix wrapped field resolving (#2305)
check for the type property before resolving a wrapped field (addresses issue with empty field objects)
2017-09-07 12:24:55 +02:00
Vito
233355ffe7 [ADF-1499] fixed validation and value setting on date widget (#2298)
* [ADF-1499] added fix for date widget usage

* [ADF-1499] improved date validator to match new date widget material
2017-09-05 15:16:41 +01:00
Eugenio Romano
50e61a0d08 1.8.0 bump version (#2296) 2017-09-05 15:16:41 +01:00
Eugenio Romano
a11fb3afb9 fix tab form service (#2293) 2017-09-05 15:16:41 +01:00
Vito
480b0e0e55 [ADF-1512] fixed required style problem and others minor twitch for form (#2283)
* [ADF-1381] added some fix for style on form

* [ADF-1381] fix some styles for form
2017-09-05 15:16:41 +01:00
Popovics András
af900ab0af Table header fix (#2285) 2017-09-05 15:16:41 +01:00
Eugenio Romano
f7e14b1028 move mat-input-prefix change only in amount sub class 2017-09-05 15:16:41 +01:00
Denys Vuika
ffbfc8b87a [ADF-1502] Fixes for AoT checks in Angular CLI (#2282)
* Fixes for AoT checks in Angular CLI

* login fixes

- aot compatibility
- fix copyright symbol
- fix toggling password (operates within the component instead of the whole document)
- remove old MDL calls on error style check

* Search fixes

* login test fixes

* form fixes

- add WidgetComponent to the module
- remove missing 'focus' property from Hyperlink widget template/style

* task-list fixes

* process-list fixes

* analytics fixes
2017-09-05 15:16:41 +01:00
Popovics András
407e11664a [ADF-theming-fix] Fix theming related issues (#2276)
* First steps

* Every package have separate entry points for styling mixins

* Moving to config dir, and using it in demo shell

* Remove webpack config include path magic from activiti-form package

* Fixing all the webpack common configs and using relative paths in the prebuilt themes

* Datatable header fix

* Update documentation
2017-09-05 15:16:41 +01:00
Vito
42ed604349 [ADF-1368] Delete a document onto document list update even the file upload dialog (#2267)
* [ADF-1368] adding success action event even form file deleted on document actions

* [ADF-1368] reflecting delete changes on documentlist

* [ADF-1368] added event on upload service when a file is deleted from external source

* [ADF-1368] pinned version beta8 for material

* [ADF-1368] added test cases for success event on documentlist actions delete
2017-09-05 15:16:41 +01:00
tdonovancsra
96ad7e4bb0 508 alt tag added for thumbnail preview (#2263) 2017-09-05 15:16:41 +01:00
Vito
58c298fc25 [ADF-1381] improving the style for form reflecting UX spec (#2256)
* [ADF-1381] improving the style for form reflecting UX spec

* [ADF-1381] fix error message icon

* [ADF-1381] added more spec details to form widgets

* [ADF-1381] fixed wrong check

* [ADF-1381] removed wrong added deep into scss

* [ADF-1381] applied changes due the peer review

* [ADF-1381] missed whitespace
2017-09-05 15:16:41 +01:00
Andy Stark
54f4a07f53 [ADF-1453] Restructure README.md files (#2239)
* ADF-1453: Restructured Activiti Analytics readme

* ADF-1453: Restructured Activiti Diagrams readme

* ADF-1453: Restructured Activiti Form readme

* ADF-1453: Restructured Activiti Process List readme

* ADF-1453: Restructured Activiti Task List readme

* ADF-1453: Restructured Alfresco Core readme

* [ADF-1453] Restructured DataTable readme

* [ADF-1453] Restructured Document List readme

* [ADF-1453] Restructured Login readme

* [ADF-1453] Restructured Alfresco Search readme

* [ADF-1453] Restructured Alfresco Social readme

* [ADF-1453] Restructured Alfresco Tag readme

* [ADF-1453] Restructured Alfresco User Info readme

* [ADF-1453] Restructured Alfresco Viewer readme

* [ADF-1453] Restructured Alfresco Webscript readme

* [ADF-1453] Fixed table display glitch

* [ADF-1453] Fixed Markdown lint errors in readme files

* [ADF-1453] Adding missing fileUploadDelete event to table in Upload readme

* [ADF-1453] Resolved merge conflict with Upload readme

* [ADF-1453] Changes from npm run doc
2017-09-05 15:16:41 +01:00
Eugenio Romano
d4e64ac438 [ADF-1434] Theming ADF component (#2228)
* start custom theming adf

* demo shell cleaning

* login mdl cleaning

* uploader mdl cleaning

* prebuilt themes

* theme picker in demo shell

* clean custom colors and mdl

* fix rebase errors

* theming from color style guide

* dev default theme orange purple

* fix color accent inverted in picker

* fix test and add colors classes

* fix tag component theming issues

* fix datatable theming

* add theming guides
2017-09-05 15:16:41 +01:00
Popovics András
6b1742c5f0 Multiline text fix in form (#2226) 2017-09-05 15:16:41 +01:00
Popovics András
f4a8ccc461 [ADF-1327] Fix group form field type to be treated as a container (#2225)
* Add group to container types

* Usage of FormFieldTypes.isReadOnlyType
2017-09-05 15:16:41 +01:00
Popovics András
9e5b19e34c [ADF-1329] Fix grid style in the activiti form (#2223)
* Fix form grid style

* Tests
2017-09-05 15:16:41 +01:00
Eugenio Romano
f797e7df6a [ADF-1384] fix error and amount widget style problem (#2222) 2017-09-05 15:16:41 +01:00
Eugenio Romano
ad75b6aa87 [ADF-1384] fix placeholder overlapping with label in form (#2212)
* fix placeholder overlapping with label in form

* fix import material module
2017-09-05 15:16:41 +01:00
Vito
c3ad16bea7 [ADF-662] fix readonly button for upload and added event for show file in viewer (#2215) 2017-09-05 15:16:41 +01:00
Denys Vuika
003b0c133b [ADF-1356] Single configuration of i18n service per project (#2199)
* rework i18n layer init

* fix unit tests

* fix tests

* test fixes

* remove obsolete tests
2017-09-05 15:16:41 +01:00
Denys Vuika
3d65b49af7 [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-09-05 15:16:41 +01:00
Eugenio Romano
083c9da0d4 [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-09-05 15:16:41 +01:00
Denys Vuika
9d3962b3b5 [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-09-05 15:16:41 +01:00
Denys Vuika
123ae3618a [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-09-05 15:16:41 +01:00
Eugenio Romano
cfa8a222f0 revert modify after rebase 2017-08-01 11:25:32 +01:00
Eugenio Romano
5baf0c3087 update 1.7.0 versions (#2158) 2017-08-01 11:25:32 +01:00
Maurizio Vitale
df32a49c9e [ADF-1162] Form List - Fix the getForms service response (#2125)
* Fix the getForms service response

* Fix unit test
2017-08-01 11:25:32 +01:00
Adina Parpalita
92e30c2fa3 [ADF-1159] Fix misspellings in .md files (#2124) 2017-08-01 11:25:32 +01:00
Eugenio Romano
df7af049b8 create external package on npm for adf-tslint-rules
create external package on npm for adf-tslint-rules
2017-08-01 11:25:32 +01:00
Denys Vuika
34c89bd2ba remove old MDL wrapper directives (#2095)
- remove mdl-button directive
- remove mdl-tooltip directive
2017-08-01 11:25:32 +01:00
Popovics András
6947e04208 [ADF-1038] - Dropddown Breadcrumb component (#2092)
* Update material to beta8

* Install @angular/cdk

* DropdownBreadcrumb component

* Style fixes

* Fix styling issues after rebase

* Fix Material issue in processlist

* Update material again, because of rebase errors... :/

* Fix new tslint rule raised errors
2017-08-01 11:25:32 +01:00
Eugenio Romano
3a76027fe3 Services list in readme and in the doc generator (#2091)
* add services list in readme and in the autogenerator

* update tslint 5.5.0
2017-08-01 11:25:32 +01:00
Eugenio Romano
a8eac42c05 [ADF-1103] Add custom tslint rules to avoid unwanted Class and File name prefix (#2087)
* custom tslint rules adf project name files

* filename and class prefix rule

* filename process service mock

* fix spec filename

* fix demo shell

* rename mock

* alias deprecated name class

* core rename services

* fix pacakge.json adf-rules

* add exclude in whitelist
2017-08-01 11:25:32 +01:00
Eugenio Romano
77c8ef459f add sass configuration in all the component common webpack configuration (#2086) 2017-08-01 11:25:32 +01:00
Eugenio Romano
8cdb276dc4 [ADF-864] codelyzer form component (#2076) 2017-08-01 11:25:32 +01:00
Vito
6f8e984d75 [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-08-01 11:25:32 +01:00
Maurizio Vitale
50fef106a8 [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-08-01 11:25:32 +01:00
Eugenio Romano
58eb56a966 [ADF-863] codelyzer documentlist (#2059)
* codelyzer documentlist

* tslint error after codelizer

* fix import

* fix tag test
2017-08-01 11:25:32 +01:00
Eugenio Romano
12d2224129 add codelyzer in webscript tag and social (#2061) 2017-08-01 11:25:32 +01:00
Vito
c974da301d [ADF-858] added multiple attribute to upload widget (#2064) 2017-08-01 11:25:32 +01:00
Maurizio Vitale
183dd3c990 [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-08-01 11:25:32 +01:00
Eugenio Romano
29ca8b5c5e [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-08-01 11:25:32 +01:00
Eugenio Romano
ee871ba578 [ADF-506] Unify thumbnail service (#2014)
* move thumbnail service in core

* fix folder
2017-08-01 11:25:32 +01:00
Vito
846f3a8069 [ADF-957] removed double call to load form (#2046) 2017-08-01 11:25:32 +01:00