112 Commits

Author SHA1 Message Date
Suzana Dirla
3d73e94b5d [ADF-4402] Move component related styles from demo-shell to ADF components (#4808)
* [ADF-4402] remove styling of non-existent items

* [ADF-4402] remove not needed style - bcs overwritten by style from core

* [ADF-4559] remove demo-shell only class from core styling

- use class name from core component for styling

* [ADF-4402] remove not used styling code

- .adf-app-layout-toolbar no longer exists, so no need keep its style

* [ADF-4402] move style from demo-shell to core

- same style was needed in ACA, so probably should be best in core ADF

* [ADF-4402] remove not used styling code

* [ADF-4402] move adf-toolbar-title style from demo-shell to core

* [ADF-4402] remove not used styling code

* [ADF-4402] use existing css class

* [ADF-4402] remove style already set from pagination component

* [ADF-4402] remove not used styling code

* [ADF-4402] viewer toolbar width
2019-06-05 16:01:38 +01:00
arditdomi
a6552dbb17 [ADF-4387] Configuration option to change the dafault viewer zoom (#4645)
* [ADF-4387] Configuration option to change the dafault viewer zoom
2019-04-23 20:34:39 +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
Eugenio Romano
ad15cdf028 fix unit test 2019-04-02 00:24:31 +01:00
Eugenio Romano
17efd33f44 fix lint issue after merge 3.2.0 2019-03-30 11:05:19 +00:00
Eugenio Romano
b35fb4df93 Merge branch 'development' into next-release-3.2.0 2019-03-29 16:17:03 +00:00
Suzana Dirla
888113fdc2 [ADF-4280] fix initial display for search-sorting-picker (#4522)
* [ADF-4280] fix initial display for search-sorting-picker

* [ADF-4280] fix unrelated error TS6133: 'renderingQueueServices' is declared but its value is never read

* [ADF-4280] update e2e test
2019-03-29 11:54:47 +00:00
Eugenio Romano
a8999b77e5 fix lint 2019-03-29 02:49:39 +00:00
Eugenio Romano
ed333089cf fix lint pdf test 2019-03-29 02:26:39 +00:00
Eugenio Romano
2e151ed412 minor fix e2e and styles 2019-03-29 02:09:07 +00:00
Eugenio Romano
89f612bbb0 update codelyzer last version wit accessibility check 2019-03-27 09:55:35 +00: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
gmandakini
fc2132e248 [AD-4222] e2e compilation fixes (#4426)
* Run tsc on the e2e folder and as part of the sh script

* in progress

* in progress

* in progress

* in progress

* in progress

* in progress

* fixing compile errors

* fixing compile errors.

* Fix the apiService and exclude nodemodules

* Add semicolumn

* fix import

* fix configuration test package

* fix

* fix errors

* fix typescript

* restore packages.json

* fix errors after rebase

* fix type prolems and add protracotr path mapping

* remove undefined
2019-03-15 23:11:58 +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
Venu
475a2211fc 4345- Text File Viewer withCredentials (#4349)
* 4345-Text File Viewer not passing withCredentials

* added new line
2019-02-25 12:37:13 +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
Denys Vuika
5887fa1052 [ADF-3938] support for XMLHttpRequest.withCredentials flag (#4190)
* support XMLHttpRequest.withCredentials

* proper defaults and json schema updates

* remove outdated docs

* remove empty declaration from app config

* fix blob support
2019-01-25 12:12:06 +00:00
Silviu Popa
b86a385c36 [ADF-3862] - Document List - Add accesibility tags for images and documents (#4171) 2019-01-22 12:32:59 +00:00
Suzana Dirla
6e5f1b68ed [ADF-3810] Viewer - rightmost position for more menu (#4137)
* [ADF-3810] Viewer - rightmost position for more menu

* [ADF-3810] small change
2019-01-17 10:28:17 +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
4302cfbd04 [ADF-3815] Fix image render on Viewer Component for IE 11 (#4067) 2018-12-10 16:55:05 +00:00
davidcanonieto
7340fce205 [ADF-3814] Fix PDF file not centered on PDF Viewer (#4055) 2018-12-05 19:15:34 +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
davidcanonieto
1a21f234b6 [ADF-3746] Add style lint rules (#3975)
* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
2018-11-28 14:43:18 +00:00
Eugenio Romano
34a30c0f14
tslint arrow-parens rule (#4003) 2018-11-23 01:06:56 +00:00
Popovics András
daf7c50a19 Fixing typescript compilation error to work together with AMA (#3938) 2018-11-02 09:53:15 +00:00
Denys Vuika
e39a2b149b [ADF-3591] spellcheck support for code (#3827)
* setup spellcheck
2018-10-23 15:05:38 +01:00
Eugenio Romano
0fc504b69e
reintroduce viewer test (#3888) 2018-10-16 08:35:05 +01:00
Eugenio Romano
adcd432f5f exclude temporarily viewer test 2018-10-04 18:42:07 +01: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
Denys Vuika
bc0865bdb9 [ADF-3610] fix pdf worker memory leak (#3843)
* fix pdf worker memory leak

* test fixes

* fix computed style test

* fix lint
2018-10-02 18:53:43 +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
ef568679d5 remove wrong HTML viewer modify 2018-09-24 16:59:40 +01:00
Eugenio Romano
bd5be8912f fix protractor report
fix validation
fix log deprecated
fix ADF-3576 Single required dropdown column dynamicgrid aps-form row editor not saving
2018-09-21 15:18:06 +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
Denys Vuika
c0acc53eb9 [ADF-3501] PDF view fixes (#3735)
* PDF view fixes

* updated package.lock

* fix failing tests

* restore test

* use fake web worker for tests

* test fixes

* test fixes

* disable i18n test

* test fixes
2018-09-04 14:55:44 +01:00
Eugenio Romano
7084b2abf6 remove viewer wrong behavior test if you want not have the toolbar there are other properties 2018-08-14 15:43:06 +01:00
Vito
fdde0257d8 [e2e] Added document list actions [E2E] (#3676)
* [e2e] Added document list actions e2e 1

* [e2e - actions] added another test
2018-08-14 15:43:01 +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
marouanbentaleb
ab9f1c8385 [ADF-3331] Create automated tests for Viewer component - Content Services (#3600)
* Automation tests for Viewer Component - Content Services

* Create remaining automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Correcting Viewer Page for failing tests

* Updating Viewer Page for failing tests

* Improving the PR quality
2018-08-14 15:42:25 +01:00