mirror of
https://github.com/YunoHost-Apps/timeoff_ynh.git
synced 2024-09-03 20:35:59 +02:00
commit
9015ddedb8
5 changed files with 62 additions and 29 deletions
23
README.md
23
README.md
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
# Timeoff for YunoHost
|
# Timeoff for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/timeoff)  
|
[](https://dash.yunohost.org/appci/app/timeoff)  
|
||||||
[](https://install-app.yunohost.org/?app=timeoff)
|
[](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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 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>
|
||||||
|
|
29
README_fr.md
29
README_fr.md
|
@ -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
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/timeoff)  
|
[](https://dash.yunohost.org/appci/app/timeoff)  
|
||||||
[](https://install-app.yunohost.org/?app=timeoff)
|
[](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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue