Commit graph

4048 commits

Author SHA1 Message Date
Alexandre Aubin
29338f79bc apps: don't attempt to del password key if it doesn't exist 2023-06-14 15:48:12 +02:00
Alexandre Aubin
48ee78afa2 fix tests: my_webapp is using manifest v2 now 2023-06-13 14:48:30 +02:00
Alexandre Aubin
84984ad89a Fix again /var/www/.well-known/ynh-diagnosis/ perms which are too broad and could be exploited to serve malicious files x_x 2023-06-12 17:41:18 +02:00
yunohost-bot
2f982e26a9 [CI] Format code with Black 2023-06-12 00:30:59 +00:00
8caff6a9dc Allow passing a list in the manifest.toml for the apt resource packages 2023-06-10 22:27:39 +02:00
Alexandre Aubin
d42c99835a nginx: use /var/www/.well-known folder for ynh diagnosis and acme challenge, because /tmp/ could be manipulated by user to serve maliciously crafted files 2023-06-09 22:30:32 +02:00
Tagada
fee5375dc4 more verbose logs for user_group _update
fix YunoHost/issues#2193
2023-06-04 23:50:23 +02:00
tituspijean
9cebd2e3fe
Merge pull request #1656 from YunoHost/app_shell 2023-05-30 13:28:15 +02:00
tituspijean
cc167cd92c
Rename ynh_load_app_environment into ynh_spawn_app_shell
Co-authored-by: Florent <florent.git@zeteo.me>
2023-05-24 21:12:06 +00:00
Kay0u
f046c291e5
add missing args in tests 2023-05-22 19:32:53 +02:00
tituspijean
2b65913b89
Launch app shell 2023-05-18 19:35:56 +00:00
tituspijean
425670bcfb
Remove useless var declaration in app_shell function 2023-05-18 16:14:50 +00:00
tituspijean
d27e9a9eea
Add ynh_load_app_environment helper 2023-05-18 16:14:49 +00:00
tituspijean
3bb32dc1e4
Init app_shell 2023-05-18 16:14:49 +00:00
axolotle
097cba4b56 tests:options: fix missing data
patching
2023-05-18 14:47:09 +02:00
Alexandre Aubin
ecc4c2bd1c tests: flake8 not happy about escape sequence in comment @_@ 2023-05-15 16:23:09 +02:00
Alexandre Aubin
8fa823b414 appsv2: fix funky current_version not being defined when hydrating pre-upgrade notifications 2023-05-13 19:07:34 +02:00
yunohost-bot
74f4c1660c [CI] Format code with Black 2023-05-08 14:27:54 +00:00
Alexandre Aubin
a7350a7eae appsv2/regenconf: prevent set -u to be enabled during regen-conf triggered from inside appsv2 scripts 2023-05-04 17:02:35 +02:00
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