argirok
7354d0ad55
update status field values with PUBLIC, RESTRICTED, PRIVATE
...
add methods isPublic, isRestricted, isPrivate instead of using the previous checks
2023-07-18 14:26:12 +03:00
argirok
3ee4129c7e
apply initial changes to library bases on new community API
2023-07-14 11:40:38 +03:00
Konstantina Galouni
058d30f4c1
[Connect Admin | develop]: community.service.ts: Renamed "advancedConstraint" to "advancedConstraints" (coming from community API).
2023-04-26 11:45:54 +03:00
Alex Martzios
efc2d6c47b
add changes for sdg-selection component
2023-03-09 16:29:25 +02:00
Konstantinos Triantafyllou
978d9f0269
Add updateSubjects and advanced criteria in community service. Add margin-top in actions of users and subscribers.
2023-03-09 16:07:39 +02:00
Konstantinos Triantafyllou
717ead02b2
Make some fixes after update to angular 12
2022-09-23 12:24:15 +03:00
Konstantina Galouni
58be998563
[Library | new-theme]: community.service.ts: Comment "clearSubscriptions()" in getCommunityAsync() which probably causes bug by canceling call for community information.
2022-07-04 13:12:42 +03:00
Konstantina Galouni
0839b6df60
[Connect Admin | Library | new-theme]: Match menu for communities in admin & dashboard | Added missing property "adminPortalURL".
...
1. environments/: [Bug fix] Added missing property "adminPortalURL".
2. community-routing.module.ts: Added "user-info" path for each community.
3. app.routing.ts: Set "hasSidebar" to true for "user-info" path.
4. app.component.ts:
a. Set "user-info" path in userMenuItems under community if any selected.
b. In menuHeader for community set logoUrl and logoSmallUrl to headerLogoUrl (community logo).
c. When community is selected, added in menu all items of dashboard too (menu same in admin and dashboard).
5. app.component.html: In <navbar> added input parameter "communityId".
6. navigationBar.component.ts: On "initialize()" method, clear "showEntity" and "showPage" fields before filling them again and subscribe to communityInformationState if there is a community and adminToolsAPIURL OR if adminToolsPortalType is community (admin & dashboard).
7. community.service.ts: On getCommunityAsync() method, after await call clearSubscriptions().
2022-07-01 11:27:47 +03:00
Konstantinos Triantafyllou
8ad3eff16b
Fix a bug with community subject changed while getting community Info in landing contexts
2021-11-30 18:21:35 +02:00
Konstantinos Triantafyllou
79e6748d7f
Fix community logoUrl bug when it is uploaded
2021-11-12 12:36:16 +02:00
k.triantafyllou
f747c9314f
[Library | Trunk]: Community Service clear comments and unused imports
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60737 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-29 07:51:45 +00:00
k.triantafyllou
4214b08f87
[Library | Trunk]: Community Service: fix getCommunity method to avoid multiple requests
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60735 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-29 07:39:48 +00:00
argiro.kokogiannaki
d856aadf61
[Library|Trunk]
...
community service: keeps subscription is array, update clear method.
Advanced search: add check for selected fields array
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60730 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-26 15:45:30 +00:00
argiro.kokogiannaki
61a50fbf69
[Library |Trunk]
...
dashboard - admin-tools:
- add checks for main portals explore, connect + monitor and put the proper portal type
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60532 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-01 17:27:45 +00:00
k.triantafyllou
6e34d05a1d
[Library | Trunk]: Community Service remove new from getCommunityNew
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60459 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-19 18:08:49 +00:00
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
k.triantafyllou
e8b37fc533
[Library | Trunk]: Community Service check logoUrl if isUpload
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60436 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-16 10:25:23 +00:00
k.triantafyllou
1b1e0170e1
[Library | Trunk]: 1. Fix user info id on parsing. 2. Add activeRoute field on MenuItem. 3. Finish inivte subscriber
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60284 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-22 18:09:44 +00:00
k.triantafyllou
7d147b89e7
[Library | Trunk]: Create subscriber invite and subscribers components.
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60274 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-21 15:15:53 +00:00
argiro.kokogiannaki
7ca179f3e8
[Library|Trunk]
...
code clean up - Connect related:
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
- remove old properties json files
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59825 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 15:41:03 +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
6d593aaa27
[Library | Trunk]: Remove deprecated from getCommunity, add methods on user registry service
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59348 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-08 14:33:06 +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
15d4fc5398
[Trunk | Library]: community.service.ts & ISVocabularies.service.ts: Removed prints for debugging.
...
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59156 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 13:50:31 +00:00
konstantina.galouni
0a1576d618
[Trunk | Library]:
...
1. community.service.ts:
a. Add BehaviorSubject for community.
b. Method "isCommunityManager" replaced by "isCommunityManagerByState" (filtering applied in community stored in BehaviorSubject).
c. Method "isRIType" replaced by "isRITypeByState" (filtering applied in community stored in BehaviorSubject).
d. Method "isCommunityType" replaced by "isCommunityTypeByState" (filtering applied in community stored in BehaviorSubject).
2. connectAdminLoginGuard.guard.ts:
a. Get properties from environment (no service needed).
b. Call method "isCommunityManagerByState" of CommunityService.
c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
3. connectCommunityGuard.guard.ts:
a. Get properties from environment (no service needed).
b. Call method "isCommunityTypeByState" of CommunityService.
c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
4. connectRIGuard.guard.ts:
a. Get properties from environment (no service needed).
b. Call method "isRITypeByState" of CommunityService.
c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
5. isRouteEnabled.guard.ts: Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
6. curator.service.ts: [Undo change of r59073] Use "useCache" property, not "useLongCache" for curators.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59140 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-16 23:08:10 +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
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
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
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
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
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
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
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
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
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