2022 Commits

Author SHA1 Message Date
Denys Vuika
0ea7259988 style fixes for viewer (#2858)
* style fixes for viewer

* use theme colors

* initial theme support for PDF viewer
2018-01-23 11:35:45 +00:00
Vito
a401ebd35d [ADF-2150] improved queryBody mechanism (#2852)
* [ADF-2150] changed query body parameter to a function

* [ADF-2150] added an example page where to try change query body

* [ADF-2150] improved queryBody mechanism

* [ADF-2150] fixed content node test

* [ADF-2150] extended docs added another way to use the query node

* [ADF-2150] fixed test for search on content node

* [ADF-2150] added some improvements to service config

* [ADF-2150] changed the documentation accordingly

* [ADF-2150] added PR changes

* [ADF-2150] fixed jdoc

* [ADF-2150] added checkbox to switch from service approach to input object approach

* [ADF-2150] fixed build error on demo shell
2018-01-23 10:12:52 +00:00
Popovics András
89a7b0c4b0 [ADF-2157] Infinite pagination target supporting (#2856)
* Infinite pagination target supporting

* Updating documentation
2018-01-22 10:59:05 +00:00
Popovics András
d189567853 Fix localisation in Datetimepicker (#2851) 2018-01-22 10:54:07 +00:00
Maurizio Vitale
e883f5c83d Rollback the upgrade libs (#2850) 2018-01-18 19:15:52 +00:00
Andy Stark
c9a3b048b4 [ADF-1769] Added JSDocs and updated prop table script (#2838)
* [ADF-1769] Added JSDocs and updated prop table script

* [ADF-1769] Fixed lint error in JSDoc
2018-01-17 17:11:22 +00:00
Eugenio Romano
b1fd6cb60c
[ADF-2055] Ability to pre-populate form with a file and values (#2834)
* fix translations form

* fix style webpack script

* fix tslint error problem in viewer

* fix naming problems in attach file widget

* add start process form values data initialization option

* fix translation problems

* missing return type

* start process name configuration

* add CS cross PS configuration

* start process from file example

* fix minor issues

* add documentation and move the dialog in a separate component

* easy test select app

* alfrescoRepositoryName right property

* file conversion test

* fix issue after CR

* Remove forgotten semicolon.
2018-01-17 17:06:00 +00:00
Popovics András
ed6c62b990 Remove wrapping form datatable header (#2841) 2018-01-17 13:54:43 +00:00
Vito
66262c4822 [ADF-325] added attach folder widget (#2831)
[ADF-325] added new attach folder widget
2018-01-16 14:28:39 +00:00
Maurizio Vitale
3671c12f35 [ADF-2148] Update the angular and material libraries to the latest version (#2821)
* Update the angular and material library to the latest version
2018-01-16 00:10:50 +00:00
jdosti
9d6e10d5c2 [ADF-2172]Adding data-automation-id for create task/process button (#2828) 2018-01-15 23:50:25 +01:00
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