Commit Graph

66 Commits

Author SHA1 Message Date
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 ccbda1f8a6 Merge remote-tracking branch 'origin/master' into angular-12 2022-09-26 17:23:00 +03:00
argirok 1db2073e96 add heroBackground, put only in hero the background image 2022-09-26 14:00:37 +03:00
Konstantinos Triantafyllou 717ead02b2 Make some fixes after update to angular 12 2022-09-23 12:24:15 +03:00
argirok 123766d46e update Customization Options
remove unused property portalBuildTime
2022-08-08 13:16:13 +03:00
argirok 3041f80bf7 Customization: add default background in linking, add customize buttons variables 2022-08-01 12:23:57 +03:00
argirok a41ef51cda Customization: set default light color to f9f9f9 2022-07-28 16:51:13 +03:00
argirok 29bb895502 customization add position for form background 2022-07-27 14:45:42 +03:00
Konstantinos Triantafyllou 71437f2085 Customization Options: Delete variables primary and secondary from getVariables 2022-07-25 11:47:33 +03:00
argirok 6be94301fa Customization: remove Date 2022-07-22 18:41:15 +03:00
argirok 5a3afe1d8f updates on customization/ using built css and preview css 2022-07-22 18:33:54 +03:00
argirok 7641c46d34 Customization Options: add date, update getVariables method 2022-07-22 10:35:30 +03:00
Konstantinos Triantafyllou f9f8363d5c Add method add variables in customization options 2022-07-21 15:00:26 +03:00
argirok e61d4495ae Merge remote-tracking branch 'origin/new-theme' into new-theme 2022-07-04 14:13:18 +03:00
argirok bdcf1d6bdf Customization: more changes for the new mocks 2022-07-04 14:12:55 +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
argirok 8f991bc9a8 Updates in customization: upload an image as background for the search form 2021-11-26 14:45:12 +02:00
Konstantinos Triantafyllou 7ef741c205 Add logoUrl function in string utils and logoUrl pipe for HTML usage 2021-11-12 14:07:55 +02:00
Konstantinos Triantafyllou 79e6748d7f Fix community logoUrl bug when it is uploaded 2021-11-12 12:36:16 +02:00
argiro.kokogiannaki 641c76f169 [Library|Trunk]
- add new fields for Customization options
 - DOI regex fix 10. rule



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61025 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-19 11:24:10 +00:00
argiro.kokogiannaki 858b36bd0b [Library|Trunk]
- display claims: 
	rename  property title to pageTitle -> avoid confusion with HTML tooltip
	add tooltip for claim status
- Search research results service - add check for year in most recent results
- Bottom component: update newsletter url
- Customization: initialize the colors with ligher versions for light background and form



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60916 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-19 16:28:36 +00:00
argiro.kokogiannaki 78f6d85d45 [Library|Trunk]
- Result landing: allow get result from input instead of the service.
- FetchResearchResults class: getResultsForCommunity add check for current year when sorting on date
- Customization checkForObsoleteVersion: add extra check




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60883 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-16 09:59:54 +00:00
argiro.kokogiannaki 75c600e51c [Library|Trunk]
Customizations: updates in the class attributes



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60828 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-09 15:56:51 +00:00
argiro.kokogiannaki b7ecadc8e0 [Library|Trunk]
Customization:
-add Layout class
- add method for color contrast



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60805 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-06 14:10:46 +00:00
argiro.kokogiannaki 98ec296077 [Library|Trunk]
CustomizationOptions.ts: update customizations based on new UI.



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60796 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-05 13:14:43 +00:00
argiro.kokogiannaki 3302e2c238 [Library|Trunk]
Dashboard: 
- DivIds: clean up components, new UI
- pages: add count for divIds


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60756 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-31 11:23:24 +00: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
argiro.kokogiannaki 82be5a6e52 [Library | Trunk]
Claims: update UI for display claims component

Dashboard - connect: update notification settings component




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60403 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 10:24:52 +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 f82709b062 [Library|Trunk]
Connect - communities search : 
	- remove check for productionready communities
	- add check for custom filter
	- update openaire link in table view - remove graph info



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59990 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-30 16:55:28 +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
argiro.kokogiannaki 2979275c17 [Library|Trunk]
communities:
	add const prodReadyCommunities 
	communities search results: in production show link to beta or prod based on the list of prodReadyCommunities


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