Commit Graph

353 Commits

Author SHA1 Message Date
Andy Stark
e8235fa7fe [ADF-1549] Removed doc content from library README files (#2400)
* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Removed doc content from library README files

* [ADF-1583] Fix change detection error (the quick way) (#2396)

* Fix change detection error (the quick way)

* Fix it the second time

* raise keyboard events, improve task list keyboard handling (#2401)

* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Added doc update from Tasklist readme
2017-10-02 22:41:44 +01:00
Popovics András
e9766a6090 Fix running process issue (#2391) 2017-09-28 14:17:00 -04:00
Deepak Paul
9673772f50 [ADF-1291] Attachment list is not instantly refreshed after upload (#2387)
* [ADF-1291] Attachment list after upload list is not instantly refreshed

* Implemented NgZone to ensure change detection

* [#2377 Github] Attachments control won't let you add a document you removed

* Reset the value of input after each upload so that change will be detected if the same file is selected repeatedly

* [#2377 Github] Attachments control won't let you add a document you removed

* Added test to make sure the input value is rest after upload
2017-09-28 14:58:12 +01:00
Maurizio Vitale
f6907a7a00 Fix call start form with processInstance instead of processDefinition (#2373) 2017-09-26 14:13:31 +01:00
Eugenio Romano
70a38acbff Update package json typescript version (#2368)
* update package json typescript version

* fix test problem

* fix minor upload type bug
2017-09-24 16:01:34 +01:00
Maurizio Vitale
7a31a16178 Disable the attachment component when the task/process is completed (#2351) 2017-09-19 13:36:05 +01:00
siva kumar
12e54da11c [ADF-1560] Process fields are not translated when starting a process and on process pag. (#2346)
* Detached extra curly brace in en.json.
2017-09-18 16:10:24 +01:00
Denys Vuika
95d6a04f99 [ADF-1548] deprecate the usage of the "forRoot" methods in modules (#2344)
* remove CoreModule.forRoot

* remove forRoot methods

* fix form issues (lint)
2017-09-18 14:35:41 +01:00
Eugenio Romano
cd46a589e1 [ADF-1555] add animation on show and hide of results (#2343)
* add animation on show and hide of results
make the style similar to the other material 2 menu
fix issue popup always stays on the screen
fix Search does not collapse if its input is focused

* minor code style issues

* minors fix and test fix

* fix app.config.json error in test

* update beta10 mat-menu-base method

* karma configuration all
2017-09-18 11:06:45 +01:00
Eugenio Romano
3c1729b960 [ADF-1518] Update material2 beta 10 and angular 4.3.6 (#2304)
* ignore pkg lock

* update pkg json

* date picker update material beta.10

* isDateInstance moment adapter

* style and  datepicker update material2 beta 10

* update test dateitem to beta10

* regenerate style files

* use material icons web font

* fix data range material 2 beta 10

* minors cleaning

* recreate styles

* remove unused componentHandler var

* fix failing test checkbox
2017-09-15 11:39:27 +01:00
andyhealey26
dfccf13fb1 [ADF-1515] Internationalization - ADF strings review (#2336)
* Update en.json

ADF-1515
Update to match Content Services terminology

* Update en.json

ADF-1515
Improvements to readability in line with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515
Improvements to readability and consistency

* Update en.json

* Update en.json

ADF-1515
Fix typo

* Update en.json

ADF-1515
Updated for US spelling and consistency with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515 - reduced word count

* Update en.json

ADF-1515
Readability improvements

* Update en.json

ADF-1515
Updates for readability and consistency

* Update en.json

ADF-1515
Updated for readability and consistency

* Update en.json

* Update en.json

* Update en.json

ADF-1515 - removed variables section as discussed w. Eugenio

* Update en.json

ADF-1515 - removed search label as discussed with Eugenio
2017-09-14 16:38:14 +01:00
Eugenio Romano
d9bd59833c [ADF-1543] Remove local copy of muli (#2335)
Use http request to load the font
Add the Muli font in all the theme
Remove the overwritten font-family not necessary
2017-09-14 09:27:55 +01:00
Eugenio Romano
d1d3e02c33 disable upload content for completed task (#2332)
use primary color for upload button in proccess attachment and task attachment
2017-09-13 18:22:30 +01:00
Popovics András
17f8dc92e8 [ADF-1247] Remove MDL from processlist package (#2329)
* Removing mdl stuff

* Further mdl removal

* Further mdl removal

* Removing mdl is finished
2017-09-13 09:34:22 +01:00
Eugenio Romano
50e61a0d08 1.8.0 bump version (#2296) 2017-09-05 15:16:41 +01:00
Maurizio Vitale
cd5c8842f2 [ADF-1494] Processlist Filter - Fix padding (#2279)
* Fix processlist padding

* Move css in property above
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
Deepak Paul
287630d40f [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error (#2271)
* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error

* Added directives for the custom tags

* Replaced empty list tags with new directives

* Removed CUSTOM_ELEMENTS_SCHEMA document-list, task-list and process-list

* Handled empty attachment list sceeenario in attachment list

* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error

* Added tests for disabled and non empty attachments scenario
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
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
siva kumar
5e17c8e103 [ADF-1346] Attachment list component is shown for completed tasks/processes. (#2194)
* Added ng-content to adf-empty-list compoent.
* Updated css to scss.
* Added 'CUSTOM_ELEMENTS_SCHEMA'  to allow non-angular elements.
* Updated readme.mg file
2017-09-05 15:16:41 +01:00
Eugenio Romano
56e65cd652 [ADF-1095] Date Range picker remains on screen remove md-data-picker (#2190)
* [ADF-1095] Date Range picker remains on screen

* created date widget component  with md datepicker.

* [ADF-1095] Date Range picker remains on screen.

* Changed mdl date picker to md date picker.
* Updated en.josn with new fields.
* Added md libraires to  spec files .

* [ADF-1095] Date Range picker remains on screen

* Removed old id's for start and end date inputs.

* remove md-date-time-picker

* use local MaterialModule in test

* [activiti-analytics] remove encapsulation and fix test

* remove from vendor md-date-time-picker
2017-09-05 15:16:41 +01:00
Vito
70ef58e03c [ADF-1083] Added user images profile as background to comment and involved people (#2198)
* [ADF-1083] start added image for user search

* [ADF-1083] - adding user images and style to involved people

* [ADF-1083] added loading of images after page refresh

* [ADF-1083] fixed problem related to memory leak and added scss style

* [ADF-1083] readded changes for user image

* [ADF-1083] start fixing test

* [ADF-1083] added user images to comment and profile

* [ADF-1083] Fixed processlist test

* [ADF-1083] removed mdl unused styles

* [ADF-1083] Applied design style

* [ADF-1083] fixed tests after rebase
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
Maurizio Vitale
cfe6cacc8f Add process audit directive (#2188) 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
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
siva kumar
c3437d54eb [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 11:25:32 +01:00
Maurizio Vitale
16149e8c55 Fix method name (#2135) 2017-08-01 11:25:32 +01:00
Deepak Paul
896149acd8 [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 11:25:32 +01:00
Adina Parpalita
92e30c2fa3 [ADF-1159] Fix misspellings in .md files (#2124) 2017-08-01 11:25:32 +01:00
Deepak Paul
7983e4df97 [ADF-1147] Form is not rendered properly when starting a new process. (#2120)
* Removed unwanted container div
2017-08-01 11:25:32 +01:00
Maurizio Vitale
211a7f22b3 Add the show diagram button (#2121) 2017-08-01 11:25:32 +01:00
Maurizio Vitale
b8da5bf45b [ADF-1142] Process instance details - should show the comment componen (#2116)
* Add a comment button in the process details component has we have for the task details

* Update process-instance-details.component.css

* Update process-instance-details.component.html
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
Infad Kachancheri
83a6f0d425 [ADF - 1114] Process comments - Share the same comment between Task and Process (#2105)
* changed process comment template and used task comment component

* changed getTaskComment, getProcessInstanceComment, addTaskComment and addProcessInstanceComment to getComments and addComment

* removed provider from task comment component

* extended tasklist service and changed comment-list container css

* changed process service methods and associated test cases

* added error emitter and test cases for process-comments component

* fixed process header component test case
2017-08-01 11:25:32 +01:00
siva kumar
8b57b3cff6 [ADF-1117] Activiti Start Process - Migrate to MD (#2104)
* Removed conditional statement from HTML.
2017-08-01 11:25:32 +01:00
Eugenio Romano
45ee5eebec Fix pipeline (#2103)
* recreate package base
* package lock

* npm run doc command fix
2017-08-01 11:25:32 +01:00
siva kumar
3268fdf815 [ADF-1117] Activiti Start Process - Migrate to MD (#2096)
* [ADF-1117] Activiti Start Process - Migrate to MD
2017-08-01 11:25:32 +01:00
Deepak Paul
82e8dfa3b0 [ADF-920] Process Header Component - Refactoring (#2073)
[ADF-920] Process Header Component - Refactoring
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
7e357cfbae revert wrong tag name changed 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