From 85a89222b3ffcd382d568550ab613a67fbcdb285 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Wed, 25 Aug 2021 10:48:24 +0200 Subject: [PATCH 1/3] Add proper citation file --- CITATION.cff | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..81aaac3d --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,24 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +preferred-citation: + type: article + authors: + - family-names: "Verschaffelt" + given-names: "Pieter" + - family-names: "Van Den Bossche" + given-names: "Tim" + - family-names: "Martens" + given-names: "Lennart" + - family-names: "Dawyndt" + given-names: "Peter" + - family-names: "Mesuere" + given-names: "Bart" + orcid: "https://orcid.org/0000-0003-0610-3441" + doi: "10.1021/acs.jproteome.0c00855" + journal: "Journal of Proteome Research" + start: 2005 + end: 2009 + title: "Unipept Desktop: A Faster, More Powerful Metaproteomics Results Analysis Tool" + issue: 4 + volume: 20 + year: 2021 From 32ff3b91cd5b1ec5fe964027b72622f9a3ecd8d3 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Tue, 30 Nov 2021 15:34:38 +0100 Subject: [PATCH 2/3] Update BASE url --- src/App.vue | 3 +++ src/logic/configuration/ConfigurationManager.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7b816a9d..93a3f3da 100644 --- a/src/App.vue +++ b/src/App.vue @@ -194,6 +194,9 @@ export default class App extends Vue implements ErrorListener { try { let config: Configuration = await configurationManager.readConfiguration(); NetworkConfiguration.BASE_URL = config.apiSource; + if (NetworkConfiguration.BASE_URL === "https://unipept.ugent.be") { + NetworkConfiguration.BASE_URL = "https://api.unipept.ugent.be"; + } NetworkConfiguration.PARALLEL_API_REQUESTS = config.maxParallelRequests; QueueManager.initializeQueue(config.maxLongRunningTasks); } catch (err) { diff --git a/src/logic/configuration/ConfigurationManager.ts b/src/logic/configuration/ConfigurationManager.ts index 03aac886..d644a29d 100644 --- a/src/logic/configuration/ConfigurationManager.ts +++ b/src/logic/configuration/ConfigurationManager.ts @@ -11,10 +11,10 @@ export default class ConfigurationManager { // This is the default configuration object that's used as a fallback for inconsistent/inavailable configuration // values. private static readonly DEFAULT_CONFIG: Configuration = { - apiSource: "https://unipept.ugent.be", + apiSource: "https://api.unipept.ugent.be", useNativeTitlebar: false, maxLongRunningTasks: 8, - maxParallelRequests: 5 + maxParallelRequests: 2 }; // Reference to the last configuration that was returned by this manager. Can be used to update the current // configuration and write the changes to disk (without having to read it again). From f249642ba6767443ea1ae8428756f769cb632ab3 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Wed, 1 Dec 2021 10:26:33 +0100 Subject: [PATCH 3/3] Update base URL to api.unipept --- package-lock.json | 4 ++-- src/App.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d587b4f7..5bcd371f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "unipept-desktop", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "1.2.0", + "version": "1.2.1", "hasInstallScript": true, "dependencies": { "@babel/preset-env": "^7.6.0", diff --git a/src/App.vue b/src/App.vue index 93a3f3da..533ecdee 100644 --- a/src/App.vue +++ b/src/App.vue @@ -194,6 +194,7 @@ export default class App extends Vue implements ErrorListener { try { let config: Configuration = await configurationManager.readConfiguration(); NetworkConfiguration.BASE_URL = config.apiSource; + // Make sure that the old Unipept URL is no longer being used... if (NetworkConfiguration.BASE_URL === "https://unipept.ugent.be") { NetworkConfiguration.BASE_URL = "https://api.unipept.ugent.be"; }