Jens Diemer
f5c847b9ad
Update via manageprojects
...
https://github.com/jedie/manageprojects and https://github.com/jedie/cookiecutter_templates/
Also:
* update requirements
* Remove Python 3.7 and 3.8 support
* Add Python 3.11 to test matrix
2022-12-22 10:03:57 +01:00
JensDiemer
9204341ce2
Update to 0.17.0
2022-10-03 18:33:54 +02:00
JensDiemer
879580ed73
Use pyproject version "0.16.0+ynh2" and manifest "0.16.0~ynh2"
...
fix: 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-18 19:44:15 +02:00
JensDiemer
9169bf8f3d
Project updates
...
"Apply" manually changes from https://github.com/YunoHost-Apps/django_example_ynh
* Add "safety check"
* Update to `django-yunohost-integration==0.4.0`
* `__FINAL_HOME_PATH__` -> `__FINALPATH__`
* `__FINAL_WWW_PATH__` -> `__PUBLIC_PATH__`
* Add `config_panel.toml` settings
2022-09-15 18:26:45 +02:00
JensDiemer
1d41e001c2
Update to v0.16.0
2022-09-14 18:39:07 +02:00
JensDiemer
74b9ded6a5
fix pytest run
2022-09-13 21:26:25 +02:00
JensDiemer
27b9784f98
Update to PyInventory 0.16.0rc1
2022-09-13 21:13:40 +02:00
JensDiemer
049c599f19
WIP
2022-09-13 21:09:36 +02:00
JensDiemer
c86d8334f7
Update to PyInventory v0.14.0 and remove redundant dependencies
2022-07-26 09:27:05 +02:00
Jens Diemer
6a61084271
Update manage.py
2022-07-22 20:24:03 +02:00
JensDiemer
83d53b7e21
update requirements
2022-01-30 15:04:06 +01:00
JensDiemer
5ffc2a240c
fix logs 'django_ynh' -> 'django_yunohost_integration'
2022-01-08 18:26:36 +01:00
JensDiemer
9ec0bf8e29
Fix #84 - User images are gone
...
Seems that the new `admin catch-all view` added in Django 3.2 is the problem:
https://docs.djangoproject.com/en/4.0/releases/3.2/#id1
Just catch the media url first, to fix #84
2022-01-07 18:12:38 +01:00
JensDiemer
bc14983d74
update requirements
2022-01-07 18:10:27 +01:00
JensDiemer
530a27f269
Update to PyInventory v0.13.0
2022-01-06 18:18:51 +01:00
JensDiemer
72f2ae80c0
Update requirements: PyInventory 0.11.0 -> 0.12.0
2021-11-22 20:25:50 +01:00
JensDiemer
57f11c7d9c
Update to PyInventory v0.11.0
2021-10-09 20:37:35 +02:00
JensDiemer
c5772a5258
Update to PyInventory v0.10.1
2021-10-09 17:23:28 +02:00
JensDiemer
c605d9e5e7
Update to PyInventory 0.10.0
2021-09-29 19:57:14 +02:00
JensDiemer
9da16cd644
Update requirements
...
for: https://github.com/jedie/django_yunohost_integration/pull/3
2021-09-16 12:10:40 +02:00
JensDiemer
3c29beda66
Bugfix: Don't install psycopg2 binary *and* source version
...
Only install "psycopg2" (that's the "from source") version!
2021-09-16 09:47:20 +02:00
JensDiemer
ae1f3cdcf5
Bugfix: psycopg2-binary = "<2.9"
...
pyinventroy extra is "postgres-binary" and not "psycopg2-binary" ;)
2021-09-16 08:39:53 +02:00
JensDiemer
8cd0d5bea6
Pin psycopg2<2.9 for supporting Django 2.2
...
Because of: https://github.com/psycopg/psycopg2/issues/1293
2021-09-15 21:45:37 +02:00
JensDiemer
a30dcf5a30
Update to PyInventory v0.9.4
2021-09-15 21:33:30 +02:00
JensDiemer
a1778b25a5
Update "conf/requirements.txt" and check it with a test
2021-09-15 21:03:02 +02:00
JensDiemer
d537cb1d02
Switch from "django_ynh" to "django_yunohost_integration"
2021-09-15 20:39:29 +02:00
JensDiemer
4ea54c8aab
Update to PyInventory 0.9.2 and all requirements
2021-05-11 18:25:13 +02:00
JensDiemer
85e5ea1e57
Update to PyInventory v0.9.1
2021-04-28 19:42:53 +02:00
JensDiemer
2b85bab7c4
Update requirements
2021-01-19 19:22:42 +01:00
JensDiemer
6adfddecb4
Bugfix "CSRF verification failed on POST requests"
...
see: https://github.com/YunoHost-Apps/django_ynh/issues/7
2021-01-08 11:12:15 +01:00
JensDiemer
8e81bd12ea
update to pyinventory==0.8.3
2020-12-29 14:36:09 +01:00
JensDiemer
add1026c11
Refactor to use django_ynh
2020-12-29 13:58:40 +01:00
JensDiemer
465bf8b8eb
rename settings/urls
2020-12-29 12:52:08 +01:00
JensDiemer
5350949560
Bugfix nginx.conf
2020-12-29 12:51:24 +01:00
JensDiemer
29ca95f076
Generate "conf/requirements.txt" and install via this file
2020-12-29 10:12:46 +01:00
JensDiemer
a8fc11e0c9
remove "django_auth_ldap" from logging: it's obsolete
2020-12-22 18:45:38 +01:00
JensDiemer
098793d79b
Remove /admin/ from URLs
2020-12-22 17:42:24 +01:00
JensDiemer
3b8b01f73f
Authenticate via SSO and nginx 'HTTP_REMOTE_USER' header
2020-12-22 17:12:26 +01:00
JensDiemer
4206f55b36
Just define own urls.py
...
so we also support settings.SERVE_FILES here, too.
And this removes one warnings about duplicate namespaces.
2020-12-19 20:17:57 +01:00
JensDiemer
a4b04d1186
Set Django dbbackup path to /opt/yunohost/$app/backups/
2020-12-19 20:16:49 +01:00
JensDiemer
12a5adab54
bugfix import "local_settings.py"
2020-12-19 20:06:07 +01:00
JensDiemer
64d4cccc8e
Fix #24 set CKeditor base path
2020-12-19 19:29:58 +01:00
JensDiemer
4a81c8dec5
SSO: Bugfix new user creations and permissions
2020-12-12 14:36:36 +01:00
JensDiemer
12739d04d7
Support SSO authentication via django-auth-ldap
...
Other changes:
* Bugfix Redis cache backend
* remove "virtualenv" and use "python3 -m venv"
2020-12-12 13:55:14 +01:00
JensDiemer
76785f5f78
Bugfix update superuser
...
The "update superuser" part in "scripts/upgrade" doesn't work. Because it tries to create a new
superuser and doesn't handle a existing one.
We have conf/create_superuser.py that handle this: Use it in install/upgrade
2020-12-09 20:25:01 +01:00
JensDiemer
c3f7694ad0
Bugfix serving user media files
2020-12-09 19:58:42 +01:00
JensDiemer
b6eb5690ae
Add scripts for local test for development
2020-12-09 19:58:13 +01:00
JensDiemer
5ccbcf5aa5
Bugfix static file URL in nginx.conf
2020-12-09 14:16:18 +01:00
JensDiemer
6adbe3eaef
bugfix $YNH_APP_ARG_PATH handling
2020-12-09 13:31:25 +01:00
JensDiemer
1d13378171
Use own urls.py to support $YNH_APP_ARG_PATH
2020-12-09 12:05:24 +01:00