Commit graph

9979 commits

Author SHA1 Message Date
Alexandre Aubin
9809de65f8 tests: fix permission tests 2023-12-08 09:10:03 +01:00
Alexandre Aubin
3765349436 tests: fix boring warning about domain_a.dev/domain_b.dev during permissions tests 2023-12-08 09:00:17 +01:00
Alexandre Aubin
fb52083b09 tests: more debug attempt + remove the boring 'other_domain' for many test where we don't really care about second domain yet this slow things stuff ... 2023-12-07 16:39:27 +01:00
Alexandre Aubin
8351d88da1 ci: yolotry to add more info to debug issue with sso check 2023-12-07 15:53:01 +01:00
axolotle
2db709e043 i18n: add domain configpanel help keys in expected keys + add/remove some keys 2023-12-07 14:28:08 +01:00
axolotle
544fe85773 i18n: rename pydantic errors + register in form file 2023-12-07 14:26:01 +01:00
axolotle
5563fd8ca0 tests:backuprestore: let hooks gracefully fake exec except 'restore' 2023-12-07 13:49:47 +01:00
yunohost-bot
f436057d27 [CI] Format code with Black 2023-12-05 19:51:58 +00:00
Alexandre Aubin
38db30cd70 Update changelog for 11.2.8 2023-12-05 19:22:34 +01:00
Alexandre Aubin
857a285b5a
Merge pull request #1746 from YunoHost/fix_change_url
helpers: Further simplify the change url helper
2023-12-05 19:17:42 +01:00
Alexandre Aubin
8c475d0a7b
Further simplify ynh_change_url_nginx_config 2023-12-05 19:01:17 +01:00
axolotle
878944c7c1 form: fix pattern can be None 2023-12-02 17:24:42 +01:00
axolotle
dad366da61 Merge branch 'dev' into bookworm 2023-12-01 18:46:39 +01:00
axolotle
cdc703a48f form: add pydantic errors translations 2023-12-01 18:25:22 +01:00
axolotle
719ffe387e tests:options: add small test for pattern 2023-12-01 18:24:29 +01:00
axolotle
3f320a2358 portal:auth: samesite=None in dev mode 2023-11-30 14:04:13 +01:00
Josué Tille
fe3416aa02
Set domain with new_domain and path with new_path 2023-11-29 15:02:47 +01:00
Josué Tille
570184ac1e
Fix change url 2023-11-29 14:55:26 +01:00
axolotle
246c513796 portal:auth: remove touch in delete_session_cookie 2023-11-29 14:32:11 +01:00
axolotle
6f9203c98c form:FileOption: fix cli file check 2023-11-29 14:09:36 +01:00
axolotle
c5758bcd30 tests:questions: reflect changes of patch_users 2023-11-29 14:08:42 +01:00
Alexandre Aubin
29a452c1d3 ci: warnings about 'not identify correctly the dns zone for domain' driving me crazy² 2023-11-29 00:28:17 +01:00
Alexandre Aubin
a7553501b0 ci: warnings about 'not identify correctly the dns zone for domain' driving me crazy 2023-11-29 00:26:19 +01:00
Alexandre Aubin
60b7f63afa ci: move lint stage as first stage, require invalidcode to pass before running builds 2023-11-29 00:11:33 +01:00
Alexandre Aubin
35c809a726 ci: simplify 'test actionsmap' job, move it to linting 2023-11-28 23:58:50 +01:00
Alexandre Aubin
a0d6c9a032 ci: remove tmp profiling stuff 2023-11-28 23:52:29 +01:00
Alexandre Aubin
e7379a7ec3 ci: whoopsies stages must be declared in the other file 2023-11-28 23:37:40 +01:00
Alexandre Aubin
aaaea0dce2 ci: rework the translation+doc stages, have a 'bot' stage for everything that is likely to create a PR instead 2023-11-28 23:30:25 +01:00
Alexandre Aubin
0eccb7e46b ci: disable 'full-test' which is a huge pain, always run every 'test' jobs instead 2023-11-28 23:20:08 +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
9a4b0e422d quality: unused import, missing import 2023-11-28 20:19:06 +01:00
Alexandre Aubin
24741de4d9 portalapi: turns out ssowat (as www-data) needs to be able to validate that the session file exists 2023-11-28 19:15:33 +01:00
Alexandre Aubin
d7855fc9a7 portalapi: propagate changes to fail2ban config 2023-11-28 18:40:49 +01:00
Alexandre Aubin
356c081a4f portalapi: implement a proper expiration/prolong mechanism for session cookies 2023-11-28 18:40:49 +01:00
Alexandre Aubin
59875cae23
domains: also regen dovecot configuration when adding a domain 2023-11-28 16:30:45 +01:00
axolotle
213d6416b6 test:permissions: update sso url and credentials structure 2023-11-28 16:26:44 +01:00
axolotle
2459834c1c tests:permissions: add an admin user 2023-11-28 16:10:25 +01:00
axolotle
c80feaeed3 tests: show_tile + label no longer in ssowat conf file 2023-11-28 15:46:41 +01:00
Alexandre Aubin
ed7c626c28
Merge pull request #1744 from YunoHost/lazyloadconfigpanel
perf: improve perf for a bunch of operations by lazy import + lazy define of config-panel related stuff
2023-11-28 14:46:16 +01:00
axolotle
5b5527a279 app:config: fix indentation for file content 2023-11-28 14:41:38 +01:00
Alexandre Aubin
3dda3bc4d5 perf: improve perf for a bunch of operations by lazy import + lazy define of config-panel related stuff 2023-11-28 14:31:38 +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
Alexandre Aubin
4897f72974 Update changelog for 11.2.7 2023-11-27 14:15:19 +01:00
Alexandre Aubin
7a82f6e4b9
Merge pull request #1740 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2023-11-27 14:11:00 +01:00
José M
04f326528f Translated using Weblate (Galician)
Currently translated at 100.0% (782 of 782 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/gl/
2023-11-27 14:10:47 +01:00
ppr
fff8b2d95a Translated using Weblate (French)
Currently translated at 99.8% (781 of 782 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2023-11-27 14:10:47 +01:00
José M
ff4c1433d2 Translated using Weblate (Galician)
Currently translated at 100.0% (782 of 782 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/gl/
2023-11-27 14:10:47 +01:00
xabirequejo
207c0ff1ab Translated using Weblate (Basque)
Currently translated at 99.1% (775 of 782 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/eu/
2023-11-27 14:10:47 +01:00
Alexandre Aubin
93606e1132
Merge pull request #1742 from YunoHost/ci-format-debian/11.2.6
[CI] Format code with Black
2023-11-27 14:10:43 +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