Commit Graph

3468 Commits

Author SHA1 Message Date
Infad Kachancheri
d6fc36a8d6 [ADF-794] Add people assignment component (#1977)
* Add people component

* exported people service

* added people-list component to show the involved user list

* changed people-search component layout

* changed people-list usage in people component

* changed people-list data table from custom template to data adapter

* changes people-search component related to people-list

* changes in activiti-people related to people-list and people-search component

* changed data adapter to direct data column setting to data-table

* removed ngChanges and added User and UserEvent models

* added User and UserEvent model in emitter and other emitter handler

* added user event model

* changed activiti-people component with latest UX changes

* addedand changed translate keys to the components

* added hasUser method to check the condition in html

* fixed tslint issue and test case issue in activiti-people component

* added test case for actviti-people-list component

* test case added for activiti-people-search component

* changed activiti-people test cases according to latest UX changes

* added description for activiti-people component

* changed test case to fix component.upgradeElement issue

* changes requested by Vito Albano #1

* splitted getDisplayUser into getDisplayUser and getInitialUsername
2017-08-01 10:19:27 +01:00
Denys Vuika
743e6cb105 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-08-01 10:19:26 +01:00
Denys Vuika
f79a34d7aa 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-08-01 10:19:26 +01:00
Popovics András
fe13a34077 [ADF-793] Ability to create PDF renditions in case of non supported formats (#1994)
* Style changes and button

* Convert to PDF button

* Convert to PDF button part II.

* Convert within the Not Supported Format component

* Rendition loading skeleton

* Conversion is working.

* Convert button behaviour tests

* Rebasing fix.
2017-08-01 10:19:26 +01:00
Maurizio Vitale
d57a1d6093 Fix compilation error (#1993) 2017-08-01 10:19:26 +01:00
Denys Vuika
fc8c81deb3 updated package-lock file and removed duplicates in package.json 2017-08-01 10:19:26 +01:00
Denys Vuika
9251b401ed [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-08-01 10:19:26 +01:00
Maurizio Vitale
517ebd3a96 [ADF-833] DataTable - improve the single and double click event (#1979)
* Improve the single and double click event

* Fix unit test
2017-08-01 10:18:43 +01:00
Eugenio Romano
2f04b7ad95 Table of content automatic creation (#1982) 2017-08-01 10:18:43 +01:00
Eugenio Romano
562bc3d86c [ADF-524] Fix empty state after the loading introduction (#1980)
* fix empty state after the loading introduction

* Update document-list.component.spec.ts

remove typo
2017-08-01 10:18:43 +01:00
Denys Vuika
25df65ed60 [ADF-717] upgrade i18n and charting dependencies (#1976)
* remove app-specific polyfill dependencies

remove polyfill dependencies never used by component libraries

* upgrade i18n dependencies

* upgrade ng2-charts dependency

* fix unit tests

* update demo projects
2017-08-01 10:18:42 +01:00
Vito
7b166346b9 [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-08-01 10:18:42 +01:00
Maurizio Vitale
a5d384890b [ADF-716] Task Header - Use a custom view inside the component (#1967)
* Use a generic custom view inside the task header

* Move the component into core component and change name

* Missing file

* Fix unit test

* fix unit test component name
2017-08-01 10:18:42 +01:00
Denys Vuika
90aa47e179 [ADF-814] application configuration service (#1969)
* app configuration service

* api improvements and readme update

* extend readme and add defaults

* unit tests for app config service
2017-08-01 10:18:42 +01:00
Vito
9eb9db6c8b [ADF-494] fixed readonly rendering for forms (#1972)
* [ADF-494] improved disabling for form

* [ADF-494] fixed readonly rendering for forms
2017-08-01 10:18:42 +01:00
Eugenio Romano
433f58061e remove brachet 2017-08-01 10:18:42 +01:00
Eugenio Romano
f9693a1447 [ADF-78] Update CORS help (#1973) 2017-08-01 10:18:42 +01:00
Eugenio Romano
1947e7944a [ADF-524] Datatable loading state (#1958)
* loading state datatable

* modify readme after review
2017-08-01 10:18:41 +01:00
Eugenio Romano
5bf025bfcb karma conf all single browser 2017-08-01 10:18:41 +01:00
Popovics András
892389f5ae [ADF-578] Remember me functionality (#1962)
* Remember me functionality

* Happy pack to ng2-components' package.json

* Build fix
2017-08-01 10:18:41 +01:00
Denys Vuika
c20da3b93e fix builds related to node-sass library (#1966)
* update dependencies and remove old lock files

* update sass loader

* updated lock files
2017-08-01 10:18:41 +01:00
Denys Vuika
697e0459e8 [ADF-591] documentation refinements (#1959)
* refine ng2-activiti-analytics

* refine ng2-activiti-diagrams docs

* refine ng2-activiti-form

* refine ng2-activiti-processlist

* refine ng2-activiti-tasklist

* refine ng2-alfresco-core

* refine ng2-alfresco-datatable

* refine ng2-alfresco-datatable

* refine gn2-alfresco-login

* refine ng2-alfresco-search

* refine ng2-alfresco-social

* refine ng2-alfresco-tag

* refine ng2-alfresco-upload

* refine ng2-alfresco-userinfo

* refine ng2-alfresco-viewer

* refine ng2-alfresco-webscript

* various readme cleanups
2017-08-01 10:18:41 +01:00
Eugenio Romano
0b6c9051f0 package lock update 2017-08-01 10:18:41 +01:00
Vito
081c2ce12a [ADF-802] fix error on uploading file to attachment list (#1957)
* [ADF-802] fix error on uploading file to attachment list

* [ADF-802] improved for loop
2017-08-01 10:18:40 +01:00
Vito
abe99746f2 [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-08-01 10:18:40 +01:00
Denys Vuika
78aab47094 update npm5 lock files 2017-08-01 10:18:40 +01:00
Eugenio Romano
de4ea368b8 [ADF-799] add HappyPack to webpack conf (#1956) 2017-08-01 10:18:40 +01:00
Denys Vuika
f26ce86aab fix issues with the require keyword (angular cli) (#1954) 2017-08-01 10:18:40 +01:00
Popovics András
0dc4b21920 [ADF-589] Login component different bug fixes (#1953)
* Basic style changes

* Further design changes

* Responsive design fixes

* Different sign in button style for the different login steps
2017-08-01 10:18:40 +01:00
Denys Vuika
c48e4be7c2 [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-08-01 10:18:39 +01:00
Eugenio Romano
2592486e62 fix thumbnail task process list (#1951) 2017-08-01 10:18:39 +01:00
Maurizio Vitale
c7dc6ccfb2 [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-08-01 10:18:39 +01:00
Maurizio Vitale
3f29074cf6 [ADF-773] Fix datatable custom template render (#1947) 2017-08-01 10:18:30 +01:00
Eugenio Romano
4585f2681f fix translation wrong folder creation issue 2017-08-01 10:18:30 +01:00
Eugenio Romano
8cfdc6f561 fix blob input in text viewer (#1942) 2017-08-01 10:18:30 +01:00
Popovics András
145ceccdfd [ADF-763] Add Chrome default browser for karma chrome launcher for Chrome versi… (#1941)
* Add Chrome default browser for karma chrome launcher for Chrome version<59

* Fixing intermittently failing test in ng2-activiti-analytics component
2017-08-01 10:18:30 +01:00
Denys Vuika
f1a1fc39a6 [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-08-01 10:18:30 +01:00
Eugenio Romano
bea14aa9ca add info and link on current last git commit (#1940) 2017-08-01 10:18:18 +01:00
Denys Vuika
308b086442 support for healdess chrome (#1939) 2017-08-01 10:18:18 +01:00
Maurizio Vitale
b5eef694df [ADF-744] Attachment List is not displayed within Processes. (#1937)
* Use the adf process attachment list indise demo shell

* Change documentation
2017-08-01 10:18:18 +01:00
Maurizio Vitale
922927ab03 [ADF-686] add blobFile as input (#1933) 2017-08-01 10:17:59 +01:00
Eugenio Romano
a81dcb9796 rollback demo tag 2017-08-01 10:17:59 +01:00
Eugenio Romano
960bbe0bad Source Mapping is not working on test debugging (#1931)
* coverage single components run fix

* remove spec.ts from coverage

* make the coverage and the istanbul-instrumenter-loader works only over the console test because a problem on the remapping for the browser test

* move tslint on the main folder of any component

* remove build:w from readme

* stop build tslint error also in spec files

* clear karma file from unnecessary files

* add set -f for build all script in order to accept *

* fix lint problem and failing tests

* fix failing test search component

* add loader test for viewer

* fix tslint error userinfo

* --max_old_space_size=2048 remove

* fix tslint error uploader unused EventEmitter

* remove spec|index|.*mock|.*model|.*event from coverage
2017-08-01 10:17:59 +01:00
Denys Vuika
ad886f608c [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-08-01 10:17:37 +01:00
Infad Kachancheri
69cae2f4d4 [ADF-713] Process Attachment - Provide a way to attach a new content (#1920)
* added service to get all the related content of the process instance

* added new component to create/upload attachment for process instance

* added unit test cases for create-process-attachment component

* exported create-process-attachment component

* added documentation for create-process-attachment component
2017-08-01 10:17:36 +01:00
Eugenio Romano
9230352f77 [ADF-721] Fix translation reference for dev task (#1923)
* move translation files in the bundles folder

* fix after review
ripristinate tslint and remove override tsconfig
2017-08-01 10:17:36 +01:00
Vito
8b8828328c [ADF-707] Ability to select a row on a dynamic table (#1921) 2017-08-01 10:17:36 +01:00
Infad Kachancheri
0c13842372 [ADF-712] Task Attachment - Provide a way to attach a new content (#1898)
* create button, download, view functionality added in task attachment list component

* created sevice to attach document to task

* added new component to create/uplaod attachment to task

* added new component to create/uplaod attachment to task

* added test case for create task attachment component

* added test case for create task attachment component

* added input to block upload document  to ECM

* fixed create task attachment spec file issue

* changed alfresco-upload to alfresco-core upload directive

* removed attachCreate button and emitter from task-attachment-list

* removed uploadToEcm input and checkValidity method from alfresco-upload

* added documentation for task-attachment-list and create-task-attachment components
2017-08-01 10:17:36 +01:00
Infad Kachancheri
dbf7616f8a [ADF-710] Create an Process Attachment List component (#1919)
* added new component to list the process attachments with view, download and delete functionality

* added unit test cases for activit-process-attachment-list component

* exported new process attachment list component

* added documentation for process-attachment-list component
2017-08-01 10:17:36 +01:00
Denys Vuika
ba4d0b51a2 [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-08-01 10:17:36 +01:00