Commit Graph

57 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou fc9e77b887 [Library | explore-redesign]: Fixes on FoS and SDGs suggest modal (checked existing subjects, added loading) - In FoS fixed scrolling, search and final response of selected fields.
1. composer.ts & resultLanding.component.ts: Removed "and Technology" from "Fields of Science" typename.
2. resultLanding.component.html: Bind (suggestClicked) to <fos> instead of (feedbackClicked).
3. input.component.ts: [Bug fix] Added check in "filter()" method if option.label.
4. sdg-selection.component.ts: [Bug fix] Set this.loading = false; inside subscribe.
5. fos.component.ts: In title, updated FOS to FoS.
6. sdg-fos-suggest.module.ts: Imported LoadingModule.
7. sdg-fos-suggest.component.ts: Show loading when sending email | Do not initialize <sdg-selection> and <fos-selection> before subjects have value (this way inputs of existing fos/sdgs are checked).
8. fos-selection.component.ts:
   a. Added @Input() inModal: boolean = false; to set activeSection, when inModal, instead of navigating with fragment.
   b. [Bug fix] Set this.loading = false; inside subscribe.
   c. Call this.setObserver(); both in ngOnInit and when keyword changes.
   d. Updated threshold of observer from 0.25 to 0.1 (large FoS categories were never triggered on scrolling, because less than 25% of their content was visible).
   e. Updated fosOptions to Map<string, boolean> to track easily checked inputs and updated getSelectedSubjects() accordingly.
9. fos-selection.component.html: In search-input of keyword no options are needed | Updated ngModel of checkbox inputs.
10. cache-interceptor.service.ts: Added check if (!properties.useLongCache) to skip cache.
2023-02-21 02:47:23 +02:00
Konstantina Galouni 1ca647f56e [Explore & Library | explore-redesign]: Updated component for suggest SDGs or FoS.
1. alert.ts: Added previous button option.
2. composer.ts: Set feedback values in body | Make method "composeEmailForSdgsSuggestion()" generic to send feedback for either SDGs or FoS. - TODO: Rename method.
3. sdg-selection.component: Added some checks | Added method "getSelectedSubjects()".
4. sdg-fos-suggest.component: Updated component for suggestion | Send suggested subjects to composer | Add modal here | Make file generic for FoS or SDGs suggestion.
5. resultLanding.component: Updated how <sdg-fos-suggest> is called | Moved SDGs / FoS suggest modal inside <sdg-fos-suggest>.
2023-02-18 10:52:24 +02:00
Alex Martzios 75ad00db3f create new component for handling SDG suggestions 2023-02-17 19:08:44 +02:00
Konstantina Galouni 062f1a23c4 [Explore | master & Library | angular-14]: composer.ts: [Bug fix] Add parenthesis around ternary operator in method composeEmailForExplore() - empty or wrong body | contact-us.component.html: Added #captchaElem in <re-captcha> | contact-us.component.ts: Added ViewChild for captchaElem and added method "resetRecaptcha()" | contact.component.html: Added #contactUs in <contact-us> | contact.component.ts: Added ViewChild for contactUs and call contactUsComponent.resetRecaptcha() on reset method. 2023-01-10 02:25:03 +02:00
Alex Martzios 7da81d02b5 create new function for composing email for explore (contact-us page) 2022-10-03 13:39:35 +03:00
Konstantinos Triantafyllou 167e154de8 Change word subscriber to member in composer email for new member 2022-09-26 17:24:39 +03:00
Konstantinos Triantafyllou e0d5b579d9 Fix link to subscribers in email composer 2022-09-26 17:22:32 +03:00
Konstantinos Triantafyllou 9b5607fbd0 Notify form: Open dropdown on empty. Delele unsused mailPrefsComponent. Finish UI of subscribers and invite subscriber. Fix an input bug in case of adding chip with enter key 2022-06-28 21:13:40 +03:00
Alex Martzios 73dae143f3 update text of invitation emails (monitor) and add stakeholder entities as enum 2022-06-09 10:38:06 +03:00
Konstantinos Triantafyllou ada419f8e8 Add notification handler. Add contact-us to quick contact and make some changes in contact-us 2022-02-24 18:42:05 +02:00
argiro.kokogiannaki 2e5ba2141a [Library|Trunk]
Update email composer text for invite community managers
Error page: add page attribute as input



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61011 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-17 15:32:06 +00:00
k.triantafyllou 8acc64fc10 [Library | Trunk]: 1. Role users disable remove button for members when a user is a manager. 2. Change email message for community managers invitation
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60545 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-02 10:08:19 +00:00
k.triantafyllou 57d4983341 [Library | Trunk]: Change notification emails methods
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60529 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-01 16:05:37 +00:00
k.triantafyllou 878ea565ad [Library | Trunk]: Some changes on input component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60413 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-12 11:31:12 +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
k.triantafyllou c63b03402e [Library | Trunk]: Fix invite message for covid-19 community
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60256 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-15 13:35:32 +00:00
argiro.kokogiannaki e77774e951 [Library|Trunk]
Composer: in links with 'beta.' prefix use property.environment to set the prefix accordingly. Remove text that connect is in beta version



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60106 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-09 13:49:28 +00:00
argiro.kokogiannaki 276a6c7fca [Library|Trunk]
- add checks for admin tool response
- use property for admin portal url


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60040 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-07 10:22:24 +00:00
k.triantafyllou 9bbfddad8c [Library | Trunk]: 1. Add compose email for invitation in monitor dashboard. 2. Add messages on invitation modals.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59921 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-19 17:13:27 +00:00
argiro.kokogiannaki 1d5c753ff6 [Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from  the component that uses them (clearSubscriptions())




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59816 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-11 14:43:13 +00:00
k.triantafyllou e91237a48b [Library | Trunk]: Fix image-front-bar in search page. Remove subject from connect contac
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59680 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-23 18:04:56 +00:00
k.triantafyllou 835f785804 [Library | Trunk]: Contact us add css file
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59678 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-23 17:46:13 +00:00
k.triantafyllou 958b8b5a38 [Library | Trunk]: Add compose email for graph
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59545 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-09 16:36:09 +00:00
k.triantafyllou 4d48dad56e [Library | Trunk]: Change contact us base on usege-counts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59365 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-14 15:08:34 +00:00
k.triantafyllou 64682b91a3 [Library | Trunk]: Email validator change regex
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59225 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-06 10:56:51 +00:00
k.triantafyllou 16b1903d3c [Library | Trunk]: Add new contact fields for monitor contact
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58982 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-23 20:50:46 +00:00
k.triantafyllou 99421068ab [Library | Trunk]: Add subject to contact is form.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58891 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 17:03:03 +00:00
k.triantafyllou a0aff69243 [Library | Trunk]: Add adminPortalURL property for composer.ts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58655 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 15:01:59 +00:00
k.triantafyllou 72b48a0811 [Library | Trunk]: Change invite message for covid-19
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58652 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 11:10:40 +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 ec517e5614 [Library | Trunk]: Feedback email added. User will received an email about his report status.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58305 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-19 12:26:55 +00:00
k.triantafyllou 38d44d484d [Library | Trunk]: Complete Feedback for development
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58303 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-19 09:10:42 +00:00
k.triantafyllou 276e467b4f [Library | Trunk]: 1. Merge from landing redesign. 2. Close modal on show Authors.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58275 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-16 13:09:46 +00:00
k.triantafyllou 1caea6b31f [Library]: Create Contact us component, delete contact us from class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57794 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-03 12:50:39 +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 ba5b4438e2 [Trunk|Library]: Move contact-form to library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55301 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-12 10:18:00 +00:00
k.triantafyllou c156ac3b8f [Trunk|Library]: 1. Compose email for request for new community. 2. Change community view on results
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55287 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-12 08:52:31 +00:00
k.triantafyllou 0c01cd65f7 [Trunk|Library]: 1. Add a new entity with fiels an email and recaptcha token. 2. Add a contact method on email service to send an email and recaptcha token to admin-tools
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55274 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-11 11:26:02 +00:00
k.triantafyllou 0668d1dcc3 [Trunk|Library]: 1. Add new method for send and email for new community. 2. Add two properties reCaptchaSiteKey and admins list(for contact)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55268 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-10 18:55:17 +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 2109ddb8a1 [Library] Email composer: add subscriber e-mail in the new subscriber notification
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54772 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 09:54:55 +00:00
konstantina.galouni a6497d2dcc validator.ts: Add uppercase letters as accepted characters in emails | Bug fix for not accepting email with a singe dot after '@'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54672 d315682c-612b-4755-9ff5-7f18f6832af3
2019-01-30 13:57:21 +00:00
sofia.baltzi 91c27dcfb8 Add email initialization to composer and parameterize subject's prefix
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54460 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-19 13:26:41 +00:00
sofia.baltzi 90fc009b7a Add email's body initialization
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54447 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-18 12:58:46 +00:00
sofia.baltzi 5a587eb22f Use variable for email regex
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54445 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-18 12:33:18 +00:00
sofia.baltzi 5ef63a02c9 Add format Email body to invite users functionality
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54444 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-18 12:23:14 +00:00
sofia.baltzi 8b970e94b8 Add email validator
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54439 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-17 15:15:14 +00:00
sofia.baltzi 4c9ebd1b69 Compose new subscriber notification email
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54350 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-13 11:38:29 +00:00
sofia.baltzi b1009769b7 Clean code
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54344 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-12 13:30:07 +00:00