10860 Commits

Author SHA1 Message Date
Maurizio Vitale
6bde12f770 Move the adf start task component in a different zone (#2099) 2017-08-01 11:25:32 +01:00
Vito
d8d2dde96c [ADF-968] Added Site Dropdown component to document list (#2093)
* [ADF-968] added demo project and new component

* [ADF-968] added default option choice

* [ADF-968] - moved site dropdown into documentlist

* [ADF-968] fixed test for new component

* [ADF-968] removed fdescribe for single cases

* [ADF-968] fixed test to check rendering

* [ADF-968] added conversion to Boolean forced by alfresco-js-api

* [ADF-968]- moved site service into core

* [ADF-968] reflected changes on js-api index

* [ADF-968] fixed wrongly merged path from rebase

* [ADF-968] fixed wrongly merged path from rebase

* [ADF-968] fixed import problem on demo shell demo

* [ADF-968] revert changes on package.json

* [ADF-968] removed wrong package-lock

* [ADF-968] applied changes from PR

* [ADF-968] reindented file html
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
Maurizio Vitale
9113170f2c Fix tslint errors (#2097) 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
Denys Vuika
914e2af98d add auto-fixed files 2017-08-01 11:25:32 +01:00
Eugenio Romano
a9142e2ca2 [ADF-1040] Change document list style rows based on permissions model (#2085)
* Change document list style rows based on permissions model

* fix test
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
Denys Vuika
b1d2ec9e9e [SFSNG-724] content services (#2089)
* content services

* rebase index file
2017-08-01 11:25:32 +01:00
Denys Vuika
4c7baca95c [ADF-993] toolbar improvements (#2090)
* toolbar improvements

- simple "title" property to render toolbar title
- advanced "adf-toolbar-title" element for compound toolbars

* move to SASS and improve styling

* fix divider color
2017-08-01 11:25:32 +01:00
Denys Vuika
be3d3d2aa3 [ADF-992] improve datatable styles according to UX guidelines (#2088)
* improve datatable style

* datatable and document list enhancements

- support to toggle header in DataTable
- Document List automatically hides header for empty content
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
Denys Vuika
00fb8d1fad fix datatable sass config (webpack) 2017-08-01 11:25:32 +01:00
Denys Vuika
f715361f94 [ADF-1092] independent styles for data-table (#2084)
* independent styles for datatable

- datatable (and all derived components) no longer depend on MDL css/js

* readme update
2017-08-01 11:25:32 +01:00
Denys Vuika
fb4ed0209b core sass enhancements (#2083)
- simplify file names
- simpify imports
- placeholder for mixins
2017-08-01 11:25:32 +01:00
Denys Vuika
ef518ea822 documentation and example (#2081) 2017-08-01 11:25:32 +01:00
Popovics András
f6c3fafe32 [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-08-01 11:25:32 +01:00
Maurizio Vitale
8a1281475c [ADF-1039] Search results highlighting (#2080)
* Provide a way to highlight the searched word

* Add unit test
2017-08-01 11:25:32 +01:00
Eugenio Romano
55cd57b49d Search add wildcard * to match all the (#2079) 2017-08-01 11:25:32 +01:00
Denys Vuika
8fef3b6781 [ADF-1047] preserve login providers between page reloads (#2078)
* preserve csrf and auth type settings between reloads

* update unit tests

* fix prefs issues

* fix tests
2017-08-01 11:25:32 +01:00
Eugenio Romano
8e2b022b6b readme search fix types 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
siva kumar
acfe257327 [ADF-918] Activiti Start Task - Refactoring (#2065)
* [#DW-60] Task-create Task

* Updated en.json with new form fields
* Refactored start Button(Disable/Enable)
* Migrated from mdl to md
* Added documentation

* #DW-60 Task- create task

* Changed component name ActivitiStarttaskButton to ActivitiStartTaskComponent
* activiti-start-task to adf-start-task

* [ADF-918]  Activiti Start Task - Refactoring

* Removed unwanted  activiti-start-task.png
* Renamed component name in test
* Refactored CSS

* [ADF-918] Activiti Start Task - Refactoring

* Added condtional parameter passing and added a test case

* [ADF-918] Activiti Start Task - Refactoring

* Removed trailing space.
* Refactored Spec file.

* [ADF-918] Activiti Start Task - Refactoring

* Created  startTaskModel with form feilds.
* Modified testcases  after adding startTaskModel.
* Removed @input property.

* [ADF-918] Activiti Start Task - Refactoring

* Fixed tslint issuse (Exceeds maximum line length)
* Refactored date field.

* [ADF-918] Activiti Start Task - Refactoring

* Changed property name date to dueDate.
2017-08-01 11:25:32 +01:00
Vito
160d73cee3 Fixed wrong referral to core in upload service tests (#2077)
* Fixed wrong referral to core in upload service tests
2017-08-01 11:25:32 +01:00
Maurizio Vitale
8b87ef0a21 Move the comment component inside a dialog as we did for the Involved people (#2070) 2017-08-01 11:25:32 +01:00
Denys Vuika
0262b3426e [ADF-1070] fix issue with user preferences and page reload (#2075)
* user preferences profile storage support

* update unit test
2017-08-01 11:25:32 +01:00
Maurizio Vitale
52ef483216 Replace loadingFlag with isLoading (#2074) 2017-08-01 11:25:32 +01:00
Infad Kachancheri
ae3f5078d1 [ADF - 1030] Datatable - enable isLoading to show the spinner in all the components (#2063)
* added spinner module and  translate text for process-list component

* added spinner loader for data-table in processlist-variable component

* added spinner loader for data-table in processlist component

* added spinner loader for data-table in process-attachmentlist component

* added spinner module and translate text for tasklist component

* changed css for adf-datatable: selector changed in component

* added spinner loader for data-table in tasklist component

* added spinner loader for data-table in task-attachmentlist component

* removed no-content template from task/process attachment list

* fixed tasklist testcase issues

* changed imort order for test cases

* fixed testcase issue in processlist component
2017-08-01 11:25:32 +01:00
Eugenio Romano
7772f92e64 remove duplicate social from scripts 2017-08-01 11:25:32 +01:00
Eugenio Romano
8a013b3bd1 [ADF-865] codelyzer diagrams and analytics (#2072)
* fix codelyzer diagrams and analytics

* fix test
2017-08-01 11:25:32 +01:00
Maurizio Vitale
8a509e3c31 [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-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
Denys Vuika
2a16bf2f34 [ADF-1026] i18n support for "empty" screen (#2066)
* i18n support for "empty" screen

* fix unit tests

* fix tests

* fix tests
2017-08-01 11:25:32 +01:00
Deepak Paul
403d5cea85 [ADF-497] Improvement to task comment (activiti-comments) component -1829 Github (#2054)
* [ADF-497] Improvement to task comment (activiti-comments) component - 1829 Github

* Added new design
* Removed dialog
* Migrated from mdl to md
* Created a new component to list comments by using data-table

* [ADF-497] Improvement to task comment (activiti-comments) component - 1829 Github

    * Added documentation

* [ADF-497] Improvement to task comment (activiti-comments) component -1829 Github

* Improved css class naming
* Changed component name AdfCommentList to AdfCommentListComponent
* Code refactoring

* [ADF-497] Improvement to task comment (activiti-comments) component -1829 Github

* Removed extra space at the end

* [ADF-497] Improvement to task comment (activiti-comments) component -1829 Github

* Import reordering
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
Vito
af63d2e805 Fix error on test into core component (#2062) 2017-08-01 11:25:32 +01:00
Denys Vuika
3b8cf27862 [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-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
Denys Vuika
dd61cf7b45 [ADF-1015] make "loading" state two-way bindable (document list) (#2052)
* make "loading" state two-way bindable

* update documentation

- update readme
- move "loading" property up to @Input properties
2017-08-01 11:25:32 +01:00
Denys Vuika
012d62eb55 [ADF-1006] fix 'isEmpty' issue and code cleanup (#2053)
* fix 'isEmpty' issue and code cleanup

* Update tsconfig.json
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
Denys Vuika
7a034bb217 fix form demo template 2017-08-01 11:25:32 +01:00
Vito
c0002217fe [ADF-819] added snackbar to single file drop (#2051) 2017-08-01 11:25:32 +01:00