1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyinventory_ynh.git synced 2024-09-03 20:16:09 +02:00
Commit graph

63 commits

Author SHA1 Message Date
Jens Diemer
a6860459fb Bugfix user creation: Add new user into correct user group 2023-11-26 20:38:51 +01:00
Jens Diemer
1e2fc68bd3 pytest -> unittests 2023-11-26 20:34:24 +01:00
Jens Diemer
a8dd7caae1 __DEBUG_ENABLED__ "YES" / "NO" -> "1" / "0" 2023-11-25 16:01:09 +01:00
Jens Diemer
7b8e468e87 Update Requirements 2023-11-09 19:04:02 +01:00
Jens Diemer
83c98f55f4 Update project -> migrate from poetry to pip-tools 2023-11-02 07:52:31 +01:00
Jens Diemer
b378a519a6 Update to manifest v2
Update via https://github.com/jedie/manageprojects and
https://github.com/jedie/cookiecutter_templates/
2023-08-22 19:56:20 +02:00
Jens Diemer
42274d0575 Bugfix packaging by updating to PyInventory v0.19.2 2023-08-17 22:55:09 +02:00
Jens Diemer
07753fe787 Update to PyInventory v0.19.1
Apply project updates from:

* https://github.com/jedie/cookiecutter_templates/tree/main/yunohost_django_package

and update requirements
2023-08-17 22:00:17 +02:00
Jens Diemer
b914dbed07 Update to PyInventory 0.18.1 2023-07-15 16:58:32 +02:00
Jens Diemer
6b24640299 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
2023-02-19 14:17:51 +01:00
Jens Diemer
d9bfb02e42 WIP: Update to 0.18.0
TODO: django_yunohost_integration must support Django 4.0, too.
2022-12-22 10:04:29 +01:00
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