Commit graph

4031 commits

Author SHA1 Message Date
axolotle
564a66de2f configpanel: add config panel models 2023-10-22 15:15:14 +02:00
axolotle
bec34b92b0 form: add reserved "id" validator 2023-10-22 15:13:13 +02:00
axolotle
774b11cbbe form: add legacy "name" attr 2023-10-22 15:13:13 +02:00
axolotle
a574855a03 form: fix forbidden readonly type 2023-10-22 15:13:13 +02:00
axolotle
582b1ed311 form: add translating method 2023-10-22 15:13:13 +02:00
axolotle
3ff6e6ed96 app: update app_install 2023-10-22 15:13:12 +02:00
axolotle
c428ba616a test:options: update tests results to pydantic parsing 2023-10-22 15:07:54 +02:00
axolotle
ec5da99a79 form: rework pre + post options validators 2023-10-22 15:07:54 +02:00
axolotle
3943774811 form: add dynamic annotation getters 2023-10-22 15:07:52 +02:00
axolotle
89ae5e654d form: update asking flow, separate form and options 2023-10-22 15:06:51 +02:00
axolotle
f5c56db10e form: use pydantic BaseModel in Options and add some validators 2023-10-22 15:02:10 +02:00
axolotle
5bd8680847 domain:config: restrict portal options to topest domains 2023-10-19 18:39:15 +02:00
axolotle
163dd4d359 domain:config: remove 'portal_logo' for now 2023-10-19 18:28:29 +02:00
axolotle
2b5726f4a8 portal: update settings reading from new config file 2023-10-18 18:36:07 +02:00
axolotle
9d21501648 domain:config: update portal option saving 2023-10-18 18:34:25 +02:00
axolotle
8d366e67b0 app_ssowatconf: generate per domain portal config with available apps 2023-10-18 18:29:55 +02:00
axolotle
c577125363 portal: temp disable 'show_other_domains_apps' settings due to missing domain info in ldap 2023-10-17 14:46:16 +02:00
axolotle
d65cca5ab1 portal: fix decode error 2023-10-17 14:15:59 +02:00
axolotle
089e0001c2 portal: retreive app permissions from ldap 2023-10-17 14:15:22 +02:00
Alexandre Aubin
a0ce7c2d28 ssowatconf: drop unused redirected_regex mechanism + we don't need the label+show_tile info in ssowat conf anymore 2023-10-07 17:40:06 +02:00
Alexandre Aubin
8036226935 Typo 2023-10-07 17:12:26 +02:00
Alexandre Aubin
2fc2acea51 portalapi: misc fixes related to logging, edgecases 2023-10-06 14:11:38 +02:00
Alexandre Aubin
814696e9c1 portal: redirect to $host/yunohost/admin by default (cf recent commit in ssowat) 2023-09-29 14:34:33 +02:00
Alexandre Aubin
127b6121d1 meh 2023-09-27 22:29:27 +02:00
Alexandre Aubin
d3418479a2 fix remaining log.getActionLogger 2023-09-27 22:25:44 +02:00
Alexandre Aubin
a0dbf6a5b0 portal: improve domain setting fetch + set show_other_domains_apps to false by default ? 2023-09-27 20:40:50 +02:00
Alexandre Aubin
9e87ea88df portal-api: improve semantic for yunohost public portal stuff 2023-09-27 19:30:55 +02:00
Alexandre Aubin
db30b3acb8
Merge branch 'bookworm' into portal-api 2023-09-27 18:57:02 +02:00
Alexandre Aubin
883bb2b498 Merge remote-tracking branch 'origin/dev' into bookworm 2023-09-27 17:56:48 +02:00
Alexandre Aubin
8a72bac884
Merge pull request #1692 from YunoHost/logging-is-a-mess
Moulinette logging is an unecessarily complex mess, episode 57682
2023-09-27 17:45:21 +02:00
stanislas
df1f3149ea The p value of a DMARC record can take the values none, quarantine or reject
The validation is no more about the being similar to the expected config. Now wre check that the value of the p parameter of a DMARC record has the value none, quarantine or reject. No check for other parameters but it could be improved
2023-09-12 00:37:47 +02:00
Kay0u
142fad4b78
typo 2023-09-08 23:50:30 +02:00
Kay0u
aed8ecb645
do not skip tests from 11.2 2023-09-08 23:47:57 +02:00
Kay0u
e77e9a0a9a
backup/restore tests from 11.2 2023-09-08 23:13:38 +02:00
orhtej2
920fe527f4
Allow system users to send mails from IPv6 localhost and in no-IP contexts. 2023-09-07 22:14:06 +02:00
axolotle
c641f099c5 add temp messy file handling for portal custom logo 2023-09-07 17:57:08 +02:00
Pierre de La Morinerie
79e41a1e4b
app.py: fix typo in log statement 2023-09-07 16:22:16 +02:00
axolotle
bfedf144b3 add settings getter + /public route to get settings and public apps 2023-09-04 16:31:58 +02:00
axolotle
2136db32b6 return domain from _get_user_infos 2023-09-04 16:27:06 +02:00
axolotle
20d21b57e0 wip: save portal configpanel options in separate file .portal.yml 2023-09-04 16:24:01 +02:00
axolotle
5562b61db0 add 'list_portal' AppOption modifier to add portal as a possible choice 2023-09-04 16:20:29 +02:00
axolotle
0645d18e67 add host as session cookie info 2023-09-04 16:19:07 +02:00
Alexandre Aubin
52951239c5
Merge pull request #1704 from YunoHost/Tagadda-patch-1
Use the existing db_name setting for database provising
2023-08-31 17:27:46 +02:00
axolotle
8f0f85b722 merge update_password with update 2023-08-29 16:28:32 +02:00
ljf (zamentur)
0b05143745
[fix] Diagnosis: reverse DNS check should be case-insensitive #2235 2023-08-25 03:23:33 +02:00
Alexandre Aubin
b0fe49ae83 configpanels/forms : more edge cases with some questions not implementing some methods/attributes 2023-08-22 17:36:12 +02:00
Tagada
73a144fa46
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-22 17:12:03 +02:00
Tagada
ee4d94d382
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-22 17:11:56 +02:00
Alexandre Aubin
07daa68770 apps: BACKUP_CORE_ONLY was not set for pre-upgrade safety backups, resulting in unecessarily large pre-upgrade backups 2023-08-22 15:37:47 +02:00
Tagada
32376cf18f
Use the existing db_name setting for database provising
This should help upgrading an app from packaging v1 when db_name was different from `app`
2023-08-21 16:39:54 +02:00