Commit graph

2490 commits

Author SHA1 Message Date
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
Alexandre Aubin
5e93b5cfd9 [fix] When self-upgrading, use a hack to not fill the ended_at and success key right away 2019-06-05 16:23:13 +02:00
Laurent Peuch
8027e92683 [mod] using yunohost format for config-panel arguments 2019-06-04 19:47:16 +02:00
Alexandre Aubin
5d88301cd4
Merge pull request #726 from YunoHost/stupid-tar-leading-dot-issue
[fix] Stupid issue with files inside tar : foo is not the same as ./foo
2019-06-04 00:14:27 +02:00
Alexandre Aubin
b3b6ee54a1
Merge pull request #730 from kay0u/fix_version
[fix] current version in app_info
2019-06-04 00:13:21 +02:00
Laurent Peuch
e2f43b43a5 [fix] make function name clearer, it's not only for actions 2019-06-02 04:45:49 +02:00
Laurent Peuch
4084bddb54 [enh] support config_panel in TOML format 2019-06-01 01:44:33 +02:00
Alexandre Aubin
06a5e29786 Reclassify success messages as debug ? 2019-05-31 18:59:23 +02:00
Alexandre Aubin
cced69aa94 Simplify code using set comprehensions 2019-05-31 18:21:04 +02:00
Alexandre Aubin
24cfc15536 Merge branch 'stretch-unstable' into group_permission 2019-05-31 18:15:09 +02:00