Commit graph

4436 commits

Author SHA1 Message Date
Alexandre Aubin
c0337bf1ef logs: Ignore boring java warning 2023-12-13 15:10:30 +01:00
Alexandre Aubin
830d7b47e0 systemutils: when checking debian version and system arch, redirect stderr to /dev/null to prevent stupid issues, for example when the current working dir doesnt exist anymore.. 2023-12-13 13:15:55 +01:00
Alexandre Aubin
d1022b1a6c Merge remote-tracking branch 'origin/dev' into bookworm 2023-12-12 15:12:13 +01:00
Alexandre Aubin
05ea37d694 lazy-load crypt which is a deprecated lib to avoid having DepreciationWarnings all over the place 2023-12-12 15:11:32 +01:00
axolotle
1d734b5df5 form: fix SelectOption's choices coercing list to dict 2023-12-12 12:17:19 +01:00
Alexandre Aubin
54a6a1b3d2 Aleks forgot to remove pdb.set_trace ... 2023-12-09 18:26:02 +01:00
yunohost-bot
0a7b5fb0ba [CI] Format code with Black 2023-12-09 15:12:51 +00:00
Alexandre Aubin
33774ce625
Merge pull request #1747 from YunoHost/ci-format-debian/11.2.8
[CI] Format code with Black
2023-12-09 15:55:59 +01:00
Alexandre Aubin
169c921444 Fix change_url again, otherwise the lack of path_url default to the old path and fucks up the nginx regen 2023-12-09 15:54:04 +01:00
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
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
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
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
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
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
yunohost-bot
ce0cbc5fed [CI] Format code with Black 2023-11-24 21:53:33 +00:00
Alexandre Aubin
c216a3f246 Merge remote-tracking branch 'origin/dev' into bookworm 2023-11-24 22:35:25 +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