Commit Graph

118 Commits

Author SHA1 Message Date
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 2bce669d23 [Connect|Trunk]
- SEO: initialize prev/next rel links
- use layout service (remove check for development)
- fix issue with private communities losing  the verify parameters

- fix hover on menu items that didn't get the portal colors




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@61024 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-19 11:17:13 +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
argiro.kokogiannaki 9ef3d0317f [Connect|Trunk]
SEO:
 - initiate robots metatag
 - reset robots in every route change
 - set  time out to 5000 
 - search research communities updtae titles and meta description


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60987 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 07:31:21 +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
konstantina.galouni 3283a301d5 [Trunk | Connect]: app.component.ts: [Bug fix] Update url for button "Manage helptexts" in Connect Portal.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60938 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-21 11:07:32 +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
konstantina.galouni 60f54a0574 [Trunk | Connect]:
1. app-routing.module.ts: Added paths "orcid" and "my-orcid-links".
2. app.component.ts: Added "My ORCID links" in usermenu.
3. environment.beta.ts & environment.prod.ts && environment.ts: Added property "myOrcidLinksPage".
4. Added folder "orcid" and files for ORCID Search & Link functionality.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60879 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-16 09:14:07 +00:00
argiro.kokogiannaki 0c46a8768f [Connect |Trunk]
Customization:
 - update with the new Object
 - update the way it is initialized
 - clean up code
 - test usage through app.component
 - add preview Component (for Admin quick look)

Community Component:
 - updates on Enermaps integration
 - updates with opscidia integration
 - update tabs (use customClass attribute)





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60815 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-08 10:58:48 +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
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
argiro.kokogiannaki 1f78864788 [Connect |Trunk]
-Routing module: remove properties resolver
-App component: 
	- check for manager and hidden status of community.
	- show private data error page
	- or login for status manager
	- if community is not loaded show connect menu
Connect menu:
	- use url instead of route if it is a community
	- remove community parameter for dev



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60745 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-29 14:05:20 +00:00
k.triantafyllou aa1c67d07a [Connect | Trunk]: App navigate to error remove params
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60689 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-22 15:52:14 +00:00
k.triantafyllou d4a2820d23 [Connect | Trunk]: Add fixRedirectUrl on service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60655 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-17 09:58:30 +00:00
k.triantafyllou a17b8bb887 [Connect | Trunk]: Add urlPrefix on affiliations, curators and community logo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60582 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-04 13:46:40 +00:00
k.triantafyllou a066e76bec [Connect | Trunk]: Change admin URL on connect
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60506 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-25 14:20:17 +00:00
k.triantafyllou 81050396fe [Connect | Trunk]: 1. Remove new from getCommunityNew
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60460 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-19 18:09:52 +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 a5dde08d0e [Connect|Trunk]
- update admin portal url property
- use property instead of harcoded url
- use property for admin portal url



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60041 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-07 10:23:13 +00:00
argiro.kokogiannaki f55a302878 [Connect|Trunk]
- Robots.txt: remove files, generate them through server.ts
- add isCommunity in community related pages
- update properties for connect-login in beta



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60016 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 17:41:53 +00:00
konstantina.galouni a41adbcab7 [Trunk | Connect]:
1. connect-custom.css: [Bug fix] Add .connectApp .uk-pagination > * > *:hover in rule .connectApp .uk-pagination > * > * so that paging does not change color (white) on hover.
2. app.component.ts: [Bug fix] In some cases both <schema2jsonld> tags where active - added in the second one more check "&& community".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60013 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 14:53:34 +00:00
k.triantafyllou 872b8ddcc5 [Connect | Trunk]: Fix Route enabled bug
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60012 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 12:19:48 +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
k.triantafyllou 0af44324e7 [Connect | Trunk]: Remove logs from app.component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59659 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-22 12:09:39 +00:00
k.triantafyllou e5455314df [Connect | Trunk]: Create header for navigation bar on app component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59589 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-14 10:14:09 +00:00
konstantina.galouni 90392fc79a [Trunk | Connect]: Merging branch 'use-UoaAdminToolsLibrary' into trunk for revisions 58407:59466
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59467 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-24 11:43:34 +00:00
konstantina.galouni ccbb19b173 [Trunk | Connect]: app.component.ts & contentPage.component.ts: [Bug fix]: Rename "methology" to "methodology" (menu, title & description of page, breadcrumb).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59446 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-22 10:41:12 +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
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
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 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
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
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
argiro.kokogiannaki 8c89496307 [Connect|Trunk]
App: update menu items
Curators: remove number from the title



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58604 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-05 15:37:25 +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 c11b513652 [Connect|Trunk]
App Component:
	update menu items
	update navbar and footer according to the new mocks

Search projects/datasources: enable refilter when the url parameters change
Search results: add options about breadcrumb and include only results




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58531 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-23 13:35:54 +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
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 45b187f54a [Connect]: Add condition to check if user exists to create userItems.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57790 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-03 10:03:58 +00:00
argiro.kokogiannaki 94ee4c76a9 [connect | Trunk]
Server.ts: add x-frames headers to sameorigin, but allow for specific domains

piwikHelper: add community pids




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57604 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-14 10:12:48 +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