Denys Vuika
3079aa48c3
[ADF-5422] remove deprecated "async()" from unit tests ( #7109 )
...
* remove angualar async from content services
* upgrade more tests
* upgrade core tests
* upgrade tests
* fix deprecated constant
* fix tests
* fix after rebase
2021-06-15 16:16:15 +01:00
Eugenio Romano
819921deec
Create Image from PR if request ( #6705 )
...
* [create docker image]
fix
fix e2e
[MNT-21636] Use URLTree for redirect (#6691 )
* use URLTree for redirect
* use always urltree
* fix e2e
* fix
* fix
* Update release-docker.sh
* update js-api
* update lock
2021-02-23 21:52:26 +00:00
Eugenio Romano
4a381b46a5
[MNT-21636] Use URLTree for redirect ( #6691 )
...
* use URLTree for redirect
* use always urltree
* fix e2e
* fix
2021-02-18 17:42:57 +00:00
Eugenio Romano
205c324f4e
[MNT-21636] Refactor redirect URL ( #6658 )
...
* refactor redirect URL
* fix unit test
2021-02-10 23:36:22 +00:00
Eugenio Romano
8f0633b133
[MNT-21636] Fix redirect URL for viewer ( #6564 )
...
* fix redirect URL for viewer
* fix unit
fix login SSO show when user is logged in
* update js-api
* remove protractor change
2021-01-22 17:17:14 +00:00
Eugenio Romano
8e12e51fb3
Fix loop scenario when the login page is not present in silent login ( #6512 )
...
* fix loop scenario when the login page is not present in silent login
* fix build
* fix
* remove isECM
* fix unit
* fix
2021-01-11 09:31:11 +00: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
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
Eugenio Romano
9c83c35e61
[ADF-5009] close all the dialogs after false canActivate event ( #5312 )
...
* close all the dialogs after false canActivate event
* Update auth-guard-bpm.service.spec.ts
* sso fix
* fix lint
2020-01-02 10:21:10 +00:00
Eugenio Romano
5578b7b851
Should not redirect if is SilentLogin on ( #5216 )
...
* fix redirect
* fix lint
* remove false behaviour alrady tested in the new unit test
* Update auth-guard-base.ts
2019-11-06 11:56:01 +00:00
Suzana Dirla
a150e74366
[ADF-4936] Auth guard redirect fix ( #5092 )
...
* [ADF-4936] fix for auth guard with silent Login true
* [ADF-4936] check only for isOAuth...
* [ADF-4936] fix all auth guards when silent Login true
* [ADF-4936] unit tests
* [ADF-4936] fix doc info
* [ADF-4936] types and null checks
* [ADF-4936] fallback option in case silentLogin is missing from settings
* [ADF-4936] refactoring
* try to fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)
* Fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)
* [ADF-4936] show the error page when route path is unknown
* [ADF-4936] remove ssoImplicitLogin and do the redirectToUrl instead
-the implicit login concern is already in the JS-API
* [ADF-4936] refactor to simplify code
- the removed 'if' conditions cover all possible 'else' cases
* [ADF-4936] remove unneeded method
2019-10-29 15:16:08 +00:00
Denys Vuika
f6341e31a0
[ADF-4183] improved auth redirection ( #4399 )
...
* base auth guard implementation
* remove code duplication
* unit test fixes
2019-03-06 13:14:23 +00:00
Eugenio Romano
c55cba5514
license header update 2019 ( #4300 )
2019-02-12 01:18:43 +00:00
Eugenio Romano
da379eefd7
[ADF-3938] withCredentials TRUE the authguard should be skipped ( #4259 )
...
* should skip authguard if withCredentials is true
* missing comma
* common auth guard fix
2019-02-05 00:31:32 +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
Cilibiu Bogdan
c0de0d5087
[ADF-3181] Auth Guard - redirect by string url ( #3474 )
...
* redirect by string url
* auth guard tests fix
* revise
2018-06-14 10:19:34 +01:00
Maurizio Vitale
f8e92b2fb0
[ADF-2795] SSO implicitflow ( #3332 )
...
* Enable OAUTH2
* Create SSO services
* SSO improvements
* Rollback sso login change
* Add SSO configuration from Setting component
* Refactoring
* Remove login ECM/BPM toggle and move use the userpreference instead of store
* fix host setting unit test
* Fix unit test missing instance
* use the Js api oauth
* add logout component and clean sso not used class
* fix dependencies cicle
* add translation settings
* fix style setting page
* clean
* JS APi should receive the oauth config from the userPreference and not from the config file
* change login if SSO is present
* missing spaces
* add sso test in login component
* add logout directive new properties test
* Improve host setting and remove library reference
* fix login test
* Remove unused code
* Fix authentication unit test
* fix authguard unit test
* fix csrf check login component
* fix unit test core and demo shell
* remove
2018-06-08 00:19:58 +02:00
Eugenio Romano
7e67257b8a
first part random test fix ( #3376 )
...
fixing random test executions first part
2018-05-23 01:23:54 +01:00
Cilibiu Bogdan
f63614e964
pass actual redirect when no state ( #3285 )
2018-05-09 07:59:03 +01:00
Cilibiu Bogdan
d456b3cba1
[ADF-2904] Search - redirect breaks application ( #3268 )
...
* set navigation commands over plain string
* fix test
* lint
2018-05-08 14:46:35 +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
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
Vito
77f6c51dc2
[ADF-2200] fixed problem with redirection url ( #2877 )
...
* [ADF-2200] fixed wrong handling of redirectUrl
* [ADF-2200] fixed problem with redirection url
* [ADF-2200] fixed redirection config path
* [ADF-2200] fixed wrong fdescribe test
* [ADF-2200] removed authserviceMock and fixed some tests
2018-01-25 11:48:47 +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
Eugenio Romano
a52bb5600a
New packages org ( #2639 )
...
New packages org
2017-11-16 14:12:52 +00:00