Eugenio Romano
71cad4c287
[ci:force] auto update node version when media management actions are triggered ( #6992 )
2021-05-08 22:29:51 +01:00
Urse Daniel
e8ffe8e35e
[ADF-5378] ADF Previewer: Image Rotate + Save ( #6958 )
...
* updates including cropperJS
* update on rotation + unit tests
* small fix
* hide toolbar on save
* remove unused & duplicate method
* added readonly & prettier code
* include readOnly mode to hide/show media management actions
* updated dependencies
* fix emit spy
* ADF-5378: Fix failing e2es
* Fix comments for unit tests
* ADF-5378: Removed obsolete buttons from e2e
Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-05-01 15:54:37 +01:00
Denys Vuika
84ce202ad2
[AAE-4966] Extensible app config ( #6914 )
...
* merge app config from the extensions
* improved service injection in unit tests
* extra unit test
* fix content tests
* update code as per review
* fix lint
* fix lint
* update code and tests
* update schema
2021-04-13 14:16:29 +01:00
Cilibiu Bogdan
588db58b5d
[ADF-5339] ESCAPE should close opened dialog not the overlay viewer ( #6696 )
...
* don't close viewer if Escape was performed on opened dialog
* subscribe only in overlayMode
* tests
* lint
* move logic to method
2021-02-19 16:59:55 +00:00
Vito
5b603ee018
[ACA-4202] - caching with version number for the url ( #6422 )
...
* [ACA-4202] - caching with version number for the url
* [ACA-4202] - fixed image caching when file with the same name is versioned
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-12-04 17:29:16 +00:00
davidcanonieto
6977df169a
[ADF-4481] Fix Viewer peview for unsupported new versions ( #6101 )
...
* [ADF-4481] Fix Viewer peview for unsupported new versions
* Update img-viewer.component.ts
2020-09-08 17:28:46 +01:00
Urse Daniel
bf7a0902c6
[ADF-5209] When viewing a previous version, the title is not displayed correctly. ( #5926 )
...
* set the file title if the versionId is present.
* test if file title is set when changing the versionId.
2020-07-30 10:19:02 +01:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 ( #5834 )
...
* remove useless module
* upgrade to angular 8
* upgrade material to v8
* upgrade adf libs
* migrate demo shell to v8
* upgrade to angular 9
* upgrade material to v9
* remove hammer
* upgrade nx
* upgrade datetime picker
* upgrade flex layout
* update core api
* remove entry components
* code fixes
* upgrade testbed usage
* code fixes
* remove unnecessary core-js from tests
* upgrade CLI
* ts config fixes
* fix builds
* fix testing config
* compile fixes
* fix demo shell dev setup
* fix core tests
* fix card view import
* upgrade nx
* disable smart builds for now
* remove fdescribe
* restore smart builds
* fix issues
* unify tsconfigs and fix newly found issues
* fix configuration and cleanup package scripts
* improved production build from the same config
* use ADF libs directly instead of node_modules
* disable smart build
* single app configuration (angular)
* fix core build
* fix build scripts
* lint fixes
* fix linting setup
* fix linting rules
* various fixes
* disable affected libs for unit tests
* cleanup insights package.json
* simplify smart-build
* fix content tests
* fix tests
* test fixes
* fix tests
* fix test
* fix tests
* disable AppExtensionsModule (monaco example)
* remove monaco extension module
* upgrade bundle check rules
* fix insights tests and karma config
* fix protractor config
* e2e workaround
* upgrade puppeteer and split linting and build
* reusable resources config
* update protractor config
* fix after rebase
* fix protractor config
* fix e2e tsconfig
* update e2e setup
* Save demoshell artifact on S3 and remove travis cache
* Push the libs on S3 and fetch before releasing it
* Add deps
* Add dependencies among libs and run only affected unit test and build
* fix the travis stage name
* fix after renaming dev to demoshell
* force the order of the projects
* remove unused dependencies
* fix content e2e script
* exit codes fix
* add extra exit codes to core e2e
* postinstall hook and package cleanup
* cleanup packages
* remove deprecated code and dependency on router
* improve bundle analyzer script
* minor code fixes
* update spec
* fix code after rebase
* upgrade protractor after rebase
* fix e2e mapping lib
* Update tsconfig.e2e.json
* update e2e tsconfig
* fix angular config
* fix protractor runs
* cache dist folder for libs
* update material selectors for dropdowns
* selector fixes
* remove duplicated e2e that have unit tests already
* fix login selector
* fix e2e
* fix test
* fix import issues
* fix selector
* cleanup old monaco extension files
* cleanup demo shell login
* add protractor max retries
* disable customisations of protractor
* fix login validation
* fix after rebase
* fix after rebase, disable latest versions of libs
* Hide the report tab and rollback the localstorage
* rename protractor config back to js
* restore lint as part of build
* cleanup code
* do not copy anything to node_modules on dist test
* fix unit tests
* config fixes
* fix code
* fix code after rebase
* fix tests
* remove existing words from spellcheck
* remove useless directive decorators
* update package.json after rebase
* add js-api back
* code fixes
* add missing export
* update configs
* fix code
* try fix the sso login test
* fix
* remove puppeteer unit
* fix e2e script
* fix
* make provider easy
* fix routes module before upgrade
* fix unit tests
* upgrade angular cli
* upgrade to angular 10
Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Denys Vuika
ae3ac440bc
Ivy compatible test modules ( #5718 )
...
* ivy compatible core unit tests
* ivy compatible content tests
* ivy compatible process tests
* ivy compatible process cloud tests
* ivy compatible insights tests
* fix content test
* fix content test
2020-05-21 16:25:28 +01:00
Denys Vuika
654be10dd2
Pre-Angular 9 upgrade fixes ( #5712 )
...
* remove deprecated angular/http
* upgrade adf libs
* fix production builds
* ivy-compatible translate module usage
* improved module usage
* upgrade content services module
* fix process services tests
* upgrade process cloud tests
* lint fixes
* update core max size
* fix insights test module
* remove insights lazy loading workaround
* fix insights module exports
* * Fixed skipped form-cloud unit test and removed duplicated tests
* cleanup the use of services
Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-05-20 16:51:51 +01:00
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
2d0b571875
remove not needed spaces ( #5495 )
...
* remove not usefull spaces
* increase timeout
* increase timeout
* fix
2020-02-23 17:00:16 +00:00
Eugenio Romano
1847768b56
[AAE-1848] fix kebab case files and add tlsint rule ( #5481 )
...
* fix kebab case files and add tlsint rule
* headless
* m 2 in e2e
* download file in headless chrome
* fix budget
* fix import
* fix import
2020-02-20 21:08:42 +00: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
b28a53afe7
Ban xit and xdescribe use in the future ( #4923 )
...
* remove xit test and ban xit and xdescribe use in the future
* remove xit test and ban xit and xdescribe use in the future
* remove test excluded
* remove consecutive blank line
2019-07-12 15:04:53 +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
Eugenio Romano
7a70e88ae3
Clean pdf viewer unit ( #4916 )
...
* fix unit test pdf viewer
* add more clean unit test core
* add more clean unit test core
* Delete license-info-3.3.0.md
2019-07-10 20:03:05 +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
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
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
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
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
Eugenio Romano
35bcd80106
fix title viewer issues of priority between name display and real name
2018-08-14 15:42:59 +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
Eugenio Romano
c6c573bcfb
fix core test after e2e modify
2018-08-14 15:42:24 +01:00
Suzana Dirla
ee8151d50d
[ADF-3324] Preview - unshared file breaks preview ( #3580 )
2018-08-14 15:42:19 +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
Eugenio Romano
e8cf6f6f38
fix no content node display ( #3351 )
2018-05-21 16:44:16 +01:00
Denys Vuika
382ea3c1b3
unit test performance ( #3194 )
...
* DataTable (-4 sec)
* PaginationComponent (-1 sec)
* DocumentList
* custom testbed setup, test upgrades
* test fixes
* more test fixes
* remove fdescribe
* test fixes
* test fixes
* more test fixes
* test fixes
* upgrade tests
* update tests
* upgrade tests
* upgrade tests
* upgrade tests
* upgrade tests
* update tests
* translate loader fixes
* auth and cookie fixes
* upgrade tests
* upgrade tests
* test fixes
* almost there
* diable broken tests
* process tests (part 1)
* fix lint issues
* another test upgrade
* almost there
* cleanup
* insights testing upgrade
* improve tests
* tests cleanup
* tests cleanup
* cleanup tests
* test cleanup
* favorite nodes tests
* rebase fix syntax
* fix core test
* give up test focus
* flush tabs
* fix search test
* Update document-list.component.spec.ts
* fix document list lock
* increase tick time
* remove duplicate test
2018-04-23 09:55:22 +01:00
Eugenio Romano
5f8b41411a
[NO-ISSUE] RE enable failing test ( #3168 )
...
* restore viewer test
* fix content node selector breadcrumb tests
* fix skipped test
* notification service uncomment test
* remove duplicated test
exclude dialog test
2018-04-11 09:03:03 +01:00
Eugenio Romano
9e2969b955
[ADF-2569] fix reload app.config.json ( #3124 )
...
* fix reload app.config.json
* improve style mobile
fix test
* test karma setup update
* fix core providers test
* remove unused providers
* use mock api in service test
* skip test in the wrong place
* remove comma
* remove fdescribe
2018-03-28 11:01:04 +01:00
Cilibiu Bogdan
ae8b7419a0
[ADF-2415] PDF Viewer - open password protected pdf files ( #3022 )
...
* pdf password dialog
* PDF viewer onPassword test
* pdf password dialog
* PDF viewer onPassword test
* test
* test
* test
* test
* test
* test
* test
* fix password test
* travis improvements
2018-03-21 21:30:20 +00:00
Eugenio Romano
ae489f6737
[ADF-2240] fix e2e and test in demo shell ( #3035 )
...
* fix e2e and test in demo shell
* test single run demo shell conf
* fix script e2e
* fix test lint problems
* remove async from nested test
* fix pdf test
* modify url load pdf strategy test
* SimpleChange import
* pdf viewer test fix
* remove force closing
* refactor pdf viewer
-remove promise approach
-add event rendered
-add destroy worker
* increment timeout
* use proxy files
* remove require
* fix viewer component test
* remove last require
* prefer use of done for txt viewer test
2018-03-09 12:16:05 +00:00
Denys Vuika
f7cfccc7d9
[ADF-2352] project toolbar buttons for the Viewer ( #2989 )
...
* project toolbar buttons for the Viewer
* test fixes
2018-02-23 15:48:17 +00: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
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
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