Commit Graph

256 Commits

Author SHA1 Message Date
Eugenio Romano
fcb292c849 [ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12
update angular2 4.4.5

* fix changed version js-api

* update types hammerjs

* fix test

* clean old doc

* fix pagination test

* fix test

* missing update packages

* fix <mat-form-field> for select box

* start task component test
2017-10-16 09:58:19 +01:00
Cilibiu Bogdan
bfe8fc8d15 [ADF-1733] Restore files and folders from Trash (#2467)
* restore nodes

* changed @Inputs implementation

* NotificationService over mdSnackBar
2017-10-14 11:24:16 +01:00
Cilibiu Bogdan
892157f01c [ADF-1729] Mark Files and Folders as Favorite (#2466)
* favorite nodes

* removed fdescribe

* use Output over CustomEvent

* EventEmitter any
2017-10-13 10:34:25 +01:00
Eugenio Romano
a46cf4be64 [ADF-1724] Remove all log in favor of log service (#2465)
* remove console log from components

* remove console log from demo shell

* fix visibility issue

* fix error template

* remove console.log from spec

* fix tests

* fix test
2017-10-12 23:14:28 +01:00
Cilibiu Bogdan
c400d83b34 [ADF-1708] Context Menu - Material Design implementation (#2456)
* use angular material

* removed fdescribe
2017-10-11 10:14:52 +01:00
Maurizio Vitale
2e0a6936aa ADF InfoDrawer the title and tabs label must be localized (#2454) 2017-10-11 10:10:25 +01:00
Eugenio Romano
6016937ea2 renditions core test should not check the host 2017-10-09 17:05:23 +01:00
Eugenio Romano
ad13bcafd6 fix user model process service and image loading (#2431) 2017-10-05 22:35:14 +01:00
Denys Vuika
1ac8f9634f [ADF-1636] fix issues with i18n resource composing (#2434)
* fix issues with i18n resource composing

merge resources instead of concatenating, make 'app' resource always load last

refs #2412

* unit tests
2017-10-05 17:13:37 +01:00
Denys Vuika
337c97d94c fix the menu height issue (#2438) 2017-10-05 17:11:17 +01:00
Denys Vuika
12f5a219f5 support page picker for document list (#2424) 2017-10-04 15:03:11 +01:00
Eugenio Romano
d378d2702b add service suffix page title service (#2418) 2017-10-04 09:23:31 +01:00
Denys Vuika
250aa360d2 improved ecm auth guard (#2402) 2017-10-02 12:20:40 +01:00
Denys Vuika
7c1bd46642 page title service (#2403) 2017-10-02 12:17:28 +01:00
Popovics András
9f0e40a6e8 [ADF-1583] Fix change detection error (the quick way) (#2396)
* Fix change detection error (the quick way)

* Fix it the second time
2017-09-29 17:49:01 +01:00
Denys Vuika
b158afef2b [ADF-1613] logout directive (#2393)
* logout directive

* test fixes
2017-09-29 16:12:51 +01:00
Cilibiu Bogdan
809e14d641 [ADF-1616] download zip dialog title (#2397) 2017-09-29 09:00:06 -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
madhukar23
1497133213 [ADF-1590] Cursor pointer is not displayed on expand/collapse Task and Process Filters (#2370)
* [ADF-1590] Cursor pointer is not displayed on expand/collapse Task and Process Filters

* Added property [cursor: pointer] in accordion-group.component.scss

* [ADF-1590] Cursor pointer is not displayed on expand/collapse Task and Process Filters

* Added property [cursor: pointer] in accordion-group.component.scss

* Added css property for expand/collapse problem on heading click
2017-09-26 15:17:27 +01:00
Popovics András
2d6c8f92f0 [ADF-1364] Infinite scrolling for Copy & Move (#2362)
* Use infinite pagination for search also
* Fix highlight in copy & move
* Fix highlight and material menu issue
* Update documentation
2017-09-21 14:34:31 +01:00
madhukar23
c8743dacc6 [ADF-1574] Info Drawer - Add a mechanism to know the current active tab (#2352)
* [ADF-1574] Info Drawer - Add a mechanism to know the current active tab

* Added a output event in adf-info-drawer component to get the currently active tab

* [ADF-1574] Info Drawer - Add a mechanism to know the current active tab

* Added a output event in adf-info-drawer component to get the currently active tab

* Added unit test file

* Updated info-drawer.md
2017-09-21 09:23:47 +01:00
Eugenio Romano
d7bd9aa50b [ADF-1568] Clean polyfills (#2347)
Use msSaveOrOpenBlob in content service for save fiel in IE
2017-09-19 10:03:41 +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
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
Denys Vuika
e96f6aa481 [ADF-1544] app config file management refactoring (#2331)
* application configuration service refactoring

* fix demo shell

* remove logging to console
2017-09-14 10:06:40 +01:00
Popovics András
45038c52ce [ADF-1478] Make the pagination more responsive (#2315) 2017-09-11 12:29:52 +01:00
Denys Vuika
1cf2db48ac [ADF-1534] Automatic PDF rendering for unsupported types. (#2313)
* move viewer dialog to a separate folder

* make dialog take full screen size

* automatic PDF conversion

* mime type icon in the title

* [ADF-1530] correct plain text viewer resolving

* separate lightweigh pdf view for the dialog
2017-09-11 10:08:44 +01:00
Vito
9734e5f226 [ADF-1516] added parsing on date check (#2301) 2017-09-06 11:18:35 +02:00
Popovics András
1ff9aa8e08 Remove piercing operators from components which lost the encapsulation (#2299) 2017-09-05 15:16:41 +01:00
Eugenio Romano
f6db06a585 add dynamic color background info drawer (#2292) 2017-09-05 15:16:41 +01:00
Vito
4e50c4e2d6 [ADF-1458] revert changes applied for upload button (#2286)
* [ADF-1458] reverting changes from ADF-1458

* [ADF-1458] reapply default value to disabled

* [ADF-1458] revert changes on README

* [ADF-1458] update readme added more check for node permission checking

* [ADF-1458] reverting changes to tests

* [ADF-1458] revert changes for test directive
2017-09-05 15:16:41 +01:00
Mario Romano
62e50e8fbf [ADF-1498] fix pagination (#2288)
* fix pagination height missalignment ADF-1498

* [ADF-1498] fix pagination tasklist
2017-09-05 15:16:41 +01:00
Mario Romano
5847ebede9 fix pagination height missalignment ADF-1498 (#2284) 2017-09-05 15:16:41 +01:00
Vito
1f66cf8c56 [ADF-1458] wrongly named input attribute - renamed disabled into disable (#2270)
* [ADF-1458] wrongly named input attribute - renamed disabled into disable

* [ADF 1458] renamed disabled attribute in disable
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
Popovics András
e852856a24 [ADF-1435] Info drawer (#2249)
* First version of adf-info-drawer with design make-ups for task details page

* Moving tabbing functionality into adf-info-drawer

* Update documentation
2017-09-05 15:16:41 +01:00
siva kumar
9f4739b3c7 [ADF-1456] timeAgo Pipe - Return invalid date when the input is empty. (#2240)
* [ADF-1456]  timeAgo Pipe - Return invalid date when the input is empty.

* Return the empty string instead of an Invalid Date error when  the given date is empty.
* Added test cases.

* [ADF-1456] timeAgo Pipe - Return invalid date when the input is empty.

* Changed test case to handle modified  time zone.
2017-09-05 15:16:41 +01:00
Cilibiu Bogdan
07ba8bc15f [ADF-1403] Upload Dialog - Delete files event (#2234)
* remove provisional service

* Error and Delete events

* delete status

* separate upload events

* update demo

* files upload counter and errors

* pendig files icon and action

* remove multiple files error key

* handle cancel files

* fixed component theme

* remove fdescribe

* resolved comments

* throw error
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
Denys Vuika
def3cbaee8 [ADF-1220] Extra data sources for Document List (#2224)
* initial trashcan support and demo page

* use testbed for unit tests

* support for restricting navigation for special data sources

* shared links mode, thumbnail fixes

* update unit tests

* improve Trashcan/SharedLinks columns

* Sites view for document list

* Favorites support for DL, upgrade to latest js-api (alpha)

* recent files support for document list

* support default presets

* readme updates and code fixes

* code fixes

* breadcrumb fixes

- show custom root node for certain scenarios
- fix css issues
- fix crash related to missing "path" property for certain scenarios

* toolbar style fixes

- addresses the shrinking issues with components embedded into toolbar (i.e. breadcrumb)

* i18n support for column presets

* unit tests
2017-09-05 15:16:41 +01:00
Popovics András
ac55704220 [ADF-1188] Upload related components, unify interfaces, deprecate disableWithNoPermission (#2216)
* Deprecate enabled input property in UploadDragAreaComponent

* Refactoring about disabled property

* using adf-node-permission directive, deprecating disableWithNoPermission

* Parent component access from directive

* Upliad drag area component uses the directive also

* Usage of property instead of helper method in the NodePermissionSubjects

* Fix small issues

* Update readme files
2017-09-05 15:16:41 +01:00
Denys Vuika
06e03ad1e9 [ADF-1404] Data Column enhancements for Document List (#2220)
* support 'timeAgo' format for data-column

* file size column type and bug fixes

* readme updates

* location column type

* readme fixes

* update unit tests

* file size pipe tests
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
Eugenio Romano
6d30752386 [ADF-1169] validation date start task form (#2208)
* validation date start task form

* move mock test in before each of the creation component
2017-09-05 15:16:41 +01:00
Cristi Socea
7aecd13b6f [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-09-05 15:16:41 +01:00
Denys Vuika
fc46830f7d [ADF-1021] custom tooltip formatter for data columns (#2206)
* custom tooltip formatter for data columns

* readme updates

* unit tests
2017-09-05 15:16:41 +01:00
Denys Vuika
8b4261acb3 [ADF-1374] Move download and create folder dialogs to ADF (#2205)
* move create folder and download zip dialogs to core

* code cleanup
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
bb53844f92 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-09-05 15:16:41 +01:00