1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/timeoff_ynh.git synced 2024-09-03 20:35:59 +02:00

Merge pull request #9 from YunoHost-Apps/testing

1.4.2
This commit is contained in:
Éric Gaspar 2023-01-08 18:06:52 +01:00 committed by GitHub
commit 9015ddedb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 29 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Timeoff for YunoHost # Timeoff for YunoHost
[![Integration level](https://dash.yunohost.org/integration/timeoff.svg)](https://dash.yunohost.org/appci/app/timeoff) ![](https://ci-apps.yunohost.org/ci/badges/timeoff.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/timeoff.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/timeoff.svg)](https://dash.yunohost.org/appci/app/timeoff) ![Working status](https://ci-apps.yunohost.org/ci/badges/timeoff.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/timeoff.maintain.svg)
[![Install Timeoff with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=timeoff) [![Install Timeoff with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=timeoff)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -17,31 +17,30 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Web application for managing employee absences Web application for managing employee absences
**Shipped version:** 1.4.0~ynh2 **Shipped version:** 1.4.2~ynh1
## Screenshots ## Screenshots
![](./doc/screenshots/smartmockups_kkjk5hh4-p-2000.png) ![Screenshot of Timeoff](./doc/screenshots/smartmockups_kkjk5hh4-p-2000.png)
## Documentation and resources ## Documentation and resources
* Official app website: https://timeoff.management/ * Official app website: <https://timeoff.management/>
* Official admin documentation: https://timeoff.management/support/main-page.html * Official admin documentation: <https://timeoff.management/support/main-page.html>
* Upstream app code repository: https://github.com/timeoff-management/timeoff-management-application * Upstream app code repository: <https://github.com/timeoff-management/timeoff-management-application>
* YunoHost documentation for this app: https://yunohost.org/app_timeoff * YunoHost documentation for this app: <https://yunohost.org/app_timeoff>
* Report a bug: https://github.com/YunoHost-Apps/timeoff_ynh/issues * Report a bug: <https://github.com/YunoHost-Apps/timeoff_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug
or or
sudo yunohost app upgrade timeoff -u https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug sudo yunohost app upgrade timeoff -u https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** https://yunohost.org/packaging_apps **More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -1,10 +1,14 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# Timeoff pour YunoHost # Timeoff pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/timeoff.svg)](https://dash.yunohost.org/appci/app/timeoff) ![](https://ci-apps.yunohost.org/ci/badges/timeoff.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/timeoff.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/timeoff.svg)](https://dash.yunohost.org/appci/app/timeoff) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/timeoff.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/timeoff.maintain.svg)
[![Installer Timeoff avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=timeoff) [![Installer Timeoff avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=timeoff)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Timeoff rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer Timeoff 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 n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
@ -13,31 +17,30 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Application Web de gestion des absences des employés Application Web de gestion des absences des employés
**Version incluse :** 1.4.0~ynh2 **Version incluse :** 1.4.2~ynh1
## Captures d'écran ## Captures d'écran
![](./doc/screenshots/smartmockups_kkjk5hh4-p-2000.png) ![Capture d'écran de Timeoff](./doc/screenshots/smartmockups_kkjk5hh4-p-2000.png)
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : https://timeoff.management/ * Site officiel de l'app : <https://timeoff.management/>
* Documentation officielle de l'admin : https://timeoff.management/support/main-page.html * Documentation officielle de l'admin : <https://timeoff.management/support/main-page.html>
* Dépôt de code officiel de l'app : https://github.com/timeoff-management/timeoff-management-application * Dépôt de code officiel de l'app : <https://github.com/timeoff-management/timeoff-management-application>
* Documentation YunoHost pour cette app : https://yunohost.org/app_timeoff * Documentation YunoHost pour cette app : <https://yunohost.org/app_timeoff>
* Signaler un bug : https://github.com/YunoHost-Apps/timeoff_ynh/issues * Signaler un bug : <https://github.com/YunoHost-Apps/timeoff_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche testing, procédez comme suit.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade timeoff -u https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug sudo yunohost app upgrade timeoff -u https://github.com/YunoHost-Apps/timeoff_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps **Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/timeoff-management/timeoff-management-application/archive/refs/tags/1.4.0.tar.gz SOURCE_URL=https://github.com/timeoff-management/timeoff-management-application/archive/refs/tags/1.4.2.tar.gz
SOURCE_SUM=2831826b689cf1f4bc7e7ae03ac42c4c846a56a8c3e1368f3a1326f46977cdcc SOURCE_SUM=b0a5f7e88c39a0ae43e5c53c50efb82e9a78add1954f7c0a60ae91c25bbf608f
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -13,5 +13,36 @@ WorkingDirectory=__FINALPATH__/
ExecStart=__YNH_NODE__ bin/wwww ExecStart=__YNH_NODE__ bin/wwww
Restart=always Restart=always
# Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these
# .. but this should be a good baseline
# Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=yes
RestrictRealtime=yes
DevicePolicy=closed
ProtectSystem=full
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
LockPersonality=yes
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap
# Denying access to capabilities that should not be relevant for webapps
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT
CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM
CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE
CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW
CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View file

@ -6,7 +6,7 @@
"en": "Web application for managing employee absences", "en": "Web application for managing employee absences",
"fr": "Application Web de gestion des absences des employés" "fr": "Application Web de gestion des absences des employés"
}, },
"version": "1.4.0~ynh2", "version": "1.4.2~ynh1",
"url": "https://timeoff.management/", "url": "https://timeoff.management/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",
@ -20,7 +20,7 @@
"email": "ju@paraiso.me" "email": "ju@paraiso.me"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.0.9"
}, },
"multi_instance": false, "multi_instance": false,
"services": [ "services": [