Skip to content

Commit

Permalink
Merge pull request #127 from camarm-dev/dev
Browse files Browse the repository at this point in the history
Version 1.1.5
  • Loading branch information
camarm-dev authored Mar 31, 2024
2 parents 5f10f9e + 2bc00c8 commit 6486e46
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 11 deletions.
13 changes: 8 additions & 5 deletions CITATIONS.cff
Original file line number Diff line number Diff line change
@@ -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:
-
Expand All @@ -11,7 +13,8 @@ authors:
orcid: https://orcid.org/0009-0005-8995-6918
email: [email protected]
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
...
license: CECILL-2.1
version: 1.1.5
date-released: '2024-03-31'
...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "remede",
"private": true,
"version": "1.1.4",
"version": "1.1.5",
"type": "module",
"license": "Cecill V2.1",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion app/src/functions/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down
3 changes: 2 additions & 1 deletion app/src/views/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@
<ion-content class="ion-padding">
<h1 class="remede-font">Notes de changement</h1>
<p>
La version sur laquelle vous naviguez est la version <code>1.1.4</code>, nom de code <i>Goofy Jellyfish, revision 4</i>.<br><br>
La version sur laquelle vous naviguez est la version <code>1.1.5</code>, nom de code <i>Goofy Jellyfish, revision 5</i>.<br><br>
Elle apporte les nouveautés et patch suivants:
<ul>
<li>Résolution de problèmes à propos de la recherche.</li>
<li>Performances de recherche améliorées grâce à la création d'un index.</li>
<li>Patch du problème lié aux page des mots contenant des caractères spéciaux.</li>
</ul>
</p>
</ion-content>
Expand Down
Binary file added builds/1.1.5/remede.apk
Binary file not shown.
Binary file modified builds/latest/remede.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 6486e46

Please sign in to comment.