Commit graph

4145 commits

Author SHA1 Message Date
alexAubin
9517b26c63 🎨 Format Python code with Black 2024-08-27 11:11:57 +00:00
Alexandre Aubin
a6785d34bc apps/config panels: move the computation of the actual 'bind' value to core to avoid having an epic python snippets in the bash code.. 2024-08-27 13:11:32 +02:00
Alexandre Aubin
7c79060467 perf: hmmm try to fix race condition in previous cache system ? 2024-08-26 20:52:21 +02:00
alexAubin
2102242a61 🎨 Format Python code with Black 2024-08-26 18:20:38 +00:00
Alexandre Aubin
c409888a4b quality: use _assert_is_installed for consistency instead of if not _is_intalled(app): raise 2024-08-26 20:20:10 +02:00
Alexandre Aubin
c14ebc8be4 perf: add cache for _get_app_settings() 2024-08-26 20:20:02 +02:00
Alexandre Aubin
9b0553580b apps: generalize replacing __INSTALL_DIR__ and __APP__ in config panel 'bind' statement to any setting 2024-08-26 20:16:48 +02:00
Alexandre Aubin
a76cd05e87 apps: in apt resource, fix empty string in packages_from_raw_bash breaking dpkg-build 2024-08-25 13:17:12 +02:00
zamentur
aae24614c4 🎨 Format Python code with Black 2024-08-19 01:58:36 +02:00
Emmanuel Averty
51787a2f8b trigger hooks when adding or removing user into group 2024-08-19 00:56:59 +02:00
alexAubin
2e70143da2 🎨 Format Python code with Black 2024-08-16 14:09:58 +00:00
tituspijean
d63c61e0df
Add diagnoser about rfkill blocking Wi-Fi card (#1841) 2024-08-16 16:07:10 +02:00
ljf
436826abf9 [enh] Be able to use postfix as a backup mx hosts 2024-08-15 23:44:07 +02:00
Tagadda
4d5cc62540 🎨 Format Python code with Black 2024-08-15 21:36:29 +02:00
Tagada
f88e4cacdf
Merge pull request #1647 from YunoHost/enh_well-known
[enh] exclude .well-known subpaths from conflict checks
2024-08-15 20:50:17 +02:00
Tagada
36b9188aec
Update src/app.py
Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
2024-08-15 20:41:09 +02:00
alexAubin
938e400865 🎨 Format Python code with Black 2024-08-08 18:36:00 +00: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
3deffdbd57 apt resource: fix handling of empty 'packages' list breaking dpkg-deb call 2024-08-03 18:37:40 +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
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
b2492ffc3d hmpf fix log list again 2024-07-23 19:05:34 +02:00
Alexandre Aubin
6e5c555e37 flake8 etc 2024-07-17 17:56:32 +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
Kay0u
73e0d6c271
remove pkg_resources from pip freeze 2024-07-16 23:26:35 +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
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
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
Alexandre Aubin
1bb81e8f69 log: small hack when dumping log right after script failure, prevent a weird edge case where it'll dump the log of the resource provisioning instead of the script, guessing it's because it doesn't find 'ynh_exit_properly' near the end of the log ? 2024-07-07 16:38:46 +02:00