Commit Graph

19 Commits

Author SHA1 Message Date
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
konstantina.galouni a0b9e62c00 [Trunk | Library]:
approved.component & connectSubscriber.guard & mailPrefs.component & isRouteEnabled.guardisRouteEnabled.guard & helper.componenthelper.component: 
	Priority to get communityId from domain (if not exists, check url parameter)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56330 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-03 10:14:24 +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
argiro.kokogiannaki 8edba0b65c git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54948 d315682c-612b-4755-9ff5-7f18f6832af3 2019-03-01 11:29:52 +00:00
konstantina.galouni be570d4ec1 [Trunk|Library]: Bug fix in previous commit.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54849 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-18 14:04:12 +00:00
konstantina.galouni 8641787688 [Trunk|Library]
Fix error logs in Claims Pages and remaining components (approvedByCommunity, userEmailPreferences, navigationBar).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54848 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-18 14:00:43 +00:00
argiro.kokogiannaki 01a945b226 [Trunk|Library]
Server Side errors: Add missing checks before using document, fix SEO rel canonical issue 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54829 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-15 15:03:48 +00:00
konstantina.galouni c96508cc15 [trunk]: Library + Explore: Remove unnecessary logs.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54778 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 10:44:30 +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
konstantina.galouni 5776b9b0ea mailPrefs.component: Bug fix: call changeFrequency() on ngModelChange to enable 'save' button.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54613 d315682c-612b-4755-9ff5-7f18f6832af3
2019-01-22 11:16:02 +00:00
konstantina.galouni 645ef263ce claimsByToken.component & mailPrefs.component: when Session is expired, redirect to '/user-info' page to show a proper message.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53742 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-14 11:07:45 +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
argiro.kokogiannaki 68770e1c2b Move customOptions.class.ts in services/servicesUtils/ update filepaths in services using it
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53668 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-08 13:49:40 +00:00
konstantina.galouni 21ac8fd2f0 1. library.css: Add class 'inherit-color' (used in user notifications: uk-form-label).
2. mailPrefs.component: make functionality of buttons like manage-user-notifications.component of admin portal (when preferences change, save button remains clickable unless 'reset' is clicked).
3. manage-user-notifications.component: Change html (stop using table for proper layout - use form instead).
4. When Session expires, redirect to '/user-info'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53613 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-01 17:21:10 +00:00
konstantina.galouni da959c01ec mailPrefs.component: use 'showSaveResetButtons' variable to show or hide 'save' and 'reset' buttons.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53538 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-20 15:26:54 +00:00
konstantina.galouni bd2957074e 1. mailPrefs.component.html: change look & feel of on/off buttons | when off is selected, show 'how often' disabled | move 'save' button on the left of 'reset'.
2. mailPrefs.component.ts: bug fix for community notifications.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53453 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-15 09:51:01 +00:00
konstantina.galouni e775921012 1. Add userEmailPreferences page, where user chooses for every openaireId, for which he/she is a manager, IF and HOW OFTEN prefers to receive email notifications.
2. errorCodes.ts & errorMessages.component: Add 'FORBIDDEN' errorCode and appropriate errorMessage.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53231 d315682c-612b-4755-9ff5-7f18f6832af3
2018-09-24 10:08:33 +00:00