Alexandre Aubin
fd7136446e
Simplify ynh_add_fpm_config helper
2023-07-04 18:01:49 +02:00
Alexandre Aubin
3957b10e92
nginx: replace $http_host by $host, cf https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md / Credit to A.Wolski
2023-07-04 15:00:02 +02:00
Kayou
36a17dfdbd
change string into fstring in resources.py
2023-07-04 14:15:50 +02:00
Alexandre Aubin
dc0fa8c4ac
app resources: fix apt resource broken by previous commits ...
2023-07-04 03:27:33 +02:00
Alexandre Aubin
7d2ecc358e
quality: ignore complain from mypy
2023-07-04 03:02:20 +02:00
Alexandre Aubin
42d74bfa3d
Merge pull request #1683 from orhtej2/patch-1
...
Allow installation from gitea
2023-07-03 22:46:18 +02:00
orhtej2
6f48cbc4a7
Added tests for Gitea URLs.
2023-07-03 22:40:14 +02:00
orhtej2
5c4493ce96
Further update allowed URLs.
2023-07-03 22:36:34 +02:00
orhtej2
f571aff93c
Allow installation from gitea
...
[Gitea](https://about.gitea.com/ ) has branch URL in form `https://domain.tld/gitea/path/ <owner>/<repo>_ynh/src/branch/<branch_name>`.
2023-07-03 22:24:47 +02:00
Alexandre Aubin
510e82fa22
quality: fix mypy complaining about types for the 'extras' key in apt resource
2023-06-23 19:08:53 +02:00
Alexandre Aubin
e87ee09b3e
postinstall: crash early if the username already exists on the system
2023-06-23 02:30:38 +02:00
Alexandre Aubin
bcd2550fdd
Merge pull request #1681 from YunoHost/enh_app_shell
...
apps: Enhance app_shell()
2023-06-20 18:51:22 +02:00
tituspijean
b2aaefe0e6
Add phpflags setting for app_shell()
2023-06-20 16:44:22 +00:00
tituspijean
f47d496183
Ensure that app_shell() does not lock the CLI
2023-06-20 16:35:42 +00:00
Alexandre Aubin
fb4693be39
apps: be able to customize the user-part and domain-part of email when using allow_email on system user
2023-06-20 17:59:09 +02:00
Yann Autissier
f9850a2264
keep fail2ban rules on firewall reload ( #1661 )
...
* keep fail2ban rules on firewall reload
reloading firewall flushes all iptables rules to create new ones,
dropping fail2ban rules in the same time.
* restart fail2ban instead of reload
Reloading fail2ban does not create f2b-* iptables rules.
2023-06-20 17:49:04 +02:00
Alexandre Aubin
d69c196fe4
Merge pull request #1670 from Salamandar/apt_packages_list
...
Allow passing a list in the manifest.toml for the apt resource packages
2023-06-20 17:29:26 +02:00
Alexandre Aubin
4da98e74ae
Merge pull request #1680 from npalix/dnsdiag
...
diagnosis: Support multiple TXT entries for TLD
2023-06-20 16:35:14 +02:00
Nicolas Palix
460e39a2f0
Support multiple TXT entries for TLD
...
The dig of TXT for @ can returns multiple entries.
In that case, the DNS diagnosis fails.
The modification preserves the handling of DMARC and the likes
which use a single entry and a specfic domain name.
For single entry list, the behavior is preserved.
If mutliple TXT entries are defined for @, only the v=spf1
one is returned.
Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
2023-06-20 15:25:31 +02:00
Alexandre Aubin
8a865daddd
apps: add YNH_DEFAULT_PHP_VERSION in app's dict as a boring workaround/fix for apps using YNH_DEFAULT_PHP_VERSION in _common.sh *before* sourcing helpers ...
2023-06-19 16:04:31 +02:00
Alexandre Aubin
ced6d5c975
apps: fix version.parse now refusing to parse legacy version numbers
2023-06-18 15:48:14 +02:00
Alexandre Aubin
19eb48b6e7
Update changelog for 11.1.21.4
2023-06-14 15:49:16 +02:00
Alexandre Aubin
29338f79bc
apps: don't attempt to del password key if it doesn't exist
2023-06-14 15:48:12 +02:00
Alexandre Aubin
a673b3ed42
Postgresql is now version 15
2023-06-14 10:28:58 +02:00
Alexandre Aubin
8ac48ee09e
Drop deprecated firstname/lastname in user_create/update + also drop old deprecated cert- commands
2023-06-14 08:04:16 +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
efe3ace98d
Merge pull request #1619 from YunoHost/legacy_cleanup
...
WIP : Legacy cleanup (meant for Bookworm)
2023-06-13 21:36:37 +02:00
Alexandre Aubin
81b96ad6d4
tests: tmp tweaks to adapt for removed deprecated features
2023-06-13 21:30:20 +02:00
Alexandre Aubin
b4dcd0fb22
Merge branch 'bookworm' into legacy_cleanup
2023-06-13 21:30:01 +02:00
Alexandre Aubin
b6ae711dd7
Merge pull request #1666 from eldertek/fix-2090
...
[fix] Remove deprecated domain_dns_conf
2023-06-13 20:43:35 +02:00
Alexandre Aubin
194eb9c6c7
conf: Update ciphers for nginx, postfix, dovecot
2023-06-13 20:39:56 +02:00
Alexandre Aubin
c4c353843c
Unused vars, unhappy linter gods
2023-06-13 14:57:55 +02:00
Alexandre Aubin
8728b2030c
Remove migrations/0027_migrate_to_bookworm for now because it's triggering errors on the CI, at least half of it should be reworked, and it should be in a separated PR to target dev(=bullseye)
2023-06-13 14:57:55 +02:00
Alexandre Aubin
d1d6da8fcb
Merge branch 'dev' into bookworm
2023-06-13 14:57:44 +02:00
Alexandre Aubin
48ee78afa2
fix tests: my_webapp is using manifest v2 now
2023-06-13 14:48:30 +02:00
Alexandre Aubin
8242cab735
Get rid of previous tmp hack about /dev/null for people that went through the very first 11.1.21, because it's causing issue in unpriviledged LXC or similar context
2023-06-13 12:28:56 +02:00
Alexandre Aubin
6278c68586
Update changelog for 11.1.21.3
2023-06-12 17:42:10 +02:00
Alexandre Aubin
84984ad89a
Fix again /var/www/.well-known/ynh-diagnosis/ perms which are too broad and could be exploited to serve malicious files x_x
2023-06-12 17:41:18 +02:00
Alexandre Aubin
18336b01dc
Merge pull request #1673 from YunoHost/ci-format-debian/11.1.21.2
...
[CI] Format code with Black
2023-06-12 17:35:10 +02:00
yunohost-bot
2f982e26a9
[CI] Format code with Black
2023-06-12 00:30:59 +00:00
Alexandre Aubin
e1569f962b
Update changelog for 11.1.21.2
2023-06-12 00:26:43 +02:00
Alexandre Aubin
313a16476a
Aleks loves xargs syntax >_>
2023-06-12 00:25:38 +02:00
Alexandre Aubin
1222c47620
Update changelog for 11.1.21.1
2023-06-12 00:03:10 +02:00
Alexandre Aubin
e6f134bc91
Fix stupid issue with code that changes /dev/null perms...
2023-06-12 00:02:43 +02:00
Alexandre Aubin
fcf263242e
Update changelog for 11.1.21
2023-06-11 19:35:49 +02:00
Alexandre Aubin
8a27045d78
Merge pull request #1669 from yunohost-bot/weblate-yunohost-core
...
Translations update from Weblate
2023-06-11 19:24:39 +02:00
ppr
bc42fd7ab2
Translated using Weblate (French)
...
Currently translated at 100.0% (768 of 768 strings)
Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2023-06-11 12:41:28 +02:00
Tymofii-Lytvynenko
69339f8d0e
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (768 of 768 strings)
Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/uk/
2023-06-11 02:30:11 +02:00
Tagada
5a2570a5d6
Merge branch 'dev' into bookworm
2023-06-11 00:00:38 +02:00
8caff6a9dc
Allow passing a list in the manifest.toml for the apt resource packages
2023-06-10 22:27:39 +02:00