Commit Graph

176 Commits

Author SHA1 Message Date
argirok 6b634f93e0 [develop | DONE | FIX] undo setting this.properties.adminToolsCommunity in app component - fixes issue with wrong community in the server 2024-03-22 11:27:49 +02:00
argirok 73b9a03d60 [develop | DONE | ADDED] create CommunityAccess guard, replace isCommunity guard 2024-03-06 11:17:01 +02:00
argirok 9d54e942b7 [develop | DONE | CHANGED] remove default properties footer in case of community dashboard 2024-03-04 12:32:55 +02:00
argirok 194778e639 [develop | DONE | REMOVED] Remove my orcid links from user menu for beta 2024-02-14 12:29:41 +02:00
Konstantinos Triantafyllou 31f7375e7d Merge remote-tracking branch 'origin/develop' into angular-16 2023-10-11 12:56:07 +03:00
Konstantinos Triantafyllou cc5d3cbdb3 Enable invite button for byInvitation commmunities with a link to admin portal. 2023-10-11 12:55:11 +03:00
Konstantinos Triantafyllou fba2d9161f Merge from Develop 2023-10-10 22:48:18 +03:00
Konstantinos Triantafyllou 7841e84ca1 Hide invite and join buttons in case of byInvitation membership. 2023-10-10 22:40:55 +03:00
Konstantinos Triantafyllou 0193362596 Merge from Develop 2023-10-06 19:52:40 +03:00
argirok 9603b117f9 Merge branch 'develop' into new-api 2023-10-02 15:09:49 +03:00
Konstantinos Triantafyllou 0de04c4017 Merge remote-tracking branch 'origin/develop' into angular-16 2023-09-26 11:55:28 +03:00
Konstantinos Triantafyllou 8da7eafe81 Change style of private community when user is not logged in. 2023-09-05 17:46:42 +03:00
Konstantinos Triantafyllou c04c32fa00 Fix get-started button in mobile and add hasStickyHeaderInMobile for home and about pages. 2023-08-30 12:36:29 +03:00
Konstantinos Triantafyllou e503f70782 Update angular to version 16 2023-08-04 13:40:26 +03:00
argirok 7eb2335c20 use methods isPublic, isRestricted, isPrivate instead of using the previous checks and add validateStatus method 2023-07-19 14:21:39 +03:00
Konstantinos Triantafyllou 6920159b10 Fix intersaction Observer in app, communities and learn-how. 2023-07-17 12:41:32 +03:00
Konstantinos Triantafyllou a03d41be9c Merging from dynamic piwik 2023-07-13 14:42:26 +03:00
Konstantina Galouni deff734962 [Connect & Library | develop]: [Bug fix] Refactor code for showing help button or not.
1. app-routing.module.ts: Set for routes with no help button, data: {hasQuickContact: false} | Set in landing routes data: {hasMenuSearchBar: true} to show search bar in menu.
2. communities.component.ts: Removed field "showQuickContact" | In constructor set quickContactService.setDisplay(false) | Refactor intersectionObserver.
3. app.component.ts: Updated checks for <quick-contact> | Added public bottomNotIntersecting: boolean; and public displayQuickContact: boolean; (check if intersecting with specific section in home page) | Added disconnect in ngOnDestroy for IntersectionObserver subscriptions.
2023-07-07 10:12:25 +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 4571812fe6 Merge remote-tracking branch 'origin/master' into develop 2023-05-25 17:14:53 +03:00
Konstantinos Triantafyllou 59b6d14342 Add hasMachineCache: true in production. Fix css loading bug when a community is restricted. 2023-05-25 16:38:18 +03:00
Konstantina Galouni a855a7491d [Connect | develop]: app.component.ts: Updated when and how "initAdminToolCommunity()" is called to init css - for community gateway, always display its customized css when exists | Updating libraries. 2023-05-25 12:24:47 +03:00
Konstantinos Triantafyllou 27511be14e App component: Check this.document instead of client document. 2023-05-24 14:31:50 +03:00
Konstantinos Triantafyllou 4060fd9fad Fix login property. Fix bottom observer in server side. Update library 2023-05-11 14:36:54 +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 206d18c60a [Connect]: community.component.html: Remove properties.environment != 'production' check for enermaps "Featured Datasets" tab | app.component.ts: [Bug fix] Added undefined check before creating intersection observers. 2023-01-18 12:34:24 +02:00
Konstantinos Triantafyllou 0b8218d69f Merge branch 'master' into angular-14 2022-11-29 14:29:30 +02:00
Alex Martzios d2ad0ba20e tweak options for footer observer 2022-11-01 13:38:53 +02:00
Alex Martzios 8dc9ab6aa8 remove help button when reaching footer by scrolling and when reaching contant section in about page, update submodules 2022-11-01 12:12:06 +02:00
Alex Martzios 17bb6c889b help button: release at the bottom, update submodules 2022-10-31 14:24:53 +02:00
Alex Martzios f4cf667af0 change background color of fixed contact button, update submodules 2022-10-12 15:44:55 +03:00
Alex Martzios 35f19d6764 update angular core and cli to v14 and update submodules 2022-09-23 14:54:30 +03:00
Konstantina Galouni 3825b04734 [Connect | new-theme]: app.component.ts: Removed deprecated RootMenuItem and used MenuItem instead. 2022-09-20 23:45:55 +03:00
argirok 0dbc95cd0c Role verification: pass the type of the community - fix ri error 2022-09-13 12:59:01 +03:00
argirok 415df1075a Clean up customization component, rename layoutService to customizationService, change the way default and connect css are renderes (read layout date from admin service) 2022-08-08 13:14:51 +03:00
Konstantina Galouni e331fe3691 [Connect | new-theme]: app.component.ts & develop.module.ts & develop-routing.module.ts: Added route enabled check for Develop page | develop.component.ts: Added example bullet for research products & Updated view of bullets (removed quotes - type bold). 2022-08-05 13:56:09 +03:00
Konstantina Galouni 7256d6eb5b [Connect | new-theme]: app.component.ts: In Menu renamed "Dashboard" to "Home" | develop.component.ts: Title updated & Image replaced & Examples moved on top right. 2022-08-05 12:15:29 +03:00
argirok bbe1cbe3eb Customization changes: add suffix for connect and default css files, add css only in server, add property for build date 2022-07-25 17:03:42 +03:00
Alex Martzios b62551e642 add 'develop' menu entry and page, update submodules 2022-07-25 15:13:18 +03:00
argirok 27f20e1918 updates on customization/ using built css and preview css 2022-07-22 18:33:54 +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 0ce5eace2c [Connect | new-theme]: app.component.ts: Added "Dashboard" in menu items to match menu with admin dashboard. 2022-07-01 11:37:50 +03:00
Konstantina Galouni d33c5890a9 [Library | new-theme]: Bug fix in download from of result landing links | In menu items added "target" field to define if urls open in new tab and have external icon.
1. availableOn.component.ts: [Bug fix] Added class "uk-link-text" in links of license and providers.
2. menu.ts: In MenuItem added field target: string = "_blank"; and in constructor added parameters and initialization of target, type, isFeatured.
3. navigationBar.component.html: Updated checks for "custom-external" class and target according to target field of MenuItem.
4. app.component.ts: In "Manage" menu item set target to "_self".
5. menu.component.ts: (Admin form) In method "menuItemSaveConfirmed()" added: this.menuItemForm.value.target = this.menuItemForm.value['type'] == "internal" ? "_self" : "_blank";
2022-06-29 13:56:19 +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
Konstantinos Triantafyllou 76e63234bf Add modal container in app component. 2022-06-20 12:18:42 +03:00
Konstantinos Triantafyllou 2635dc2a67 Change styles to less theme. Make some fixes in browse-community. Home and learn how alignments 2022-06-17 19:49:40 +03:00
Konstantinos Triantafyllou 77a30a55c7 Add get-started page 2022-06-03 12:46:01 +03:00
Konstantinos Triantafyllou 8849f12ae2 Add property errorLink 2022-06-02 18:43:52 +03:00