Commit Graph

71 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 64389d869c Update title in invite page. Subscribe -> join 2022-09-27 11:46:23 +03:00
Konstantinos Triantafyllou 9044a06cba Add method buildCss in server.ts for customization. Fix invite and subscribe buttons. 2022-07-21 15:01:31 +03:00
Konstantinos Triantafyllou 0f3f70c97a Change invite users page base on new UI 2022-07-06 19:27:42 +03:00
Konstantina Galouni 4c9f17e792 [Connect & Library | new-theme]: Redesigned invite and join buttons | Added rule .uk-light .custom-external::after | Updated css for .multi-line-ellipsis - now supports inner elements.
1. invite.component.html:
   a. Redesigned invite button according to the new mocks.
   b. Button of invite is a route to invite page (removed dropdown for quick invitation).
2. subscribe.component.ts:
   a. Redesigned join (subscribe) button according to the new mocks.
   b. Subscribe renamed to Join/Leave and Member.
3 subscribe.module.ts: Imported IconsModule.
4. app.component.ts: Renamed id="subscribeAndInviteBtn" to id="joinAndInviteBtn".
5. connect-custom.less: Added rules under .communityApp for #joinAndInviteBtn, #join, #invite, .member-button.
6. utils.css:
   a. Added rule .uk-light .custom-external::after to set color with light-color.
   b. Updated css for .multi-line-ellipsis - now supports inner elements (e.g. <p>) inside parent <p>.
2022-07-06 13:14:47 +03:00
konstantina.galouni a1af3a6a83 [Trunk | Connect]:
1. invite.component.ts: [Bug fix] Set meta (canonical url, url, title, description) only when "longView == true" (when we are on invite page, not just calling invite component).
2. browse-community.component.ts: Added method "_formatDescription()" which calls method "StringUtils.HTMLToString()" and then it cuts description up to a threshold (max chars).
3. browse-community.component.html: Removed tooltip from description and "_formatDescription()" is called to show description.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60985 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-11 09:26:14 +00:00
k.triantafyllou c0a20f5908 [Connect | Trunk]: Add subscriber invite module from library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60969 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-23 16:27:37 +00:00
k.triantafyllou 8daa5340f9 [Connect | Trunk]: Add smooth scroll service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60927 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-20 15:20:05 +00:00
k.triantafyllou 57cd810c3e [Connect | Trunk]: 1. Add new roles functionllities (subscribe - role-verification). 2. Comment customization. 3. Refactor getting community logic
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60454 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-19 17:52:12 +00:00
argiro.kokogiannaki fdc7273d09 [Connect|Trunk]
code clean up:

-remove unused imports, code, files (Old search pages for results,  etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, communities, subscribers, 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-connect-portal/trunk@59826 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 15:59:26 +00:00
argiro.kokogiannaki bc70a7604b [Connect|Trunk]
update meta urls and canonicalurl to get domain from properties  instead of baseLink to work for community gateways



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59404 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-16 13:50:43 +00:00
k.triantafyllou 213cbb0638 Revert ckeditor and fix it
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59314 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-31 11:28:21 +00:00
k.triantafyllou 9aa9590c26 [Connect | Trunk]: Add verification manager route. Change ckeditor library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59272 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-14 09:55:06 +00:00
k.triantafyllou 92c3e73608 [Connect | Trunk]: Align message with from and to
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59238 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-07 14:38:47 +00:00
konstantina.galouni d71892ed9e [Trunk | Connect]:
1. app.module.ts & directLinking.module.ts & linkingGeneric.module.ts & community.module.ts & deposit.module.ts & 
   searchDataprovidersToDeposit.module.ts & shareInZenodo.module.ts & subjects.module.ts &
   invite.module.ts & inviteBasic.module.ts & subscribe.module.ts:
	Remove CommunityService from providers (singleton service, providedIn: 'root').
2. community.component.ts & curators.component.ts & deposit.component.ts & 
   searchDataprovidersToDeposit.component.ts & shareInZenodo.component.ts & statistics.component.ts & subjects.component.ts & 
   invite.component.ts & subscribe.component.ts:
	Get community from state (call communityService.getCommunityByState) | Add subscriptions in array to unsubscribe in ngOnDestroy |  Get properties from environment (no service needed).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59141 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-16 23:25:23 +00:00
konstantina.galouni 38216318f2 [Trunk | Connect]:
1. community.component.html: Remove 'communityBackground' class | Use class 'generalSearchForm' instead of 'publicationsSearchForm'.
2. contentPage.component.ts & curators.component.html & nationalBulletinsPage.component.ts & organizationsPage.component.ts & projectsPage.component.ts & subjects.component.ts & invite.component.html: 
	Remove 'communityBackground' class. 
3. shareInZenodo.component.html: Remove 'communityBackground' class | Remove 'uk-margin-top' from tag with class 'communityPanelBackground'.
4. user.component.ts: Remove 'communityBackground' class | Move 'uk-margin-small-top' after section tag.
5. connect-custom.css: Add background css for '.communityApp .custom-main-content', '.generalSearchForm .subtitle' and '.generalSearchForm .title'.
6. customization.css: Remove css for '.communityBackground' (was added during connect redesign).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58648 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 17:09:08 +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 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
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
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 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
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