Commit graph

9830 commits

Author SHA1 Message Date
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
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
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
axolotle
90aa6b86f1 form:BaseChoicesOption: do not declare choices to allow other related fields to come first in subclasses 2023-11-13 16:51:25 +01:00
axolotle
d7166bf77f portal: more explicit errors with path 2023-11-13 16:48:56 +01:00
Alexandre Aubin
587d729d60 portalapi: tweak ldap management to handle anonymous queries, eg to fetch domain list as ynh-portal 2023-11-13 15:39:38 +01:00
Alexandre Aubin
7fe950d11e Merge remote-tracking branch 'origin/dev' into bookworm 2023-11-12 16:45:41 +01:00
mh4ckt3mh4ckt1c4s
61defdb4c1 Fix backup error message if archive already exists 2023-11-10 20:58:37 +01:00
axolotle
d36ca72887 fix: some test apps has empty string domain 2023-11-09 17:40:04 +01:00
axolotle
5e81579c31 form: TagOption: add icon prop 2023-11-09 17:32:02 +01:00
axolotle
03fc739b3c domain: add _get_raw_domain_settings to read settings directly + use it in app_info to avoid infinite recursion 2023-11-09 15:49:19 +01:00
axolotle
5a655ba8cf domain:configpanel: update recovery_password check to new configpanel syntax 2023-11-09 14:56:01 +01:00
axolotle
ec2ffe6813 configpanel: remove unused arg 'config' from _get_raw_settings() 2023-11-09 14:52:58 +01:00
tituspijean
02e6346bc5
Fix certificates validity in actionsmap.yml 2023-11-08 12:56:42 +01:00
selfhoster1312
8ee5aade72 Don't make so many queries for user info when building UserOption form 2023-11-04 14:36:32 +01:00
axolotle
6bcc3dd1c0 typing: fix logger typing + ignore weird constructors 2023-10-31 15:07:03 +01:00
chri2
8cb6a5649b
let dovecot create folders on first login
tells dovecot to create standard folders on first login if they do not exist and which folder names are used for special purposes like archive, spam/junk, sent, etc.
2023-10-31 14:07:36 +01:00
axolotle
a924379774 Merge remote-tracking branch 'origin/dev' into bookworm 2023-10-31 03:11:49 +01:00
axolotle
004f44ed2d configpanel: add bind prop to SectionModel + PanelModel 2023-10-31 03:08:53 +01:00
axolotle
bfba939927 Merge remote-tracking branch 'origin/dev' into bookworm 2023-10-31 02:57:26 +01:00
Alexandre Aubin
f56f235705
Merge pull request #1734 from Tharyrok/ench-firewall-disable-resovle-ip
[enh] Reload firewall disable resolve IP
2023-10-30 22:30:19 +01:00
Tharyrok
917b2961d2
Disable resolve ip 2023-10-30 21:55:59 +01:00
Alexandre Aubin
1131e76f4c quality: fix typo, handle mypy error 2023-10-30 19:19:02 +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
5a3fe5460b quality: unused import 2023-10-30 19:06:44 +01:00