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

59 commits

Author SHA1 Message Date
Yunohost-Bot
92d64f7b9d [autopatch] Automatic patch attempt for helpers 2.1 2024-08-31 02:55:33 +02:00
fb5eb9938f Use standard redis helpers 2024-05-20 16:54:24 +02:00
Jens Diemer
a8dd7caae1 __DEBUG_ENABLED__ "YES" / "NO" -> "1" / "0" 2023-11-25 16:01:09 +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
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
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
9876d599d5 Bugfix "change_url" 2022-09-17 17:48:01 +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
049c599f19 WIP 2022-09-13 21:09:36 +02:00
JensDiemer
296292526e Fix broken "manage.py" 2022-07-26 19:50:37 +02:00
JensDiemer
e279b79fd1 Remove "$YNH_APP_ARG_IS_PUBLIC" usage
PyInventory has no public pages, yet!
2022-01-18 09:45:08 +01:00
JensDiemer
c9bfad290a Bugfix venv creation
Implement the idea of https://github.com/YunoHost-Apps/pyinventory_ynh/pull/90 but without to merge
the code into `_common.sh` because `cp ../conf/requirements.txt "$final_path/requirements.txt"` is
not working in restore :(
2022-01-18 09:02:51 +01:00
Jens Diemer
8917f21f8a
Revert "Bugfix CI run" 2022-01-18 08:53:55 +01:00
JensDiemer
74c4035c12 Bugfix CI run
See also https://forum.yunohost.org/t/python-package-upgrate-restore-failes-on-ci/18360
2022-01-17 19:07:53 +01:00
JensDiemer
530a27f269 Update to PyInventory v0.13.0 2022-01-06 18:18:51 +01:00
JensDiemer
d772b1d6a6 Bugfix file permissions on /var/www/pyinventory 2022-01-06 18:16:38 +01:00
JensDiemer
784852e115 Fix file permissions
see: https://ci-apps-dev.yunohost.org/ci/job/4281
2022-01-04 20:04:40 +01:00
JensDiemer
b90433d5ca Don't use "--upgrade" in restore script, too. 2021-11-22 22:32:33 +01:00
JensDiemer
bc5421ca3c Install/Update "wheel" package, too. 2021-11-22 22:32:12 +01:00
JensDiemer
8d2ea6d519 Use pip install with "--no-deps"
Work-a-round for https://github.com/pypa/pip/issues/9644

Any generally a good idea, because our "requirements.txt" should always contain all needed packages
;)
2021-11-22 22:31:25 +01:00
JensDiemer
fd23b8b0aa "--upgrade" seems not to be needed, if venv already exists 2021-11-22 21:46:01 +01:00
JensDiemer
2db9c7e93e Fix file permissions
closed #65
2021-10-10 12:07:30 +02:00
JensDiemer
828e9cae4f Add "--upgrade" to upgrade python venv call 2021-09-16 09:26:02 +02:00
JensDiemer
955e7786b0 Upgrade Python virtualenv in "restore" 2021-09-16 09:24:20 +02:00
JensDiemer
0810c1ac61 Remove "public accessible" stuff 2021-09-16 08:39:04 +02:00
JensDiemer
0e7540128d Bugfix #48 Install pillow deps, too. 2021-09-15 11:42:08 +02:00
JensDiemer
cfe1d35eae Update requirements
Also add "libpq-dev" because it's a requirement to build psycopg2 from sources.

Fix https://github.com/jedie/PyInventory/issues/56
2021-08-17 09:03:26 +02:00
JensDiemer
add1026c11 Refactor to use django_ynh 2020-12-29 13:58:40 +01:00
JensDiemer
29ca95f076 Generate "conf/requirements.txt" and install via this file 2020-12-29 10:12:46 +01:00
JensDiemer
e04a518d45 fix restore: create log path and file before chown call
see: https://ci-apps.yunohost.org/ci/job/636
2020-12-23 18:30:41 +01:00
JensDiemer
f52c90c7ec Fix restore by calling chown for log file 2020-12-23 08:52:02 +01:00
JensDiemer
25a25c2277 Bugfix #20 use $new_domain and $new_path in change_url for settings.py 2020-12-22 18:00:10 +01:00
JensDiemer
3b8b01f73f Authenticate via SSO and nginx 'HTTP_REMOTE_USER' header 2020-12-22 17:12:26 +01:00
JensDiemer
1dca606c11 Bugfix change url: "__PUBLIC_PATH__" was not replaced 2020-12-22 08:22:32 +01:00
JensDiemer
7e56fe2f48 Fix change_url syntax error, see:
https://ci-apps.yunohost.org/ci/job/599

see also: https://github.com/YunoHost/package_linter/issues/90
2020-12-21 18:21:30 +01:00
Jens Diemer
017cc4f9d1
Merge branch 'testing' into update 2020-12-20 19:00:48 +01:00
JensDiemer
898e072126 update: PyInventory v0.8.2 2020-12-20 18:59:52 +01:00
JensDiemer
63a8914139 Fix #20
Just renew the settings.py
2020-12-16 17:35:27 +01:00
Jens Diemer
ab7ed3f143
Merge pull request #15 from ericgaspar/patch
Missing python3-venv
2020-12-12 18:46:35 +01:00
Jens Diemer
a74d0c1481
Update _common.sh 2020-12-12 18:46:07 +01:00
JensDiemer
93ec538d44 Bugfix #16 by including the public path to backup/restore
Seems to be the only missing part?!?
2020-12-12 18:26:07 +01:00
ericgaspar
cda2bfd050
Update _common.sh 2020-12-12 17:26:38 +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
Jens Diemer
e1c197f663
Merge pull request #8 from YunoHost-Apps/update-req
pyinventory_version="0.8.1"
2020-12-09 20:33:01 +01:00
JensDiemer
ced368925b pyinventory_version="0.8.1" 2020-12-09 20:32:00 +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
ericgaspar
b59b200f32
add port variable for NGINX regen config 2020-12-09 18:44:04 +01:00
ericgaspar
9cc0952612
Set new permissions 2020-12-09 17:59:17 +01:00
ericgaspar
70676e7fb3
Add description to service 2020-12-09 17:58:19 +01:00