diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index fb72ba0..a56d7cb 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch the source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Run the updater script @@ -33,7 +33,7 @@ jobs: - name: Create Pull Request id: cpr if: ${{ env.PROCEED == 'true' }} - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update to version ${{ env.VERSION }} diff --git a/README.md b/README.md index 84e6c86..1efcade 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ It shall NOT be edited by hand. # Kimai2 for YunoHost -[![Integration level](https://dash.yunohost.org/integration/kimai2.svg)](https://dash.yunohost.org/appci/app/kimai2) ![Working status](https://ci-apps.yunohost.org/ci/badges/kimai2.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/kimai2.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/kimai2.svg)](https://dash.yunohost.org/appci/app/kimai2) ![Working status](https://ci-apps.yunohost.org/ci/badges/kimai2.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/kimai2.maintain.svg) + [![Install Kimai2 with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kimai2) *[Lire ce readme en français.](./README_fr.md)* diff --git a/README_fr.md b/README_fr.md index e45b084..2308bc4 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,15 +5,16 @@ It shall NOT be edited by hand. # Kimai2 pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/kimai2.svg)](https://dash.yunohost.org/appci/app/kimai2) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/kimai2.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/kimai2.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/kimai2.svg)](https://dash.yunohost.org/appci/app/kimai2) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/kimai2.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/kimai2.maintain.svg) + [![Installer Kimai2 avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kimai2) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d'installer Kimai2 rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* +> *Ce package vous permet d’installer Kimai2 rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Vue d'ensemble +## Vue d’ensemble This is the reloaded version of the open source timetracker Kimai. Right now its in an early development phase, its usable but some advanced features from Kimai v1 are missing by now. @@ -24,9 +25,9 @@ Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic i **Démo :** https://www.kimai.org/demo/ -## Captures d'écran +## Captures d’écran -![Capture d'écran de Kimai2](./doc/screenshots/screenshot1.png) +![Capture d’écran de Kimai2](./doc/screenshots/screenshot1.png) ## Avertissements / informations importantes @@ -47,9 +48,9 @@ Those roles are directly managed using YunoHost permission system. User choosen ## Documentations et ressources -* Site officiel de l'app : -* Documentation officielle de l'admin : -* Dépôt de code officiel de l'app : +* Site officiel de l’app : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug : @@ -65,4 +66,4 @@ ou sudo yunohost app upgrade kimai2 -u https://github.com/YunoHost-Apps/kimai2_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file diff --git a/check_process b/check_process index c8d5cc1..12002d4 100644 --- a/check_process +++ b/check_process @@ -13,12 +13,8 @@ setup_private=1 setup_public=1 upgrade=1 - # 1.11.1~ynh1 - upgrade=0 from_commit=26829daa0113b88e45d86ae6c6611784f51a41d2 - # 1.17.1~ynh1 - upgrade=1 from_commit=6b3ab38a5bf6aa48aaef23254381e8063839598b - # 1.20.2~ynh1 - upgrade=1 from_commit=ef7f7d388e1e2abbe7789b9a9e93230b0f14262a + # 1.30.0~ynh1 + upgrade=1 from_commit=d073ffb8db7e416f0f1d0f645c6e77a9f11e10b9 backup_restore=1 multi_instance=1 port_already_use=0 diff --git a/manifest.json b/manifest.json index c6d0f5f..e1f409f 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "kimai2", "packaging_format": 1, "description": { - "en": "A multi-user application for time-tracking with support for mobile devices", - "fr": "Une application web de suivi du temps, multi-utilisateurs, et compatible avec les appareils mobiles", + "en": "Multi-user application for time-tracking with support for mobile devices", + "fr": "Application multi-utilisateurs de suivi du temps compatible avec les appareils mobiles", "de": "Eine web-basierte Mehrbenutzer-Zeiterfassung mit Rechnungsdruck mit Unterstützung für mobile Endgeräte", "cs": "Víceuživatelská webová aplikace pro sledování času s podporou mobilních zařízení" }, @@ -52,7 +52,7 @@ "name": "registration", "type": "boolean", "ask": { - "en": "Are new users allowed to register ?", + "en": "Are new users allowed to register?", "fr": "Est-ce que de nouveaux utilisateurs peuvent s'y inscrire ?", "de": "Sollen sich neue Benutzer selber registrieren können ?", "cs": "Mohou se noví uživatelé registrovat?" diff --git a/scripts/install b/scripts/install index 386406d..7b6c6bd 100755 --- a/scripts/install +++ b/scripts/install @@ -160,14 +160,10 @@ chown $app:$app "$final_path/.env" #================================================= ynh_script_progression --message="Installing Kimai2..." --weight=1 -update-alternatives --set php /usr/bin/php$phpversion - pushd "$final_path" ynh_exec_as $app php$phpversion bin/console kimai:install -n popd -update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION} - #================================================= # GENERIC FINALIZATION #=================================================