Commit graph

4436 commits

Author SHA1 Message Date
Alexandre Aubin
c5580a0551 app/permissions: Move permissions data out of LDAP 2024-08-05 20:41:42 +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
Alexandre Aubin
52443174a0 Rename 0027_migrate_to_bookworm.py.disabled -> 0027_migrate_to_bookworm.py 2024-07-15 22:24:26 +02:00
Alexandre Aubin
f16011a138 Remove reference to rspamd, rspamd is to become an app 2024-07-15 22:23:59 +02:00
Alexandre Aubin
262a3c5cf2 Merge remote-tracking branch 'origin/dev' into bookworm 2024-07-15 16:54:21 +02:00
alexAubin
a0bc7926c4 🎨 Format Python code with Black 2024-07-12 13:24:32 +00:00
Alexandre Aubin
588742f31b log: optimize log list perf by creating a 'cache' symlink pointing to the log's parent 2024-07-11 17:35:37 +02:00
Kayou
4f7fa32f34
ssowatconf: change auth_header from None to false 2024-07-11 11:09:42 +02:00
alexAubin
fbe42f1867 🎨 Format Python code with Black 2024-07-11 08:55:48 +00:00
Alexandre Aubin
ab8e0e6619
Update system.py: forgot to add the corresponding stdin arg in some previous commit x_x 2024-07-10 23:37:41 +02:00
Alexandre Aubin
9c22d36c6f backups: yunohost should not ask confirmation that 'YunoHost is already installed' when restoring only apps 2024-07-10 18:46:18 +02:00
Alexandre Aubin
b266e398ff Fix previous commit @_@ 2024-07-10 18:45:56 +02:00
Alexandre Aubin
c8a18129df backups: one should be able to restore a backup archive by providing a path to the archive without moving it to /home/yunohost.backup/archives/ 2024-07-10 18:30:12 +02:00
49961145ca Disable migration to bookworm until it is ready 2024-07-08 23:18:36 +02:00
b289de3eca Merge branch 'dev' into migrate-to-bookworm 2024-07-08 22:47:09 +02:00