56 Commits

Author SHA1 Message Date
dhrn
3f45e7b35d
[ACA-2368] UI Issues while editing Metadata in the Preview Page #1091 (#5562)
* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* tslint fxed

* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* * revert commits

* Revert "* revert commits"

This reverts commit fd0e86084cc4ac14870d9008400528f63a681c59.

* * unit test added
2020-03-25 11:06:40 +00:00
Eugenio Romano
ad9aaf2b40
add mp3 support mediatype viewer/thumbnail blob (#5357) 2020-01-07 16:13:49 +01:00
Cilibiu Bogdan
a60fb744c4 [ADF-4965] Viewer - pass navigate before and next event (#5166)
* pass event

* update docs
2019-10-17 19:25:54 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Eugenio Romano
f04c135377
Fix e2e test (#4981)
* fix core viewer

* increase rendition retry

* sso refresh before test

* general fix test

* try use last proxy

* avoid use proxy

* remove proxy

* fix setting tests

* fix share and sso test

* fix lint exclude

* fix sso

* fix some process services cloud e2e

* fix sso download

* exclude sso test

* fix cloud

* add logout content service test

* add logout core

* add logout search

* redefine global before all

* separate protracotr method

* try

* try multiple attempt before all

* add prefix group and users

* add prefix group and users

* add prefix group and users

* rexecute sso test

* fix process service visibility e2e

* split SSO login test

* fix SSO download

* fix SSO download

* fix some cloud issues

* fix some cloud issues

* fix some cloud issues

* share file fix cs

* fix cloud test
2019-08-08 17:52:45 +02:00
arditdomi
dc450a3af2 [ADF-4480] Change Viewer behaviour when opening unsupported files (#4922)
* [ADF-4480] Change Viewer behaviour when opening unsuported files

* [ADF-4480] Fix identations

* [ADF-4480] Make timeout of rendition retry constant
2019-07-13 11:35:21 +01:00
Cilibiu Bogdan
ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +01:00
davidcanonieto
181cee72d6 [ADF-4364] Fix Back button action on Viewer Component (#4613)
* [ADF-3364] Fix Back button action on Viewer Component

* [ADF-4364] Fix Module providers

* [ADF-4364] Add unit tests

* [ADF-4364] Fix unit tests

* [ADF-4364] Fix lazy loading module of Viewer component
2019-04-18 11:34:16 +02:00
Denys Vuika
a7a48e8b2b enable prefer-const rule for tslint, fix issues (#4409)
* enable prefer-const rule for tslint, fix issues

* Update content-node-selector.component.spec.ts

* Update content-node-selector.component.spec.ts

* fix const

* fix lint issues

* update tests

* update tests

* update tests

* fix code

* fix page class
2019-03-27 09:55:30 +00:00
Denys Vuika
26c5982a1a extensibility improvements (#4484)
* add missing interfaces to extensions library

* separate rule service

* api enhancements

* fix test

* improve APIs
2019-03-27 09:54:50 +00:00
Eugenio Romano
3136580bba
[ADF-4225] Viewer extension accept multiple file type (#4427)
* viewer extension can target multiple types.

* fix lint
2019-03-12 21:18:09 +00:00
Eugenio Romano
bda7e07b52
[ADF-4125] simplify extension load in extension module (#4214)
* add extension load in extension module

* add viewer extensions

* fix license header

* fix node passed in the viewer extension

* fix node passed in the viewer extension

* startup factory extension

* startup factory extension

* fix script

* fix beta tag build

* fix build

* fix build

* refactoring configuration files

* extension using map

* fix build

* fix config

* fix test

* fix test
2019-02-22 14:19:41 +00:00
Eugenio Romano
c55cba5514
license header update 2019 (#4300) 2019-02-12 01:18:43 +00:00
Eugenio Romano
7d061b2c11
[ADF-1873] Remove all deprecated code from ADF (#4145)
* remove deprecated code part 1

* remove deprecation step 2

* fix spellcheck

* fix

* fix lint

* fix not used import

* remove deprecation

* fix test first part after remove deprecation

* fix test

* fix sidebar demo shell
2019-01-15 15:36:01 +00:00
Eugenio Romano
3ef7d3b7ea [ADF-] update library to use new js-api 3.0.0 (#4097) 2019-01-08 16:29:30 +00:00
davidcanonieto
7197e1e13a [ADF-1443] Refactor Download directive (#4028)
* [ADF-1443] Refactor Download directive

* [ADF-1443] Node Download Directive now accepts single node and an array as input

* [ADF-1443] Fix Unit tests

* [ADF-1443] Fix unit test related to viewer component
2018-12-05 16:39:21 +00:00
Eugenio Romano
34a30c0f14
tslint arrow-parens rule (#4003) 2018-11-23 01:06:56 +00:00
Eugenio Romano
58f61fd836
[ADF-3643] Viewer shows both sidebar icons (#3852)
* Viewer shows both sidebar icons

* update readme

* add config editor for start-process
2018-10-03 11:29:55 +01:00
Andy Stark
431bde3ddf [ADF-3587] Fixed doc comment problems (#3822)
* [ADF-3587] Fixed missing docs for accessor properties

* [ADF-3587] Fixed badly formed doc comments with deprecated tag

* [ADF-3587] Fixed linting issue with doc comment
2018-09-25 21:45:16 +01:00
Eugenio Romano
897a557afa
[ADF-3332][ADF-3352] Add property e2e test and leftsidebar viewer (#3814)
* new viewer test
left sidebar
fix height width no overlay viewer

* fix lint and failing e2e

* missing semi column

* fix test

* fix template

* documentation
2018-09-21 11:37:40 +01:00
Denys Vuika
9a9c3dbfbc [ADF-3357] text viewer fixes (#3800)
* text viewer fixes

* allow viewing 'css' and 'md' files as text
2018-09-18 10:49:35 +01:00
Andy Stark
58d765a355 [ADF-3551] Doc review updates (#3793)
* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs
2018-09-14 14:41:25 +01:00
Denys Vuika
c5c1aa9ecb [ADF-3443] basic printing support (#3777)
* printing service

* code fixes

* update code
2018-09-12 13:04:43 +01:00
Vito
35e1563fde [ADF-3324] added redirect to 404 page when the shared link is invalid (#3749)
* [ADF-3324] added redirect to 404 page when the shared link is invalid

* [ADF-3324] removed fdescribe

* [ADF-3324] fixed documentation adding the new event
2018-09-10 11:10:44 +01:00
Eugenio Romano
35bcd80106 fix title viewer issues of priority between name display and real name 2018-08-14 15:42:59 +01:00
Eugenio Romano
163ff13000 build fix 2018-08-14 15:42:58 +01:00
Eugenio Romano
6b8bd4685c fix mat datetime picker regression 2018-08-14 15:42:57 +01:00
Denys Vuika
6b24bfb1d4 [ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 (#3579)
* upgrade to HttpClient

* upgrade to Renderer2

* upgrade Document reference

* remove useless test with deprecated ReflectiveInjector

* upgrade to latest typescript

* upgrade libs

* upgrade package scripts

* remove rxjs blacklists and duplicate rules

* add rxjs compat to help with migration

* fix breaking changes

* fix breaking changes in material

* fix breaking changes (material 6)

* upgrade rxjs, ngx-translate and flex layout

* update unit tests

* restore providers

* upgrade deprecated Observable.error

* rebase
fix first configuration problems

* fix style issues commented

* fix core build

* fix lib template errors

* move lib test execution in angular.json

* ignore

* karma conf files

* fix import statement test

* single run option

* update packages reporter

* restore report

* increase timeout

* improve karma conf test configuration

* fix test issues about lint

* fix test analytics

* fix process service test

* content service fix test

* fix logout directive test

* fix core test

* fix build

* update node-sass to latest

* update angular cli dependencies

* improve build script

create directorites and move files only if previous command succeded

* upgrade individual libs to 6.0

* remove old webpack files

* revert sass change

* fix type issues
fix style issues

* fix tslint demo shell issue

* fix peerdependencies

* fix test e2e BC

* package upate

* fix style import issue

* extract-text-webpack-plugin beta

* fix test dist build command

* remove alpha js-api

* fix tslint issue
add banner tslint rule

* upload service fix

* change BC script

* fix test dist script

* increase demo shell timeout test

* verbose copy

* path absolute

* fix script bc

* fix copy part

* fix path warning
fix monaco editor

* remove duplicate header

* remove unused import

* fix align and check ago tests

* add missing import

* fix notification button selector

* [ANGULAR6] fixed core tests

* fix CS test

* fix cs test step 2

* increase travis_wait for dist

* fix attachment PS

* fix checklist test

* use pdf min
2018-08-14 15:42:43 +01:00
Suzana Dirla
ee8151d50d [ADF-3324] Preview - unshared file breaks preview (#3580) 2018-08-14 15:42:19 +01:00
Eugenio Romano
9b804f72f2 [ADF-3309] solve rendition preview (#3573)
* solve rendition preview

* fix tslint

* missing semicolon

* solve packaging issues

* reinsert maxretry logic
2018-08-14 15:42:18 +01:00
Eugenio Romano
e7b2daa1fe Reinsert e2e tag test (#3574)
* solve rendition preview

* reinsert tag e2e

* fix tslint

* fix pack problem

* remove reload

* remove refresh
2018-08-14 15:42:17 +01:00
davidcanonieto
0fae46b50b [ADF-3212] Fixed permission issues when updating version (#3503)
* [ADF-3213] Fixed permission issues when updating version

* [ADF-3212] fixed test for PR

* allowableOperations include viewer get node
2018-06-20 00:14:18 +01:00
bbcodrin
e7f49913d9 [ADF-3176] file content reload fixed (#3501)
* file content reload fixed

* refactoring & layout fix

* resolve indentation problems

* missing semicolon
2018-06-19 19:08:03 +01:00
Denys Vuika
346dff436d fixes for memory leaks and multiple subscriptions (#3456)
* fix content action memory leaks

* memory leak fixes for demo shell
2018-06-08 00:24:51 +02:00
Eugenio Romano
e8cf6f6f38 fix no content node display (#3351) 2018-05-21 16:44:16 +01:00
Eugenio Romano
8872706eab
[ADF-2563] Upload new version information dialog (#3235)
* add majorVersion param
move common part in base class

* refactor upload queue

* fix after refactoring

* add comment functionality in versioning
add minor and major option in versioning
add animation in versioning
add new functionality in demo shell

* add animation test

* add missing properties test and base upload class

* fix reload after new version upload [ADF-2582]

* update documentation

* update doc and fix minor style issues

* fix tslint error

* change cachebuster

* ADF-2672 version manager disable buttons

* [ADF-2649] hide show actions in version list

* fix tests
2018-04-26 14:57:55 +01:00
camorra-skk
1b2bd6220e [ADF-2703] Info Drawer - Header does not navigate to name of default tab. (#3192)
* Selected Tab is getting highlited if value of selectedIndex is passed to adf-info-drawer.
2018-04-17 21:11:26 +01:00
Vito
fabb6f4450 [ADF-2601] added permission check to info editing button (#3177)
* [ADF-2601] added permission check to info editing button

* [ADF-2601] added test for node permission check on the content metadata card

* [ADF-2601] used enum instead of string for test
2018-04-17 20:34:14 +01:00
Denys Vuika
11d38efe2b [ADF-2625] updating viewer on node editing (#3160)
* update viewer on metadata changes

* add test and docs
2018-04-10 11:00:35 +01:00
Cilibiu Bogdan
28ca71a5f9 [ADF-2137] Document Thumbnail Pane (#2943)
* pdf thumbnails

* update TestBed declarations

* add PdfViewerService to TestBed

* content projection

* update TestBed declaration

* update TestBed

* update TestBed

* docs

* pristine

* added doc component image

* use global PDFJS instance fro tests
2018-02-20 10:29:40 +00:00
Eugenio Romano
a863631f0d
[ADF-2149] Update ng-packagr to 2.0.0 (#2935)
* ng-packagr version 2.0.0 core fixes

* fix content services jsdoc

* fix process service jsdoc

* last update new build 2.0.0

* fix comment jsdoc
2018-02-13 10:37:03 +00:00
Denys Vuika
2bfed5818f [ADF-2254] always update display name for ACS nodes (#2926)
* always update display name for ACS nodes
* remove the test that tests opposite behaviour
2018-02-09 16:48:25 +00:00
Andy Stark
03cca19599 [ADF-1769] Added JSDocs and prop tables (#2913) 2018-02-05 19:05:48 +00:00
Denys Vuika
e5afe96a52 [ADF-2138] Viewer enhancements (#2897)
* greatly improved rendition management

* code cleanup

* test fixes

* better handling of media types

* docs update

* fix code style

* fix tests after rebase
2018-02-01 17:14:32 +00:00
Eugenio Romano
9e4b2e74e9
[ADF-2159] Update angular-cli to latest version (#2874)
* Update angular cli version 1.6.5

* fix tslint problems and update devdependencies using the angularcli 1.6.4

* test fixing

* [ADF-2159] start fixing userinfo test

* [ADF-2159] fixed userinfo tests

* [ADF-2159] added async to accordion component test

* [ADF-2159] testing probable failed test on CI

* [ADF-2159] check removing fake destroyed view test

* [ADF-2159] check viewer tests

* [ADF-2159] attempt on test fix

* [ADF-2159] test fix

* [ADF-2159] fix test

* [ADF-2159] fix test

* [ADF-2159] rebased

* [ADF-2159] check test

* [ADF-2159] fixing test

* [ADF-2159] Fix#1

* [ADF-2159] Fix#2

* [ADF-2159] Fix#3

* [ADF-2159] Fix #4

* [ADF-2159] Fix #5

* [ADF-2159] Fix #6

* [ADF-2159] fixed viewer test

* [ADF-2159] fixed cast element
2018-02-01 10:08:25 +00:00
Denys Vuika
08f2cc9236 [ADF-1412] Viewer enhancements (#2873)
* collection navigation support for Viewer

* code cleanup

* full screen mode support

* keyboard shortcuts

* zooming scale label

* layout fixes

* test fixes

* image toolbar with basic tranformations

* test fixes

* test fixes
2018-01-28 23:01:01 +00:00
Popovics András
c66115fe70 Fix sidebar node reloading issue (#2866)
[ADF-2186] Fix sidebar node reloading issue
2018-01-23 14:48:00 +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
Vito
66262c4822 [ADF-325] added attach folder widget (#2831)
[ADF-325] added new attach folder widget
2018-01-16 14:28:39 +00:00
Denys Vuika
e97a6de792 fallback to image preview if PDF rendition now available (#2827) 2018-01-12 20:02:05 +00:00