Commit Graph

35 Commits

Author SHA1 Message Date
konstantina.galouni 19fb5141f4 [Trunk | Connect]:
1. subscribe.component.ts: Remove unnecessary prints.
2. searchCommunities.component.ts: 
	a. [Bug fix - sometimes on 1st load] Remove data binding for 'sort' in <new-search-page>.
	b. [Bug fix - no results on 1st load] Remove data binding for 'filters' in <new-search-page>.
	c. Add field 'private userFilterLoaded:boolean = false;' to init all filters correctly when user is logged in.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58595 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-05 08:52:11 +00:00
konstantina.galouni 960f9b7839 [Trunk | Connect]:
1. app-routing.module.ts: Add route '/subjects'.
2. app.component.ts: Group subscribe and invite buttons under id="subscribeAndInviteBtn" (keep distance between them alwayes the same) | uncomment menu item 'Subjects' in About.
3. app.module.ts: import 'SubscribeService' (singleton service to update everywhere subscriber status).
4. libUser.module.ts & subscribe.module.ts: remove import of 'SubscribeService' (singleton service to update everywhere subscriber status).
5. community.component.html: 
	a. Improve some checks
	b. In main tabs of the page (class main-tabs) add class 'uk-text-truncate' and remove class 'uk-width-3-4' (each tab has max-width)
	c. Add icon in 'Analytics' tab
	d. [Bug fix] In description, fix overflow and max height of box
6. community.component.ts: Add field '@ViewChild(SubscribeComponent) subscribeComponent: SubscribeComponent' to add some checks in html.
7. curators.component.html: Remove div with class 'image-front-topbar' | Update css for title | Add <breadcrumbs> | Add user icon for each curator.
8. curators.component.ts: Initialize breadcrumb | [Bug fix] In methods 'getPageContents()' and 'getDivContents()' use communityId (instead of 'connect').
9. curators.module.ts & organizationsPage.module.ts & inviteBasic.module.ts: import 'BreadcrumbsModule'.
10. organizationsPage.component.ts: Update css for title | Add <breadcrumbs> | Initialize breadcrumb.
11. subjects.component.ts, subjects.module.ts, subjects-routing.module.ts: Add page for Subjects.
12. invite.component.html: Add <breadcrumbs> in longView | Add icon in button 'Invite users'.
13. invite.component.ts: Initialize breadcrumb.
14. subscribe.component.ts:  
	a. Add icon in button "Subscribe"/ "Subscribed" 
	b. Add class 'uk-display-inline-block' in showNumbers (members) 
	c. Initialize and get subscriber status with new methods of service (initIsSubscribedToCommunity() & isSubscribed - BehaviorSubject instead of isSubscribedToCommunity())
15. connect-custom.css: Group css for #subscribeBtn, #inviteBtn into #subscribeAndInviteBtn | Add css for class 'user-circle-background' (background of user icon in curators).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58574 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-28 11:07:36 +00:00
konstantina.galouni 17e7eb2d7f [Trunk | Connect]: Connect redesing
1. app.component.ts: <subscribe> and <invite> components added (floating buttons on the right side of each page for communities).
2. community.component.html: 
3. community.component.ts:                   
        a. 'projectsCalculated' and 'contentProvidersCalculated' fields added, to calculate tootlip after both requests complete
        b. added methods for building tootips
        c. 'activeTab' set to 'summary'.
4. affiliations.component.html: minor phrasing changes (e.g. title).
5. curators.component.html: shortview changed.
6. results.component.ts: Title changed | 'View all' moved to the bottom.
7. customization.component.ts: Changed '--portal-main-color' from  '#4C9CD5' to '#4687E6' | Changed '--portal-dark-color' from '#24857F' to '#2D72D6'.
8. invite.component.html: shortview changed.
9. invite.component.ts: 'properties' field as input (get it is called from app.component).
10. invite.module.ts & inviteBasic.module.ts: InviteBasicModule created to declare InviteComponent without routing and login guard | InviteModule imports InviteBasicModule and adds routing and login guar$
11. subscribe.component.ts: Changes for subscribe button and members | 'properties' field as input (get it is called from app.component).
12. connect-custom.css: css for subscribe and invite buttons and for tooltip with 'community-page-tooltip' class.
13. customization.css: class 'communityBackground' added and css for 'subtitle' class inside 'communityBackground'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58549 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-24 16:38:35 +00:00
konstantina.galouni d105c6aa91 [Trunk | Connect]: subscribe.component.ts: [Bug fix] In subscribe.service: method "getNumberOfCommunitySubscribers()" (/community/{pid}/subscribers/count) returns now {"value": _number_}
(Used to return String. This was a problem for cache. API changed to return object, where number of subscribers is mapped to "value").


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58486 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-14 09:35:25 +00:00
konstantina.galouni 33d12026ff [Trunk | Connect]:
1. my-communities.component.ts: Use new method "isSubscribedToCommunity()" without email parameter (subscribe.service).
2. subscribe.component.ts: Do not reveal users' (subscribers') emails:
	a. Check when method "init()" is called .
	b. Use new methods "isSubscribedToCommunity()", "subscribeToCommunity", "unSubscribeToCommunity" without email parameter (subscribe.service). 
	c. Use method "getNumberOfCommunitySubscribers()" instead of "getCommunitySubscribers()".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58460 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 05:24:24 +00:00
konstantina.galouni 955958a7c8 [Trunk | Connect]:
1. communities.component.ts & contentPage.component.ts & shareInZenodo.component.ts & helper-test.component.ts & organizationsPage.component.ts & 
   learn-how.component.ts & learn-in-depth.component.ts & my-communities.component.ts:
	"properties" as first parameter in methods of helper.service.ts.
2. contact.component.ts & curators.component.ts & invite.component.ts: 
	a. "properties" as first parameter in methods of helper.service.ts
	b. create request path in service (email.service.ts, curator.service.ts).
3. htmlPage.component.ts & htmlPage.service.ts: "properties" as first parameter in methods of htmlPage.service.ts.
4. customization.component.ts: create request path in service (layout.service.ts).
5. subscribe.component.ts: create request path in service (subscribe.service.ts).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58421 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-07 16:52:19 +00:00
k.triantafyllou 5641e3aaea [Connect | Trunk]: Remove url from get user info.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57944 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 15:45:47 +00:00
k.triantafyllou 771ab82c7b [Connect]: Revert check if is Client. Added on UserInfo method.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57548 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-08 12:08:15 +00:00
k.triantafyllou 3b8776b00e [Connect]: Add check if isClient to getUserInfo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57546 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-08 11:04:10 +00:00
k.triantafyllou 3aaaf93625 [Connect]: Change user login check with user management service.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57061 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 07:47:29 +00:00
argiro.kokogiannaki 76ba5568b9 [Connect|Trunk]
Merging branch newlinking into Trunk 55132:56708



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56715 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-23 12:23:41 +00:00
argiro.kokogiannaki 762c5cd506 [Connect|Trunk]
Community Page:
	update layout according to mocks




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56015 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-06 14:49:43 +00:00
argiro.kokogiannaki 4288d49e36 [Connect|Trunk]
pass properties as parameter in services in order to use cache

	add properties parameter in navbar/bottom and clean up other attributes

	Community page:
		use existing services and remove searchEntries.service.ts
		use search results component		


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55996 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-05 13:39:02 +00:00
argiro.kokogiannaki fd0c6fe53d [Trunk|Connect]
Menus:
	add technical support link

Community Page:
	show statistic boxes when results > 0
	Add links to advanced search from subjects
	Layout changes to iframes
	scrollInto view after API response
	Add z-index in community toolbar

ZenodoCommunities: scrollInto view after API response

User component:
	add here all connect specific errors
	use subscribe component as @ViewChild
	use library user component as  @ViewChild
	use subscribe and login functions in this component

Subscibe:
	add  event Emitter and send event after a user subscribes
	when a user is not logged in, redirect to user-info page


Search PAges: remove background from community pages




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55366 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 14:08:37 +00:00
argiro.kokogiannaki 11af7eed0f [Trunk]
Community Page: Change the layout 

Invite: change the short view to dropdown



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55271 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-11 09:39:46 +00:00
konstantina.galouni 0b43bffabd [Trunk|Connect]: Fix error logs in connect related pages and components.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54863 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-19 12:17:53 +00:00
argiro.kokogiannaki 5f0d09bc83 [Trunk]
Add checks when location or document is used.
Get environment from properties file instead of domain

Invite, Subscribe, Manage Buttons: Smaller buttons, smaller icons





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54852 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-18 15:15:53 +00:00
konstantina.galouni 99e565163b [trunk]: Connect: Remove unnecessary logs
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54781 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 11:11:12 +00:00
argiro.kokogiannaki 4a0f4e79bb Subscribe: add new parameter for user Email in email compose function
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54773 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 09:56:11 +00:00
argiro.kokogiannaki e3c5e28e23 Change scripts in deploy folder
Community page:
	add is route enabled check to show zenodo communities link and number

Invite:
	allow customize html text for community managers too
Subscribe:
	add error section, to catch the case the service response 403 -> the button is enabled again and a message appears


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54622 d315682c-612b-4755-9ff5-7f18f6832af3
2019-01-23 08:55:08 +00:00
sofia.baltzi ce8aab7d4f Remove unused method, there is in library's composer
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54365 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-13 12:55:04 +00:00
sofia.baltzi f1d415ab0b Use composer
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54353 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-13 11:50:07 +00:00
sofia.baltzi 8c23ffc411 Remove properties for sending email
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53977 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 16:05:33 +00:00
sofia.baltzi 810dd5ba65 Fix email body
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53961 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 10:32:19 +00:00
sofia.baltzi 9dc151cc1b Change the urls
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53956 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-25 18:44:53 +00:00
sofia.baltzi 8753c5fd2b Remove an unused call
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53952 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-25 15:41:55 +00:00
sofia.baltzi 2711d14f2f Change css
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53951 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-25 14:36:13 +00:00
sofia.baltzi 02c945117e Fix email's subject and body
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53950 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-23 21:30:47 +00:00
sofia.baltzi 8a9f632e51 Send email to inform managers for a new subscriber
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53922 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-22 11:38:24 +00:00
argiro.kokogiannaki 3039b45137 connect facelift changes part 2
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53394 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-04 23:10:13 +00:00
konstantina.galouni 5af7aa6370 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-connect-portal/trunk@53349 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-01 12:46:21 +00:00
sofia.baltzi 8c31c62e1e Move subscribe.service.ts to openaireLibrary
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@52701 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-06 10:30:20 +00:00
argiro.kokogiannaki 985fa06e99 Use openaire AAI, update properties | add manage component - button| open communities in new tab| remove manage links from user menu
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51642 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 12:38:28 +00:00
argiro.kokogiannaki 9e5b9375af IsrouteEnabled remove community in every route | Add subscribers in community landing, add confirm for unsubscribe, add message to login for subscribe
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51199 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-13 16:06:04 +00:00
argiro.kokogiannaki a7df9c7826 add subscribe functionality and component | fix the community id in app component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51050 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-06 12:35:29 +00:00