Compare commits
No commits in common. "master" and "angular-15" have entirely different histories.
master
...
angular-15
41
angular.json
41
angular.json
|
@ -34,12 +34,6 @@
|
|||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
||||
"with": "src/app/shared/searchFields.aggregator.ts"
|
||||
}
|
||||
],
|
||||
"outputPath": "dist/aggregator/browser",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
|
@ -67,12 +61,6 @@
|
|||
},
|
||||
"configurations": {
|
||||
"development": {
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
||||
"with": "src/app/shared/searchFields.aggregator.ts"
|
||||
}
|
||||
],
|
||||
"optimization": {
|
||||
"scripts": true,
|
||||
"styles": {
|
||||
|
@ -116,10 +104,6 @@
|
|||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.beta.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
||||
"with": "src/app/shared/searchFields.aggregator.ts"
|
||||
}
|
||||
],
|
||||
"optimization": {
|
||||
|
@ -165,10 +149,6 @@
|
|||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.prod.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
||||
"with": "src/app/shared/searchFields.aggregator.ts"
|
||||
}
|
||||
],
|
||||
"optimization": {
|
||||
|
@ -240,16 +220,14 @@
|
|||
"main": "server.ts",
|
||||
"tsConfig": "src/tsconfig.server.json",
|
||||
"sourceMap": true,
|
||||
"optimization": false,
|
||||
"buildOptimizer": false
|
||||
"optimization": false
|
||||
},
|
||||
"configurations": {
|
||||
"development": {
|
||||
"outputHashing": "media",
|
||||
"sourceMap": false,
|
||||
"optimization": true,
|
||||
"vendorChunk": true,
|
||||
"buildOptimizer": true
|
||||
"vendorChunk": true
|
||||
},
|
||||
"beta": {
|
||||
"outputHashing": "media",
|
||||
|
@ -257,15 +235,10 @@
|
|||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.beta.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
||||
"with": "src/app/shared/searchFields.aggregator.ts"
|
||||
}
|
||||
],
|
||||
"sourceMap": false,
|
||||
"optimization": true,
|
||||
"buildOptimizer": true
|
||||
"optimization": true
|
||||
},
|
||||
"production": {
|
||||
"outputHashing": "media",
|
||||
|
@ -273,15 +246,10 @@
|
|||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.prod.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
||||
"with": "src/app/shared/searchFields.aggregator.ts"
|
||||
}
|
||||
],
|
||||
"sourceMap": false,
|
||||
"optimization": true,
|
||||
"buildOptimizer": true
|
||||
"optimization": true
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": ""
|
||||
|
@ -334,6 +302,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "aggregator",
|
||||
"cli": {
|
||||
"analytics": false
|
||||
}
|
||||
|
|
46
package.json
46
package.json
|
@ -21,40 +21,40 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@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",
|
||||
"@angular/animations": "^15.2.9",
|
||||
"@angular/cdk": "^15.2.9",
|
||||
"@angular/common": "^15.2.9",
|
||||
"@angular/compiler": "^15.2.9",
|
||||
"@angular/core": "^15.2.9",
|
||||
"@angular/forms": "^15.2.9",
|
||||
"@angular/localize": "^15.2.9",
|
||||
"@angular/material": "^15.2.9",
|
||||
"@angular/platform-browser": "^15.2.9",
|
||||
"@angular/platform-browser-dynamic": "^15.2.9",
|
||||
"@angular/platform-server": "^15.2.9",
|
||||
"@angular/router": "^15.2.9",
|
||||
"@nguniversal/express-engine": "^15.2.1",
|
||||
"clipboard": "^1.5.16",
|
||||
"core-js": "^2.5.4",
|
||||
"express": "^4.15.2",
|
||||
"jquery": "^3.4.1",
|
||||
"ng-recaptcha": "^12.0.2",
|
||||
"ng-recaptcha": "^11.0.0",
|
||||
"prom-client": "^11.3.0",
|
||||
"rxjs": "^6.5.1",
|
||||
"ts-md5": "^1.2.0",
|
||||
"tslib": "^2.0.0",
|
||||
"uikit": "3.16.24",
|
||||
"zone.js": "~0.13.1"
|
||||
"uikit": "3.13.10",
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@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",
|
||||
"@angular-devkit/build-angular": "^15.2.9",
|
||||
"@angular/cli": "^15.2.9",
|
||||
"@angular/compiler-cli": "^15.2.9",
|
||||
"@angular/language-service": "^15.2.9",
|
||||
"@nguniversal/builders": "^15.2.1",
|
||||
"@types/express": "^4.17.0",
|
||||
"@types/compression": "^1.7.0",
|
||||
"@types/node": "^16.18.50",
|
||||
"@types/node": "^12.11.1",
|
||||
"@types/jasmine": "~3.6.0",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"codelyzer": "^6.0.0",
|
||||
|
@ -69,4 +69,4 @@
|
|||
"ts-node": "~7.0.0",
|
||||
"typescript": "~4.9.5"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -73,6 +73,10 @@ const routes: Routes = [
|
|||
path: 'search/advanced/projects',
|
||||
loadChildren: () => import('./searchPages/advanced/advancedSearchProjects.module').then(m => m.LibAdvancedSearchProjectsModule)
|
||||
},
|
||||
{
|
||||
path: 'project-report',
|
||||
loadChildren: () => import('./landingPages/htmlProjectReport/libHtmlProjectReport.module').then(m => m.LibHtmlProjectReportModule)
|
||||
},
|
||||
{
|
||||
path: 'reload',
|
||||
loadChildren: () => import('./reload/libReload.module').then(m => m.LibReloadModule),
|
||||
|
|
|
@ -102,9 +102,7 @@ export class AppComponent {
|
|||
this.userMenuItems = [];
|
||||
if (this.user) {
|
||||
this.userMenuItems.push(new MenuItem("", "My links", "", "/myclaims", false, [], [], {}));
|
||||
if(this.properties.environment != "beta") {
|
||||
this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {}));
|
||||
}
|
||||
this.userMenuItems.push(new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [""], {}));
|
||||
// this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {}));
|
||||
}
|
||||
}));
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {APP_ID, NgModule} from '@angular/core';
|
||||
import {NgModule} from '@angular/core';
|
||||
import {SharedModule} from './shared/shared.module';
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
import {BrowserModule, BrowserTransferStateModule} from '@angular/platform-browser';
|
||||
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {HTTP_INTERCEPTORS, HttpClientModule} from '@angular/common/http';
|
||||
|
@ -27,14 +27,14 @@ import {ConfigurationService} from "./openaireLibrary/utils/configuration/config
|
|||
NavigationBarModule, FeedbackModule, BottomModule,
|
||||
CookieLawModule,
|
||||
BrowserAnimationsModule,
|
||||
BrowserModule,
|
||||
BrowserTransferStateModule,
|
||||
BrowserModule.withServerTransition({appId: 'aggregator'}),
|
||||
AppRoutingModule
|
||||
],
|
||||
declarations: [AppComponent, OpenaireErrorPageComponent],
|
||||
exports: [AppComponent],
|
||||
providers: [
|
||||
ConfigurationService,
|
||||
{provide: APP_ID, useValue: 'aggregator'},
|
||||
{
|
||||
provide: HTTP_INTERCEPTORS,
|
||||
useClass: HttpInterceptorService,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import {ServerModule} from '@angular/platform-server';
|
||||
import {ServerModule, ServerTransferStateModule} from '@angular/platform-server';
|
||||
|
||||
import { AppModule } from './app.module';
|
||||
import { AppComponent } from './app.component';
|
||||
|
@ -8,6 +8,7 @@ import { AppComponent } from './app.component';
|
|||
imports: [
|
||||
AppModule,
|
||||
ServerModule,
|
||||
ServerTransferStateModule
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
})
|
||||
|
|
|
@ -1,15 +1,27 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {ActivatedRoute} from '@angular/router';
|
||||
import {Subscriber} from "rxjs";
|
||||
import {properties} from "../../../environments/environment";
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'openaire-my-claims',
|
||||
template: `<my-claims *ngIf="claimsInfoURL" [claimsInfoURL]="claimsInfoURL"></my-claims>`
|
||||
template: `<my-claims *ngIf="userInfoURL && claimsInfoURL" [claimsInfoURL]=claimsInfoURL [userInfoURL]="userInfoURL"></my-claims>`
|
||||
})
|
||||
export class OpenaireMyClaimsComponent {
|
||||
claimsInfoURL:string;
|
||||
userInfoURL: string;
|
||||
sub;
|
||||
|
||||
constructor (private route: ActivatedRoute) {
|
||||
}
|
||||
ngOnDestroy() {
|
||||
if (this.sub instanceof Subscriber) {
|
||||
this.sub.unsubscribe();
|
||||
}
|
||||
}
|
||||
public ngOnInit() {
|
||||
this.claimsInfoURL = properties.claimsInformationLink;
|
||||
this.userInfoURL = properties.userInfoUrl;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ import {DepositFirstPageModule} from "../openaireLibrary/deposit/depositFirstPag
|
|||
|
||||
import {ZenodoCommunitiesService} from "../openaireLibrary/connect/zenodoCommunities/zenodo-communities.service";
|
||||
import {CommunityService} from "../openaireLibrary/connect/community/community.service";
|
||||
import {SearchZenodoCommunitiesService} from "../openaireLibrary/connect/zenodoCommunities/searchZenodoCommunities.service";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
@ -25,6 +26,6 @@ import {CommunityService} from "../openaireLibrary/connect/community/community.s
|
|||
OpenaireDepositComponent,
|
||||
],
|
||||
providers: [PreviousRouteRecorder, IsRouteEnabled,
|
||||
ZenodoCommunitiesService, CommunityService]
|
||||
ZenodoCommunitiesService, CommunityService, SearchZenodoCommunitiesService]
|
||||
})
|
||||
export class LibDepositModule { }
|
||||
|
|
|
@ -9,6 +9,7 @@ import {SearchDataprovidersToDepositModule} from '../openaireLibrary/deposit/sea
|
|||
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import {ZenodoCommunitiesServiceModule} from '../openaireLibrary/connect/zenodoCommunities/zenodo-communitiesService.module';
|
||||
import {SearchZenodoCommunitiesServiceModule} from '../openaireLibrary/connect/zenodoCommunities/searchZenodoCommunitiesService.module';
|
||||
|
||||
import {CommunityService} from '../openaireLibrary/connect/community/community.service';
|
||||
|
||||
|
@ -17,7 +18,7 @@ import {CommunityService} from '../openaireLibrary/connect/community/community.s
|
|||
CommonModule, FormsModule,
|
||||
SearchDataprovidersToDepositModule,
|
||||
SearchDataprovidersToDepositRoutingModule,
|
||||
ZenodoCommunitiesServiceModule
|
||||
ZenodoCommunitiesServiceModule, SearchZenodoCommunitiesServiceModule
|
||||
],
|
||||
declarations: [
|
||||
OpenaireSearchDataprovidersToDepositComponent
|
||||
|
|
|
@ -25,12 +25,12 @@ import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields
|
|||
</div>
|
||||
<h3>For {{openaireEntities.RESULTS | lowercase}}</h3>
|
||||
<div class="uk-margin-bottom">
|
||||
For {{openaireEntities.RESULTS | lowercase}} ({{openaireEntities.PUBLICATIONS | lowercase}}, {{openaireEntities.DATASETS | lowercase}}, {{openaireEntities.SOFTWARE | lowercase}} and {{openaireEntities.OTHER | lowercase}}) you can use the Graph API by adding the community parameter.
|
||||
For {{openaireEntities.RESULTS | lowercase}} ({{openaireEntities.PUBLICATIONS | lowercase}}, {{openaireEntities.DATASETS | lowercase}}, {{openaireEntities.SOFTWARE | lowercase}} and {{openaireEntities.OTHER | lowercase}}) you can use the Selective Access APIs by adding the community parameter.
|
||||
</div>
|
||||
<a class="uk-display-inline-block uk-button uk-button-text"
|
||||
href="https://graph.openaire.eu/docs/apis/search-api/research-products" target="_blank">
|
||||
href="https://graph.openaire.eu/develop/api.html" target="_blank">
|
||||
<span class="uk-flex uk-flex-middle">
|
||||
<span>Graph API</span>
|
||||
<span>Selective Access APIs</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {RouterModule} from '@angular/router';
|
||||
|
||||
import {OpenaireHtmlProjectReportComponent} from './htmlProjectReport.component';
|
||||
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild([
|
||||
{ path: '', component: OpenaireHtmlProjectReportComponent , canActivate: [FreeGuard],canDeactivate: [PreviousRouteRecorder]}
|
||||
])
|
||||
]
|
||||
})
|
||||
export class HtmlProjectReportRoutingModule { }
|
|
@ -0,0 +1,9 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {properties} from "../../../environments/environment";
|
||||
|
||||
@Component({
|
||||
selector: 'openaire-htmlProjectReport',
|
||||
template: `<htmlProjectReport></htmlProjectReport>`,
|
||||
})
|
||||
export class OpenaireHtmlProjectReportComponent{
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {HtmlProjectReportModule} from '../../openaireLibrary/landingPages/htmlProjectReport/htmlProjectReport.module';
|
||||
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {OpenaireHtmlProjectReportComponent} from './htmlProjectReport.component';
|
||||
import {HtmlProjectReportRoutingModule} from './htmlProjectReport-routing.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [HtmlProjectReportModule, HtmlProjectReportRoutingModule],
|
||||
declarations:[OpenaireHtmlProjectReportComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[OpenaireHtmlProjectReportComponent]
|
||||
})
|
||||
export class LibHtmlProjectReportModule { }
|
|
@ -1 +1 @@
|
|||
Subproject commit fe09fbfdcb6087e1f7e8373b654a29214adab65d
|
||||
Subproject commit 3b6822c71f32512533793e6b57f6ff017f4c874e
|
|
@ -1,67 +0,0 @@
|
|||
import {SearchFieldsBase} from "src/app/openaireLibrary/utils/properties/searchFields.base";
|
||||
import {properties} from "src/environments/environment";
|
||||
|
||||
export class SearchFields extends SearchFieldsBase {
|
||||
ORGANIZATION_REFINE_FIELDS: string[] = [];
|
||||
ORGANIZATION_ADVANCED_FIELDS: string[] = ["q", "organizationlegalname", "organizationlegalshortname", "pid"];
|
||||
|
||||
public static getParameterOrder(fieldId: string, params): number {
|
||||
let fields = [];
|
||||
let searchFields = new SearchFields();
|
||||
if (searchFields.RESULT_REFINE_FIELDS.indexOf(fieldId) != -1) {
|
||||
fields = searchFields.RESULT_REFINE_FIELDS;
|
||||
} else if (searchFields.PROJECT_REFINE_FIELDS.indexOf(fieldId) != -1) {
|
||||
fields = searchFields.PROJECT_REFINE_FIELDS
|
||||
} else if (searchFields.ORGANIZATION_REFINE_FIELDS.indexOf(fieldId) != -1) {
|
||||
fields = searchFields.ORGANIZATION_REFINE_FIELDS;
|
||||
} else if (searchFields.DATASOURCE_REFINE_FIELDS.indexOf(fieldId) != -1) {
|
||||
fields = searchFields.DATASOURCE_REFINE_FIELDS;
|
||||
}
|
||||
let index = fields.indexOf(fieldId);
|
||||
let paramIndex = 0;
|
||||
if (index != -1) {
|
||||
for (let keyValue of params) {
|
||||
if (fields.indexOf(keyValue[0]) > index) {
|
||||
break;
|
||||
}
|
||||
paramIndex++
|
||||
}
|
||||
}
|
||||
return paramIndex;
|
||||
}
|
||||
}
|
||||
|
||||
export enum OpenaireEntities {
|
||||
RESULTS = "Research products",
|
||||
PUBLICATIONS = "Publications",
|
||||
DATASETS = "Research data",
|
||||
SOFTWARE = "Research software",
|
||||
OTHER = "Other research products",
|
||||
PROJECTS = "Projects",
|
||||
ORGANIZATIONS = "Organizations",
|
||||
DATASOURCES = "Data sources",
|
||||
SERVICES = "Services",
|
||||
COMMUNITIES = "Research communities",
|
||||
|
||||
RESULT = "Research product",
|
||||
PUBLICATION = "Publication",
|
||||
DATASET = "Research data",
|
||||
SOFTWARE_SINGULAR = "Research software",
|
||||
OTHER_SINGULAR = "Other research product",
|
||||
PROJECT = "Project",
|
||||
ORGANIZATION = "Organization",
|
||||
DATASOURCE = "Data source",
|
||||
SERVICE = "Service",
|
||||
COMMUNITY = "Research community",
|
||||
|
||||
RESULTS_FILE = "research-products",
|
||||
PUBLICATIONS_FILE = "publications",
|
||||
DATASETS_FILE = "research-data",
|
||||
SOFTWARE_FILE = "research-software",
|
||||
OTHER_FILE = "other-research-products",
|
||||
PROJECTS_FILE = "projects",
|
||||
ORGANIZATIONS_FILE = "organizations",
|
||||
DATASOURCES_FILE = "data-sources",
|
||||
SERVICES_FILE = "services",
|
||||
}
|
||||
|
|
@ -97,7 +97,7 @@ export class PortalAggregators {
|
|||
let filter:SearchCustomFilter = null;
|
||||
if(agg && agg.fieldName) {
|
||||
filter = new SearchCustomFilter(agg.fieldName, agg.queryFieldName, agg.valueId, agg.valueName);
|
||||
// filter.promptToAddFilter = false;
|
||||
filter.promptToAddFilter = false;
|
||||
filter.isHiddenFilter = true;
|
||||
}
|
||||
return filter;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 014adfe4588975e499c72b284ce7368fc2cb5d14
|
||||
Subproject commit 9cb1f835a93501d9566ea2a3123d92eecd73f27d
|
|
@ -1 +1 @@
|
|||
Subproject commit 55765bf0829910661a55337e0e7ca7b1262b7298
|
||||
Subproject commit 5268f277246347aad42349a06eecb915a452841b
|
|
@ -1,7 +1,6 @@
|
|||
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
|
||||
import {common, commonBeta} from "../app/openaireLibrary/utils/properties/environments/environment";
|
||||
|
||||
let props: EnvProperties = {
|
||||
export let properties: EnvProperties = {
|
||||
environment: "beta",
|
||||
adminToolsPortalType: "aggregator",
|
||||
dashboard: "aggregator",
|
||||
|
@ -9,12 +8,12 @@ let props: EnvProperties = {
|
|||
useCache: false,
|
||||
useLongCache: true,
|
||||
showAddThis: true,
|
||||
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
||||
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
||||
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
||||
statisticsFrameNewAPIURL: "https://beta.services.openaire.eu/stats-tool/",
|
||||
useNewStatistisTool: true,
|
||||
claimsAPIURL: "https://beta.services.openaire.eu/claims-new/rest/claimsService/",
|
||||
bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=",
|
||||
claimsAPIURL: "https://beta.services.openaire.eu/claims/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=",
|
||||
|
@ -39,6 +38,11 @@ let props: EnvProperties = {
|
|||
sherpaURL: "http://sherpa.ac.uk/romeo/issn/",
|
||||
sherpaURLSuffix: "/",
|
||||
zenodo: "https://zenodo.org/",
|
||||
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",
|
||||
h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020",
|
||||
ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf",
|
||||
helpdesk: "https://www.openaire.eu/support/helpdesk",
|
||||
helpdeskEmail: "helpdesk@openaire.eu",
|
||||
utilsService: "https://demo.openaire.eu/utils-service",
|
||||
|
@ -47,6 +51,10 @@ let props: EnvProperties = {
|
|||
|
||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||
piwikSiteId: "553",
|
||||
loginUrl: "https://beta.services.openaire.eu/login-service/openid_connect_login",
|
||||
userInfoUrl: "https://beta.services.openaire.eu/login-service/userInfo",
|
||||
logoutUrl: "https://beta.services.openaire.eu/login-service/openid_logout",
|
||||
|
||||
cookieDomain: ".openaire.eu",
|
||||
|
||||
feedbackmail: "feedback@openaire.eu",
|
||||
|
@ -118,7 +126,3 @@ let props: EnvProperties = {
|
|||
footerGrantText : "This OpenAIRE gateway is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452"
|
||||
|
||||
};
|
||||
|
||||
export let properties: EnvProperties = {
|
||||
...props, ...common, ...commonBeta
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
|
||||
import {common, commonProd} from "../app/openaireLibrary/utils/properties/environments/environment";
|
||||
|
||||
let props: EnvProperties = {
|
||||
export let properties: EnvProperties = {
|
||||
environment: "production",
|
||||
adminToolsPortalType: "aggregator",
|
||||
dashboard: "aggregator",
|
||||
|
@ -9,12 +8,12 @@ let props: EnvProperties = {
|
|||
useCache: false,
|
||||
useLongCache: true,
|
||||
showAddThis: true,
|
||||
framesAPIURL: "https://www.openaire.eu/stats3/",
|
||||
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
||||
statisticsFrameAPIURL: "https://www.openaire.eu/stats/",
|
||||
statisticsFrameNewAPIURL: "https://services.openaire.eu/stats-tool/",
|
||||
useNewStatistisTool: true,
|
||||
claimsAPIURL: "https://services.openaire.eu/claims-new/rest/claimsService/",
|
||||
bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=",
|
||||
claimsAPIURL: "https://services.openaire.eu/claims/rest/claimsService/",
|
||||
searchAPIURLLAst: "https://services.openaire.eu/search/v2/api/",
|
||||
searchResourcesAPIURL: "https://services.openaire.eu/search/v2/api/resources",
|
||||
openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=",
|
||||
|
@ -39,6 +38,11 @@ let props: EnvProperties = {
|
|||
sherpaURL: "http://sherpa.ac.uk/romeo/issn/",
|
||||
sherpaURLSuffix: "/",
|
||||
zenodo: "https://zenodo.org/",
|
||||
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",
|
||||
h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020",
|
||||
ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf",
|
||||
helpdesk: "https://www.openaire.eu/support/helpdesk",
|
||||
helpdeskEmail: "helpdesk@openaire.eu",
|
||||
utilsService: "https://explore.openaire.eu/utils-service",
|
||||
|
@ -47,6 +51,10 @@ let props: EnvProperties = {
|
|||
|
||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||
piwikSiteId: "553",
|
||||
|
||||
loginUrl: "https://services.openaire.eu/login-service/openid_connect_login",
|
||||
userInfoUrl: "https://services.openaire.eu/login-service/userInfo",
|
||||
logoutUrl: "https://services.openaire.eu/login-service/openid_logout",
|
||||
cookieDomain: ".openaire.eu",
|
||||
|
||||
feedbackmail: "feedback@openaire.eu",
|
||||
|
@ -120,7 +128,3 @@ let props: EnvProperties = {
|
|||
footerGrantText : "This OpenAIRE gateway is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452"
|
||||
|
||||
};
|
||||
|
||||
export let properties: EnvProperties = {
|
||||
...props, ...common, ...commonProd
|
||||
}
|
||||
|
|
|
@ -4,9 +4,8 @@
|
|||
// The list of which env maps to which file can be found in `.angular-cli.json`.
|
||||
|
||||
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
|
||||
import {common, commonDev} from "../app/openaireLibrary/utils/properties/environments/environment";
|
||||
|
||||
let props: EnvProperties = {
|
||||
export let properties: EnvProperties = {
|
||||
environment: "development",
|
||||
adminToolsPortalType: "aggregator",
|
||||
dashboard: "aggregator",
|
||||
|
@ -15,10 +14,10 @@ let props: EnvProperties = {
|
|||
useLongCache: false,
|
||||
showAddThis: true,
|
||||
enableEoscDataTransfer: true,
|
||||
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
||||
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
||||
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
||||
statisticsFrameNewAPIURL: "https://beta.services.openaire.eu/stats-tool/",
|
||||
bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=",
|
||||
useNewStatistisTool: true,
|
||||
claimsAPIURL: "http://dl170.madgik.di.uoa.gr:8180/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/",
|
||||
searchAPIURLLAst: "http://beta.services.openaire.eu/search/v2/api/",
|
||||
|
@ -45,6 +44,11 @@ let props: EnvProperties = {
|
|||
sherpaURL: "http://sherpa.ac.uk/romeo/issn/",
|
||||
sherpaURLSuffix: "/",
|
||||
zenodo: "https://zenodo.org/",
|
||||
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",
|
||||
h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020",
|
||||
ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf",
|
||||
helpdesk: "https://www.openaire.eu/support/helpdesk",
|
||||
helpdeskEmail: "helpdesk@openaire.eu",
|
||||
utilsService: "http://dl170.madgik.di.uoa.gr:8000",
|
||||
|
@ -53,6 +57,9 @@ let props: EnvProperties = {
|
|||
|
||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||
piwikSiteId: "6",
|
||||
loginUrl: "http://mpagasas.di.uoa.gr:19080/login-service/openid_connect_login",
|
||||
userInfoUrl: "http://mpagasas.di.uoa.gr:19080/login-service/userInfo",
|
||||
logoutUrl: "http://mpagasas.di.uoa.gr:19080/login-service/openid_logout",
|
||||
|
||||
cookieDomain: ".di.uoa.gr",
|
||||
|
||||
|
@ -123,7 +130,3 @@ let props: EnvProperties = {
|
|||
reCaptchaSiteKey: null,
|
||||
footerGrantText : "This OpenAIRE gateway is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452"
|
||||
};
|
||||
|
||||
export let properties: EnvProperties = {
|
||||
...props, ...common, ...commonDev
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<meta name="description"
|
||||
content="openAIRE aggregator portal, open access, publications, research results, European commission, search"/>
|
||||
|
||||
<meta property="og:description" content="openAIRE aggregator portal, open access, publications, research results, European commission, search"/>
|
||||
<meta property="og:description" content="openAIRE explore, open access, publications, research results, European commission, search"/>
|
||||
<meta property="og:title" content="OpenAIRE"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:url" content="https://canada.explore.openaire.eu"/>
|
||||
|
|
Loading…
Reference in New Issue