Commit graph

4436 commits

Author SHA1 Message Date
tituspijean
328d9276f0
Fix str(current_version)
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-05-02 13:16:38 +02:00
tituspijean
667612619b
Fix current_version parsing for notifications
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-05-01 18:04:31 +02:00
axolotle
4df7e4681d form: force option type to 'select' if there's 'choices' + add test 2023-04-30 17:15:40 +02:00
Alexandre Aubin
8fbdd228ab appsv2: in perm resource, fix handling of additional urls containing vars to replace 2023-04-28 22:40:40 +02:00
axolotle
c1f0ac04c7 rename Option.name to Option.id 2023-04-19 20:27:17 +02:00
axolotle
fe5c73b4ed form+configpanel: sort imports 2023-04-19 20:27:17 +02:00
axolotle
e87f8ef93a form: use Enum for Option's type 2023-04-19 20:27:17 +02:00
axolotle
ba32078180 configpanel: rename data methods 2023-04-19 20:27:17 +02:00
axolotle
1c7d427be0 form: remove hooks from Option's attrs 2023-04-19 20:27:17 +02:00
axolotle
67687b7cff configpanel: reorder ConfigPanel methods 2023-04-19 20:27:17 +02:00
axolotle
fe2761da4a configpanel: fix choices 2023-04-19 20:27:17 +02:00
axolotle
dc99febe4c form: add fancy separators 2023-04-19 20:27:17 +02:00
axolotle
c439c47d67 form: restrict filter to AppOption 2023-04-19 20:27:17 +02:00
axolotle
e4a0ad35ce form: reorder Option methods 2023-04-19 20:27:17 +02:00
axolotle
f0f89d8f2a form: restrict choices to select, tags, domain, app, user + group 2023-04-19 20:27:17 +02:00
axolotle
5f4c83a4eb form: rename _prevalidate() to _value_pre_validator() + _post_parse_value() to _value_post_validator() 2023-04-19 20:27:17 +02:00
axolotle
07636fe21e form: rename text_cli_* to _get_prompt_message + message 2023-04-19 20:27:17 +02:00
axolotle
9c238f00c3 form: reorder Options 2023-04-19 20:27:17 +02:00
axolotle
9e8e0497dd form: fix readonly prompting + + choices + tests 2023-04-19 20:27:17 +02:00
axolotle
5351698230 form: rename ARGUMENTS_TYPE_PARSERS to OPTIONS 2023-04-19 20:27:17 +02:00
axolotle
4261317e49 form: separate BaseOption into BaseReadonlyOption + BaseInputOption 2023-04-19 20:27:17 +02:00
axolotle
f9fd379997 form: rename Questions to Options 2023-04-19 20:27:17 +02:00
axolotle
91497afbfe form: move option asking+prompt in external function 2023-04-19 20:27:17 +02:00
tituspijean
c96b378d3e
[enh] app id in settings 2023-04-12 21:30:28 +02:00
tituspijean
109375c83f
User .ssh directory should be executable 2023-04-12 09:54:52 +02:00
tituspijean
fb9e892019
Set out-of-catalog, broken, bad quality apps diagnosis as warnings 2023-04-11 20:50:06 +02:00
Alexandre Aubin
58614add79 dyndns: add a 'set-recovery-password' command to set the recovery password using only the key 2023-04-11 20:22:40 +02:00
Alexandre Aubin
cbef40798c dyndns: be able to unsubscribe using the key + domain and i18n string consistency 2023-04-11 19:40:30 +02:00
Alexandre Aubin
e2da51b9a3 dyndns: various tweaks to simplify the code, improve UX ... 2023-04-11 18:43:27 +02:00
Alexandre Aubin
c98da124b2 Merge remote-tracking branch 'origin/dev' into dyndns-password 2023-04-11 16:16:25 +02:00
Alexandre Aubin
789b1b2af9 dyndns: revert changes regarding auto-push ... it's not complete, and the PR about dyndns recovery password is already too complex... 2023-04-11 16:14:01 +02:00
Alexandre Aubin
81360723cc dyndns: Misc semantic tweaks... 2023-04-11 15:17:41 +02:00
Alexandre Aubin
d67e231678 dydns-password-recovery -> dyndns-recovery-password 2023-04-11 14:48:44 +02:00
Alexandre Aubin
b489d8bd99
Merge pull request #1637 from YunoHost/enh-perms-declaration
Support variables in permissions declaration
2023-04-11 13:58:19 +02:00
Alexandre Aubin
8ca756dbd3 appsv2: simplify code to hydrate url/additional_urls with app settings 2023-04-11 13:57:50 +02:00
Alexandre Aubin
f9deb1d835
Merge pull request #1636 from YunoHost/ci-format-debian/11.1.17
[CI] Format code with Black
2023-04-11 13:38:19 +02:00
Alexandre Aubin
aa43e6c22b appsv2: fix edge-case when validating packager-provided infos for permissions resource 2023-04-10 14:34:10 +02:00
tituspijean
fa26574b51
Ooops 2023-04-06 23:32:46 +02:00
tituspijean
a66fccbd5b
Support variables in permissions declaration 2023-04-06 23:21:57 +02:00
yunohost-bot
58cd08e60d [CI] Format code with Black 2023-04-05 15:32:22 +00:00
Alexandre Aubin
9a4267ffa4 appsv2: for the dir/subdirs of data_dir, create parent folders if they don't exist 2023-04-05 15:58:26 +02:00
axolotle
bee218e560 fix configpanel.py and form.py imports 2023-04-04 16:05:36 +02:00
axolotle
f79cfcc067 Merge branches 'split-config-form' and 'split-config-cp' into split-config 2023-04-04 15:55:08 +02:00
axolotle
b688944d11 remove form related code from configpanel.py 2023-04-04 15:54:28 +02:00
axolotle
478291766e mv config.py to configpanel.py 2023-04-04 15:51:55 +02:00
axolotle
d8cb2139a9 remove ConfigPanel code from form.py 2023-04-04 15:50:56 +02:00
axolotle
9c6a7fdf04 mv config.py to form.py 2023-04-04 15:43:46 +02:00
Alexandre Aubin
17e0a11547
Merge pull request #1629 from YunoHost/tests-cp
[tests] Rework questions/options tests
2023-04-04 13:01:35 +02:00
Alexandre Aubin
b5f3662627
Misc syntax 2023-04-04 13:01:25 +02:00
Alexandre Aubin
d5469b77c5
Merge pull request #1633 from YunoHost/ci-format-debian/11.1.16
[CI] Format code with Black
2023-04-04 12:27:01 +02:00