Commit graph

2782 commits

Author SHA1 Message Date
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
9d559bf42c We need quotes here, otheriwse yaml isn't happy later when loading the metadata file 2019-08-05 18:36:09 +02:00
Alexandre Aubin
32e01d9cff Don't miserably fail if we can't load detail for a log entry 2019-08-05 18:36:03 +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
c6f653822e Gotta feed the file path, not the file itself 2019-08-04 18:47:34 +02:00
Alexandre Aubin
6936fa95b9 Gotta feed the file path, not the file itself 2019-08-04 18:45:42 +02:00
Laurent Peuch
1224380265 [fix] retreive the actual value 2019-08-04 18:16:35 +02:00
Laurent Peuch
e1a1e0bb35 [mod] use read_yaml and only keep sensible code inside of exception 2019-08-04 18:13:20 +02:00
ljf (zamentur)
008c2886aa [fix] Use read_yaml instead of custom yaml load 2019-08-04 18:13:13 +02:00
ljf (zamentur)
705d50fa6e [fix] Path not displayed in log_corrupted_md_file 2019-08-04 18:13:06 +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
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