Commit Graph

40 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou a03d41be9c Merging from dynamic piwik 2023-07-13 14:42:26 +03:00
Konstantinos Triantafyllou 72ae14a5bc Change piwik base on the new dynamic piwik. 2023-07-13 11:48:23 +03:00
Konstantinos Triantafyllou 4d87865c43 Featured Page: Add breadcrumbs if data.breadcrumbs exists. Add new pages /faqs and /roadmap for Community Gateway 2023-06-27 16:52:37 +03:00
Konstantinos Triantafyllou 302419dd5d Merge from origin/develop 2023-06-09 21:08:31 +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
Konstantina Galouni e6e9e06dfa [Connect | master]: Added FoS and SDGs pages in Community Gateways | Bug fixes in piwik siteIds.
1. app.component.ts: Added MenuItems for Fields of Science and Sustainable Development Goals.
2. app-routing.module.ts: Added routing paths for /sdgs and /fields-of-science.
3. /fos & /sdgs: Added folders and files for new SDGs and FoS pages.
4. piwikHelper.ts: Added piwik for "egrise", "euconexus", "dth".
5. affiliations.component.ts: [Bug fix] Comment piwik track call (this component is called with/in other pages that are already tracked).
6. htmlPage.component.ts: [Bug fix] Get piwik siteId from PiwikHelper (TODO: Should get it by API).
2023-04-21 15:09:22 +03:00
Konstantina Galouni 59c0a3552c [Connect]: featured/featuredPage.component.ts & featured/featuredPage.module.ts & featured/featuredPage-routing.module.ts: Added files for loading custom, gateway specific pages | app-routing.module.ts: Added commented route resolving for loading custom, gateway specific pages. 2022-12-07 12:48:47 +02: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 23d65d08d7 finish subjects page and some general tweaks 2022-06-24 12:41:26 +03:00
Konstantina Galouni 1e6bd99fa2 [Connect & Library | new-theme]: Breadcrumbs position updated in html pages | Bug fix in custom menu items | In search menu, use OpenaireEntities.
1. app.component.ts: In search menu, use OpenaireEntities.
2. navigationBar.component.ts: [Bug fix] In method "isTheActiveMenu()", update condition to "if(menu instanceof MenuItem || !menu.rootItem)" - custom menu items via admin tools are MenuItems but not instanceof MenuItem.
3. projectsPage.component.ts & nationalBulletinsPage.component.ts & contentPage.component.ts: Margins & paddings updated, so that breadcrumb is at the same position on all pages.
2022-06-21 19:37:21 +03:00
Alex Martzios 51438b8e73 progress on curators, organizations and subjects pages 2022-06-16 15:01:41 +03:00
Alex Martzios 1d5b995518 start on curators, organizations, subjects pages - waiting for some details from Aristotelis 2022-06-14 13:28:45 +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
k.triantafyllou 9ee09f1f3a [Connect | Trunk]: Delete properties resolver. Delete query param community id
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60772 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-01 14:25:15 +00:00
konstantina.galouni 0c6b471270 [Trunk | Connect]
1. /connect-assets/:
	a. In /about/ added updated icons (1.svg, 2.svg, 3.svg, 4.svg, cycle.svg) and removed .png.
	b. In /banner/ added updated icons (login.svg, togetger.svg) and remove .png.
	c. In /home/ added updated icons (1.svg, 2.svg, 3.svg, dashboard.svg) and removed .png.
	d. sketch_line_arrow.svg & sketch_line_arrow_large.svg: Replaced stroke color #94b2e2 with #bcc3ce.
2. connect-custom.css: 
	a. Added class "connect-background" with portal-main-color background.
	b. Added rule ".connectApp .text-small" (class text-small) for font-size: 14px;
	c. Added rule ".connectApp .uk-pagination > * > * " for color: #1a1a1a;
	d. Added class "contactUsBackground" for linear background with gradient in contact us sections.
3. curators.component.html: [Bug fix]: Show "Biography" title only when bio is available.
4. browse-community.component.html & communities.component.html & contact.component.html 
	& faqs.component.ts & learn-how.component.ts & learn-in-depth.component.ts & my-communities.component.html: 
		Updated fonts, colors and some margins according to new mocks.
5. In dashboard: subjects.component.ts & organizationsPage.component.ts & curators.component.html: Page title set to <h4>.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60009 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 08:44:47 +00:00
argiro.kokogiannaki 0ba78c0c11 [Connect|Trunk]
- use route instead of url for the community header
- update beta properties



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60000 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-01 11:17:53 +00:00
argiro.kokogiannaki 9d68ae13c8 [Connect|Trunk]
- update properties / use prod.prod propertis for production instance
- remove checks for production ready instances
- simplify sitemap
- remove subscribe for properties
- Add community title for custom filter
- update piwik ids - use the same for beta and production



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59991 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-30 17:04:05 +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
argiro.kokogiannaki db3305e4ea [Connect|Trunk]
Angular.json: file replacements fixes for beta/prod
Server.ts: build and serve sitemap.xml based on domain (Other for connect.openaire.eu, other for communities)

App component: add Organization & Search Action jsonld there (Remove from connect and community home page components) 

Udpdate and  add jsonld descriptions

Remove unused Sitemap files



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59244 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-10 15:32:33 +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 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
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
argiro.kokogiannaki 667c96f88e [Connect|Trunk]
App component: 
	Connect menu: 
		publications menu item fixes
		pass connect communityId in navbar
HtmlPages: use connect communtiy if there is no communityId
			



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58473 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 12:08:46 +00:00
argiro.kokogiannaki 314504e535 [Connect|Trunk]
Add html page for connect (helptexts):
	Publications
Add new html Pages per community (helptexts):
	Projects and funding
	National Bulletins
	Content (moved from connect to separate page per community)
add the routes and the menu items for the above pages

Use htmlComponent for pages that their main content comes from helptexts
	includes piwik, metatags and jsonld updates 

Links to community pages: for production installation go to BETA

Remove unnused component AboutPageComponent


Piwik: add ids for new communities

Community page:
	add check for communities without charts
	add check if charts is Active
	








git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58471 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 10:04:09 +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 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
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
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
konstantina.galouni eebc6b2b47 [Trunk | Connect]: organizationsPage: Use class "organizations" instead of html content.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56295 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-01 13:50:08 +00:00
konstantina.galouni 5267641363 [Trunk | Connect]: affiliations.component: Component to show affiliations (used by community page, curators page, organizations page).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56029 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-07 13:03:33 +00:00
argiro.kokogiannaki c1b26b43e6 [Connect|Trunk]
Merge into trunk branch angular7 rev 55968




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55971 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-03 14:41:57 +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 dc07897cd8 Navbar:
pass properly boolean variables
	add all related subitems route in rootmenuitem (for enabling/disabling routes)
Footer:
	pass properly boolean variables
Content: update text

Organization/about/stats pages: add route enabled guard

Search/find: use input for placeholder text

Stats: add loading

Manage button: add svg instead of uikit




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54209 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-07 14:21:38 +00:00
konstantina.galouni 18a2caa6e4 1. Create /about and /organizations pages with html content from admin API.
2. htmlPage.component: helper component that queries admin API and displays html content according to current route. 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@52402 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-08 11:25:35 +00:00