Commit Graph

484 Commits

Author SHA1 Message Date
k.triantafyllou 71cc1a95d2 [Connect | Trunk]: Revert userinfo method
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59235 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-07 08:13:16 +00:00
k.triantafyllou cafb672ae7 [Connect | Trunk]: Add regisrty property. Add new UM methods on subscribe and curators component.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59233 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-06 20:02:46 +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 988bbc570f [Trunk | Connect]: Remove old, unused folders "deposit/datasets" and "deposit/publications".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59132 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 12:07:20 +00:00
k.triantafyllou 2204b06920 [Connect | Trunk]: Change b2noteURL property
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59126 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 11:33:01 +00:00
argiro.kokogiannaki 632a4556e1 [Connect|Trunk]
Connect Helper: read community from domain for production

Add extra properties file for real production environment (environment.prop.prod.ts)

Add new piwik ids



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59121 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 08:19:35 +00:00
konstantina.galouni d0758f96e5 [Trunk | Connect]: environment.beta.ts & environment.prod.ts & environment.ts: Add "useLongCache" property (default to true) and set "useCache" to false.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59101 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 22:58:28 +00:00
konstantina.galouni 8364098d10 [Trunk | Connect]: Remove IsRouteEnabled guard from landing and search pages (these pages should load even when not active - existing links from other pages).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59100 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 22:56:30 +00:00
k.triantafyllou eaeb18c978 [Connect | Trunk]: Move iframeContainer class to library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59066 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:56:33 +00:00
k.triantafyllou 99a0897d24 [Connect | Trunk]: Add search to link result on properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59035 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-01 08:46:09 +00:00
argiro.kokogiannaki 250fd48098 [Connect|Trunk]
Angular.json:
-in prod/beta configuration add replacements for index.html, robots.txt
-add sitemap.xml file

Clean up index.html
add  css files in styles.css

PRoduction:
communities browse: in production show link to beta or prod based on the list of prodReadyCommunities




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59029 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-30 16:00:24 +00:00
k.triantafyllou b31db284e4 [Connect | Trunk]: Add subject to contact us
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58892 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 17:05:17 +00:00
k.triantafyllou 5d926ce67c [Connect | Trunk]: Add properties on enviroment
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58886 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 15:37:16 +00:00
k.triantafyllou 937bd0fb80 [Connect | Trunk]: Use method containsWord for search keyword on search communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58863 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-05 13:03:25 +00:00
k.triantafyllou 5a9abc0252 [Connect | Trunk]: Revert banner background for my-communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58841 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-04 11:43:20 +00:00
k.triantafyllou 9ab748a890 [Connect | Trunk]: Change communityCard to portalSearchCard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58838 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-04 11:38:43 +00:00
k.triantafyllou 738234e4e4 [Library | Trunk]: Move search png to common-assets
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58835 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-03 22:00:21 +00:00
argiro.kokogiannaki d378fe066c [Connect|Trunk]
Theme component: move theme component in library
		use module in app routing module



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58827 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-03 09:50:08 +00:00
argiro.kokogiannaki c012de18c2 [Connect|Trunk]
Server.ts: allow iframes from d4science.org

index.html: clean up js files



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58821 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-02 08:43:26 +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
k.triantafyllou 18c69b9983 [Connect | Trunk]: Delete create community. Clear connect-custom.css
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58806 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-29 10:46:06 +00:00
k.triantafyllou c0277f474d [Connect | Trunk]: Remove active tab property from result-landing
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58782 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-26 11:05:14 +00:00
k.triantafyllou f390eb9c50 [Connect | Trunk]: Remove important from uk-link hover
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58751 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-25 08:52:26 +00:00
argiro.kokogiannaki ef97eb5fcc [Connect|Trunk]
app module: use  PageURLResolverModuleinsteadof component



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58712 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-18 12:47:02 +00:00
argiro.kokogiannaki 86b23610c7 [Connect|Trunk]
Update properties:
	stats url

Community curators update class to uk-display-inline-block

Statistics: call createChartUrlMap() after communityName is initialized



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58686 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-13 07:57:00 +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
k.triantafyllou 635e0a8491 [Connect | Trunk]: Change colors of login box to black
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58671 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-11 15:47:22 +00:00
k.triantafyllou d47254709f [Connect | Trunk]: Customization css: remove inmportant from uk-slidenav
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58668 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-11 13:34:48 +00:00
argiro.kokogiannaki 26c5e94f26 [Connect Trunk]
Search Projects/Dataproviders: fix server side error (pass searchUtils in transform() method)

Customization: make it work in server side! 
	 avoid color flickering	

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58667 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-11 11:07:36 +00:00
k.triantafyllou 51613e850f [Connect | Trunk]: Move some css to library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58661 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-11 09:36:06 +00:00
k.triantafyllou 5dde913f48 [Connect | Trunk]: Add adminPortalURL property
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58657 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 15:04:39 +00:00
k.triantafyllou 73971358ad [Connect | Trunk]: Fix a bug on my-communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58654 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 13:20:05 +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
k.triantafyllou 77ed6973b1 [Connect | Trunk]: Change uk-card-default color for communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58651 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 11:07:37 +00:00
k.triantafyllou 09d0f0412b [Connect | Trunk]: Curators: hide affiliations column if they are not existed
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58650 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-08 10:12:51 +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
k.triantafyllou e7efb64ae9 [Connect | Trunk]: Change community title and some margins.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58644 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 15:53:44 +00:00
argiro.kokogiannaki 7e9b4c5dff [Connect|Trunk]
App.component:

smoother load of customization
show subscribe when community is loaded
Footer: switch to dark background




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58636 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 13:31:13 +00:00
k.triantafyllou 0ddca869b8 [Connect | Trunk]: Fix padding bottom on curators and animation-fade
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58633 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 12:57:47 +00:00
konstantina.galouni 27e978736a [Trunk | Connect]:
1. affiliations.component & curators.component: In affiliations website_url, call method 'StringUtils.urlPrefix()' (add "//" prefix, when url does not start with protocol (http, https, //)).
2. community.component.html: [Bug fix] Add checks (<div *ngIf="communityInfo && community" class="publicationsSearchForm ">).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58632 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 11:34:19 +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
k.triantafyllou bbd6d699d9 [Connect | Trunk]: Move border of menu only in communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58627 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 10:40:46 +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
k.triantafyllou 40ff5a2a81 [Connect | Trunk]: Change container on curators page.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58623 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 09:49: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
k.triantafyllou f5f99307f9 [Connect | Trunk]: Change Curators and Organizations base on new mocks
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58614 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-06 14:01:42 +00:00
konstantina.galouni 436088cadc Trunk | Connect: community.component.html: [Bug fix] Show zenodo communities if there exist.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58607 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-05 16:55:47 +00:00
k.triantafyllou 3dffd1a9d5 [Connect | Trunk]: Add breadcrumbs on content, national bulletins and projects pages
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58605 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-05 16:08:30 +00:00