1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

Merge pull request #98 from YunoHost-Apps/fix-update-1.2.4

Fix update 1.2.4
This commit is contained in:
Robles Rodolphe 2023-02-14 23:47:21 +01:00 committed by GitHub
commit dbdc4c3ce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 88 additions and 22 deletions

View file

@ -16,8 +16,8 @@
# Fetching information
current_version=$(cat manifest.json | jq -j '.version|split("~")[0]')
# Some jq magic is needed, because the latest upstream release is not always the latest version (e.g. security patches for older versions)
file=$(curl --silent "https://fossil.kd2.org/garradin/juvlist" | jq -r '.[] | select( .name | contains("garradin") and contains(".tar.gz") ) | select( .name | contains(".deb") or contains(".asc") or contains("beta") or contains("alpha") | not ) | .name' | sort -V | tail -1)
assets="https://fossil.kd2.org/garradin/uv/$file"
file=$(curl --silent "https://fossil.kd2.org/paheko/juvlist" | jq -r '.[] | select( .name | contains("paheko") and contains(".tar.gz") ) | select( .name | contains(".deb") or contains(".asc") or contains("beta") or contains("alpha") | not ) | .name' | sort -V | tail -1)
assets="https://fossil.kd2.org/paheko/uv/$file"
version=$(echo ${file/.tar.gz} | cut -d "-" -f2)

View file

@ -18,9 +18,23 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Garradin (word meaning money in an aboriginal dialect of northern Australia, pronounced "gar-a-dine" em) is software for associative management. It is the tool of choice for managing an association, a sports club, an NGO, etc. It is designed to meet the needs of a small to medium-sized structure: management of members, accounting, website, note-taking in meetings, archiving and sharing of the association's operating documents, discussion between members, etc. etc. .
**Shipped version:** 1.2.3~ynh1
## Garradin becomes Paheko!
### Why change your name?
**Demo:** https://garradin.eu/essai/
It appeared that the pronunciation of "Garradin" in French is sometimes a bit complicated, as is its spelling.
There is already a commercial software called "Garradin" in Australia, which does finance for large groups. For the moment this was not a problem because our association management solution was only available in French and until then did not have much scope. But we would like to be able to offer the software in other languages in the years to come, and as Garradin (the French project) is starting to be quite well known, it seems necessary to limit the risk of confusion in the future with this commercial solution.
### What will be the new name?
We chose the name Paheko, a word from the Māori language meaning "to cooperate", illustrating the purpose of the software: to improve together the daily management of an association:)
![Logo Paheko](https://master.garradin.eu/garradin-devient-paheko/logo_v3_small-fs8.png)
**Shipped version:** 1.2.4~ynh1
**Demo:** https://paheko.cloud/essai/
## Screenshots
@ -44,9 +58,9 @@ https://github.com/YunoHost-Apps/paheko_ynh/
## Documentation and resources
* Official app website: <http://garradin.eu>
* Official admin documentation: <https://fossil.kd2.org/garradin/wiki?name=Documentation>
* Upstream app code repository: <https://fossil.kd2.org/garradin/dir?ci=tip>
* Official app website: <https://paheko.cloud>
* Official admin documentation: <https://fossil.kd2.org/paheko/wiki?name=Documentation>
* Upstream app code repository: <https://fossil.kd2.org/paheko/dir?ci=tip>
* YunoHost documentation for this app: <https://yunohost.org/app_garradin>
* Report a bug: <https://github.com/YunoHost-Apps/garradin_ynh/issues>

View file

@ -18,9 +18,23 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Garradin (mot signifiant argent dans un dialecte aborigène du nord de l'Australie, prononcé « gar-a-dine »em) est un logiciel de gestion associative. Il est l'outil de prédilection pour gérer une association, un club sportif, une ONG, etc. Il est conçu pour répondre aux besoins d'une structure de petite à moyenne taille : gestion des adhérents, comptabilité, site web, prise de notes en réunion, archivage et partage des documents de fonctionnement de l'association, discussion entre adhérents, etc etc.
**Version incluse :** 1.2.3~ynh1
## Garradin devient Paheko !
### Pourquoi changer de nom ?
**Démo :** https://garradin.eu/essai/
Il est apparu que la prononciation de "Garradin" en français est parfois un peu compliquée, de même que son orthographe.
Il existe déjà un logiciel commercial nommé "Garradin" en Australie, qui fait de la finance pour de grands groupes. Pour le moment cela ne posait pas de problème car notre solution de gestion d'association n'était disponible qu'en français et jusque là n'avait pas beaucoup de portée. Mais on aimerait bien pouvoir proposer le logiciel dans d'autres langues dans les années à venir, et comme Garradin (le projet français) commence à être assez connu, il semble nécessaire de limiter les risques de confusion à l'avenir avec cette solution commerciale.
### Quel sera le nouveau nom ?
Nous avons choisi le nom Paheko, un mot de la langue Māori qui signifie « coopérer », illustrant le but du logiciel : améliorer ensemble le quotidien de la gestion d'une association :)
![Logo Paheko](https://master.garradin.eu/garradin-devient-paheko/logo_v3_small-fs8.png)
**Version incluse :** 1.2.4~ynh1
**Démo :** https://paheko.cloud/essai/
## Captures décran
@ -42,9 +56,9 @@ https://github.com/YunoHost-Apps/paheko_ynh/
## Documentations et ressources
* Site officiel de lapp : <http://garradin.eu>
* Documentation officielle de ladmin : <https://fossil.kd2.org/garradin/wiki?name=Documentation>
* Dépôt de code officiel de lapp : <https://fossil.kd2.org/garradin/dir?ci=tip>
* Site officiel de lapp : <https://paheko.cloud>
* Documentation officielle de ladmin : <https://fossil.kd2.org/paheko/wiki?name=Documentation>
* Dépôt de code officiel de lapp : <https://fossil.kd2.org/paheko/dir?ci=tip>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_garradin>
* Signaler un bug : <https://github.com/YunoHost-Apps/garradin_ynh/issues>

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.2.3.tar.gz
SOURCE_SUM=23a4ca4127a1dbf532d76b2f9c12f8eb80cb3a591def9207788213f327da32be
SOURCE_URL=https://fossil.kd2.org/paheko/uv/paheko-1.2.4.tar.gz
SOURCE_SUM=50f0bfe9c05d2ee1664cbb0440602bdca576f23144e85fa5f9e27feeff36494c
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -53,3 +53,13 @@ const WWW_URI = '__PATH__/';
const ENABLE_UPGRADES = false;
/**
* Since 1.2.4, I downgraded the default SQLite journal mode to TRUNCATE instead of WAL because
* it might have been a cause of corruption on some hosting providers using NFS.
*
* I don't think that Yunohost can use NFS, so you should set it back to WAL
* by adding the following line to config.local.php when installing:
*/
const SQLITE_JOURNAL_MODE = 'WAL';

View file

@ -1 +1,14 @@
Garradin (word meaning money in an aboriginal dialect of northern Australia, pronounced "gar-a-dine" em) is software for associative management. It is the tool of choice for managing an association, a sports club, an NGO, etc. It is designed to meet the needs of a small to medium-sized structure: management of members, accounting, website, note-taking in meetings, archiving and sharing of the association's operating documents, discussion between members, etc. etc. .
## Garradin becomes Paheko!
### Why change your name?
It appeared that the pronunciation of "Garradin" in French is sometimes a bit complicated, as is its spelling.
There is already a commercial software called "Garradin" in Australia, which does finance for large groups. For the moment this was not a problem because our association management solution was only available in French and until then did not have much scope. But we would like to be able to offer the software in other languages in the years to come, and as Garradin (the French project) is starting to be quite well known, it seems necessary to limit the risk of confusion in the future with this commercial solution.
### What will be the new name?
We chose the name Paheko, a word from the Māori language meaning "to cooperate", illustrating the purpose of the software: to improve together the daily management of an association:)
![Logo Paheko](https://master.garradin.eu/garradin-devient-paheko/logo_v3_small-fs8.png)

View file

@ -1 +1,14 @@
Garradin (mot signifiant argent dans un dialecte aborigène du nord de l'Australie, prononcé « gar-a-dine »em) est un logiciel de gestion associative. Il est l'outil de prédilection pour gérer une association, un club sportif, une ONG, etc. Il est conçu pour répondre aux besoins d'une structure de petite à moyenne taille : gestion des adhérents, comptabilité, site web, prise de notes en réunion, archivage et partage des documents de fonctionnement de l'association, discussion entre adhérents, etc etc.
## Garradin devient Paheko !
### Pourquoi changer de nom ?
Il est apparu que la prononciation de "Garradin" en français est parfois un peu compliquée, de même que son orthographe.
Il existe déjà un logiciel commercial nommé "Garradin" en Australie, qui fait de la finance pour de grands groupes. Pour le moment cela ne posait pas de problème car notre solution de gestion d'association n'était disponible qu'en français et jusque là n'avait pas beaucoup de portée. Mais on aimerait bien pouvoir proposer le logiciel dans d'autres langues dans les années à venir, et comme Garradin (le projet français) commence à être assez connu, il semble nécessaire de limiter les risques de confusion à l'avenir avec cette solution commerciale.
### Quel sera le nouveau nom ?
Nous avons choisi le nom Paheko, un mot de la langue Māori qui signifie « coopérer », illustrant le but du logiciel : améliorer ensemble le quotidien de la gestion d'une association :)
![Logo Paheko](https://master.garradin.eu/garradin-devient-paheko/logo_v3_small-fs8.png)

View file

@ -6,14 +6,14 @@
"en": "Software to manage association",
"fr": "Logiciel libre de gestion d'association"
},
"version": "1.2.3~ynh1",
"url": "http://garradin.eu",
"version": "1.2.4~ynh1",
"url": "https://paheko.cloud",
"upstream": {
"license": "GPL-3.0-or-later",
"website": "http://garradin.eu",
"demo": "https://garradin.eu/essai/",
"admindoc": "https://fossil.kd2.org/garradin/wiki?name=Documentation",
"code": "https://fossil.kd2.org/garradin/dir?ci=tip"
"website": "https://paheko.cloud",
"demo": "https://paheko.cloud/essai/",
"admindoc": "https://fossil.kd2.org/paheko/wiki?name=Documentation",
"code": "https://fossil.kd2.org/paheko/dir?ci=tip"
},
"license": "GPL-3.0-or-later",
"maintainer": {

View file

@ -167,6 +167,8 @@ chmod 660 "$final_path/config.local.user.php"
ynh_script_progression --message="Finalise upgrade" --weight=1
ynh_local_curl "/admin/index.php"
sleep 5
ynh_local_curl "/index.php"
#=================================================
# GENERIC FINALIZATION