axolotle
dad366da61
Merge branch 'dev' into bookworm
2023-12-01 18:46:39 +01:00
Alexandre Aubin
16391d7374
perf: lazyloading settings_get + pass all the global settings as an env variable to the regenconf to prevent having to 'yunohost settings get' like ten times ... reduces the regenconf runtime from 35s to 23s on my machine
2023-11-28 21:12:03 +01:00
Alexandre Aubin
267968074b
helpers/fail2ban: grep logpath is likely to match comments in the file that contain the word logpath...
2023-11-28 13:14:29 +01:00
OniriCorpe
4bfe2c96f5
fix the fail2ban helper when using using --use_template arg ( #1743 )
...
* fix the helper when using using --use_template arg
* fix app name replacment 😞
* replace any '__VAR__' by their real variable using ynh_replace_vars
* fix some SC2086
* extract logpath from /etc/fail2ban/jail.d/$app.conf
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
* fix comment
* Update helpers/fail2ban
---------
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2023-11-27 14:07:39 +01:00
Alexandre Aubin
c216a3f246
Merge remote-tracking branch 'origin/dev' into bookworm
2023-11-24 22:35:25 +01:00
OniriCorpe
9a7731aa4e
fail2ban: make sure the logfile exists ( #1737 )
...
* make sure the logfile exists before reloading fail2ban
* update docs
* enhancement: fix file perms and make sure the folder exists
* fix folder path
---------
Co-authored-by: OniriCorpe <OniriCorpe@users.noreply.github.com>
2023-11-21 03:26:27 +01:00
OniriCorpe
300c999a5a
logrotate: fix generated config file perms ( #1736 )
...
* fix generated logrotate config file perms
* apply perms to the right file (I'm so tired lmao)
* fix indent
* update docs
* revert: wrong branch 😭
---------
Co-authored-by: OniriCorpe <OniriCorpe@users.noreply.github.com>
2023-11-20 19:01:33 +01:00
axolotle
a924379774
Merge remote-tracking branch 'origin/dev' into bookworm
2023-10-31 03:11:49 +01:00
axolotle
bfba939927
Merge remote-tracking branch 'origin/dev' into bookworm
2023-10-31 02:57:26 +01:00
Alexandre Aubin
8cfc929f25
Merge pull request #1706 from YunoHost/enh-bind-heritage-config-panel
...
[enh] bind heritage in config panel
2023-10-30 19:12:56 +01:00
Alexandre Aubin
d35eceb17b
Merge pull request #1723 from Salamandar/logging_late
...
Add ynh_exec_and_print_stderr_only_if_error that only prints stderr when command fails
2023-10-30 14:04:49 +01:00
Alexandre Aubin
bfb7dda42e
Rename helper into "ynh_exec_and_print_stderr_only_if_error"
2023-10-30 14:03:26 +01:00
Thomas
5547208be4
Update docker-image-extract
2023-10-27 14:15:09 +02:00
yunohost-bot
6a8693fa44
Upgrade n to v
2023-10-15 05:10:23 +00:00
Félix Piédallu
6385b402f7
Add ynh_exec_stderr_on_error that only prints stderr when command fails
2023-10-03 17:27:09 +02:00
orhtej2
58a539bf7d
Allow phpX.Y
as sole dependency that'll trigger usage of $phpversion=X.Y
2023-10-02 23:19:01 +02:00
Alexandre Aubin
883bb2b498
Merge remote-tracking branch 'origin/dev' into bookworm
2023-09-27 17:56:48 +02:00
Florian
b54a71b0cf
Fix missleading example for ynh_setup_source
...
There shouldn't be any trailing / for folders for ynh_setup_source
2023-09-12 09:02:04 +03:00
Kayou
3dfab89c1f
check and re-download a prefetched file that doesn't match the checksum
2023-09-07 14:59:08 +02:00
ljf
6f3b194944
[fix] Avoid char conflict with bind properties
2023-09-02 22:47:02 +02:00
Alexandre Aubin
65d2571072
helpers: add new --group option for ynh_add_fpm_config to customize the Group parameter
2023-08-31 17:23:21 +02:00
ljf (zamentur)
dcafac1913
[fix] Combine bind section regex with bind panel file
2023-08-25 22:36:33 +02:00
ljf (zamentur)
79e620ef42
[fix] Conflict type file and settings bind mode
2023-08-25 21:12:01 +02:00
ljf (zamentur)
fde05c0ac2
[enh] bind heritage in config panel
2023-08-25 20:53:30 +02:00
Tagada
4385c886a4
Merge branch 'dev' into bookworm
2023-07-20 15:49:45 +02:00
Alexandre Aubin
4b582f72df
Merge pull request #1687 from YunoHost/11.2
...
11.2
2023-07-17 16:11:20 +02:00
Alexandre Aubin
f3eef43d02
helpers: in ynh_systemd_action, check the actual timestamp when checking for timeout, because for some reason journalctl may take a ridiculous amount of time to run
2023-07-11 23:59:06 +02:00
Alexandre Aubin
2f2ff6eb19
Simplify fpm add config helper (Bookworm) ( #1685 )
...
* Simplify ynh_add_fpm_config helper
* helpers: drop dedicated_service option in ynh_add_fpm_config
2023-07-11 15:58:59 +02:00
Alexandre Aubin
7ba6c37eb8
Merge branch '11.2' into bookworm
2023-07-11 15:56:52 +02:00
Alexandre Aubin
bdc296f858
Merge remote-tracking branch 'origin/dev' into bookworm
2023-07-04 18:10:25 +02:00
Alexandre Aubin
fd7136446e
Simplify ynh_add_fpm_config helper
2023-07-04 18:01:49 +02:00
tituspijean
b2aaefe0e6
Add phpflags setting for app_shell()
2023-06-20 16:44:22 +00:00
Alexandre Aubin
a673b3ed42
Postgresql is now version 15
2023-06-14 10:28:58 +02:00
Alexandre Aubin
f6ab380730
helpers/php: Default PHP version in bookworm is now 8.2
2023-06-14 08:02:35 +02:00
Alexandre Aubin
b4dcd0fb22
Merge branch 'bookworm' into legacy_cleanup
2023-06-13 21:30:01 +02:00
Tagada
5a2570a5d6
Merge branch 'dev' into bookworm
2023-06-11 00:00:38 +02:00
tituspijean
9cebd2e3fe
Merge pull request #1656 from YunoHost/app_shell
2023-05-30 13:28:15 +02:00
tituspijean
f3faac87f8
Improve comments of ynh_spawn_app_shell
2023-05-30 11:27:33 +00:00
tituspijean
db7ab2a98b
Homogeneize command subtitutions in ynh_spawn_app_shell
2023-05-30 11:18:54 +00:00
Alexandre Aubin
daf51e94bd
regeconf: fix security issue where apps' system conf would be owned by the app, which can enable priviledge escalation
2023-05-26 21:06:01 +02:00
tituspijean
1300585eda
Improve ynh_spawn_app_shell comments
...
Co-authored-by: Florent <florent.git@zeteo.me>
2023-05-25 09:48:55 +02:00
tituspijean
bb9db08e29
Improve ynh_spawn_app_shell documentation
2023-05-24 22:32:51 +00:00
tituspijean
cacd43e147
Fix error in ynh_spawn_app_shell
2023-05-24 22:21:35 +00:00
tituspijean
5fa58f19ce
Offer apps to set service name for ynh_spawn_app_shell
2023-05-24 22:19:10 +00:00
tituspijean
a47e491869
Cleanup ynh_spawn_app_shell
2023-05-24 22:08:51 +00:00
tituspijean
ed1b5e567b
Force php to its intended version in ynh_spawn_app_shell
2023-05-24 21:55:20 +00:00
tituspijean
4b4ce9aef6
Default to WorkingDirectory then install_dir for ynh_spawn_app_shell
...
Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2023-05-24 23:13:52 +02:00
tituspijean
cc167cd92c
Rename ynh_load_app_environment into ynh_spawn_app_shell
...
Co-authored-by: Florent <florent.git@zeteo.me>
2023-05-24 21:12:06 +00:00
tituspijean
21c7c41812
Extend ynh_load_app_environment usage examples
...
Co-authored-by: Florent <florent.git@zeteo.me>
2023-05-24 23:08:53 +02:00
tituspijean
072dabaf70
Fix Bash detection for ynh_load_app_environment
2023-05-18 16:45:17 +00:00