k.triantafyllou
e8774312f5
[Library | Trunk]: 1. Community Service refactor. 2. Subscribe service refactor. 3. Add service on role-verification
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60453 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-19 17:50:34 +00:00
konstantina.galouni
89acbac1c0
[Trunk | Library]
...
1. subscribe.service.ts: [Bug fix] In method "initIsSubscribedToCommunity()" and "isSubscribedToCommunity()" in api path /{portalType} changed with /community.
2. newSearchPage.component.html: Use updated icon "search.svg" (not .png).
3. contact-us.component.html: In contact us form rows change "uk-margin-top" to "uk-margin-medium-top".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60008 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 08:41:00 +00:00
argiro.kokogiannaki
bc0628d9f7
[Library|Trunk]
...
complete previous commit
-add unsubscribe methods for subscribe service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59827 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 16:49:24 +00:00
konstantina.galouni
9261419e2d
[Trunk | Library]: Merging branch 'use-UoaAdminToolsLibrary' into trunk for revisions 58402:59464
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59465 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-24 11:18:24 +00:00
k.triantafyllou
07783fa92e
[Library | Trunk]: Add on error for some subjects calls.
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59245 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-11 12:16:50 +00:00
konstantina.galouni
d8e31242e8
[Trunk | Library]:
...
1. subscribe.service.ts: Remove unnecessary prints.
2. newSearchPage.component.ts: Set default value for field 'sort' to true.
3. newSearchPage.component.html: In <search-sorting> bind entityType parameter.
4. searchResearchResults.component.ts: Remove data binding for 'sort' in <new-search-page>.
5. searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: Add data binding [sort]="false"in <new-search-page>.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58594 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-05 08:46:10 +00:00
konstantina.galouni
1c105985b0
[Trunk | Library]: subscribe.service.ts: Connect redesign: Add field 'isSubscribedSubject: BehaviorSubject<boolean>' and methods to initiate and get it (singleton service, to update subscriber status).
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58570 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-28 10:15:44 +00:00
konstantina.galouni
9433f3b350
[Trunk | Library]: subscribe.service.ts: Method "isSubscribedToCommunity()":
...
a. get request, not post.
b. Method "getCommunitiesSubscribedTo()" remove email parameter and add token in header ("X-XSRF-TOKEN" header) - Do not reveal user's email.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58461 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 06:09:15 +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
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
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
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
argiro.kokogiannaki
63d3b9777c
[Trunk|Library]
...
Subscribe service:add method getCommunitiesSubscribedTo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55386 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-16 14:15:28 +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
sofia.baltzi
de7e1cae2e
Remove get subscriber's mail functionality
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53913 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 14:15:03 +00:00
sofia.baltzi
0048098130
Add get subscriber's mail functionality
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53912 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 13:50:43 +00:00
konstantina.galouni
c00ee7b7dd
1. subscribe.component: disable subscribe/unsubscribe button when already pushed | add notification when subscribe/unsubscribe fails.
...
2. subscribe.service: return null in 'isSubscribedToCommunity' function if request fails.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53349 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-01 12:46:21 +00:00
sofia.baltzi
456eb136e5
Move subscribe.service.ts to openaireLibrary
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52702 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-06 10:33:16 +00:00