Alexandre Aubin
1ba75df0e2
quality: add type hints to user.py
2024-08-15 01:46:55 +02:00
Alexandre Aubin
4ee8d4e8ca
ci: fix mypy complains
2024-08-14 20:26:40 +02:00
Alexandre Aubin
0bbc14f54b
ci: when running pytest, make sure that 'import yunohost' will load the code being tested, not the one from /usr/lib/python3/dist-packages ?
2024-08-14 13:19:46 +02:00
Alexandre Aubin
fd040b864e
ci: drop unused option --yunodebug in pytest conftest
2024-08-14 13:14:29 +02:00
Alexandre Aubin
4fc929005d
ci: speedup git clone for test_apps using --depth 1
2024-08-14 13:04:15 +02:00
Alexandre Aubin
cb6778cfe2
Merge remote-tracking branch 'origin/dev' into bookworm
2024-08-08 19:47:12 +02:00
Alexandre Aubin
df320a44cf
ci: ignore boring warning 'Could not identify correctly the dns zone for domain sub.domain.tld'
2024-08-08 19:37:50 +02:00
Alexandre Aubin
d639e1c426
ci: ignore boring warning 'Could not identify correctly the dns zone for domain sub.domain.tld'
2024-08-08 19:24:16 +02:00
Alexandre Aubin
44920d8914
ci: fix test_sso_basic_auth_header now that the default is with-password ?
2024-08-05 22:11:58 +02:00
Alexandre Aubin
9e93130672
ci: fix auth header test?
2024-08-05 22:10:12 +02:00
Alexandre Aubin
cdf443c86e
portalapi: fix portal_user_intro not being sent when authenticated, hence not displayed at all
2024-08-05 22:07:56 +02:00
Alexandre Aubin
bc93a2e079
portalapi: we don't need absolute URLs for app logos ? (This ain't working when enabling the 'show other domains apps' because of CSP)
2024-08-05 21:08:06 +02:00
Alexandre Aubin
656e5c75d1
ci: Fix test_permission_propagation_on_ssowat ?
2024-08-05 20:53:32 +02:00
Alexandre Aubin
3deffdbd57
apt resource: fix handling of empty 'packages' list breaking dpkg-deb call
2024-08-03 18:37:40 +02:00
Alexandre Aubin
0503a38a74
bullseye->bookworm: add a trick to flag the migration as done if it's still marked as pending
2024-07-31 00:06:33 +02:00
Alexandre Aubin
eb1d715764
Merge remote-tracking branch 'origin/dev' into bookworm
2024-07-31 00:02:19 +02:00
Alexandre Aubin
65ea34d7cb
bullseye->bookworm: boring tweak to remove chattr +i from /etc/resolv.conf otherwise resolvconf will later explode and complain about it
2024-07-30 23:53:39 +02:00
Alexandre Aubin
d766f7cdda
bullseye->bookworm: have a specific step dedicated to upgrade python3.9 to 3.11 because apt(itude) is derping about it sometimes...
2024-07-30 23:51:01 +02:00
Alexandre Aubin
423e79bd57
Update 0027_migrate_to_bookworm.py.disabled: encourage apt to remove luajit if it's installed because for some reason it's causing issues
2024-07-30 23:14:32 +02:00
Alexandre Aubin
f4727d3cb6
bullseye->bookworm: more stuff to try to prevent aptitude derping about python dependencies
2024-07-30 16:51:22 +02:00
Alexandre Aubin
ad98a10fa8
bullseye->bookworm: make sure the non-free / non-free-firmware stuff is idempotent
2024-07-30 16:00:09 +02:00
Alexandre Aubin
d376677db6
diagnosis: be more robust when diagnosis DMARC records not containing '='
2024-07-30 15:50:45 +02:00
Alexandre Aubin
8b56983171
bullseye->bookworm: explicitly validate that we're on yunohost 12.x at the end of the migration
2024-07-27 15:09:48 +02:00
Alexandre Aubin
2d3dddc51a
bullseye->bookworm: explicitly import _strptime at the beginning to try to prevent "No module named '_strptime'" during migration
2024-07-27 15:06:48 +02:00
Alexandre Aubin
ccfea312fe
Merge remote-tracking branch 'origin/dev' into bookworm
2024-07-26 21:00:17 +02:00
Alexandre Aubin
9a6ad19c0e
apps/ssowat: fix default value for auth_header and protect_against_basic_auth_spoofing
2024-07-26 20:55:27 +02:00
Alexandre Aubin
9e1b0561e3
bullseye->bookworm: readd tweak about libluajit2 + be more robust about full-upgrade that may fail if python3.9-venv aint installed
2024-07-26 20:10:28 +02:00
Alexandre Aubin
d0ce8cce53
Merge remote-tracking branch 'origin/dev' into bookworm
2024-07-25 19:29:59 +02:00
Alexandre Aubin
b2492ffc3d
hmpf fix log list again
2024-07-23 19:05:34 +02:00
Alexandre Aubin
f547ac2515
Merge pull request #1919 from YunoHost/fix-appconfig-panel
...
appconfig panel: new values were replaced by default values
2024-07-23 17:31:35 +02:00
Kayou
a069cda08c
fix permission test
2024-07-23 12:17:16 +02:00
Kayou
03def5b109
appconfig panel: new values were replaced by default values
2024-07-23 11:58:35 +02:00
Alexandre Aubin
42114978af
Update regenconf.py: cleanup legacy rspamd and metronome hash entries
2024-07-18 13:40:22 +02:00
Alexandre Aubin
b9178e750c
Merge remote-tracking branch 'origin/dev' into bookworm
2024-07-17 17:56:44 +02:00
Alexandre Aubin
6e5c555e37
flake8 etc
2024-07-17 17:56:32 +02:00
Alexandre Aubin
0ade9d0e6f
Merge remote-tracking branch 'origin/dev' into bookworm
2024-07-17 16:57:08 +02:00
Kayou
ebcf3c79ff
Fix "log list" : use root_dir for iglob / make sure we use absolute paths ( #1913 )
...
* use root_dir for iglob, fix parent_symlink path and check if it exists
* fix log path
* do not try to read a yaml of a symlink to /dev/null
* use hidden files, needs python 3.11 (bookworm)
* don't worry, I'm an expert!
* Update log.py: log_file -> log_md_fullpath (otherwise it feel like log_file refers to the .log)
* Update log.py: remove debug statement
* Update log.py: revert unecessary if change
---------
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-07-17 16:45:43 +02:00
Alexandre Aubin
f11f11973b
bullseye->bookworm: trigger the 'new' migration from inside the bullseye->bookworm migration
2024-07-17 16:36:46 +02:00
Alexandre Aubin
67d6baa151
bullseye->bookworm: forgot to remove the unhold for apps packages >_>
2024-07-17 16:17:46 +02:00
Alexandre Aubin
97bb6bde09
bullseye->bookworm: automatically add non-free-firmware if non-free is enabled
2024-07-17 15:31:25 +02:00
Alexandre Aubin
a8fd6afeee
bullseye->bookworm: try the yunohost upgrade without unholding the app-ynh-deps virtual packages, then after unholding if it didnt work for some reason
2024-07-17 15:24:04 +02:00
Alexandre Aubin
a5868733d7
bullseye->bookworm: uncessary comments / FIXME
2024-07-17 15:18:46 +02:00
Alexandre Aubin
079cdc2624
bullseye->bookworm: explicitly remove python3.9 and python3.9-venv which seems to confuse aptitude...
2024-07-17 15:06:05 +02:00
Alexandre Aubin
4232fc7c4b
bullseye->bookworm: explicitly install yunohost-portal
2024-07-17 15:04:52 +02:00
9a0960dcf1
log.py: use os.path.join instead
2024-07-17 00:03:41 +02:00
91f747eaee
log.py: fix listing of log files
2024-07-17 00:02:58 +02:00
Kay0u
73e0d6c271
remove pkg_resources from pip freeze
2024-07-16 23:26:35 +02:00
03a5c3d144
Ensure postgresql is upgraded to 15.
...
Some apps required pg 16, so pg_upgradecluster tries to upgrade 13 to 16 and fails (cluster already exists)
2024-07-16 23:02:25 +02:00
Alexandre Aubin
443eac47ca
Merge remote-tracking branch 'origin/dev' into bookworm
2024-07-16 22:59:56 +02:00
Alexandre Aubin
64c8d9e853
bullseye->bookworm migration: tweak message to reflect the fact that metronome and rspamd will be applications starting with bookworm
2024-07-15 22:29:30 +02:00