Commit Graph

36 Commits

Author SHA1 Message Date
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
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
argiro.kokogiannaki da3582efd9 Zenodo communities : move or add to library common services and classes for zenodo communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53903 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 09:34:39 +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 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 e1434921d3 add orp in statistics entities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53561 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-26 11:36:42 +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
argiro.kokogiannaki 4f8a366174 Linking:search results: Correct search by crossref DOI number appeared, show no results for Datacite
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53491 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-17 12:10:30 +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
argiro.kokogiannaki f648847e1a Make domain functions more generic
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52605 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-28 14:22: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
sofia.baltzi c9eef20d8e Parse communities only if type is community or ri
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52271 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-29 14:46:14 +00:00
argiro.kokogiannaki 0ea6e5f774 Parse new field status in communities | add new field in communityInfo class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51912 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-03 11:27:42 +00:00
konstantina.galouni 1034bfa117 1. connectHelper.ts: bug fix - return null if we are in explore domain.
2. searchPage.component.ts: bug fix - when filters or keyword changes (goTo function), call createIndexQueryParameters function and emit indexQuery as index for search pages that request resources.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51869 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-25 13:30:59 +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
sofia.baltzi e8df63c34e Add title in meta in communityErrorPage.component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51762 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 15:20:27 +00:00
sofia.baltzi d47951c5fc Replace Meta service Import and use with Meta and Title from angular/platform-browser for errorPage.component and error.module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51759 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 14:06:36 +00:00
sofia.baltzi a44efefd78 Replace Meta service Import and use with Meta and Title from angular/platform-browser for communityErrorPage.component and communityError.module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51752 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 13:05:36 +00:00
myrto.koukouli 8f08e6a5b8 added statisticsEntities.ts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51681 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-05 08:02:11 +00:00
konstantina.galouni 8c8e9ca79c 1. Change the way variable of type 'EnvProperties' is accessed in guards.
2. Add <ng-content> in modal of openaireLibrary. (e.g. for nested component)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51672 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-04 16:01:57 +00:00
konstantina.galouni 30f9ee87a7 1. Pass argument of type: EnvProperties in connect services (used for cache).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51662 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-04 14:05:26 +00:00
konstantina.galouni b830fb2a78 1. Add searchDataproviders.service and searchProjects.service in openaireLibrary/connect.
2. Remove connect/approvedByCommunity/approved.service.ts: Duplicate of searchDataproviders.service.
3. approved.component: Use searchDataproviders.service from openaireLibrary/connect/contentProviders/ folder.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51659 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-04 12:35:31 +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
konstantina.galouni 11d936d51b 1. approved.component.ts: component to check and show approval of content providers in share result pages by current community.
2. searchResult.component.html: approved.component moved to openaireLibrary: 'connect/approvedByCommunity/'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51580 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-29 14:15:47 +00:00
argiro.kokogiannaki f8f2270a78 move Connect helper in the library| change help service to get communityId by parameter/domain (for connect or properties for explore) | add helper before/after option in search/advanced/table pages
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51565 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-29 08:23:36 +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
sofia.baltzi f4c10e12c0 Add and parse type field in CommunityInfo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51511 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-26 14:13:28 +00:00
sofia.baltzi cf7e67c967 Add headers and options in post request for community-edit-form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51344 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-20 12:09:51 +00:00
sofia.baltzi 202c7253e6 Add updateCommunity method to community.service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51342 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-20 11:40:39 +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
sofia.baltzi 1d9daca041 Add communites folder,Move communities.service to openaireLibrary and Change imports
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51228 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-14 13:29:53 +00:00
sofia.baltzi abc97c5abc Add connect/community and results directories, Move community.service, communityInfo and resultInfo in openaireLibrary
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51076 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-07 11:08:03 +00:00