Code Monkey home page Code Monkey logo

garradin_ynh's Introduction

Garradin for YunoHost

Integration level Working status Maintenance status

Install Garradin with YunoHost

Lire ce readme en français.

This package allows you to install Garradin quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

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

Shipped version: 1.2.6~ynh1

Demo: https://paheko.cloud/essai/

Screenshots

Screenshot of Garradin

Disclaimers / important information

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.

You can now upgrade Garradin with Paheko ! Don't stay with this repository, it will be no more supported.

Read the instructions how to migrate your application Garradin to Paheko:

Migrate from Garradin

Process the migration from Garradin to Paheko. For that, you will have to upgrade your Garradin application with this repository. This can only be done from the command-line interface - e.g. through SSH. Once you're connected, you simply have to execute the following:

sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/paheko_ynh/tree/garradin-migration --debug

The --debug option will let you see the full output. If you encounter any issue, please report it aand paste the logs.

Important: After the migration, you'll have to wait a couple of minutes (at most 3 minutes) before you can start using Paheko.

Once the migration is done, you should then upgrade to new release of Paheko.

sudo yunohost app upgrade paheko

🔴 Antifeatures

  • Upstream not maintained: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.

  • Replaced by another app: Was replaced by another app. Please refer to the README.

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/garradin_ynh/tree/testing --debug
or
sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/garradin_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

garradin_ynh's People

Contributors

alexaubin avatar benoitcier avatar ericgaspar avatar fflorent avatar frju365 avatar rodinux avatar scith avatar tituspijean avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

garradin_ynh's Issues

can't install on ynh.V3

2018-07-13 00:44:02,648 INFO     moulinette.actionsmap process - processing action [14847.1]: yunohost.app.setting with args={'app': 'garradin', 'delete': False, 'value': None, 'key': 'fpm_service'}
2018-07-13 00:44:02,650 DEBUG    yunohost.app app_setting - [14847.1] cannot get app setting 'fpm_service' for 'garradin'
2018-07-13 00:44:02,650 DEBUG    moulinette.actionsmap process - action [14847.1] executed in 0.002s
2018-07-13 00:44:02,677 WARNING  yunohost.hook <lambda> - [9560.1] /etc/php5/fpm/pool.d/garradin.conf wasn't deleted because it doesn't exist.
2018-07-13 00:44:02,677 DEBUG    yunohost.hook <lambda> - [9560.1] + local fpm_service=
2018-07-13 00:44:02,678 DEBUG    yunohost.hook <lambda> - [9560.1] + '[' -z '' ']'
2018-07-13 00:44:02,678 DEBUG    yunohost.hook <lambda> - [9560.1] + fpm_config_dir=/etc/php5/fpm
2018-07-13 00:44:02,678 DEBUG    yunohost.hook <lambda> - [9560.1] + fpm_service=php5-fpm
2018-07-13 00:44:02,679 DEBUG    yunohost.hook <lambda> - [9560.1] + ynh_secure_remove /etc/php5/fpm/pool.d/garradin.conf
2018-07-13 00:44:02,679 DEBUG    yunohost.hook <lambda> - [9560.1] + local path_to_remove=/etc/php5/fpm/pool.d/garradin.conf

i think the app sould be upgraded to work with php7 , no ?


and it broke my php7 :/ 

-- L'unité (unit) php7.0-fpm.service a commencé à démarrer.
juil. 13 01:03:08 krashboyz php-fpm7.0[18452]: [13-Jul-2018 01:03:08] ERROR: [pool garradin] the chdir path '/var/www/garradin' does not exist or is not a directory
juil. 13 01:03:08 krashboyz php-fpm7.0[18452]: [13-Jul-2018 01:03:08] ERROR: failed to post process the configuration
juil. 13 01:03:08 krashboyz php-fpm7.0[18452]: [13-Jul-2018 01:03:08] ERROR: FPM initialization failed
juil. 13 01:03:08 krashboyz systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
juil. 13 01:03:08 krashboyz systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
-- Subject: L'unité (unit) php7.0-fpm.service a échoué
-- Defined-By: systemd



#yunohost -v
yunohost: 
  repo: stable
  version: 3.0.0.1
yunohost-admin: 
  repo: stable
  version: 3.0.0
moulinette: 
  repo: stable
  version: 3.0.0
ssowat: 
  repo: stable
  version: 3.0.0

to resolve the php7 restart :

rm /etc/php/7.0/fpm/pool.d/garradin.conf
service php7.0-fpm start

Installation failed

The operation 'Install the 'garradin' app' could not be completed

Context

  • Hardware: Public Cloud bought online
  • YunoHost version: 4.3.4.1
  • I have access to my server: *Through SSH *
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 1.1.12~ynh1 stable

Steps to reproduce

sudo yunohost app install garradin
```

Expected behavior

*Simply Garradin installed *

Logs

https://paste.yunohost.org/raw/yelebihaxe

post install KO

Salut frju365 ,

l'install se passe bien, jusqu'à ce que je clique sur la tuile vers Garradin :
https://share.riseup.net/#Z8E_Q0635uXt6NDQFo48jg

même résultat que ce soit en cli, via la webadmin, ou une install sur un autre dns,

la version précédente de Garradin fonctionnait (je n'y étais pas retourné depuis des lustres, et je ne me souviens pas si j'avais fait une désinstall depuis :/ )

yunohost -v

yunohost: 2.7.2
yunohost-admin: 2.7.2
moulinette: 2.7.2
ssowat: 2.7.2

more /etc/debian_version

8.9

à noter que mon /var/lib/php5/sessions était blindé
je l'ai del puis recréé , il est et reste vide désormais (?) mais aucun changement sur le comportement de Garradin

Merci pour ton aide ;)

Commit is not up to date in the community.json

Hellow,

I found that the commit on community.json is outdated, hence people installing the app via this list won't benefit from the last upgrades / improvements ...

Please create a PR to update it on the list (I do not maintain this app so it's not relevant for me to do it and it might be refused...)

ProTip™ : possibly you can now set the commit to 'HEAD', to use the latest commit of master automatically in the future. If you do this, it is strongly recommended to use a 'testing' branch for changes that are not deemed stable yet.

Mise à jour automatisée

Hello,

je signale que depuis la 1.1.15 l'utilisateur peut faire une mise à jour de l'appli depuis l'admin web directement.

si vous ne voulez pas permettre cela, mais forcer les mises à jour en utilisant le paquet yunohost (peut-être plus simple pour vous), il faudra rajouter dans votre config.local.php :

const ENABLE_UPGRADES = false;

À vous de voir si vous voulez le laisser activé ou non :)

[update] KO

hi all,
i just tried to update garradin, and there is an error :

2019-01-29 16:32:35,449: WARNING - Corrupt source
2019-01-29 16:32:35,450: DEBUG - + echo 'c3ba4f83aba2579968080757942bb7aa6b54a603c3b162a2cb4ccdbc8ca5c81b app.tar.bz2'
2019-01-29 16:32:35,450: WARNING - !!
2019-01-29 16:32:35,450: DEBUG - + sha256sum -c --status
2019-01-29 16:32:35,450: WARNING -   garradin's script has encountered an error. Its execution was cancelled.
2019-01-29 16:32:35,450: DEBUG - + ynh_die 'Corrupt source'
2019-01-29 16:32:35,451: WARNING - !!
2019-01-29 16:32:35,451: DEBUG - + echo 'Corrupt source'
2019-01-29 16:32:35,451: WARNING - Upgrade failed.
2019-01-29 16:32:35,451: DEBUG - + exit 1

thx for your work && your help ;)

complete log : https://paste.yunohost.org/raw/yanirecola

# yunohost -v
yunohost: 
  repo: stable
  version: 3.3.4
yunohost-admin: 
  repo: stable
  version: 3.3.1
moulinette: 
  repo: stable
  version: 3.3.1
ssowat: 
  repo: stable
  version: 3.3.2

Problème upload images ou fichiers du wiki

L'envoi d'images ou de fichiers dans le Wiki de Garradin fonctionne, mais les fichiers ne sont ensuite pas atteignables.
Cas d'un installation de Garradin via Yunohost_apps dans un sous-domaine.

Exemple ici pour le wiki public : https://asso.servaf.net/
LEs documents et images
404 Not Found
nginx

En fait, les images ou documents ne sont pas uploadés correctement. Leprocessus ne génère pas d'erreur (l'objet est référencé), mais l'upload du fichier ne fonctionne pas.

Merci.

Extensions on Garradin_ynh (Tāima and Réservations)

Hi, thank you for Garradin on YNH.

I noted that there is no "Extensions à installer" with Garradin_ynh. Only the "Bannière de bienvenue" Extension available.

With Garradin online (1.0.5 [2593b9def3]), there are two extensions available :

  • Réservations (version 0.5.1)
  • Tāima - Suivi du temps (version 0.1) (useful for the "valorisation du bénévolat")

Thank you for any comment on how to get Tāima with Garradin_ynh.

Thank you again, José

This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated...

Bonjour,

Voici le message affiché à installation

/!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.
Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Installing the app 'garradin'…

Cordialement

Use WAL as SQLite journal mode

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';

(wtf) Your version of Garradin is too old to be updated.

Bonjour,

comme je ne sais pas si vous parlez français, j'ai traduis plus bas en anglais.

Pour la seconde fois en 2 ans, il apparaît ce message lorsque je lance Garradin depuis le sso de Yunohost :
issue4
La première fois j'ai réinstallé mais là je voudrais comprendre.

Que dois-je modifier pour que ça fonctionne correctement ?

Ci dessous le log de mise à jour.
enugiziyid.txt

Merci du temps que vous consacrerez pour me répondre.

Hello,

For the second time in 2 years, this message appears "Your version of Garradin is too old to be updated. Upgrade to Garradin 0.9.8 before upgrading to this version" when I launch Garradin from Yunohost sso

Yunohost is up to date and Garradin in version 1.0.6~ynh1 as in the log.

The first time I reinstalled but now I would like to understand. What do I have to change for it to work properly?

Below is the update log.
enugiziyid.txt

Thank you for the time you will take to answer me.

Upgrade pass but then redirects to install.php page

Hello,

current_version: 1.0.7 ~ ynh2
id: garradin__2
label: Garradin
new_version: 1.1.10 ~ ynh1

the upgrade pass but after upgrade the admin page redirect to the install.php page.
I'm not sure it's the same issue as the other opened

url path issue when saving new accounting entry

I installed garradin_ynh in the subpath myserver.tld//garradin of our root domain, following the English README. Turns out that we are now having an issue when trying to save a new accounting entry: we get a "this page does not exist" error trying to access
https://myserver.tld/garradin/garradin/admin/acc/transaction/new.php?ok=134
where the subpath garradin is doubled. If I remove manually the doubled /garradin in the path, there is no longer an error and the entry is saved.

I notice that the French version of the README_fr, warns one should use a subdomain of the root domain (i.e. unlike the English version, which mentions one should use a subpath).
N'installez pas cette apllication à la racine du domaine par défaut sans ajouter un sous-domaine. Sinon la page de connexion SSO sera remplacée par la page d'accueil de Garradin.
but the wording is ambiguous and the error we observe is not the issue that is described in the README.

Is the cause of the trouble not using a dedicated subdomain (e.g. garradin.myserver.tld) ? If so the English documentation should be fixed, and I guess the manifest should be changed so that it is made clear it just won't work in a subpath.

Otherwise, if the issue is not about using a subpath, is there something I can do to fix the issue?

Suggestion: Use official release API to always get the latest stable release

Hello,

I recommend you use the official JSON API to always download the latest stable version: https://fossil.kd2.org/garradin/juvlist

This lists all current releases. You only need to extract the version from the file name and find out the latest one. Here is a quick and dirty example in JS:


fetch('./juvlist').then((r) => {
	r.json().then((list) => {
		let last;
		let selected;

		list.forEach((file) => {
			var v = file.name.match(/^garradin-(.*)\.tar\.bz2/);

			if (!v) {
				return;
			}

			if (!last || isNewerVersion(last, v[1])) {
				last = v[1];
				selected = file;
			}
		});

                console.log(`Latest release is ${last} available at: https://fossil.kd2.org/uv/${selected.name}`);
	});
});

That way you wouldn't have to update your package to change the URL and hash every time.

Sites sous garradin HS depuis MAJ Yunohost

Hi !
Since the last Yuno update, all my garradin websites are reachables, but when I clic on a link,a file is downloaded .... nothing more
the file :

<?php
namespace Garradin;
require __DIR__ . '/_inc.php';
if (Config::getInstance()->get('desactiver_site'))
{
	Utils::redirect(ADMIN_URL);
}
$squelette = new Squelette;
$squelette->dispatchURI();

Have you an idea ? it's strange ... before, everything worked fine !

Thanks a lot / Merci.

Impossible to save a search in Comptabilité

Hi, thank you for Garradin on YNH.

In Comptabité > Recherche > 9 écritures trouvées pour cette recherche > "Enregistrer cette recherche" Button,

Instead of saving your search, it opens the YNH main page!

This do not open the screen for saving your search.

Even if, from the YNH main page, you try to go back to Garradin, you return to your result, not the page for saving your search.

Thank you for your feedback.

Note : I cannot open Garradin directly by the Garradin administration page. It automatically open the YNH SSO page.

Thank you for your feedback. jrd10

Important: Upgrade and restoration fails

Describe the bug

If I upgrade Garradin to version 1.1, the upgrade fails and so does the restoration.

Context

  • Hardware: Old laptop or computer
  • YunoHost version: 4.2.8.3
  • I have access to my server: Through SSH and through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
    • If yes, please explain:
  • Using, or trying to install package version/branch:
  • If upgrading, current package version: 1.0.7~ynh2

Steps to reproduce

  1. Install Garradin 1.0.7~ynh2 (sudo yunohost app install -f https://github.com/YunoHost-Apps/garradin_ynh/tree/3b0d2ada57933bf325612446cbe338eb8cbcf115 and validate the default values for the questions of the manifest)
  2. Upgrade Garradin without upgrading php packages with apt (sudo yunohost app fetchlist; sudo yunohost app upgrade garradin)

Expected behavior

  1. The upgrade should work
  2. If not, the restoration should work

Logs

https://paste.yunohost.org/raw/igebetahij

Workaround

Connect to the server and run:

$ sudo apt remove garradin-ynh-deps
$ sudo yunohost backup restore garradin-pre-upgrade1 --apps
$ sudo apt update && sudo apt full-upgrade
$ sudo yunohost app upgrade garradin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.