Commit Graph

183 Commits

Author SHA1 Message Date
konstantina.galouni 23ebd629e9 [Trunk | Library]: communityCharts.ts: Minor height and width changes for chars (old statistics tool) (during connect redesign).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58545 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-24 15:47:01 +00:00
argiro.kokogiannaki bfc49c0e18 [Library|Trunk]
Connect - Production release with links to beta: Connect helper ignore community id in domain if in production

Search Page:
	option to include breadcrumb
	show quickFilters for only results view
	Quick Filters: 
		one line if they fit
Entities Selection Component:
	add option to show only result types 
	add check  if different result types are enabled


Add search bar component:
	select different result types 

Navbar: apply changes for searchbar to fit 

	


	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58517 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-22 13:00:13 +00:00
argiro.kokogiannaki f1fa706299 [Library|Trunk]
Connect related changes:
	1.community search results: production link goes to beta
	2. add isActive fin stats display class



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58470 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 09:45:20 +00:00
konstantina.galouni 71a4d35c43 [Trunk | Library]:
1. subscribe.service.ts: 
	a. Method "subscribeToCommunity()" renamed to "subscribeToCommunityByEmail()" and method "unSubscribeToCommunity()" renamed to "unSubscribeToCommunityByEmail()".
        b. Add methods: "getNumberOfCommunitySubscribers()", "subscribeToCommunity()", "unSubscribeToCommunity()".
	c. Method "isSubscribedToCommunity()": API changed to return true/ false without revealing users' emails (no processing needed here anymore).
	d. Methods: "isSubscribedToCommunity()", "subscribeToCommunity()", "unSubscribeToCommunity()" - DO NOT SEND user email, API will do the work via token ("X-XSRF-TOKEN" header).
2. connectSubscriber.guard.ts: Use new method "isSubscribedToCommunity()" without email parameter (subscribe.service).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58459 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 05:16:38 +00:00
konstantina.galouni 6331a47039 [Trunk | Library]:
1. searchDataproviders.service.ts & searchProjects.service.ts & searchZenodoCommunities.service.ts & email.service.ts: Rename "communityId" to "pid".
2. curator.service.ts: create request path in service.
3. help-content.service.ts: Added method "statisticsIsActiveToggle()" (already added in help-content.service.ts in Admin portal).
4. layout.service.ts: "properties" as first parameter in methods | build request path in service.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58443 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-08 11:25:41 +00:00
konstantina.galouni 4d6d459f41 [Trunk | Library]:
1. community.service.ts: Mark unused method "isSubscribedToCommunity()" as "deprecated" (This service calls community API - made in Italy, not uoa-admin-tools - made in Greece).
2. connectSubscriber.guard.ts: Call "isSubscribedToCommunity()" method from "subscribe.service.ts" (not "community.service.ts").
3. curator.service.ts: getCurators(properties: EnvProperties, url: string) --> getCurators(properties: EnvProperties, emails: string): Build path for request in service.
4. email.service.ts: Build request path in service
	a. sendEmail(url: string, email: Email) --> sendEmail(properties: EnvProperties, email: Email)
	b. contact(url: string, email: Email, recaptcha: string = null) --> contact(properties: EnvProperties, email: Email, recaptcha: string = null)
	c. Create method "notifyForNewManagers(properties: EnvProperties, communityId: string, email: Email)" (sendEmail was used for everything).
5. subscribe.service.ts: 
	a. subscribeToCommunity(pid: string, email: string, url: string) --> subscribeToCommunity(properties: EnvProperties, pid: string, email: string)
	b. unSubscribeToCommunity(pid: string, email: string, url: string) --> unSubscribeToCommunity(properties: EnvProperties, pid: string, email: string)
6. layout.service.ts: getLayout(communityId: string, url: string) -->  getLayout(properties: EnvProperties, communityId: string): Build path for request in service.
7. feedback.component.ts: In method "contact" from "emailService", build request path in service.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58420 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-07 14:57:26 +00:00
k.triantafyllou 6d9eafbf51 [Libary | Trunk]: Add isActive on StatisticsDisplay class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58372 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-01 13:42:05 +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 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
argiro.kokogiannaki 2e20a38d17 [Library|Trunk]
update customization options class (rm copy method, change fonts values)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57337 d315682c-612b-4755-9ff5-7f18f6832af3
2019-10-10 14:46:00 +00:00
argiro.kokogiannaki bc427b7e62 [Library|Trunk]
CustomizationOptions class: update according to UI - admin design


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57274 d315682c-612b-4755-9ff5-7f18f6832af3
2019-10-07 06:58:49 +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 e0dddbf71e [Library|Trunk]
move connect CustomizationOptions.ts in Library


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57045 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-12 09:40:17 +00:00
k.triantafyllou 9f3dafd895 Fix bug on adminLoginGuard wrong redirectedUrl on canLoad.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56976 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-05 14:02:18 +00:00
argiro.kokogiannaki db2371fee7 [Library|Trunk]
Communities service: set behaviorSubject to null



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56805 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-30 08:56:35 +00:00
k.triantafyllou d75b540775 [Library]: Add guard to check if there is community or user is Portal Administrator.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56516 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-12 13:16:30 +00:00
konstantina.galouni 39b63dca2b [Trunk | Library]: connectHelper.ts: in method 'getCommunityFromDomain()', also return null when domain is 'admin'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56379 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-05 12:11:04 +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
k.triantafyllou 0fe32acf58 [Trunk|Library]: Fix entities map: Data -> data
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56198 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-25 12:31:07 +00:00
argiro.kokogiannaki 27a2ad0be5 [Library|Trunk]
Properties: add new charts tool url + a boolean property useNewStatistisTool
	
	Stats for connect:
		add a class that creates a map for the connect frame urls, and use properties to create urls based on old or new tool
		


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56147 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-21 08:53:48 +00:00
k.triantafyllou b1d2d474f3 [Trunk|Library]: Change map for statistics entities.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56111 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-18 15:29:55 +00:00
konstantina.galouni 9b21fdf321 [Trunk | Library]: affiliation.service: Add delete and update http requests.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56041 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-11 13:33:32 +00:00
konstantina.galouni d8552c8a08 [Trunk | Library]: Create affiliations.service in connect folder to get affiliations from communities API.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56028 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-07 12:51:26 +00:00
k.triantafyllou 8b8c02eab9 [Trunk|Library]: Remove subject from curators service.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55998 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-05 14:21:38 +00:00
argiro.kokogiannaki f5d29ffc76 [Library|Trunk]
add cache in some services and pass properties as parameter

	initiate a searchResearchResultsService where it gets result type as parameter

	update navbar/bottom to get properties as parameter and remove attributes included in properties

	add spaces in search results & authors components



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55995 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-05 13:33:18 +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 10ed032ead [Trunk|Library]: 1. Add a new service for curator photo. 2. Add at properties url for curator download and delete photo. 3. Add a parameter at modal alert to disable ok button. 4. Add CuratorInfo.ts with curator and affiliation classes. 5. Add methods at curators service.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55945 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-02 18:52:26 +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
k.triantafyllou eb5dad3b66 [Trunk|Library]: Communities Service: Add a subject to keep communities, a method to update them from the API and a method to get subject as Observable
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55400 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-18 12:47:26 +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 bb3a22be2b [Trunk|Librady]: 1. Change color of Okbutton(when is right) to portal button. 2. Add isSubscribed and isManager to CommunityInfo and removed all from SearchResults.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55339 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-13 18:26:46 +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
k.triantafyllou ac0c8181e3 [Trunk|Library]: Fix CanLoad guards to get community from document(Can be used only in browser platform)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54960 d315682c-612b-4755-9ff5-7f18f6832af3
2019-03-04 13:23:01 +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
k.triantafyllou 5d5f39be19 [Trunk|Library]: 1. Add static function to find community from url path. 2. Community guards can now be used as CanLoad guards using functionality of getCommunityFromPath(look at 1).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54915 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-27 10:39:13 +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 0bddc14435 [Trunk|Library]: All guards implement CanLoad. Need to be tested! CanActivate is now enabled
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54906 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-26 13:57:04 +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
argiro.kokogiannaki 53201aa7a4 [Library]
Deposit: Rename title "Deposit" to "Share"
Navigation Bar: Add alt=" " in community images to avoid broken image



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54851 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-18 15:06:35 +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
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