Commit graph

1499 commits

Author SHA1 Message Date
Alexandre Aubin
e9e857c325 Handle case where we can't find the info.json for some reason ... 2019-07-27 01:12:41 +02:00
Laurent Peuch
680b3a0793 [mod] don't truncate 'yunohost log display' log by default 2019-07-21 19:43:55 +02:00
Laurent Peuch
5c02dec59c [fix] retreive the actual value 2019-07-21 17:18:12 +02:00
ljf (zamentur)
2db493c7d6
[fix] Use read_yaml instead of custom yaml load 2019-07-15 13:30:22 +02:00
Alexandre Aubin
8c4d136a7f Check python hook did return the expected format 2019-07-13 18:42:00 +02:00
ljf (zamentur)
99d6daf3ab
[fix] Path not displayed in log_corrupted_md_file 2019-07-12 14:17:35 +02:00
Laurent Peuch
ca9cb79935 [enh] add support for manifest in toml 2019-07-07 05:53:02 +02:00
Laurent Peuch
9b86a9dd8b [mod] remove overkill exception catching 2019-07-07 04:49:44 +02:00
Laurent Peuch
506aaf7472 [mod] negative index are more readable 2019-07-07 04:08:09 +02:00
Alexandre Aubin
a9a9e5a44c Also redact vars ending with 'secret' or 'key' 2019-07-06 19:36:38 +02:00
Alexandre Aubin
4ef30b7f10 Also redact percent-escaped passwords which may appear in the metadata for webadmin installs 2019-07-06 19:36:34 +02:00
Alexandre Aubin
0d2a9b0a98 Also redact vars ending with 'secret' or 'key' 2019-07-06 19:33:57 +02:00
Alexandre Aubin
a1c228930f Also redact percent-escaped passwords which may appear in the metadata for webadmin installs 2019-07-06 19:30:57 +02:00
Alexandre Aubin
f7329a61e9 Use the new acme-v02 API, fixes the newAccount keyError issue in acme_tiny 2019-07-06 18:39:05 +02:00
Alexandre Aubin
810d0ebe31 Use the new acme-v02 API, fixes the newAccount keyError issue in acme_tiny 2019-07-06 18:37:01 +02:00
Alexandre Aubin
491959f16e Implement Python hooks handling 2019-07-05 23:05:00 +02:00
Alexandre Aubin
2e6932928b Split handling of hook_exec according to hook type 2019-07-05 22:24:48 +02:00
Alexandre Aubin
59e2db99ba
Merge branch 'stretch-unstable' into group_permission 2019-07-05 20:59:10 +02:00
Alexandre Aubin
41c0689af3 Add '+' in front of messages so that they're displayed in grey in webadmin logs instead of blue, to being able to better visually differentiate these 2019-07-03 21:14:16 +02:00
Alexandre Aubin
f0ad9440cf Be more robust against empty metadata file 2019-07-03 21:01:39 +02:00
Alexandre Aubin
83445599ed [fix] Typo breaking backup_delete 2019-07-02 22:41:43 +02:00
Alexandre Aubin
3c0e0ca6c9
Merge pull request #742 from YunoHost/redact-secrets-from-logs
[enh] Redact secrets from logs
2019-07-02 22:02:03 +02:00
Alexandre Aubin
8917238159
Merge pull request #739 from YunoHost/proper-return-interface-for-app-config
[mod] Proper return interface for app config
2019-07-02 22:01:18 +02:00
Alexandre Aubin
e987ae546b
Merge pull request #744 from YunoHost/actions-dot-toml
[enh] allows actions.toml
2019-07-02 22:00:23 +02:00
Alexandre Aubin
9b3a523a81
Merge pull request #734 from YunoHost/config_panel_ynh_args
use manifest.json/actions.json args format for the config_panel.toml
2019-07-02 21:58:58 +02:00
Alexandre Aubin
18f3540e2f Also redact psql password if it exists 2019-07-02 15:56:56 +02:00
ljf (zamentur)
552eb95731
[fix] Missing internetcube list 2019-07-02 14:37:07 +02:00
Bram
18a6549364
Merge pull request #740 from YunoHost/update-acme-tiny
[enh] Update acmetiny.py to 4.0.4
2019-07-01 14:18:56 +02:00
Laurent Peuch
a083cba149 [enh] allows actions.toml 2019-06-30 07:37:14 +02:00
Laurent Peuch
a18f1f784e [mod] remove debug stuff 2019-06-29 06:03:05 +02:00
Bram
aa621abf57
[doc] typo
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-06-27 05:11:04 +02:00
Alexandre Aubin
6a00aac13a Catch pwd, pass and password as patterns for password 2019-06-27 03:16:46 +02:00
Laurent Peuch
b23296be3c [fix] remove useless line that could generate bugs 2019-06-25 05:37:12 +02:00
Laurent Peuch
7db63b8221 [enh] handle other kinds of type than boolean in config panel 2019-06-25 05:19:30 +02:00
Alexandre Aubin
b1f59148ae
Merge pull request #732 from YunoHost/config_panel_toml
[enh] support config_panel in TOML format
2019-06-24 17:38:42 +02:00
Alexandre Aubin
40de70090e
Merge pull request #738 from YunoHost/backup-delete-should-delete-symlink-target
[fix] Backup delete should delete symlink target
2019-06-24 17:35:05 +02:00
Alexandre Aubin
b26ec9c2fc Find data to redact on-the-fly corresponding to common stuff 2019-06-19 23:14:48 +02:00
Alexandre Aubin
b9e4b91f1b Add /etc/yunohost/mysql as data to redact 2019-06-19 23:11:24 +02:00
Alexandre Aubin
4269c10b80 Also redact metadata file 2019-06-19 22:24:41 +02:00
Alexandre Aubin
e42ce99660 Add all password-type argument as data to redact in app install 2019-06-19 22:24:06 +02:00
Alexandre Aubin
b01bf43475 Change _parse_action_args to also return the arg type :/ 2019-06-19 22:23:05 +02:00
Alexandre Aubin
37274a9e54 Add redacting mechanism for secrets, using a custom Formatter 2019-06-19 21:33:25 +02:00
Alexandre Aubin
6f439c917b Use the new disable_check arg in the acme_tiny interface 2019-06-19 20:40:19 +02:00
Alexandre Aubin
984be7987b Update acme_tiny.py to 5350420 2019-06-19 20:22:54 +02:00
Alexandre Aubin
158aa08022 Fix self-upgrade mechanism, now using systemd-run which is more robust than '&' 2019-06-19 17:56:36 +02:00
Alexandre Aubin
9d63a067be
Improve semantics as suggested by decentral1se 2019-06-18 15:41:27 +02:00
Alexandre Aubin
52d1aff2ae Remove unused stdout/stderr_callback arg 2019-06-18 15:11:19 +02:00
Alexandre Aubin
b1634785fb Add a new 'plain_dict' return type for hook_exec, and use it for app config 2019-06-18 15:10:43 +02:00
Alexandre Aubin
46e388460c [fix] Backup delete should delete symlink target 2019-06-18 14:11:53 +02:00
Alexandre Aubin
7ebb8bade3 Add current and new version for apps in tools_update output 2019-06-07 19:47:09 +02:00