Commit graph

1474 commits

Author SHA1 Message Date
Bram
a19df2c09c
Merge pull request #764 from YunoHost/actions_and_config_operation_logs
[enh] integrate actions/config-panel into operation_logs
2019-08-12 13:51:44 +02:00
Bram
268abdfbbd
Merge pull request #767 from YunoHost/ux_better_not_installed_apps
[ux] better error message for not installed app
2019-08-09 16:47:32 +02:00
Bram
82631c1dc7
Merge pull request #748 from YunoHost/manifest-in-toml
Manifest in toml
2019-08-09 16:46:38 +02:00
Alexandre Aubin
74b5ea5982 Propagate changes to _skip_all_migrations 2019-08-05 22:07:48 +02:00
Alexandre Aubin
dedc85e52a Implement / clean strings + fix some edge cases 2019-08-05 21:55:52 +02:00
Alexandre Aubin
add3bd29b0 Add dependencies between migrations 2019-08-05 21:10:03 +02:00
Alexandre Aubin
1a095f1299 Remove service_enable from stuff logged using operation logger ... it's buggy (i18n not working) + doesn't make sense that this one and not service_disable and service add/start/... 2019-08-05 19:10:48 +02:00
Alexandre Aubin
1cec9d78eb We need quotes here, otheriwse yaml isn't happy later when loading the metadata file 2019-08-05 18:27:11 +02:00
Alexandre Aubin
d507d447dd Don't miserably fail if we can't load detail for a log entry 2019-08-05 18:27:00 +02:00
Alexandre Aubin
da64778b0d Migrate the old migration json to the new yaml format 2019-08-05 17:57:13 +02:00
Alexandre Aubin
2723300dca Rework the migration system to have independent, non-ordered migrations, so each migration has a state skipped / done / pending and can be ran independently from others 2019-08-05 17:57:13 +02:00
Alexandre Aubin
bee4fb70fd [mod] Move this block to have a whole part dedicated to migrations 2019-08-05 17:57:13 +02:00
Alexandre Aubin
817358ade4 [yolo] Improve handling of situation where applist can't be fetched somehow... 2019-08-04 22:18:32 +02:00
Alexandre Aubin
6936fa95b9 Gotta feed the file path, not the file itself 2019-08-04 18:45:42 +02:00
Alexandre Aubin
0ad91b027c
Merge pull request #754 from YunoHost/fix-log_corrupted_md_file
[fix] Path not displayed in log_corrupted_md_file
2019-08-04 18:01:53 +02:00
Alexandre Aubin
e2899c8158
Merge pull request #766 from YunoHost/avoid_silent_exception
[mod] remove silent exception in toos_update
2019-08-04 17:58:56 +02:00
Laurent Peuch
04e5c7c203 [mod] use read_yaml and only keep sensible code inside of exception 2019-08-04 17:45:40 +02:00
Alexandre Aubin
81843b2b95
Support .sh as an exception for bash hooks 2019-08-03 20:56:36 +02:00
Alexandre Aubin
f07be378e9
Merge pull request #763 from YunoHost/fix_group_permissions
Fix variable definition for permission in backup
2019-08-03 20:46:42 +02:00
Laurent Peuch
98d6735586 [ux] better error message for not installed app 2019-07-30 01:27:50 +02:00
Alexandre Aubin
3132d35df6 Typos 2019-07-30 01:22:31 +02:00
Laurent Peuch
6b285bae88 [mod] remove silent exception in toos_update 2019-07-30 01:18:14 +02:00
Laurent Peuch
96764fc03d [mod] BREAKING (but should be fine) apps without path aren't considering using the domain anymore 2019-07-29 23:03:57 +02:00
Laurent Peuch
2978df56fb [enh] integrate actions/config-panel into operation_logs 2019-07-29 22:58:05 +02:00
Laurent Peuch
933bf99052 [mod] pep8 2019-07-29 03:44:40 +02:00
Josué Tille
7349c42886
Fix identation 2019-07-28 17:05:34 +02:00
Josué Tille
e556d010bc
Fix variable definition for permission in backup 2019-07-28 16:42:15 +02:00
Bram
c4408ea28d
Merge pull request #761 from YunoHost/dont_truncates_logs
[mod] don't truncate 'yunohost log display' log by default
2019-07-28 06:07:22 +02:00
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
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
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