Commit Graph

49 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 131327a326 1. Make AdvancedAsyncSubject available in all envrionments and remove condition about existance of AccessToken. 2. Deprecated is LoggedIn method. 2022-04-13 12:24:14 +03:00
Konstantinos Triantafyllou 0aa44646b1 Add redirect url in login/logout. Add new userInfo method in getUserInfo 2021-11-05 13:29:54 +02:00
k.triantafyllou 10090b685c [Library | Trunk]: Fix redirect from login logout. Add fragment
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60653 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-17 09:21:37 +00:00
argiro.kokogiannaki 3d76b4dc22 [Library|Trunk]
fix reload issue: double encoding return 404 or error



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60626 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 14:11:23 +00:00
k.triantafyllou fed345b244 [Library | Trunk]: 1. Move mapType on Role class. 2. Fix isUpload on stakeholder.service.ts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60360 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-04 13:36:29 +00:00
k.triantafyllou b024bce255 [Library | Trunk]: Add boolean communityMap on mapType
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60301 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-27 13:52:15 +00:00
k.triantafyllou 1b1e0170e1 [Library | Trunk]: 1. Fix user info id on parsing. 2. Add activeRoute field on MenuItem. 3. Finish inivte subscriber
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60284 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-22 18:09:44 +00:00
k.triantafyllou 889bd1db17 [Library | Trunk]: Merge members managers. Add create group for portal admins
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59757 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-03 18:25:03 +00:00
argiro.kokogiannaki 36bfc07747 [Library|Trunk]
New roles update:
- user component: update user formating
- Sesssion: add methods about Curators


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59746 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-03 09:38:11 +00:00
argiro.kokogiannaki 70bd85ad49 [Library|Trunk]
Monitor - stakeholder: add additional description field

Session: add isKindOfMonitorManager 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59712 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-29 08:52:05 +00:00
argiro.kokogiannaki f775d422c9 [Library|Trunk]
Monitor: 
	-update stakeholder classes, add visibility, remove isPublic, isActive

Icons: add bullet, preview icon

COOKIE: add SameSite=Lax

offcanvas-white: add h6 



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59674 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-23 13:55:35 +00:00
k.triantafyllou bd41180c74 Fix reload location after login logout
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59457 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-23 10:15:39 +00:00
k.triantafyllou 1dae58490f [Library | Trunk]: Add verification component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59271 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-14 09:54:12 +00:00
k.triantafyllou c1977b1404 [Library | Trunk]: Fix parse roles for userinfo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59250 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-11 12:54:14 +00:00
k.triantafyllou ae76e56dab [Library | Trunk]: Finish annotations. Add new registry url property. Add new registry service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59228 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-06 11:50:08 +00:00
k.triantafyllou 0c7953b710 [Library | Trunk]: Session methods change condition if user is undefined not not equal to null, to avoid error on server
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58873 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-10 09:21:12 +00:00
argiro.kokogiannaki aea4275269 [Library|Trunk]
login Helper: add method isMonitorCurator



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58822 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-02 10:51:31 +00:00
k.triantafyllou a5d082d260 [Library | Trunk]: Fix a bug on user management service; Make dropdown on user menu same with indicator cards dropdown
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57885 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-15 12:44:20 +00:00
argiro.kokogiannaki b2f9bf7cad [Library |Trunk]
use component: Add check for unsubscribe 
Session: when remove  user, remove User cookie again
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57587 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-12 12:56:43 +00:00
k.triantafyllou 4b8a9627b3 [Library]: Delele user cookie from Helper.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57078 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 12:00:24 +00:00
k.triantafyllou a77afb15c9 [Library]: Fix isLogged in function
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57075 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 10:02:30 +00:00
k.triantafyllou 7955acd2bc [Library]: Fix some issues on guards. Change session is Logged in to check user's token.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57071 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 09:38:21 +00:00
k.triantafyllou 98c98e6625 [Library]: Add user management service and change all session methods with new ones.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57058 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 07:01:19 +00:00
argiro.kokogiannaki 64eebccc47 [Library|Trunk]
User info:
	add user information when user is logged in and there is no error or redirect parameters
	
Add spaces lost after ang 7 migration (funded by component, orcid dropdown, search results labels)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56056 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-12 11:50:48 +00:00
argiro.kokogiannaki a6ade652e3 [Trunk|Library]
Landing Pages of results:
		add new component showPublisher that contains information for publisher & journal
		add showPublisher components in all results landing pages
		add sherpa/Romeo link
		parse journal information also from dataset, software, other results




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55673 d315682c-612b-4755-9ff5-7f18f6832af3
2019-05-22 15:04:10 +00:00
argiro.kokogiannaki 1bb6fbe7ca [Trunk|Library]
Connect subscriber Guard:
        add community parameter
Login:
        User component:add variable if the component is the main one, remove connect specific errorCode
        user menu: add divider before logout
        Helper: add 2 more connect specific error codes
Navigation Bar:
        set height-medium for dropdown menus
        Connect - communities: show title only when logo is not available


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55365 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 14:08:08 +00:00
k.triantafyllou 10051a303e [Trunk|Library]: connectCommunityGuard has been added it for check if type is community. Change community error page message
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54965 d315682c-612b-4755-9ff5-7f18f6832af3
2019-03-07 15:43:54 +00:00
argiro.kokogiannaki ab9557f39e [Trunk:Library] fix method Session.isClaimsCurator()
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54934 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-28 15:26:20 +00:00
k.triantafyllou e73b632bc3 Login Guards implement now CanLoad
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54649 d315682c-612b-4755-9ff5-7f18f6832af3
2019-01-25 11:18:38 +00:00
sofia.baltzi b15b0028a7 Get fullname
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54048 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 12:38:59 +00:00
konstantina.galouni 9f688a2946 Rename 'ErrorCodes' class to 'LoginErrorCodes' of login/utils/guardHelper.class.ts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53612 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-01 17:20:05 +00:00
argiro.kokogiannaki fb74882c1f more checks for reload not to lose parameters and to set them properly
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52646 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-02 13:42:20 +00:00
argiro.kokogiannaki 66a4a8e457 Session helper: Set properly user id - fix issue with mining tool
Claims change message "claim more links also for connect"


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52616 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-29 11:58:37 +00:00
argiro.kokogiannaki 0f3e063ac8 Fix reload issue - mess query parameters after login
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52612 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-29 10:55:17 +00:00
argiro.kokogiannaki 31614c2cb5 Bulk claim:
add filetype ckecks
	correct messages
	add more checks when the file has no valid format

Login: add a check for empty cookie



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52501 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-15 12:58:58 +00:00
argiro.kokogiannaki d5b745fc65 Single Sign On: Changing cookie names, format, remove unused methods
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52451 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-12 11:15:42 +00:00
argiro.kokogiannaki 707b80ed71 Use cookie to save the reload url - to share it through different domains/ dashboards
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52177 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-23 14:47:27 +00:00
argiro.kokogiannaki d9e53942cf layout changes in result landing pages (make it clear -use margin & paddings, use FAB for linkinf menu)| layout changes in search results, advanced search form | fix reading from url for creating the list with refine fields
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51984 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-09 13:54:30 +00:00
argiro.kokogiannaki fb8d203f41 Add guard for subscribers, remove unused property properties from guards, read properties properly from guard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51826 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-16 11:49:35 +00:00
argiro.kokogiannaki 815c5cd3ee Don't save user in localstorage - use always cookie | remove check for expiration cookie - expires when cookie expires in 4 hours
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51641 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 12:33:27 +00:00
argiro.kokogiannaki fa56fe4d30 Using new AAI, update some properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51636 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 08:45:46 +00:00
argiro.kokogiannaki 5139077569 add function for separeate roles in Session| add isCommunityRI method in community service and RIGuard || change admin guard to be only administrator | add claims curator guard|
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51526 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-27 08:22:55 +00:00
argiro.kokogiannaki 2248346582 Fixing menu that gets invisible| add id in user session| add miningBackendURL in properties class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51506 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-26 08:54:29 +00:00
argiro.kokogiannaki fbcec793bc Add a mathod in community service to check if a user is a manager of a community| change connectAdminLoginGuard to really ask for a community manager| correct some links in properties json
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51261 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-15 09:53:07 +00:00
argiro.kokogiannaki 4420cce2f4 creating a first draft for connect admin guard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50771 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-16 10:24:00 +00:00
argiro.kokogiannaki 2cebe8c6b5 fixing the cookies for the login| export claims admin component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50677 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-12 10:21:42 +00:00
argiro.kokogiannaki 91b7c11f0a USe a json file to read properties | replace openaire Properties | parameterize menu (use params, community, ) | parameterize search pages (hide community information)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50586 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-05 13:14:59 +00:00
argiro.kokogiannaki 27794606e8 Clear some files | use new version of datatables for dataproviders tables
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50277 d315682c-612b-4755-9ff5-7f18f6832af3
2018-01-11 10:55:54 +00:00
argiro.kokogiannaki 86e750754b Commiting first draft of openaire library for angular portals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50169 d315682c-612b-4755-9ff5-7f18f6832af3
2017-12-19 12:53:46 +00:00