Commit graph

4228 commits

Author SHA1 Message Date
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
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
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
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
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
Alexandre Aubin
1acaf2af2e
Merge pull request #1653 from YunoHost/options-doc
ConfigPanel and app install form Options documentation
2023-10-30 19:05:56 +01:00
Alexandre Aubin
157f8c8121
Merge pull request #1729 from YunoHost/extras_packages_from_raw_bash
Support packages_from_raw_bash in extra packages
2023-10-30 18:51:51 +01:00
Alexandre Aubin
f02538cef0 doc: iterate on configpanel/form documentation 2023-10-30 18:39:31 +01:00
Alexandre Aubin
093c707eb6
Merge pull request #1677 from YunoHost/pydantic
ConfigPanel: switch to pydantic 3/3
2023-10-30 15:19:17 +01:00
axolotle
9423168aaf configpanels: fix app is_default + dns alert style 2023-10-30 15:17:01 +01:00
Alexandre Aubin
24cb534719
Merge pull request #1708 from YunoHost/enh-restore-hook
[enh] Add post_app_restore hook
2023-10-30 14:10:43 +01:00
Kay0u
7f954af6b6 fix an error in dump_script_log_extract_for_debugging 2023-10-30 13:59:59 +01:00
axolotle
3faa574267 configpanel: add proper schema definition 2023-10-25 15:07:31 +02:00
axolotle
c4c79c61fe configpanel: forbid extra props on BaseOption + accordingly fix tests 2023-10-25 15:06:10 +02:00
axolotle
02619e8284 doc:config fix missing aleks additions 2023-10-24 15:05:26 +02:00
axolotle
b80868e967 doc:config: misc cosmetics fix 2023-10-24 14:06:16 +02:00
axolotle
ee72d2f463 doc:config: add ljf's advanced config panel doc 2023-10-23 19:05:23 +02:00
axolotle
d676348d35 doc: fix page routes and inconsistencies 2023-10-23 17:14:44 +02:00
axolotle
b3167ba2e8 doc:configpanel: add ConfigPanel doc with part of lfj comment in app example_ynh 2023-10-23 14:15:25 +02:00
axolotle
900f462791 doc:form: complete with ljf comments found in app example 2023-10-23 14:15:25 +02:00
axolotle
1221fd1458 doc:options: add documentation and generator for configpanel/manifest options 2023-10-23 14:15:25 +02:00
Alexandre Aubin
54bc79ed58
Apply suggestions from code review 2023-10-22 18:53:57 +02:00
Sebastian Gumprich
74fd75ea33
fix typos 2023-10-22 18:43:26 +02:00
axolotle
9134515604 domain:config: make 'registrar' info a frozen input since an alert has no value 2023-10-22 17:53:50 +02:00
axolotle
3a31984e3c configpanel: allow other ConfigPanels to have no settings defined 2023-10-22 17:51:04 +02:00
axolotle
e7b43c763c configpanel: do not raise error if no settings file 2023-10-22 17:49:08 +02:00
axolotle
66cb855c0c domain: type fix 2023-10-22 17:47:43 +02:00
axolotle
3cae07970e form: remove no longer used hydrate_option_type method 2023-10-22 15:50:32 +02:00
axolotle
3a5d353c4b form: force option type to 'select' if there's 'choices' 2023-10-22 15:50:32 +02:00
axolotle
3f417bb9b3 tests: update error instance in tests to YunohostError for packaging errors 2023-10-22 15:50:32 +02:00
axolotle
ef860ee6ee form: default type to "select" if choices in option 2023-10-22 15:50:32 +02:00
axolotle
6953a8bf15 configpanel: quick fix option typing 2023-10-22 15:50:30 +02:00
axolotle
2f4c88ec55 form: parse pydantic error in logging 2023-10-22 15:49:29 +02:00
axolotle
51d302bf18 configpanel: is_action_section as attr 2023-10-22 15:49:29 +02:00
axolotle
d370cb0b24 configpanel: add value in options dict for config get --full 2023-10-22 15:49:29 +02:00
axolotle
48f882ecd3 form+configpanel: reflect Section optional value to all its Options 2023-10-22 15:49:29 +02:00
axolotle
fccb291d78 form: readd pattern to path 2023-10-22 15:49:29 +02:00
axolotle
b778aaf780 form: remove ChoosableOptions for now 2023-10-22 15:48:07 +02:00
axolotle
6bef4b1e0e app: remove call of 'domain_config_get' to avoid infinite recursion 2023-10-22 15:48:07 +02:00