Maurizio Vitale
28a47e83d2
Fetch the userInfo once loggedIn and expose the capability of admin ( #7682 )
...
* Fetch the userInfo once loggedIn and expose the cabilibility of admin
* Rollback method
* Return same use if defined
* Use the same pepleContent service for UserInfoCOmpnent
* Remove useless import
* Use interface
* Use angular resolver instead of guard
* Remove fdescribe
* Fix linting
* Regenerate doc
* Improve doc
* Fix optional
* Fix the unit test
* Fix comment
* Fix lint
* Fix unit
* Add fetch user as part of the ssoGuard
* Fix unit test after fetch
* Add additional unit
* Fix await
2022-06-27 12:02:01 +01:00
Denys Vuika
bca5a783ab
fix eslint warnigs for core project ( #7506 )
2022-02-17 14:35:33 +00:00
Dharan
15d91ca5e0
[ADF-5465] Not being redirected to login page when Kerberos is enabled ( #7348 )
...
* [ADF-5465] Not being redirected to login page when Kerberos is enabled
* [ci:force] force CI
* [ci:force] force CI
2021-11-04 16:25:30 +05:30
Dharan
08b9cd144f
[AAE-6150] User info disappears in every click ( #7328 )
...
* [AAE-6150] userinfo remove debounce for every reload
* [ci:force] force e2e
2021-10-28 14:22:17 +01:00
Dharan
8a3c49ebf5
[ADF-5465] Not being redirected to login page when Kerberos is enabled ( #7272 )
...
* Revert "[MNT-22334] ADW - User information not displayed when Kerberos is in use (#7172 )"
This reverts commit 4befb779
* [ADF-5465] Not being redirected to login page when Kerberos is enabled
* * fix user info
* * add providers
* * fix test
2021-10-05 09:24:38 +01:00
Denys Vuika
a4c3f3a95b
[ADF-5415] remove deprecated async method ( #7171 )
...
* remove deprecated async method
* fix tests and code
* test fixes
* fix tests
2021-07-12 20:09:47 +01:00
Denys Vuika
eb71a79d1e
prepare tests for ng-12 upgrade ( #7099 )
...
* prepare tests for ng12 upgrade
* fix lint
* fix tests
* test fixes
* fix code and tests
* fix code and tests
* test fixes
* test fixes
2021-06-11 07:36:32 +01:00
Silviu Popa
03af7e5ffd
[ADF-5348] - fix user info icons ( #6744 )
...
* [ADF-5342] - fix user info icons
* make user info unit tests trusty
2021-03-01 11:22:54 +00:00
Silviu Popa
d4b3e820bb
[AAE-4624] - fix user initials for identity user with bpm ( #6717 )
2021-02-23 13:39:30 +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
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
f731988ca6
[ADF-4911] migrate identity role service ( #5096 )
...
* migrate IdentityRoleService implementation
* update unit tests
* move interfaces to the origin
* move models to proper places
* migrate model to interface
* fix test
* update docs
2019-10-10 10:25:57 +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
028916e386
Fix user info unit test ( #4887 )
...
* fix unit test user info component
* fix unit test user info component
* replace download call with spy
* fix karma conf
2019-07-01 11:35:27 +01: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
c55cba5514
license header update 2019 ( #4300 )
2019-02-12 01:18:43 +00:00
Maurizio Vitale
e241779f3a
Fix process cloud page ( #4075 )
...
* Fix process cloud page
* Use FilterParamModel
* Rollback method
* Fix core unit test related to identity service
* Fix process filters cloud
Get user info from different keys
* Select the my-task filter in case the task has been created
* Add family_name and given_name to the jwt token
2018-12-12 15:43:57 +00:00
siva kumar
974929e76d
[ADF-3666] User Profile - Provide a way to show SSO Logged-In User ( #3976 )
...
* * Created IdentityUserService
* Created IdentityUserModel
* Added JWT lib into package.json
* * Provided a way to show SSO user info
* * Added condition to check sso login
* * Refactored userInfo component* Updated unit tests to the recent changes
* * Created IdenityUser model
* Refactored userInfoComponent
* * Modified userInfoComponent
* Modified unit tests
* * Used Fullname pipe* Removed the logic that we had to display fullname in the ecm/bpm/identity model* Created JwtHelperService* Modified ecm/bpm services * added test cases to the identity service
* * Moved jwt service to core/service
* * Updated userInfo doc
* * Added missing return types
* * Created a mockToken* Added unit tests to the JwtHelperService* Updated identityUserService unit test
* Update jwt-helper.service.spec.ts
* * Updated bpm/ecm/identity services
2018-11-22 10:03:19 +00:00
Denys Vuika
e39a2b149b
[ADF-3591] spellcheck support for code ( #3827 )
...
* setup spellcheck
2018-10-23 15:05:38 +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
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
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
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
siva kumar
15cbd3a316
[ADF-1945] Profile image has Initials displayed behind it. ( #2648 )
...
* Refactored userInfo component.
* Added test cases.
2017-11-17 21:00:16 +00:00
Eugenio Romano
a52bb5600a
New packages org ( #2639 )
...
New packages org
2017-11-16 14:12:52 +00:00