2061 Commits

Author SHA1 Message Date
Denys Vuika
e97a6de792 fallback to image preview if PDF rendition now available (#2827) 2018-01-12 20:02:05 +00:00
Denys Vuika
713e4bb33b [ADF-2136] support shared links and renditions in the Viewer (#2826)
* support previewing shared link content

* remove unused router instance

* docs update

* support 'shared links' preview in the Viewer
2018-01-12 17:12:34 +00:00
Vito
46ad98cd8b [ADF-2054] Created a new widget to handle uploading file from Share (#2810)
* [ADF-2054] start creating custom upload widget for share integration

* [ADF-2054] changed content node selector service to allow different opening approach

* [ADF-2054] addedd support for multi resource files

* [ADF-2054] fixed base case for upload when only local files are selected

* [ADF-2054] start adding and fixing tests for new share attach button widget

* [ADF-2054] changed test to perfrom a correct check

* [ADF-2054] removed fdescribe

* [ADF-2054] added test for share-widget component

* [ADF-2054] added peer reviews changes

* [ADF-2054] created a module folder for content widgets

* [ADF-2054] fixed wrong import

* [ADF-2054] fixed rebase errors

* [ADF-2054] restored some files changed by rebase

* [ADF-2054] added link to content services to fix packaging issue

* [ADF-2054] renamed widget
2018-01-12 13:28:18 +00:00
Andy Stark
72cfd7894d [ADF-1769] Added JSDoc for components (#2823)
* [ADF-1769] Added JSDoc for components

* [ADF-1769] Fixed tslint error with trailing whitespace
2018-01-12 13:25:54 +00:00
Eugenio Romano
f6cf036769
[no-issue] downgrade scss bundle and some other minor fix (#2824)
* downgrade scss bundle and some other minor fix

* 2.0.9

* remove chrome in travis conf

* execute different configuration
2018-01-12 13:23:17 +00:00
siva kumar
d5b17c14e2 [ADF-2097] Sidebar Action Menu - New component (#2813)
SidebarMenu Component
2018-01-11 14:54:50 +00:00
Popovics András
783f7f0497 [ADF-1986] Content matadata editing phase II. (#2796)
* Aspects collection

* Fetch only those metadata aspects which are defined in the application config

* Aspect property filtering first round

* Addig wildcard support for preset, default preset fallback to wildcard, and logging

* Add white list service

* Renaming services

* ContentMetadataService and CardViewItemDispatcherComponent update

* Observables... Observables everywhere...

* Propers CardViewAspect

* Defining more interfaces

* Dummy data and expansions panels

* Fix build attempt & proper panel expansion

* Folder restructuring

* Add different type mappings

* Restructuring Card view component

* Fix build

* More ECM types supported

* Validators first phase, extraction of interfaces, world domination preparation

* Validators phase II.

* Integer and float validators

* Hide empty text items and validation message foundation

* Validation error messages for text item view, small style changes

* Update date item

* bool item component

* Datetimepicker npm module

* Datetime model

* Add mapping for datetime

* Small fixes

* Passing down preset

* Adding forgotten package.json entry

* Adding some tests for wrapper card component

* content-metadata.component tests

* Covering some edge cases, adding some tests

* Fix cardview component's test

* Add datetimepicker to demoshell

* card view component show empty values by default

* displayEmpty dependency injection

* remove table like design from cardview

* Using alfresco-js-api instead of spike

* Remove spike folder and contents

* Fix test

* Cardview updated docs

* Content metadata md

* Fix review issues

* Fix the packagr issue
2018-01-11 12:31:22 +00:00
Denys Vuika
9e706d68e4 [ADF-1999] fix file size translation for 0 bytes (#2817)
* fix file size translation for 0 bytes

* update translation mock
2018-01-11 10:13:31 +00:00
Eugenio Romano
95a33363cf
No input and No Output rename tslint rule (#2814) 2018-01-10 17:39:55 +00:00
Eugenio Romano
932a23d449
[fix-build] add stable version chrome in travis conf (#2819)
* chrome stable
2018-01-10 14:53:47 +00:00
Denys Vuika
58166d36f3 viewer styling improvements (#2805) 2018-01-08 14:13:32 +00:00
Denys Vuika
e98d904363 [ADF-1999] i18n support for file size pipe (#2803)
* i18n support for fileSize pipe

* remove unused declaration

* update unit test
2018-01-05 21:26:09 +00:00
Denys Vuika
f9fb7dc7dd cache busting for translation files (#2804) 2018-01-05 21:23:41 +00:00
madhukar23
e66cb4035a [ADF-2109] Task Form - The form doesn't fit in the mobile screen (#2797)
* [ADF-2109] Task Form - The form doesn't fit in the mobile screen

* Made form mobile compatible

* Fixed issues arising due to the issue ADF-2094

* [ADF-2109] Task Form - The form doesn't fit in the mobile screen

* Made adf form mobile compatible

* Fixed issues arising due to the issue ADF-2094
2017-12-27 10:10:17 +00:00
Maurizio Vitale
23c912989a Fix adf is not defined for customStencil (#2795) 2017-12-21 17:18:02 +01:00
Eugenio Romano
413dcc9e45
fix different material depencncies (#2791) 2017-12-19 15:41:36 +00:00
Maurizio Vitale
14c81ca978 [ADF-2103] Info Drawer - Provide a way to select a different tab (#2788)
* Provide a way to select a different tab

* Fix the default value

* Override the value through the html
2017-12-18 12:11:23 +00:00
madhukar23
7653e5784d [ADF-2094] Task Form - Doesn't follow the specification (#2786)
* [ADF-2094] Task Form - Doesn't follow the specification

* Removed icon visible beside title

* Made font-size for title as semibold 20px

* Set the outcome buttons on bottom right side

* set color of Complete button as primary

* [ADF-2094] Task Form - Doesn't follow the specification
* Changed the css for the Adf-form according to zeplin design

* Removed icon visible beside title

* Made font-size for title as semibold 20px

* Set the outcome buttons on bottom right side

* set color of Complete button as primary

* [ADF-2094] Task Form - Doesn't follow the specification

* Changed the css for the adf-form according to zeplin design

* Removed icon visible beside title

* Made font-size for title as semibold 20px

* Set the outcome buttons on bottom right side

* set color of Complete button as primary
2017-12-15 16:41:06 +00:00
Vito
9afa632148 [ADF-2065] Refactored Content node selector component (#2778)
* [ADF-2065] created dialog component for content node selector

* [ADF-2065] removing SiteModel from site dropdown to use SitePaging model of js-api

* [ADF-2065] - removed site model and updated documentation

* [ADF-2065] fixed test for site component

* [ADF-2065] refactored content node selector and created content node selector dialog

* [ADF-2065] fixed test on site-api service

* [ADF-2065] added a new content node dialog service to centralise the logic for content node dialog

* [ADF-2065] start adding test for node-actions service|

* [ADF-2065] added test for node-actions service

* [ADF-2065] added test for node action service

* [ADF-2065] renamed components to keep backward compatibility

* [ADF-2065] added input just for backward compatibility

* [ADF-2065] added some changes for backward compatibility and updated documentation

* [ADF-2065] updated documentation for content node selector
2017-12-14 12:36:08 +00:00
Denys Vuika
d489dd175a add missing exports (#2782) 2017-12-14 00:47:06 +00:00
Denys Vuika
6b80969c37 special CSS class if pagination is empty (#2780) 2017-12-13 14:50:35 +00:00
madhukar23
b3fb51e06d [ADF-2069] Error is displayed on console when adding a description to a task. (#2779)
* Fixed the console error coming while adding description or priority in task details
2017-12-12 14:22:02 +00:00
Eugenio Romano
a99c1a37e4
[ADF-2056] update dependencies (#2764)
* update dependencies
add ban for fdescribe in tslint
reenable test
add badge codacy
check bundles esm5 and esm2015
travis run new vuild script

* remove fdescribe

* material 5.0.0 stable release
2017-12-07 11:58:16 +00:00
mihai sirghe
321c4f48e1 [ADF-1826] Task Header - The priority property should be editable (#2768)
* [ADF-1826] Task Header - The priority property should be editable

* [ADF-1826] - Fixed isEditble typo

* [ADF-1826] - Adding unit test - checking the priority value is displayed

* [ADF-1826] fixed unit test

* [ADF-1826] fixed unit test (replaced fit with it)
2017-12-06 20:46:28 +00:00
madhukar23
4462486df1 [ADF-2025] Task List - The pagination should be fetched from the UserPreference (#2733)
[ADF-2025] Task List - The pagination should be fetched from the UserPreference
2017-12-04 17:33:45 +00:00
Popovics András
163ef2edc2 Fix line clamp temporary (#2747) 2017-12-04 09:52:26 +00:00
Denys Vuika
6c8ed9eae0 support for explicit viewer type for URL (#2688) 2017-12-04 09:49:03 +00:00
Vito
dc213adf55 [ADF-1752] disable completely sidebar when allowSidebar option is false (#2753)
* [ADF-1752] disable completely sidebar when allowSidebar option is false

* [ADF-1752] improved condition for showing toolbar
2017-12-04 09:45:14 +00:00
Eugenio Romano
ee5b4c9978 2.0.0 bump version 2017-11-29 09:18:05 +00:00
Denys Vuika
032f1237f0 viewer style fixes (#2743) 2017-11-28 08:28:27 +00:00
Denys Vuika
2746b29984 [ADF-2032] viewer reopening fixes (#2739)
* viewer reopening fixes

* docs update
2017-11-27 22:41:10 +00:00
Denys Vuika
82dca30d7f [ADF-2039] pagination fixes (#2742)
* pagination fixes

* test fixes
2017-11-27 22:39:58 +00:00
Eugenio Romano
9b7e018f93
[no issue number] fix unsubscribing in documentlist (#2740)
* fix unsubscribing in documentlist

* fix tslint errors
2017-11-27 17:51:18 +00:00
Denys Vuika
a9d61e5d6e [ADF-2016] pagination integration for document list (#2718)
* pagination integration for document list

* reload data only if needed

* unit tests for document list

* pagination tests

* update docs
2017-11-27 10:14:08 +00:00
Eugenio Romano
197fab4da8
[ADF-2010] Move/copy, when searching for folder multiple results are returned (#2727)
* adding debounce time in object picker
unify search api
fix multiples duplicate result
remove limit of 4 character to search

* remove three.min.js

* remove unused import

* tlsint fix and remove file

* rename sitesApiService to sitesService as all the other services

* fix test timeout async
2017-11-26 22:06:05 +00:00
mihai sirghe
eba46e4e44 [ADF-2007] Info Drawer - currentTab event should return a key not the label (#2715)
* [ADF-2007] bug fix

Info drawer will emit the current active tab instead of the tab label
Also updated the test spec

* Emit tab index on clicking
2017-11-24 23:55:03 +00:00
Popovics András
9bc99665ef Fix misalignment in FF also (#2709) 2017-11-23 14:04:16 +00:00
Popovics András
0de9c7d7eb Make login iPhone compatible (#2708) 2017-11-23 12:46:28 +00:00
Eugenio Romano
d2e1dc5aed [ADF-1871] Tasklist IE 11 crash 2017-11-23 01:23:04 +00:00
Popovics András
7d25d84850 Restore original functionality of node-permission directive (#2698) 2017-11-22 18:28:50 +00:00
Vito
01ff35a786 [ADF-1921] fixed error message for dynamic table (#2696)
* [ADF-1921] fixed error message for dynamic table

* [ADF-1921] removed console log
2017-11-22 17:22:52 +00:00
Eugenio Romano
f629f48d16
[ADF-1968] [IE11] The login page is not loading and import fix (#2679)
* fix viewer script
export insights and diagram
remove requires svg
fix new data adapter path
dist working with diagrams commented out
change use of minimatch
fix unused import
remove unused component
fix test
new import moment es6 and throw rxjs
fix import analytics test
fix imports rxjs
new pacakging

* fix after rebase

* fix test upload services

* exclude temporarily button event test

* restore commented demo shell files

* fix process spy
2017-11-22 10:33:56 +00:00
Cilibiu Bogdan
39737b3df6 canActivateChild implementation (#2691) 2017-11-22 10:07:27 +00:00
mihai sirghe
ed35a291b4 [ADF-1890] - Viewer - Content projection for sidebar only works if si… (#2661)
* [ADF-1890] - Viewer - Content projection for sidebar only works if sidebarPosition is left

This issue is now fixed using angular flex
Also updated the test suite
Tested on chrome, firefox and safari

* [ADF-1890] - Viewer - Content projection for sidebar only works if sidebarPosition is left

This issue is now fixed using angular flex
Also updated the test suite
Tested on chrome, firefox and safari

* Replaced fit statements with it

* added flex dependenty to the viewer component spec file

* Update for sidebar component template

* Delete npm-debug.log from repo

* Fix sidebar height issues

* Fix tests
2017-11-21 16:27:19 +00:00
Vito
ffef846f1e [ADF-1976] fixed visibility condition on container widget (#2686) 2017-11-21 15:57:20 +00:00
Popovics András
4f651ab868 [ADF-1975] Fixing missing style mixin invocations (#2685)
* Fixing missing theme mixin inclusion for forms

* Fix missing style mixins in core

* Make process-services' scss mixins' naming conventional
2017-11-21 12:41:47 +00:00
Vito
b35b8b0e2e [ADF-1951] fixed parsing date value when on readonly mode (#2674) 2017-11-20 20:38:13 +00:00
Popovics András
a62d550325 Fix buggy context-menu behaviour after cdk update (#2672) 2017-11-20 14:41:21 +00:00
Vito
141bc0f8b4 [ADF-1805] rebased documentlist pagination removal (#2668)
* [ADF-1805] rebased documentlist pagination removal

* [ADF-1805] fixed some wrong changes]
2017-11-20 10:40:05 +00:00
Eugenio Romano
bbe423759c create single scss pack and script
remove unnecessary file from pack
fix problem dev change style
fix theme picker
2017-11-18 11:49:23 +00:00