diff --git a/angular.json b/angular.json
index 2e88879..4f72345 100644
--- a/angular.json
+++ b/angular.json
@@ -212,13 +212,16 @@
"main": "server.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": true,
- "optimization": false
+ "optimization": false,
+ "buildOptimizer": false
},
"configurations": {
"development": {
"outputHashing": "media",
"sourceMap": false,
- "optimization": true
+ "optimization": true,
+ "vendorChunk": true,
+ "buildOptimizer": true
},
"beta": {
"outputHashing": "media",
@@ -229,7 +232,8 @@
}
],
"sourceMap": false,
- "optimization": true
+ "optimization": true,
+ "buildOptimizer": true
},
"production": {
"outputHashing": "media",
@@ -240,7 +244,8 @@
}
],
"sourceMap": false,
- "optimization": true
+ "optimization": true,
+ "buildOptimizer": true
}
},
"defaultConfiguration": ""
diff --git a/package.json b/package.json
index dc15ceb..3e8abc1 100644
--- a/package.json
+++ b/package.json
@@ -21,19 +21,19 @@
},
"private": true,
"dependencies": {
- "@angular/animations": "^14.2.3",
- "@angular/cdk": "^14.2.2",
- "@angular/common": "^14.2.3",
- "@angular/compiler": "^14.2.3",
- "@angular/core": "^14.2.3",
- "@angular/forms": "^14.2.3",
- "@angular/localize": "^14.2.3",
- "@angular/material": "^14.2.2",
- "@angular/platform-browser": "^14.2.3",
- "@angular/platform-browser-dynamic": "^14.2.3",
- "@angular/platform-server": "^14.2.3",
- "@angular/router": "^14.2.3",
- "@nguniversal/express-engine": "^14.2.0",
+ "@angular/animations": "^16.1.8",
+ "@angular/cdk": "^16.1.7",
+ "@angular/common": "^16.1.8",
+ "@angular/compiler": "^16.1.8",
+ "@angular/core": "^16.1.8",
+ "@angular/forms": "^16.1.8",
+ "@angular/localize": "^16.1.8",
+ "@angular/material": "^16.1.7",
+ "@angular/platform-browser": "^16.1.8",
+ "@angular/platform-browser-dynamic": "^16.1.8",
+ "@angular/platform-server": "^16.1.8",
+ "@angular/router": "^16.1.8",
+ "@nguniversal/express-engine": "^16.1.1",
"@node-minify/clean-css": "^6.2.0",
"@node-minify/core": "^6.2.0",
"axios": "^0.27.2",
@@ -41,25 +41,25 @@
"core-js": "^2.5.4",
"express": "^4.15.2",
"jquery": "^3.4.1",
- "ng-recaptcha": "^10.0.0",
+ "ng-recaptcha": "^12.0.2",
"ng2-ckeditor": "1.3.7",
"rxjs": "^6.5.1",
"ts-md5": "^1.2.0",
"tslib": "^2.0.0",
- "uikit": "3.13.10",
- "zone.js": "~0.11.4"
+ "uikit": "3.16.24",
+ "zone.js": "~0.13.1"
},
"devDependencies": {
- "@angular-devkit/build-angular": "^14.2.3",
- "@angular/cli": "^14.2.3",
- "@angular/compiler-cli": "^14.2.3",
- "@angular/language-service": "^14.2.3",
- "@nguniversal/builders": "^14.2.0",
+ "@angular-devkit/build-angular": "^16.1.7",
+ "@angular/cli": "^16.1.7",
+ "@angular/compiler-cli": "^16.1.8",
+ "@angular/language-service": "^16.1.8",
+ "@nguniversal/builders": "^16.1.1",
"@types/compression": "^1.7.0",
"@types/express": "^4.17.0",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
- "@types/node": "^12.11.1",
+ "@types/node": "^16.18.50",
"@types/ckeditor": "^4.9.10",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.8.0",
@@ -71,6 +71,6 @@
"karma-jasmine-html-reporter": "^1.6.0",
"protractor": "~7.0.0",
"ts-node": "~7.0.0",
- "typescript": "~4.6.4"
+ "typescript": "~4.9.5"
}
}
diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index 258233c..6fc032e 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -20,11 +20,12 @@ const routes: Routes = [
/** Other Pages */
{
path: '',
- loadChildren: () => import('./communitywrapper/communityWrapper.module').then(m => m.CommunityWrapperModule)
+ loadChildren: () => import('./communitywrapper/communityWrapper.module').then(m => m.CommunityWrapperModule),
+ data: {hasStickyHeaderOnMobile: true}
},
{path: 'about', redirectTo: 'about/learn-how', pathMatch: 'full'},
- {path: 'about/learn-how', loadChildren: () => import('./learn-how/learn-how.module').then(m => m.LearnHowModule)},
- {path: 'about/faq', loadChildren: () => import('./learn-how/faqs/faqs.module').then(m => m.FaqsModule)},
+ {path: 'about/learn-how', loadChildren: () => import('./learn-how/learn-how.module').then(m => m.LearnHowModule), data: {hasStickyHeaderOnMobile: true}},
+ {path: 'about/faq', loadChildren: () => import('./learn-how/faqs/faqs.module').then(m => m.FaqsModule), data: {hasStickyHeaderOnMobile: true}},
{path: 'get-started', loadChildren: () => import('./get-started/get-started.module').then(m => m.GetStartedModule)},
{
path: 'contact-us',
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index dbdd84b..8e06f1b 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -28,7 +28,7 @@ import {LoginErrorCodes} from "./openaireLibrary/login/utils/guardHelper.class";
import {Layout} from "./openaireLibrary/connect/community/CustomizationOptions";
import {CustomizationService} from "./openaireLibrary/services/customization.service";
import {SmoothScroll} from "./openaireLibrary/utils/smooth-scroll";
-import {makeStateKey, Meta, StateKey, TransferState} from "@angular/platform-browser";
+import {makeStateKey, StateKey, TransferState} from "@angular/core";
import {CommunityInfo} from "./openaireLibrary/connect/community/communityInfo";
import {SEOService} from "./openaireLibrary/sharedComponents/SEO/SEO.service";
import {UntypedFormBuilder, UntypedFormGroup, Validators} from "@angular/forms";
@@ -42,20 +42,19 @@ import {OpenaireEntities} from "./openaireLibrary/utils/properties/searchFields"
import {DOCUMENT, isPlatformServer} from "@angular/common";
import {AdvancedAsyncSubject} from "./openaireLibrary/utils/AdvancedAsyncSubject";
import {LayoutService} from "./openaireLibrary/dashboard/sharedComponents/sidebar/layout.service";
+import {Meta} from "@angular/platform-browser";
@Component({
selector: 'app-root',
template: `
-
-
+
Get Started
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 363c148..4913b10 100755
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -1,8 +1,8 @@
-import {NgModule} from '@angular/core';
+import {APP_ID, NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {CommonModule} from '@angular/common';
import {HTTP_INTERCEPTORS, HttpClientModule} from "@angular/common/http";
-import {BrowserModule, BrowserTransferStateModule} from '@angular/platform-browser';
+import {BrowserModule} from '@angular/platform-browser';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {AppComponent} from './app.component';
@@ -41,9 +41,8 @@ import {CustomizationService} from "./openaireLibrary/services/customization.ser
BottomModule,
CookieLawModule,
SubscribeModule.forRoot(), InviteBasicModule,
- BrowserModule.withServerTransition({appId: 'serverApp'}),
+ BrowserModule,
AppRoutingModule,
- BrowserTransferStateModule,
BrowserAnimationsModule,
PageURLResolverModule, Schema2jsonldModule, RoleVerificationModule, QuickContactModule, AlertModalModule
],
@@ -51,6 +50,7 @@ import {CustomizationService} from "./openaireLibrary/services/customization.ser
exports: [AppComponent],
providers: [
CommunitiesService, CustomizationService, IsCommunity, SubscribeService,
+ {provide: APP_ID, useValue: 'serverApp'},
{
provide: HTTP_INTERCEPTORS,
useClass: HttpInterceptorService,
diff --git a/src/app/app.server.module.ts b/src/app/app.server.module.ts
index cc86a55..9c8c71e 100644
--- a/src/app/app.server.module.ts
+++ b/src/app/app.server.module.ts
@@ -1,5 +1,5 @@
import { NgModule } from '@angular/core';
-import {ServerModule, ServerTransferStateModule} from '@angular/platform-server';
+import {ServerModule} from '@angular/platform-server';
import { AppModule } from './app.module';
import { AppComponent } from './app.component';
@@ -8,7 +8,6 @@ import { AppComponent } from './app.component';
imports: [
AppModule,
ServerModule,
- ServerTransferStateModule
],
bootstrap: [AppComponent],
})
diff --git a/src/app/communities/communities.component.html b/src/app/communities/communities.component.html
index 4a04861..95a0a94 100644
--- a/src/app/communities/communities.component.html
+++ b/src/app/communities/communities.component.html
@@ -1,302 +1,287 @@
-
-
-
-
-
-
- Build a Gateway
- for your Community.
-
-
-
Turn Open Science into Practice.
-
It takes your open and linked {{entities.RESULTS | lowercase}}.
-
A service customized to your needs.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Find a repository to deposit
- your {{entities.RESULT | lowercase}}
- .
-
-
-
-
- Link your {{entities.RESULT | lowercase}}
- with your community, funding, and other {{entities.RESULTS | lowercase}}
- .
-
-
-
-
- View community's
- overview at a glance.
-
-
-
-
- Search & browse
- your community's {{entities.RESULTS | lowercase}}
- .
-
-
-
-
-
-
-
- Benefits.
-
- Find the best for your community.
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ Build a Gateway
+ for your Community.
+
+
+
Turn Open Science into Practice.
+
It takes your open and linked {{entities.RESULTS | lowercase}}.
+
A service customized to your needs.
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+ Benefits.
+
+ Find the best for your community.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Find a repository
+ to deposit your {{entities.RESULT | lowercase}}
+ .
+
+
+
+
+ Link your {{entities.RESULT | lowercase}}
+ with your community, funding, and other {{entities.RESULTS | lowercase}}
+ .
+
+
+
+
+ View community's
+ overview at a glance.
+
+
+
+
+ Search & browse
+ your community's {{entities.RESULTS | lowercase}}
+ .
+
+
+
+
+
+
-
-
-
- Our mission for an Open and FAIR science.
-
-
-
-
-
-
+
+
+
-
-
-
Customized to your needs
-
A Gateway with your own brand, rules for aggregation, text & data mining, and presentation. Run
- by you via a simple, yet powerful backend administration tool.
-
-
-
-
-
- -
-
- Access control
-
-
- -
-
- Look & feel to match your brand
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Customized to your needs
+
A Gateway with your own brand, rules for aggregation, text & data mining,
+ and presentation. Run
+ by you via a simple, yet powerful backend administration tool.
+
+
+
+
+
+ -
+
+ Access control
+
+
+ -
+
+ Look & feel to match your brand
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
Let us Help you Develop a Collaborative Science Gateway.
- It is fast. It is reliable.
-
-
Contact us
-
+
+
+
Let us Help you Develop a Collaborative Science Gateway.
+ It is fast. It is reliable.
+
+
+
Contact
+ us
+
diff --git a/src/app/communities/communities.component.less b/src/app/communities/communities.component.less
index 3600bb2..8f5fcd4 100644
--- a/src/app/communities/communities.component.less
+++ b/src/app/communities/communities.component.less
@@ -7,7 +7,11 @@
.connect-dark-logo-background {
background-image: url("~src/assets/connect-assets/home/connect-dark-logo.svg");
background-repeat: no-repeat;
- background-position: left 95%;
- background-size: 65%;
+ background-position: -5% 102%;
+ background-size: 35%;
}
-}
\ No newline at end of file
+
+ .slider-nav {
+ max-width: 650px;
+ }
+}
diff --git a/src/app/communities/communities.module.ts b/src/app/communities/communities.module.ts
index 7807f63..0e66899 100644
--- a/src/app/communities/communities.module.ts
+++ b/src/app/communities/communities.module.ts
@@ -14,19 +14,19 @@ import {ErrorMessagesModule} from '../openaireLibrary/utils/errorMessages.m
import {SearchFormModule} from '../openaireLibrary/searchPages/searchUtils/searchForm.module';
import {BrowseCommunityModule} from './browseCommunity/browse-community.module';
import {HelperModule} from "../openaireLibrary/utils/helper/helper.module";
-import {GifSliderModule} from "../openaireLibrary/utils/gif-slider/gif-slider.module";
import {OtherPortalsModule} from "../openaireLibrary/sharedComponents/other-portals/other-portals.module";
import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
import {IsRouteEnabled} from "../openaireLibrary/error/isRouteEnabled.guard";
import {SectionScrollModule} from "../openaireLibrary/utils/section-scroll/section-scroll.module";
import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
+import {SliderUtilsModule} from "../openaireLibrary/sharedComponents/slider-utils/slider-utils.module";
@NgModule({
imports: [
CommonModule, FormsModule, RouterModule,
ManageModule, ErrorMessagesModule,
- SearchFormModule, BrowseCommunityModule, GifSliderModule, OtherPortalsModule,
- HelperModule, SEOServiceModule, SectionScrollModule, IconsModule
+ SearchFormModule, BrowseCommunityModule, OtherPortalsModule,
+ HelperModule, SEOServiceModule, SectionScrollModule, IconsModule, SliderUtilsModule
],
declarations: [
CommunitiesComponent
diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts
index 6db3098..e692324 100644
--- a/src/app/community/community.component.ts
+++ b/src/app/community/community.component.ts
@@ -219,7 +219,7 @@ export class CommunityComponent {
this._title.setTitle(community.title);
this.subs.push(this._piwikService.trackView(this.properties, community.title).subscribe());
if (this.community.zenodoCommunity) {
- this.subs.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties, this.properties.zenodoCommunities + this.community.zenodoCommunity).subscribe(
+ this.subs.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties, this.community.zenodoCommunity).subscribe(
result => {
this.masterZenodoCommunity = result;
},
diff --git a/src/app/deposit/utils/fetchZenodoInformation.class.ts b/src/app/deposit/utils/fetchZenodoInformation.class.ts
index 6d58826..5dd3b13 100644
--- a/src/app/deposit/utils/fetchZenodoInformation.class.ts
+++ b/src/app/deposit/utils/fetchZenodoInformation.class.ts
@@ -24,7 +24,7 @@ export class FetchZenodoInformation {
});
}
public getZenodoCommunityNameAndUrlById(masterZenodoCommunityId: string, properties:EnvProperties, zenodoInformation: ZenodoInformationClass){
- this.subscriptions.push(this._zenodoCommunitieService.getZenodoCommunityById(properties, properties.zenodoCommunities+masterZenodoCommunityId).subscribe(
+ this.subscriptions.push(this._zenodoCommunitieService.getZenodoCommunityById(properties, masterZenodoCommunityId).subscribe(
result => {
console.info("getZenodoCommunityNameAndUrlById", result);
var masterZenodoCommunity = result;
diff --git a/src/app/deposit/zenodo/shareInZenodo.component.html b/src/app/deposit/zenodo/shareInZenodo.component.html
index 707bc41..4bcd642 100644
--- a/src/app/deposit/zenodo/shareInZenodo.component.html
+++ b/src/app/deposit/zenodo/shareInZenodo.component.html
@@ -19,7 +19,7 @@
@@ -108,7 +108,7 @@
diff --git a/src/app/deposit/zenodo/shareInZenodo.component.ts b/src/app/deposit/zenodo/shareInZenodo.component.ts
index 25467cc..914758e 100644
--- a/src/app/deposit/zenodo/shareInZenodo.component.ts
+++ b/src/app/deposit/zenodo/shareInZenodo.component.ts
@@ -82,7 +82,7 @@ export class ShareInZenodoComponent {
this.community = community;
this.masterZenodoCommunityId = this.community.zenodoCommunity;
if (this.masterZenodoCommunityId) {
- this.subs.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties, this.properties.zenodoCommunities + this.masterZenodoCommunityId).subscribe(
+ this.subs.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties, this.masterZenodoCommunityId).subscribe(
result => {
this.masterZenodoCommunity = result;
@@ -143,7 +143,7 @@ export class ShareInZenodoComponent {
}
getZenodoCommunityById(zenodoid) {
- this.subs.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties, this.properties.zenodoCommunities + zenodoid).subscribe(
+ this.subs.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties, zenodoid).subscribe(
result => {
this.communities[zenodoid] = result;
this.zenodoCommunitiesLoadedCount++;
diff --git a/src/app/learn-how/learn-how.module.ts b/src/app/learn-how/learn-how.module.ts
index cebc5d5..5196eb8 100644
--- a/src/app/learn-how/learn-how.module.ts
+++ b/src/app/learn-how/learn-how.module.ts
@@ -7,7 +7,6 @@ import {PiwikService} from '../openaireLibrary/utils/piwik/piwik.servic
import {LearnHowComponent} from "./learn-how.component";
import {LearnHowRoutingModule} from "./learn-how-routing.module";
-import {GifSliderModule} from "../openaireLibrary/utils/gif-slider/gif-slider.module";
import {HelperModule} from "../openaireLibrary/utils/helper/helper.module";
import {IsRouteEnabled} from "../openaireLibrary/error/isRouteEnabled.guard";
import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
@@ -20,7 +19,7 @@ import {TabsModule} from '../openaireLibrary/utils/tabs/tabs.module';
@NgModule({
imports: [
- CommonModule, RouterModule, LearnHowRoutingModule, GifSliderModule, HelperModule,
+ CommonModule, RouterModule, LearnHowRoutingModule, HelperModule,
Schema2jsonldModule, SEOServiceModule, BreadcrumbsModule, HtmlPagesModule, IconsModule, TabsModule
],
declarations: [
diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary
index ff4411d..dbbd7ec 160000
--- a/src/app/openaireLibrary
+++ b/src/app/openaireLibrary
@@ -1 +1 @@
-Subproject commit ff4411d69587e012a274dbd0451ca770d1afb969
+Subproject commit dbbd7ec541d96a5062a769dea2255ad9ccb36b13
diff --git a/src/app/searchPages/simple/searchProjects.component.ts b/src/app/searchPages/simple/searchProjects.component.ts
index 177e87d..483ab32 100644
--- a/src/app/searchPages/simple/searchProjects.component.ts
+++ b/src/app/searchPages/simple/searchProjects.component.ts
@@ -13,6 +13,7 @@ import {Subscriber} from "rxjs";
import {NewSearchPageComponent} from "../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
import {StringUtils} from "../../openaireLibrary/utils/string-utils.class";
+import {IndexInfoService} from "../../openaireLibrary/utils/indexInfo.service";
@Component({
selector: 'openaire-search-projects',
@@ -72,13 +73,17 @@ export class OpenaireSearchProjectsComponent {
public loadPaging: boolean = true;
public oldTotalResults: number = 0;
keyword;
- constructor (private route: ActivatedRoute, private _searchProjectsService: SearchCommunityProjectsService, private _communityService: CommunityService) {
+ lastDBLoadDate = null;
+ constructor (private route: ActivatedRoute, private _searchProjectsService: SearchCommunityProjectsService, private _communityService: CommunityService, private indexInfoService: IndexInfoService) {
this.errorCodes = new ErrorCodes();
this.errorMessages = new ErrorMessagesComponent();
this.searchUtils.status = this.errorCodes.LOADING;
}
public ngOnInit() {
+ this.subscriptions.push(this.indexInfoService.getLastIndexDate(this.properties).subscribe(res => {
+ this.lastDBLoadDate = res;
+ }));
this.searchUtils.baseUrl = this.properties.searchLinkToProjects;
this.subscriptions.push(this._communityService.getCommunityAsObservable().subscribe(community =>{
if(community != null){
@@ -179,7 +184,11 @@ export class OpenaireSearchProjectsComponent {
let results:SearchResult[]=[];
for(let result of data){
let sResult:SearchResult = new SearchResult();
- sResult.id = result.openaireId;
+ if(!result["availableSince"] || !this.lastDBLoadDate || (result["availableSince"] && this.lastDBLoadDate && result["availableSince"] < this.lastDBLoadDate)){
+ sResult.id = result.openaireId;
+ }else{
+ sResult.id = "-1"; //not yet in the graph
+ }
sResult.title = {name:"", accessMode: null};
sResult.title.name = result.name?result.name:result.acronym;
sResult.acronym = result['acronym'];
diff --git a/src/assets/common-assets b/src/assets/common-assets
index d18e0a7..9e58421 160000
--- a/src/assets/common-assets
+++ b/src/assets/common-assets
@@ -1 +1 @@
-Subproject commit d18e0a7e43e5ab74649481ecbf352ba49893c66f
+Subproject commit 9e58421a1adf3fbeb361e21616feaea8c7f867af
diff --git a/src/assets/connect.less b/src/assets/connect.less
index 9587453..b796fe1 100644
--- a/src/assets/connect.less
+++ b/src/assets/connect.less
@@ -30,4 +30,4 @@
@inverse-text-primary-color: @connect-color;
/* General */
-@general-search-form-background: fade(@global-secondary-background, 20%);
+@general-search-form-background: lighten(@global-secondary-background, 33%);
diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme
index 2df4b37..2dadcf8 160000
--- a/src/assets/openaire-theme
+++ b/src/assets/openaire-theme
@@ -1 +1 @@
-Subproject commit 2df4b377a3e89b7dd26a011a2e1e1f07fdcedf2a
+Subproject commit 2dadcf85926bc0f11fff22ed94dc197ddd8587c6
diff --git a/src/environments/environment.beta.ts b/src/environments/environment.beta.ts
index 15a3979..4d24f2c 100644
--- a/src/environments/environment.beta.ts
+++ b/src/environments/environment.beta.ts
@@ -16,7 +16,7 @@ export let properties: EnvProperties = {
useNewStatistisTool: true,
enermapsURL:"https://lab.idiap.ch/enermaps",
impactFactorsAPIURL: "https://bip-api.imsi.athenarc.gr/paper/scores/batch/",
- claimsAPIURL: "https://beta.services.openaire.eu/claims/rest/claimsService/",
+ claimsAPIURL: "https://beta.services.openaire.eu/claims-new/rest/claimsService/",
searchAPIURLLAst: "https://beta.services.openaire.eu/search/v2/api/",
searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources",
openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=",
@@ -41,7 +41,7 @@ export let properties: EnvProperties = {
sherpaURL: "http://sherpa.ac.uk/romeo/issn/",
sherpaURLSuffix: "/",
zenodo: "https://zenodo.org/",
- zenodoCommunities: "https://zenodo.org/api/communities/",
+ zenodoCommunities: "https://zenodo.org/api/communities",
openAccess: "https://www.openaire.eu/support/faq#article-id-234",
openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310",
fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme",
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 40df9fc..ed43186 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -41,7 +41,7 @@ export let properties: EnvProperties = {
sherpaURL: "http://sherpa.ac.uk/romeo/issn/",
sherpaURLSuffix: "/",
zenodo: "https://zenodo.org/",
- zenodoCommunities: "https://zenodo.org/api/communities/",
+ zenodoCommunities: "https://zenodo.org/api/communities",
openAccess: "https://www.openaire.eu/support/faq#article-id-234",
openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310",
fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme",
diff --git a/src/main.server.ts b/src/main.server.ts
index d8775d6..0930b37 100644
--- a/src/main.server.ts
+++ b/src/main.server.ts
@@ -12,4 +12,4 @@ if (properties.environment !== "development") {
}
export { AppServerModule } from './app/app.server.module';
-export { renderModule } from '@angular/platform-server';
+
diff --git a/src/test.ts b/src/test.ts
index 6b03dbe..ae25f27 100644
--- a/src/test.ts
+++ b/src/test.ts
@@ -7,8 +7,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
-declare const require: any;
-
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
@@ -16,7 +14,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
-// Then we find all the tests.
-const context = require.context('./', true, /\.spec\.ts$/);
-// And load the modules.
-context.keys().map(context);
diff --git a/src/tsconfig.server.json b/src/tsconfig.server.json
index 39f85aa..5601502 100644
--- a/src/tsconfig.server.json
+++ b/src/tsconfig.server.json
@@ -2,7 +2,6 @@
"extends": "./tsconfig.app.json",
"compilerOptions": {
"outDir": "../out-tsc/app-server",
- "target": "es2016",
"types": [
"node"
]
diff --git a/tsconfig.json b/tsconfig.json
index fc8b4c1..668d981 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,13 +10,14 @@
"moduleResolution": "node",
"experimentalDecorators": true,
"importHelpers": true,
- "target": "es2020",
+ "target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
- ]
+ ],
+ "useDefineForClassFields": false
}
}