Commit graph

9902 commits

Author SHA1 Message Date
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
axolotle
650c0136f2 form:UserOption: merge choices and default into root validator with first admin user as default 2023-11-26 18:29:43 +01:00
axolotle
4a270b88b6 quality: fix lint + some formatting 2023-11-26 17:42:48 +01:00
axolotle
45b36dae05 domain: reset portal_logo value even if file has already been removed 2023-11-26 17:12:58 +01:00
axolotle
d28b6e96c8 configpanel: raise when unknown filter key 2023-11-26 17:01:38 +01:00
axolotle
25e23ce963 portal: reflect changes of splitting user form into info and password 2023-11-25 21:39:31 +01:00
axolotle
c8d0990e7b fix: pop 'portal_logo' when resaving settings 2023-11-25 21:38:33 +01:00
axolotle
e5a593a4bb fix: FileOption return already saved and hashed filepath 2023-11-25 21:37:29 +01:00
Alexandre Aubin
321aea4171 yolo: try to profile what's taking up so much time in tests... 2023-11-25 02:03:42 +01:00
yunohost-bot
ce0cbc5fed [CI] Format code with Black 2023-11-24 21:53:33 +00:00
Alexandre Aubin
8293388975 Merge remote-tracking branch 'origin/dev' into bookworm 2023-11-24 22:52:06 +01:00
Alexandre Aubin
c216a3f246 Merge remote-tracking branch 'origin/dev' into bookworm 2023-11-24 22:35:25 +01:00
Alexandre Aubin
5746b94dff Update changelog for 11.2.6 2023-11-24 22:17:47 +01:00
Alexandre Aubin
da20964044
quality: unused import 2023-11-24 21:00:10 +01:00
axolotle
7e6fea440e quality: fix FileOption validator typing 2023-11-24 16:23:04 +01:00
Alexandre Aubin
b7882c9323 quality: fix obvious linter issues 2023-11-24 16:12:54 +01:00
axolotle
91f4e5fa42 domainconfig: add portal custom intros 2023-11-23 15:58:23 +01:00
axolotle
0095549b18 i18n: add domain config portal translations 2023-11-23 15:57:26 +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
Alexandre Aubin
b06484fede
Merge pull request #1735 from chri2/dovecot_make_folders
let dovecot create folders on first login
2023-11-20 19:03: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
Alexandre Aubin
38469accee
Merge pull request #1738 from selfhoster1312/faster-user-option-form
Don't make so many queries for user info when building UserOption form
2023-11-20 19:00:25 +01:00
Alexandre Aubin
50c00c60bc
Merge pull request #1741 from mh4ckt3mh4ckt1c4s/fix-backup-warning-message
Fix backup error message if archive already exists
2023-11-20 18:56:42 +01:00
axolotle
b6f7967758 domain:config: handle "portal_logo" with "python" mode and save content in portal settings 2023-11-17 17:30:01 +01:00
axolotle
2b75c8f036 form:FileOption: add file "accept" validation handling 2023-11-17 17:28:25 +01:00
axolotle
4dc9d35304 form:FileOption: add mode "bash" versus "python" validators 2023-11-17 17:27:24 +01:00
axolotle
64e2c3177c form: add "mode" to BaseOption to distinguish "bash" and "python" serialization 2023-11-17 17:21:34 +01:00
Alexandre Aubin
566f5d29a7 domain/portal: try to re-implement portal logo 2023-11-13 19:02:25 +01:00