189 Commits

Author SHA1 Message Date
Cilibiu Bogdan
448c5564b2 [ADF-1745] Delete multiple nodes (#2481)
* multiple delete

* removed restore functionality

* data types
2017-10-18 09:26:10 +01:00
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
Eugenio Romano
9663971256 Sanitise the component and Demo shell from embedded strings (#2474) 2017-10-14 14:27:41 +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
Popovics András
10bc4b3043 Ultimate breadcrumb flex fix fox (#2463) 2017-10-11 18:33:26 +01:00
Eugenio Romano
7647f97dda remove deep combinator (#2457) 2017-10-11 17:51:45 +01:00
Eugenio Romano
4617a3b1cf remove >>> in favor of ::ng-deep
fix license check
2017-10-09 15:51:07 +01:00
Popovics András
97d4ecd131 Fix breadcrumb responsiveness (#2430) 2017-10-04 22:56:39 +01:00
Popovics András
cc1efc9cd6 [ADF-1611] Demo shell responsiveness (#2426)
* Reapplying the unreappliable

* Fix buggy search button

* Fix settings

* Last bit of responsive stylings
2017-10-04 17:54:18 +01:00
Denys Vuika
e3fbe21340 [ADF-1634] floating toolbar for PDF viewer (#2413)
* floating toolbar for PDF viewer

* use routing settings to toggle app menu

* remove dialog viewer

* remove duplicate menu
2017-10-04 09:57:35 +01:00
Denys Vuika
93a87af4a5 [ADF-1623] routing integration for Viewer (#2404)
* routed viewer (demo app)

* toolbar support

* app menu component for demo shell

* navigate back button

* fix unit tests

* improve viewer type detection and rendering

* download button

* automatic pdf rendition, spinners, ui tweaks

* border for pdf pages

* scroll top support

* docs update

* info drawer placeholder
2017-10-03 11:57:23 +01:00
Maurizio Vitale
55a999b492 Revert "Adding some responsiveness to demo shell app (#2408)" (#2410)
This reverts commit 6fa135faf317ed3bd5aa976e8fcbf38930b1a1c2.
2017-10-03 11:54:31 +01:00
Popovics András
6fa135faf3 Adding some responsiveness to demo shell app (#2408) 2017-10-03 11:49:07 +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
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
Eugenio Romano
5c7ccb9b83 fix toolbar and page port view for size in small devices (#2338)
remove old alfresco and activiti prefix
fix login toggle mobile devices
2017-09-14 19:53:46 +01:00
Denys Vuika
aed9532d9d remove unused checkbox from demo shell (#2322) 2017-09-11 17:01:31 +02: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
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
Denys Vuika
7f720fda3a fix issues with the icons column in DT/DL (#2277)
* fix issues with the icons column in DT/DL

- fix issue with screen reader label not being translated
- fix issue with column taking the width of the screen reader label

* fix custom selection icon position
2017-09-05 15:16:41 +01:00
Denys Vuika
5f7d690db5 dynamic column layout support (#2260) 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
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
Denys Vuika
bb79190209 remove MDL dependencies and old toolbar (#2207) 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
09b213dd04 [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-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
81712d69d6 fix the build 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
Popovics András
e6ae21a0bc Files and search component fix with routing support (#2191) 2017-09-05 15:16:41 +01:00
Popovics András
e93a771366 [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-09-05 15:16:41 +01:00
Denys Vuika
3741ae1c9e remove mdl from "Files" page (demo shell) (#2185) 2017-09-05 15:16:41 +01:00
Denys Vuika
2955d8ec23 adfTimeAgo pipe and demo (#2182) 2017-09-05 15:16:41 +01:00
Denys Vuika
6c1a758561 breadcrumb fixes (#2181) 2017-09-05 15:16:41 +01:00
Denys Vuika
2fe81ceeae fix demo shell issues (lint) 2017-09-05 15:16:41 +01:00
Denys Vuika
0f239a1fa3 [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-09-05 15:16:41 +01:00
Denys Vuika
91ef0b6947 [ASF-1227] new adf-node-permission directive (#2154)
* directive implementation

* update docs

* unit tests and api docs

* code improvements

* simplify code

* update type def and docs
2017-09-05 15:16:41 +01:00
Denys Vuika
c85bf05cb2 replace 'template' with 'ng-template' (#2167) 2017-09-05 15:16:41 +01:00
Eugenio Romano
cfa8a222f0 revert modify after rebase 2017-08-01 11:25:32 +01:00
Popovics András
4fd8bfb875 [ADF-1041] Node picker, first iteration (#2122)
* First try

* Dialog basic functionality

* Search input

* Hammering it together

* Fist working proto for copy

* Fix the tests and tslint errors for a happier world

* Add more tests (and test shells for the future)

* copyNode and moveNode methods

* Copy and move actions for content type

* Extract common parts in favor of using them in folder content type also

* Small fixes

* Copy and Move actions for folders as well

* Style fixes, ui behaviours and tests needed to be written

* Move duplicated search service from documentlist to core

* Use search service from core within the search component

* Fix dialog width

* Update docs

* Tests for node selector

* Change seletionMade event's name to select
2017-08-01 11:25:32 +01:00
Denys Vuika
0717563979 Fix upload bug (demo app) 2017-08-01 11:25:32 +01:00
Eugenio Romano
d573f32640 style permissions fix and add in hasPermission possibility to check t… (#2113)
* style permissions fix and add in hasPermission possibility to check the negate permission
* remove fdescribe in discovery test and add test for negate permissions
2017-08-01 11:25:32 +01:00
Denys Vuika
03f60d910f replace MDL sidebar with material2 menus (#2112)
* replace MDL sidebar with material2 menus

- separate language picker
- separate "more" menu

* toolbar theme picker

* fix toolbar button colors for different themes

* revert the commented out code
2017-08-01 11:25:32 +01:00
Denys Vuika
0b9ab68f22 basic toolbar docs and screenshots (#2108) 2017-08-01 11:25:32 +01:00