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

29 commits

Author SHA1 Message Date
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
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
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
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
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
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
ericgaspar
874cf00deb
Update upgrade 2020-12-09 17:54:22 +01:00
ericgaspar
83f4ee4a1d
Use ynh_exec_as instead of sudo 2020-12-09 17:49:11 +01:00
ericgaspar
eeb294dceb
Remove sudo 2020-12-09 17:41:43 +01:00
JensDiemer
cb94da4684 Bugfix restore script: missing "port" for nginx.conf 2020-12-09 13:52:32 +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
JensDiemer
aa6c3f7d89 bugfixes 2020-12-08 19:43:24 +01:00
JensDiemer
ba39fc8bf7 init 2020-12-08 09:06:25 +01:00