Commit Graph

76 Commits

Author SHA1 Message Date
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 c3cc637e89 [Library | Trunk]: Change login to circle
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58618 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-06 16:31:54 +00:00
k.triantafyllou a793375b14 [Trunk | Library]: Remove search params from when redirect url is custom.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58585 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-04 08:59:45 +00:00
k.triantafyllou efa6527a18 [Library | Trunk]: Some changes on sidebar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58061 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-06 13:34:37 +00:00
k.triantafyllou 659fab0b1b [Library | Trunk]: Loginguard check userinfo, not token
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58028 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-29 10:20:53 +00:00
k.triantafyllou 91b0b75246 [Library | Trunk]: Fix a bug on input component. Change dashboard user mini
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57979 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-14 19:49:17 +00:00
k.triantafyllou eee4f0807e [Library | Trunk]: Change getUserInfo to be suitable for guards too.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57939 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 15:09:17 +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
konstantina.galouni 1957c29286 [Trunk | Library]:
1. login/userMiniModule.module.ts: Created UserMiniModule to import it wherever needed.
2. navigationBar.module.ts: use UserMiniModule.
3. userMini.component.ts: [For dashboard]: Add input variable 'colors' ('dark' on light background - 'light' on dark background) & add classes according to background & show user icon when no letters in user's name.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57881 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-13 15:40:13 +00:00
konstantina.galouni 879438d1e5 [Trunk | Library]: login/userMini.component.ts: Add dashboard view & name parsing to get first letters.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57864 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-12 14:11:01 +00:00
k.triantafyllou c6186bb738 [Library]: Change userInfo: Make request only if subject is null(and token exists). After every navigation check token existance
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57788 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-03 09:49:10 +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 68ebe44682 [Library]: Check if is Client on userInfo method.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57547 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-08 12:07:39 +00:00
k.triantafyllou 4316c70b9a [Library]: Add check if isClient to getUserInfo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57545 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-08 11:01:50 +00:00
k.triantafyllou f729962ed2 [Library]: Remove errors from user-info
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57439 d315682c-612b-4755-9ff5-7f18f6832af3
2019-10-22 10:29:31 +00:00
k.triantafyllou bee36bfc13 [Library]: Add http error codes on errorPage and loginUser.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57438 d315682c-612b-4755-9ff5-7f18f6832af3
2019-10-22 10:06:44 +00:00
konstantina.galouni 83d1db9aca [Trunk | Library]: Bug fixes
1. login/userMini.component.ts: Check if 'location' is undefined.
2. sharedComponents/bottom.component.html: Social networks should be always in one row.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57199 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-30 10:53:03 +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 95ee0d8984 Check is LoggedIn from Session
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57064 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 08:26:09 +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 6d49be8553 [Library|Trunk]
UserMini components: add checks before unsubscribe and use location



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56940 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-30 14:53:16 +00:00
k.triantafyllou b1110aca0d Add property afterLoginRedirect and use it user-mini to redirect after login.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56922 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-29 09:49:40 +00:00
k.triantafyllou 952238a23a [Library]: If user signs in and portal is connect, then he will be redirected to myCommunities route.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56919 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-28 12:55:55 +00:00
argiro.kokogiannaki 322492af79 Linking:
Basket Limit:
		set to 100
		don't allow to add  more through search forms
		don't allow more in bulk
	Bulk - access mode and date: fix getting info from csv
	Add margins
	Display claims; remove showLatestClaims attribute

Landing   pub - HelpeTexts: remove doule quote and helper




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56750 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 12:46:29 +00:00
argiro.kokogiannaki e422f5fe77 [Library|Trunk]
Merging branch newlinking into Trunk 55132:56708



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56714 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-23 12:23:12 +00:00
argiro.kokogiannaki 84f7929b67 [Library|Trunk]
user component:
	show user info only when there is no error code
navBar:
	mark as active the current route
	add markAsActive property in  class MenuItem and mark root menu item only when it is set true.
	mark by default


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56199 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-25 13:26:24 +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 f8913dfdbd [Library|Trunk]
Merge into trunk branch angular7 rev 55729




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55964 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-03 13:20:36 +00:00
k.triantafyllou 3f189ff1b6 [Trunk|Library]: 1. Add Curator Class and Service for curated by functionality.2. User Component: change main component default value to true.(It exists also on Angular7 branch).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55728 d315682c-612b-4755-9ff5-7f18f6832af3
2019-05-27 08:54:58 +00:00
argiro.kokogiannaki d358607977 [Library|Trunk]
user menu: set fixed height for user menu - use scroll 



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55725 d315682c-612b-4755-9ff5-7f18f6832af3
2019-05-24 15:08:44 +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 117196d176 [Trunk|Library]
userMini.component: add menu divider above logout, only when there are more menu items


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55373 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-16 10:37:31 +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 75533e17bf [Trunk|Library]: CanLoad does not work in connect guards, maybe it works in angular 6
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54912 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-26 15:25:52 +00:00
k.triantafyllou 9627d08570 Duplicated code blocks has been cleaned in library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54903 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-25 15:28:14 +00:00
konstantina.galouni c6b84c171e [trunk]: Remove unnecessary logs from library.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54775 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 10:15:44 +00:00
k.triantafyllou a2fed50ea1 Revert Guards to Can Activate
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54665 d315682c-612b-4755-9ff5-7f18f6832af3
2019-01-29 13:03:31 +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
argiro.kokogiannaki 69d62575ac in user page add a link to home when the error is that user needs to be subscribed
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54046 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 11:34:09 +00:00
argiro.kokogiannaki 22d4a2f105 In display claims redirect when session expires.
Update messages in user login errors


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53689 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-09 13:44:08 +00:00
konstantina.galouni 1259f7bc48 1. mailPrefs.component: Bug fix: redirect to /user-info when 'save' is clicked, but preferences not changed.
2. login/user.component.html: Bug fix: When session is expired, in 'sign in' button call 'logIn()' function instead of redirect to 'loginUrl'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53672 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-08 14:22:58 +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 b0b1af6a04 Linking:
1. When linking is from connect, add community in the basket if there is not
	2. My links add separate section with the recent claims (24h)
	3. In recent claims add tooltip with information about the link visiblility in the index
	4. Add section on the right with the link to create more and a link to claims information article
	5. Add link to claims information article to the properties



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53553 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-25 09:33:56 +00:00
argiro.kokogiannaki deffcceed8 Changes in claim componets to support ORP
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52837 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-30 14:22:19 +00:00