Commit graph

3345 commits

Author SHA1 Message Date
ljf
b54266cbf3 [fix] Unwanted residual code 2019-08-14 17:55:17 +02:00
ljf
f98ad4f191 [enh] Avoid to modify untestable migrations 2019-08-14 17:39:23 +02:00
ljf
0a2ba102c8 [enh] Avoid to modify untestable migrations 2019-08-14 17:37:43 +02:00
ljf
fac44f44d0 [enh] Avoid to modify untestable migrations 2019-08-14 17:29:24 +02:00
ljf
ed3e014fee [enh] Remove revert mechanism 2019-08-14 16:46:14 +02:00
ljf
f0c0eff41d [enh] english sentence in a comment 2019-08-14 13:13:59 +02:00
ljf
7a0dbf7977 [fix] Ask for specifying migrations to skip 2019-08-14 13:05:23 +02:00
ljf
c81eab396b [enh] Pep8 2019-08-14 12:52:47 +02:00
ljf
81ae41a3e4 [enh] Warn user about --revert option 2019-08-14 12:27:32 +02:00
ljf
fc426cff69 [fix] Avoid to revert migrations without backward routine 2019-08-14 12:07:39 +02:00
Alexandre Aubin
fe3ecd7a7d c.f. issue #1136, don't fail miserably in case we can't change the hostname because that should be okay 2019-08-12 17:25:32 +02:00
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
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