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

Merge branch 'testing' into example

This commit is contained in:
yalh76 2022-01-25 01:40:02 +01:00
commit db25475d5f
8 changed files with 29 additions and 16 deletions

8
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"markdownlint.config": {
"MD028": false,
"MD025": {
"front_matter_title": ""
}
}
}

View file

@ -12,7 +12,7 @@
This is the webservice powering the https://gpodder.net website. It can be used to sync podcast subscriptions with [supported clients](https://gpoddernet.readthedocs.io/en/latest/user/clients.html).
**Shipped version:** 2021-05-19
**Shipped version:** 2021-10-20
## Screenshots

View file

@ -12,7 +12,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
Ceci est le service derrière https://gpodder.net. Il peut servir pour synchronizer vos flux balado entre [clients compatibles](https://gpoddernet.readthedocs.io/en/latest/user/clients.html).
**Version incluse :** 2021-05-19
**Version incluse :** 2021-10-20
## Captures d'écran
@ -24,11 +24,11 @@ Ceci est le service derrière https://gpodder.net. Il peut servir pour synchroni
## Configuration
Modifiez les fichiers sous `/opt/yunohost/APPDIR/envs/prod` pour configurer les variables d'environment. Il y a une interface admin `a `votre-domaine.tld/admin` (seulement accessible par l'adminsitrateur).
Modifiez les fichiers sous `/opt/yunohost/APPDIR/envs/prod` pour configurer les variables d'environment. Il y a une interface admin a `votre-domaine.tld/admin` (seulement accessible par l'administrateur).
## Documentation
* Documentation officielle : https://gpoddernet.readthedocs.io/
* Documentation officielle : https://gpoddernet.readthedocs.io/
#### Support multi-utilisateur

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/gpodder/mygpo/tarball/b6a68527370e0c62bfa08d022611a3ad8a7331a
SOURCE_SUM=71277581a3c7fa8d1cad32347b90b8cd9d82b9bb27573adb533ea59ec75f1ddc
SOURCE_URL=https://github.com/gpodder/mygpo/tarball/57579ae579a5499542d6fbd271f1e0ada7850f13
SOURCE_SUM=66b0c72318296c8238cb6f7ed2564806b22605c56c368a7b45528ba3fabe48d3
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=b6a68527370e0c62bfa08d022611a3ad8a7331a
SOURCE_FILENAME=57579ae579a5499542d6fbd271f1e0ada7850f13
SOURCE_EXTRACT=true

View file

@ -6,7 +6,7 @@
"en": "Manage podcast subscriptions, and sync them between apps and devices",
"fr": "Gérez vos sousciptions balado, et sychronisez-lez entre vos applis et appareils"
},
"version": "2.11.20210519~ynh1",
"version": "2.11.20211020~ynh1",
"url": "https://github.com/gpodder/mygpo",
"license": "AGPL-3.0-only",
"maintainer": {

View file

@ -59,7 +59,7 @@ function upgrade_db {
}
function perform_db_migrations {
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py makemigrations
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py makemigrations --merge
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py migrate
}

View file

@ -1,13 +1,15 @@
diff --git a/conf/gunicorn.conf.py b/conf/gunicorn.conf.py
index c72ebeeb..cf0d5a3a 100644
index 726cd5f4..c13809cc 100644
--- a/conf/gunicorn.conf.py
+++ b/conf/gunicorn.conf.py
@@ -1,15 +1,11 @@
@@ -1,16 +1,16 @@
import multiprocessing
import os
-bind = "unix:/tmp/mygpo.sock"
workers = multiprocessing.cpu_count()
+#bind = "unix:/tmp/mygpo.sock"
#workers = multiprocessing.cpu_count()
workers = 3
# The maximum number of requests a worker will process before restarting.
# max_requests = 1000
@ -15,6 +17,9 @@ index c72ebeeb..cf0d5a3a 100644
-errorlog = "/var/log/gunicorn/error.log"
-accesslog = "/var/log/gunicorn/access.log"
-loglevel = "info"
+#errorlog = "/var/log/gunicorn/error.log"
+#accesslog = "/var/log/gunicorn/access.log"
+#loglevel = "info"
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s %(T)s "%(f)s" "%(a)s"'
timeout = 120
graceful_timeout = 60

View file

@ -1,5 +1,5 @@
diff --git a/mygpo/settings.py b/mygpo/settings.py
index 33bd283f..2666ade6 100644
index b3927315..f295c326 100644
--- a/mygpo/settings.py
+++ b/mygpo/settings.py
@@ -2,6 +2,7 @@ import re