Commit Graph

3675 Commits

Author SHA1 Message Date
Eugenio Romano
b23c5101f8 remove mdl from social component (#2219) 2017-08-15 13:39:00 +01:00
Maurizio Vitale
4ae2e42acf [ADF-1316] Add a new service assignByUserId (#2214) 2017-08-14 22:21:52 +01:00
Vito
db5427d61a [ADF-662] fix readonly button for upload and added event for show file in viewer (#2215) 2017-08-14 22:15:29 +01:00
Eugenio Romano
f7d7b7143c [ADF-1052] remove mdl tab (#2213) 2017-08-14 16:57:05 +01:00
Eugenio Romano
8ee8b1126a remove debug option (#2211) 2017-08-14 16:08:10 +01:00
Eugenio Romano
8bb4361645 [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-08-14 13:59:22 +01:00
Eugenio Romano
47d23f6105 [ADF-1169] validation date start task form (#2208)
* validation date start task form

* move mock test in before each of the creation component
2017-08-14 13:31:50 +01:00
Cristi Socea
2aa8855683 [ADF-1386] If pagination attribute is undefined shows inconsistent range (#2210)
* Add classes to pagination to better style the layout, improve an i18n translation

* Fix default pagination only if there’s no input on init
2017-08-14 11:45:21 +01:00
Denys Vuika
76d51b76ff remove MDL dependencies and old toolbar (#2207) 2017-08-14 11:34:50 +01:00
Denys Vuika
34b1e38175 [ADF-1021] custom tooltip formatter for data columns (#2206)
* custom tooltip formatter for data columns

* readme updates

* unit tests
2017-08-14 11:26:36 +01:00
Denys Vuika
efd422692c [ADF-1372] support for tooltips (Upload button) (#2204)
* support for tooltips (Upload button)

* readme update

* update layout to fix the tests

* remove test code
2017-08-14 11:24:43 +01:00
Vito
f725a39a49 [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-08-14 11:17:17 +01:00
Denys Vuika
224e15c8e1 [ADF-1374] Move download and create folder dialogs to ADF (#2205)
* move create folder and download zip dialogs to core

* code cleanup
2017-08-14 11:09:55 +01:00
Denys Vuika
98b4f4cef4 selection management enhancements for DT/DL (#2209) 2017-08-14 11:08:27 +01:00
Denys Vuika
a536bcbbd2 quick css fix for breadcrumb 2017-08-11 21:37:00 +01:00
Denys Vuika
fe6ab0b740 fix the pdf.js setup (#2203) 2017-08-11 16:17:17 +01:00
Maurizio Vitale
925cd0f7f1 [ADF-1139] People search - Provide an API to reset the search (#2196)
* People search provide a way to reset the search

* Fix readme rules
2017-08-11 16:15:58 +01:00
Denys Vuika
c6f00345d0 fix the build 1.8.0-beta4 2017-08-11 12:05:59 +01:00
Denys Vuika
5f47450643 [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-08-11 10:55:52 +01:00
Denys Vuika
9da61ddba7 Viewer enhancements and Viewer Dialog prototype (#2200)
* viewer dialog scaffold

* toolbar divider component

* simple error screen

* material module and tooltips

* show file name in the title

* improved settings, simple image viewer

* flex-based image viewer, minor fixes

* ability to switch between viewers

* single viewer for images

* remove MDL from the Viewer component

* remove hardcoded demo shell layout

remove harcoded assumptions on "header" and "main" elements

* rework text viewer, remove MDL dependency

* upgrade 'unknown format' view, remove MDL

* simplify media viewer layout

* simplify image viewer

* clean pdf viewer

* migrate pdf viewer styles to scss

* rewrite pdf viewer host styles in scss

* fix unit tests and cleanup layout

* file viewer service

* viewer dialog supports downloads if url provided
2017-08-11 10:15:13 +01:00
Cilibiu Bogdan
60b41e61f7 prevent color inheritance (#2202) 2017-08-11 09:51:20 +01:00
Cilibiu Bogdan
a4d12127ea [ADF-1358] Upload Dialog - Uploaded indicator should take in consideration cancelled files (#2197)
* indicate the number of files completed over cancelled ones

* changed test names
2017-08-10 15:09:15 +01:00
Denys Vuika
18b5f812bf fix pagination i18n setup (#2195) 2017-08-10 13:58:32 +01:00
Cilibiu Bogdan
a277a00a96 [ADF-1348] Upload Dialog - 'Cancel All' button does not render (#2192)
* refactored isUploadCancelled and isUploadCompleted

* improved checks
2017-08-10 10:26:25 +01:00
Popovics András
f372f4925d Files and search component fix with routing support (#2191) 2017-08-09 18:32:23 +01:00
Infad Kachancheri
a95883db10 [ADF-1088] Task Header in TaskDetails component shows Assignee but is not editable (#2176)
* added translate keyword for assignee header

* changed people-search component to change the header according to filter type

* changed tash-header component to make assignee clickable

* imlemented people-search component to assign the task to new user

* added handler for assign task to new user

* added testcase for assign task to user

* changed mdl textbox to angular material

* changed button to md and fixed issues in testcase after changed md

* changed property for people-search component

* added ng-content selector to pass header text and action button text  and removed property from people-search component

* added no_error_schema to fix testcase issue in people component

* fixed no-task-details component test case bug

* added people-search component in read me
2017-08-09 15:12:50 +01:00
Deepak Paul
8f750c75f6 [ADF-1116] Task list without any status filter (#2189)
* Added a new service to fetch tasks without state filter

* Added services to fetch tasks with state filter

* Added processInstanceId input for tasklist to filter task for a single process

* Updated README with new processInstanceId input
2017-08-09 15:11:49 +01:00
Maurizio Vitale
005c1cf54d Add process audit directive (#2188) 2017-08-08 20:13:53 +01:00
Popovics András
90f0aafb97 [ADF-459] Copy & move further features (#2187)
* Adding current folder to list by default

* Fix documentlist component's rowFilter and imageResolver

* Adding rowfilter to not show the current node in the list

* Removing unpermitted nodes from the selectable ones (not visually)

* Restore documentlist original behaviour (rowFilter and imageResolver)

* Select event interface works with array from this point on

* Introducing the one and only, mighty Breadcrumb

* Breadcrumb position fix

* Extract hightlight transform functionality from highlight pipe

* Highlight part I.

* Showing breadcrumb with the new redesigned functionality

* Rebase fix

* Error and success callback for the new content actions

* Tests for HighlightDirective

* Update documentation

* Until proper pagination we use this temporary fix

* Fix node unselection on folder change

* Fix accessibility support in dropdown breadcrumb
2017-08-08 16:41:20 +01:00
Ole Hejlskov
91f4a22ecc Add scripts to help the i18n team extract and import stings (#2186) 2017-08-08 16:38:57 +01:00
Cristi Socea
3973303e41 [ADF-994] Integrate SFS enhancements for Pagination component (#2119)
* Add pagination module with pagination component

* Update the old pagination to have the old selector

* Add licence headers to ts files

* Update pagination files

* Rename properties for consistency reasons and remove redundant event emitters

* Add PaginationQueryParams interface to reference the query params used for paginated requests

* Add documentation of pagination (work in progress)

* Add i18n translations to pagination component

* Rename some variables used in pagination template

* Update pagination component to be backwards compatible

* Update pagination component specs

* Update pagination’s documentation

* Remove the old pagination code

* Add old alfresco-pagination tag selector

* Update document list component to include the new pagination

* Add adf-pagination in search component

* Update link to pagination component from main readme file

* Update search component specs

* Add a default pagination object in case it’s not provided

* Assign pagination to default one to default the missing properties (if any)

* Remove unused variables

* Add fail hints from expectancies of pagination tests

* Add default onInit and remove the old defaults
2017-08-08 16:37:47 +01:00
Denys Vuika
5a26bdbb0d fix moment version 2017-08-08 14:46:28 +01:00
Denys Vuika
88fb63df92 css fix for breadcrumb 2017-08-08 14:03:03 +01:00
Denys Vuika
208c37c9f0 remove mdl from "Files" page (demo shell) (#2185) 2017-08-08 09:46:44 +01:00
Denys Vuika
a9a94c80a1 breadcrumb styles (#2183) 2017-08-08 09:46:37 +01:00
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