Commit Graph

79 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
k.triantafyllou 5b84ca8adc [Connect|Trunk]: Curators, Affiliation and Invite componenents: On short View, title must not be changed.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56894 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-26 12:21:13 +00:00
konstantina.galouni fb97379ab4 [Trunk | Connect]: Fix and add when missing: schema2jsonld, canonincal url, meta tags, piwik call.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56841 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-02 14:56:03 +00:00
argiro.kokogiannaki 7f8cf5e199 [Connect|Trunk]
pass communityId for myclaims page



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56757 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 16:01:38 +00:00
k.triantafyllou dd8011f5ff [Trunk|Connect]: 1. Home page: Change cards view. 2. Affiliations: Change view of cards, make logo take 100% of width.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56749 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 12:24:44 +00:00
argiro.kokogiannaki e405356778 [Connect|Trunk]
Deposit:
	theme/customization related issues (margins, titles)
	update routes inside the components

Organizations: remove margins

Invite: theme/customization related issues (margins, titles)
	get back drop down	

Customization:
	apply some css changes according to the above



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56737 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-23 15:14:27 +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
k.triantafyllou 84d0608a9d [Trunk|Connect]: 1. Add is route enabled in all routes except home page. 2. Delete dropdown from invite page. 3. Add help texts in all pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56645 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-22 09:19:34 +00:00
k.triantafyllou 1729eea27d [Trunk|Connect]: Add is Route enabled in all routes except /content. Add Helper texts on Deposti first page, content policy and organizations.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56631 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-18 16:03:37 +00:00
argiro.kokogiannaki ca16e83c27 [Connect|Trunk]
index.html: +1 for css version
correct CommunityId parameter name in invite, statistics components
Community page: better view for chatistics in small screens


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56350 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-04 14:31:56 +00:00
konstantina.galouni 5851f71634 [Trunk | Connect]:
affiliations.component & directLinking.component & linkingGeneric.component & communityWrapper.component &
curators.component & depositBySubjectResult.component & depositDatasets.component & depositDatasetsResult.component &
depositPublications.component & depositPublicationsResult.component & shareInZenodo.component & htmlPage.component &
user.component & searchDataproviders.component & searchProjects.component & statistics.component & invite.component:
	Priority to get communityId from domain (if not exists, check url parameter)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56331 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-03 10:16:58 +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
k.triantafyllou 6b5c935300 [Trunk|Connect]: 1. SearchCommunities: change getSubscribe method. 2. replace scroll with new helper function. 3. SubscribeModule: add forRoot for service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55417 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-24 12:02:11 +00:00
argiro.kokogiannaki 65c522ee64 [Trunk|Connect]
app: add user menu "Support"

browseCommunity Component: 
	separate html, add community check in the template (error in build)
	remove isManager attribute

Search communities:
	add new class for the form
	add new image

User/Invite components:
	add a field, make a class public (correct errors in build)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55375 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-16 10:43:08 +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
argiro.kokogiannaki b2b969c30d [Trunk]
Domain change:
	Update server.ts to be able to read domain from request
	Update functions that needed  domain 
	use the domain as read from properties

Update home page urls to dashboards- use environment property




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54949 d315682c-612b-4755-9ff5-7f18f6832af3
2019-03-01 11:34:19 +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
konstantina.galouni 273aec27e0 invite.component: scroll into view when invitation button is clicked |
when invitation request completes, fill and show which mails sent successfully and which not | 
		  show proper success/failure messages in short view too.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54677 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-01 11:02:09 +00:00
konstantina.galouni 3694a03e01 1. searchProjects.component.ts: when branch 'changeDeposit' will be merged in trunk, add 'valueIsExact' field initialization in Filter.
2. invite.component: When not validating all emails, empty list of recipients from 'email' structure (next validation will fill it again).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54673 d315682c-612b-4755-9ff5-7f18f6832af3
2019-01-30 13:59:54 +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 9a0a3d4eda Check for gaps in email's field form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54469 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-20 14:47:49 +00:00
sofia.baltzi ec583f577e Hide email instruction when error message appears
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54468 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-20 13:27:01 +00:00
sofia.baltzi e6df7c9374 Remove comments
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54467 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-20 12:17:49 +00:00
sofia.baltzi 7516d60e35 Move initialization function to composer
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54459 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-19 13:22:19 +00:00
sofia.baltzi 535bcec34d Move email's body initialization to library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54446 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-18 12:56:54 +00:00
sofia.baltzi 7871be91b0 Move formatEmailBody to composer
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54443 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-18 12:18:49 +00:00
sofia.baltzi d0931d2a27 Use email validator
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54442 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-18 11:21:56 +00:00
sofia.baltzi 12f05d645f Change when messages appears
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54422 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-14 14:44:09 +00:00
sofia.baltzi 8ab5878a9c Move error messages under input field
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54411 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-14 14:10:51 +00:00
sofia.baltzi ec7bac2fff Clean code from comments
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54402 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-14 12:29:53 +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 3d6d94b99c Clean code and change ps to note
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54262 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-10 12:51:55 +00:00
sofia.baltzi bb6a567681 Make from name required
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54063 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 14:28:12 +00:00
sofia.baltzi 2cf817426a Show fullName in invite form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54049 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 12:39:51 +00:00
argiro.kokogiannaki 15a93413ac update beta properties
correct menu items for beta - don't add communityId parameter if doesn't exist
Community 
	add number of total zenodo communities (master + sub communities)
	show invite only for admins and managers
Invite:
	 html edit form  only for managers and admin, simple users can't change 
	route requires login
Index.html
	clean up



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54047 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 11:40:38 +00:00