diff --git a/CITATIONS.cff b/CITATIONS.cff index faae0eaa..27bd44da 100644 --- a/CITATIONS.cff +++ b/CITATIONS.cff @@ -1,8 +1,10 @@ # YAML 1.2 --- -cff-version: "1.1.0" +cff-version: "1.2.0" message: "If you use this software, or part of this one, please cite it using these metadata." -doi: 10.5281/zenodo.10546995 +identifiers: + - type: doi + - value: '10.5281/zenodo.10546995' title: "Remède - French open source dictionary" authors: - @@ -11,7 +13,8 @@ authors: orcid: https://orcid.org/0009-0005-8995-6918 email: software@camarm.dev abstract: "Remède is a french dictionary database, API and mobile application. It's an open source alternative to Antidote." -date-released: 2023-12-23 repository-code: "https://github.com/camarm-dev/remede" -license: CeCill V2.1 -... \ No newline at end of file +license: CECILL-2.1 +version: 1.1.5 +date-released: '2024-03-31' +... diff --git a/README.md b/README.md index 43ba82c7..23951d19 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ Remède is a dictionary, which can replace any proprietary dictionary, with thes - [Documentation](#documentation) - [Screenshots](#screenshots) -## Current: 1.1.4 — Goofy Jellyfish, revision 4 +## Current: 1.1.5 — Goofy Jellyfish, revision 5 -La version `1.1.4`, nom de code `Goofy Jellyfish` inclue les nouvelles fonctionnalités suivantes : +La version `1.1.5`, nom de code `Goofy Jellyfish` inclue les nouvelles fonctionnalités suivantes : - [x] **Examples** sur les définitions - [x] **Nouvelle interface** sur la page de définitions - [x] Possibilité de télécharger une base de donnée **light**. diff --git a/app/package.json b/app/package.json index e0fbec24..dd47b3bd 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "remede", "private": true, - "version": "1.1.4", + "version": "1.1.5", "type": "module", "license": "Cecill V2.1", "author": { diff --git a/app/src/functions/database.ts b/app/src/functions/database.ts index 0ca31c8c..4318bb04 100644 --- a/app/src/functions/database.ts +++ b/app/src/functions/database.ts @@ -36,7 +36,7 @@ class RemedeDatabase { } async getWord(word: string) { - const statement = `SELECT document FROM dictionary WHERE word = '${word}'` + const statement = `SELECT document FROM dictionary WHERE word = '${word.replaceAll("'", "''")}'` const response = await this.query(statement) return JSON.parse(response[0]) } diff --git a/app/src/views/HomePage.vue b/app/src/views/HomePage.vue index 409d1d18..18ffd35e 100644 --- a/app/src/views/HomePage.vue +++ b/app/src/views/HomePage.vue @@ -90,11 +90,12 @@

Notes de changement

- La version sur laquelle vous naviguez est la version 1.1.4, nom de code Goofy Jellyfish, revision 4.

+ La version sur laquelle vous naviguez est la version 1.1.5, nom de code Goofy Jellyfish, revision 5.

Elle apporte les nouveautés et patch suivants:

diff --git a/builds/1.1.5/remede.apk b/builds/1.1.5/remede.apk new file mode 100644 index 00000000..795d8c5d Binary files /dev/null and b/builds/1.1.5/remede.apk differ diff --git a/builds/latest/remede.apk b/builds/latest/remede.apk index 9f67c002..795d8c5d 100644 Binary files a/builds/latest/remede.apk and b/builds/latest/remede.apk differ diff --git a/server.py b/server.py index dffb9b65..7b8afb2c 100644 --- a/server.py +++ b/server.py @@ -149,7 +149,7 @@ def get_word_document(word: str): """ Renvoie le document Remède du mot `word` """ - return in_json(fetch_remede_doc(word.lower())) + return in_json(fetch_remede_doc(word.replace("'", "''"))) @app.get('/random')