1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00

Merge pull request #74 from YunoHost-Apps/testing

Testing
This commit is contained in:
Tagada 2023-06-27 18:24:21 +02:00 committed by GitHub
commit 8f44ac8fd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 26 deletions

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Fetch the source code - name: Fetch the source code
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Run the updater script - name: Run the updater script
@ -33,7 +33,7 @@ jobs:
- name: Create Pull Request - name: Create Pull Request
id: cpr id: cpr
if: ${{ env.PROCEED == 'true' }} if: ${{ env.PROCEED == 'true' }}
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update to version ${{ env.VERSION }} commit-message: Update to version ${{ env.VERSION }}

View file

@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# Kimai2 for YunoHost # 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) [![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)* *[Lire ce readme en français.](./README_fr.md)*

View file

@ -5,15 +5,16 @@ It shall NOT be edited by hand.
# Kimai2 pour YunoHost # 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 dinté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) [![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)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Kimai2 rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller 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.* Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble ## Vue densemble
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. 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/ **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 ## Avertissements / informations importantes
@ -47,9 +48,9 @@ Those roles are directly managed using YunoHost permission system. User choosen
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://www.kimai.org> * Site officiel de lapp : <https://www.kimai.org>
* Documentation officielle de l'admin : <https://www.kimai.org/documentation/> * Documentation officielle de ladmin : <https://www.kimai.org/documentation/>
* Dépôt de code officiel de l'app : <https://github.com/kevinpapst/kimai2> * Dépôt de code officiel de lapp : <https://github.com/kevinpapst/kimai2>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_kimai2> * Documentation YunoHost pour cette app : <https://yunohost.org/app_kimai2>
* Signaler un bug : <https://github.com/YunoHost-Apps/kimai2_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/kimai2_ynh/issues>
@ -65,4 +66,4 @@ ou
sudo yunohost app upgrade kimai2 -u https://github.com/YunoHost-Apps/kimai2_ynh/tree/testing --debug sudo yunohost app upgrade kimai2 -u https://github.com/YunoHost-Apps/kimai2_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -13,12 +13,8 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 1.11.1~ynh1 # 1.30.0~ynh1
upgrade=0 from_commit=26829daa0113b88e45d86ae6c6611784f51a41d2 upgrade=1 from_commit=d073ffb8db7e416f0f1d0f645c6e77a9f11e10b9
# 1.17.1~ynh1
upgrade=1 from_commit=6b3ab38a5bf6aa48aaef23254381e8063839598b
# 1.20.2~ynh1
upgrade=1 from_commit=ef7f7d388e1e2abbe7789b9a9e93230b0f14262a
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0

View file

@ -3,8 +3,8 @@
"id": "kimai2", "id": "kimai2",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "A multi-user application for time-tracking with support for mobile devices", "en": "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", "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", "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í" "cs": "Víceuživatelská webová aplikace pro sledování času s podporou mobilních zařízení"
}, },
@ -52,7 +52,7 @@
"name": "registration", "name": "registration",
"type": "boolean", "type": "boolean",
"ask": { "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 ?", "fr": "Est-ce que de nouveaux utilisateurs peuvent s'y inscrire ?",
"de": "Sollen sich neue Benutzer selber registrieren können ?", "de": "Sollen sich neue Benutzer selber registrieren können ?",
"cs": "Mohou se noví uživatelé registrovat?" "cs": "Mohou se noví uživatelé registrovat?"

View file

@ -160,14 +160,10 @@ chown $app:$app "$final_path/.env"
#================================================= #=================================================
ynh_script_progression --message="Installing Kimai2..." --weight=1 ynh_script_progression --message="Installing Kimai2..." --weight=1
update-alternatives --set php /usr/bin/php$phpversion
pushd "$final_path" pushd "$final_path"
ynh_exec_as $app php$phpversion bin/console kimai:install -n ynh_exec_as $app php$phpversion bin/console kimai:install -n
popd popd
update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION}
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================