Commit graph

44 commits

Author SHA1 Message Date
Jens Diemer
29d6729de0 Update requirements + fix tests 2023-06-11 16:08:07 +02:00
Jens Diemer
36f361e330 update requirements 2022-12-21 21:17:06 +01:00
Jens Diemer
9b9164c6da Update requirements and remove pytest-darker 2022-12-21 19:26:42 +01:00
Jens Diemer
9013003ef6 Apply manageprojects update 2022-12-21 19:19:37 +01:00
JensDiemer
6fafa49312 Transfer "/etc/yunohost/current_host"
see:
https://forum.yunohost.org/t/call-for-feedback-sso-portal-in-multi-domain-context-how-should-it-work/7491/11
2022-10-19 20:48:04 +02:00
JensDiemer
3fe4c1211e Use "django-example" as DEMO project
https://github.com/jedie/django-example
2022-10-06 17:32:14 +02:00
JensDiemer
85c5d837af assert_project_version() 2022-10-04 09:14:04 +02:00
JensDiemer
4c92d2cd8e add more needed settings 2022-09-19 08:34:57 +02:00
JensDiemer
ed58e7151f pyproject version "0.4.0+ynh1" and manifest "0.4.0~ynh1"
needed because of: https://github.com/python-poetry/poetry/issues/6013
see also: https://forum.yunohost.org/t/invalid-pep-440-version-0-16-0-ynh1/21293
2022-09-19 08:34:44 +02:00
JensDiemer
7b3e81110c Update requirements and add saftey check 2022-09-15 11:42:01 +02:00
JensDiemer
d3af58ef6b Update logging settings and log also to syslog 2022-08-25 12:03:48 +02:00
JensDiemer
8223c38e06 update to django-yunohost-integration==0.4.0rc2 2022-08-25 08:06:42 +02:00
JensDiemer
2ed9ce6ffb Update to django-yunohost-integration==0.4.0rc1 and remove own validation 2022-08-24 11:03:42 +02:00
JensDiemer
a180513b17 Add DEFAULT_FROM_EMAIL to config panel settings 2022-08-15 09:51:07 +02:00
JensDiemer
768ed7f24a Add '__ADMIN_EMAIL__' to config_panel.toml settings 2022-08-15 09:31:06 +02:00
JensDiemer
82638455bd Add '__LOG_LEVEL__' config_panel.toml settings 2022-08-15 09:02:06 +02:00
JensDiemer
0eac7fc72f fix urls 2022-08-15 08:27:02 +02:00
JensDiemer
363a93f205 Set settings.DEBUG via config_panel.toml 2022-08-14 20:40:33 +02:00
JensDiemer
aacfbabc2b Replace "run_pytest.py" with "tests/conftest.py" 2022-08-14 20:40:33 +02:00
JensDiemer
bea6dfce65 remove hardering settings -> Gunicorn crash 2022-08-14 17:50:13 +02:00
JensDiemer
6c21d0942b remove obsolete settings 2022-08-14 17:29:17 +02:00
JensDiemer
9f169cd1a4 Revert path change: Keep '__FINALPATH__' and '__PUBLIC_PATH__'
Install the app project into: '__FINALPATH__' -> `/opt/yunohost/$app`
Store files to serve via nginx in: '__PUBLIC_PATH__' -> `/var/www/$app`
2022-08-14 17:17:43 +02:00
JensDiemer
52b0a6e58b bugfix nginx.conf 2022-08-14 15:19:06 +02:00
JensDiemer
3b4984871a __FINAL_HOME_PATH__ and __FINAL_WWW_PATH__ -> __FINALPATH__ 2022-08-14 15:11:52 +02:00
JensDiemer
49117c87ee update requirements 2022-08-14 14:31:09 +02:00
JensDiemer
1257367f93 Sandboxing options to harden security 2022-08-14 14:28:57 +02:00
JensDiemer
7a10831b8e conf/{django_example_ynh.service => systemd.service} 2022-08-14 14:26:16 +02:00
JensDiemer
7e8227a29d update project setup + requirements 2022-08-14 13:41:33 +02:00
JensDiemer
aa542026d0 Stabilize database settings if "ynh_sanitize_dbid" change the "app name" 2022-08-14 13:41:33 +02:00
JensDiemer
2e937f4a24 Change "manage.py" shebang and use always the right venv python 2022-08-14 13:41:33 +02:00
JensDiemer
a5f8765007 updates 2022-08-14 13:41:33 +02:00
JensDiemer
131346524e cleanup 2021-09-15 19:16:35 +02:00
JensDiemer
a8164a2905 WIP: rename/split from django_ynh
See discussion here: https://github.com/YunoHost-Apps/django_ynh/pull/13

Corresponding to: https://github.com/jedie/django_yunnohost_integration/pull/1
2021-02-28 12:07:48 +01:00
JensDiemer
6b5c0ed6ad update docs 2020-12-29 15:04:36 +01:00
JensDiemer
c8fc994914 Bugfix nginx config 2020-12-29 12:32:44 +01:00
JensDiemer
a58ba43e18 fix serve static files 2020-12-29 12:03:35 +01:00
JensDiemer
270693abc9 fix code style 2020-12-29 11:35:45 +01:00
JensDiemer
05be4ad6b4 rename settings and urls 2020-12-29 11:12:21 +01:00
JensDiemer
d40e863abe Fix nginx.conf 2020-12-29 11:01:34 +01:00
JensDiemer
41df6139c1 Generate "conf/requirements.txt" and use this file for install 2020-12-29 10:53:46 +01:00
JensDiemer
614b4187c7 fix linting 2020-12-28 20:23:46 +01:00
JensDiemer
0c4bf1e8de get pytest running with local test copy 2020-12-28 18:52:29 +01:00
JensDiemer
b5f93958ff WIP: setup the project 2020-12-28 12:35:36 +01:00
JensDiemer
f578f144a3 init 2020-12-23 19:58:33 +01:00