Commit Graph

114 Commits

Author SHA1 Message Date
argirok c51efd5713 [develop | DONE | FIXED] : in home and subjects page remove quoted from the advanced search link to make it work 2023-12-01 18:06:41 +02:00
argirok 39ce7a7656 [angular-16-update-zenodo-api | DONE] : update zenodo community API - update method signature 2023-10-23 14:33:41 +03:00
argirok 9e5505c297 fix issue with enermaps tab: use search-results instead of search-tab 2023-10-16 12:13:42 +03:00
argirok f53af36929 apply changes to projects and zenodo communities pages and queries 2023-07-14 14:54:58 +03:00
Konstantinos Triantafyllou 72ae14a5bc Change piwik base on the new dynamic piwik. 2023-07-13 11:48:23 +03:00
Konstantinos Triantafyllou 302419dd5d Merge from origin/develop 2023-06-09 21:08:31 +03:00
Konstantinos Triantafyllou bb67b6a668 Community home page: Init resultTypes to empty array before adding entities. 2023-05-24 12:37:20 +03:00
Konstantinos Triantafyllou 4701eae560 Change piwik service methods in order to get the piwik from portal configuration 2023-04-26 14:27:41 +03:00
Alex Martzios 6e6676003d display new subjects (sdg/fos) in home and subjects pages of the community gateways 2023-03-16 16:38:37 +02:00
Alex Martzios 9511e28157 read piwikId from API (portal) instead of PiwikHelper.ts, update submodules 2022-11-09 10:28:19 +02:00
Konstantinos Triantafyllou 00173fb16b Rename component css to less 2022-07-20 11:03:53 +03:00
Alex Martzios cd7a6722ac general tweaks and start on featured datasets paging 2022-07-06 10:12:05 +03:00
Alex Martzios d24032a4ef community dashboard page, deposit page and minor tweaks for curators, organizations pages 2022-06-30 18:25:22 +03:00
Alex Martzios 41f5a6fc99 start on dashboard's initial page 2022-06-27 15:02:16 +03:00
argirok 278f7582e4 piwik helper clean up unused parameter 2022-06-08 14:21:09 +03:00
Konstantina Galouni d5eba5c095 community.component.ts: Moved "loading twitter widget script conditionally" part inside communityInformationState.subscribe and added check if communityInfo not null/undefined. 2021-11-08 17:41:25 +02:00
Alex Martzios 66ccc04808 Add twitter tab on community page - development only 2021-10-21 13:18:28 +03:00
argirok d34fcacf1c enable impact factors for inspired-ris, show all featured datasets in enermaps featured tab 2021-09-07 13:13:06 +03:00
k.triantafyllou 564b1f3e37 [Connect]: Update trunk to angular 11. Delete branch angular-11
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@61397 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-14 14:51:20 +00:00
konstantina.galouni 55cf2937c1 [Trunk | Connect]: app.component.ts & community.component.ts: Set open access filter in research outcomes, on search form of first page and on menu.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@61040 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-24 22:18:32 +00:00
argiro.kokogiannaki 63c4309c58 [Connect|Trunk]
-completing commit 61006  + clean up code
fixing issues with private/ hidden communities
show modal for verification code

- remove preload modules
- community home page - add check for community status before load it





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@61012 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-18 07:29:16 +00:00
argiro.kokogiannaki df1d14502e [Library|Trunk]
Rush commit for:
Fixing issues with private/hidden communities
Fixing showing the verification code modal


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@61006 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-17 10:10:27 +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
argiro.kokogiannaki dccb5c0b03 [Connect | Trunk]
- Update affiliations layout
- Use customization class to create the css
- Create preview/ demo component
- Clean up piwik helper file
- updates on customization css




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60892 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-16 16:20:27 +00:00
argiro.kokogiannaki 72ba070939 [Connect|Trunk]
Enermaps Integration:
- add property for enermaps url
- use proper id for the images

App:
-Set properly the redirect url (status manager)




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60784 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 09:18:44 +00:00
argiro.kokogiannaki 4321ca1033 [Connect|Trunk]
Enermaps
- add the extra tab for enermaps featured datasets
- visible in dev




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60613 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-10 10:47:07 +00:00
argiro.kokogiannaki ead614facc [Connect|Trunk]
remove datatables
update search pages for projects/ data providers:
	use search page component
	remove tablesearch view

Search Communities: remove graph info (add the new variable)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60606 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-08 15:40:49 +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 1c5d9ec4a0 [Connect|Trunk]
- update search bar parameters



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59743 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-02 17:26:18 +00:00
k.triantafyllou 642bd9d52d [Connect | Trunk]: Remove comments from community
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59532 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-09 08:21:52 +00:00
k.triantafyllou 4b871c3865 [Connect | Trunk]: Change name of zenodoCommunityService. Change custom external
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59523 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-08 15:26:02 +00:00
argiro.kokogiannaki 7aebc3c672 [Connect|Trunk]
apply changes for domain, baseLink, update property files



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59419 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-18 13:27:26 +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 b4df338564 [Trunk | Connect]:
1. src/main.server.ts: Call enableProdMode when not development environment.
2. package.json: Remove "--sourceMap" flag from server build | Development rules added for server side.
3. angular.json: Development configuration added for server side.
4. app.component.ts: Initialize communityFull info from app component (call configurationService.initCommunityInformation).
5. community.component.ts: Get communityFull info from state (call configurationService.communityInformationState) | Add subscriptions in array to unsubscribe in ngOnDestroy.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59138 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 15:53:19 +00:00
konstantina.galouni 65974a5f8d [Trunk | Connect]: community.component & community.module:
Use fetchResearchResults.getResultsForCommunity & fetchResearchResults.getNumForCommunity | Use <search-tab> instead of <results-comp> | Show <small-tabs> on small screens.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58811 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-31 11:34:51 +00:00
konstantina.galouni 80b11d1b32 [Trunk | Connect]: [Bug fix] community.component: Initialization of active tab in analytics tab fixed.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58681 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-12 10:51:46 +00:00
konstantina.galouni c0ce01f561 [Trunk | Connect]:
1. assets/connect-assets/home/entities: svg files added for entity types in community first page.
2. connect-custom.css: Classes added for icons in entity types in community first page.
3. community.component: Analytics tab redesigned - entity tabs added & charts in cards.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58676 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-11 17:11:12 +00:00
konstantina.galouni 6af7ae4797 [Trunk | Connect]:
1. community.component: 
	a. [Bug fix] Add 'uk-tab' and 'uk-active' class to load css without javascript enabled.
	b. In tab 'Summary', reorder information - description goes on top.
	c. Cut description in first 500 characters, if length > 600, otherwise do not cut it.
2. curators.component: Add 'view all/ less' functionality.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58653 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 13:02:11 +00:00
argiro.kokogiannaki 8ff482028e [Connect|Trunk]
Community page - search form: update form placeholder when entity changes

Properties: add impact factor URL




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58629 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 11:14:15 +00:00
argiro.kokogiannaki 0f3c261962 [Connect|Trunk]
Remove search bar in menu

Add search form back for search results, projects, datasources

Rearrange the menu items and add back search menu

Community page: add search form


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58626 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 10:29:52 +00:00
konstantina.galouni e25b10d50d [Trunk | Connect]:
1. community.component.ts: Add fields 'public thresholdDescription: number = 550;' and 'subscribers: number = 0;' and method 'public countSubscribersEvent($event)'.
2. community.component.html: 
	a. Move curatos, projects & content providers, zenodo communities inside tab 'Summary'.
	b. In tab names add class 'tab-header' and remove 'uk-text-bold'.
	c. Cut description according to 'thresholdDescription'.
3. curators.component.html: Add 'uk-inline-block' class in <a>, in order not to break name and surname of a curator into 2 lines.
4. results.component.ts: Add 'view all' link on top right corner too and change class of link to 'uk-button uk-button-text'.
5. subscribe.component.ts: Add output event when getting subscribers number (used by community.component to add margin in needed).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58616 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-06 16:08:49 +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
argiro.kokogiannaki 8cf1edfee7 [Connect|Trunk]
Initial commit for new UI of Search page:
	add search research outcomes page
	update links, routes and menu items  accordingly
	add result landing page





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58392 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-03 16:02:40 +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
konstantina.galouni 86820efde1 [Trunk | Connect]: community.component & results.component: Merge methods for research results (since they are now merged in one common service & component).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57085 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-16 09:35:50 +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