Commit graph

1654 commits

Author SHA1 Message Date
Alexandre Aubin
02d00eece0 migrate -> run 2019-11-20 16:05:45 +01:00
Alexandre Aubin
f1b7b46c24 Merge branch 'stretch-testing' into stretch-unstable 2019-11-20 15:28:06 +01:00
Alexandre Aubin
d50a69fe3e
Merge pull request #838 from YunoHost/improve-service-status-checks
[enh] Improve service status checks (and service add CLI)
2019-11-18 14:11:37 +01:00
Alexandre Aubin
7986f61b14 Specific shit for mysql 2019-11-17 16:59:35 +01:00
Alexandre Aubin
bb8b1b052d Using /var/log/daemon.log or /var/log/syslog is pointless, these files logs many different things. Instead, we shall always return the logs from journalctl 2019-11-17 16:39:12 +01:00
Alexandre Aubin
3c76497003
Merge branch 'stretch-unstable' into get-rid-of-app-status 2019-11-16 15:24:24 +01:00
Alexandre Aubin
71878f6bbe Move debug log dump from ynh_exit_properly to the core after failed app operation 2019-11-15 16:40:16 +01:00
Alexandre Aubin
6ff99f7cba Improve app_upgrade error management 2019-11-15 16:40:04 +01:00
Alexandre Aubin
39e109a5b6
Merge branch 'stretch-unstable' into dump-app-debug-extract-from-the-core 2019-11-15 16:38:14 +01:00
Alexandre Aubin
179c50e763
Merge pull request #832 from YunoHost/app_upgrade_error_management
Improve app_upgrade error management
2019-11-15 16:37:37 +01:00
Kay0u
6d5b90cc23 Refactor group permission 2019-11-14 17:48:43 +01:00
Kayou
0beec2e0cb Add arg in permission callback 2019-11-14 17:46:37 +01:00
Alexandre Aubin
04a9ae6db3
Merge branch 'stretch-unstable' into refactor-permission 2019-11-14 17:44:41 +01:00
Alexandre Aubin
9defb30133
Merge pull request #836 from kay0u/patch-1
Add arg in permission callback
2019-11-14 17:36:56 +01:00
Alexandre Aubin
041d5ce684
Merge branch 'stretch-unstable' into remove-deprecated-helpers 2019-11-14 17:26:13 +01:00
Alexandre Aubin
69b611bd28
Merge branch 'stretch-unstable' into improve-service-status-checks 2019-11-14 17:16:44 +01:00
Alexandre Aubin
e70530a9db Remove deprecated / useless option from 'service add', and add new ones for status and conf check and port exposure 2019-11-14 17:08:10 +01:00
Alexandre Aubin
d36a79a0f6 Merge branch 'stretch-unstable' into get-rid-of-app-status 2019-11-09 19:47:50 +01:00
Alexandre Aubin
3b7899db8c appslists -> apps catalog 2019-11-09 00:21:47 +01:00
Alexandre Aubin
f31c02cd64
Merge branch 'stretch-unstable' into future-proof-applist-system 2019-11-08 23:32:53 +01:00
Alexandre Aubin
66c5ad18c9 Migration 12 -> 13 2019-11-08 23:17:32 +01:00
Alexandre Aubin
9a95004efc
Merge branch 'stretch-unstable' into remove-deprecated-helpers 2019-11-08 22:58:37 +01:00
Alexandre Aubin
8671a4c230 Remove pdb used for debug, and improve comment 2019-11-08 22:50:47 +01:00
Alexandre Aubin
5a68250322 test-conf -> test_conf, and test-status -> test_status 2019-11-08 22:35:25 +01:00
Alexandre Aubin
64aff46421 Merge branch 'stretch-unstable' into improve-service-status-checks 2019-11-08 22:17:12 +01:00
Alexandre Aubin
3b4ad59cd7 Propagate removal of 'active' to that piece of code that uses it 2019-11-07 22:22:15 +01:00
Alexandre Aubin
c39a1f010e Mistakes were made 2019-11-07 22:19:07 +01:00
Kay0u
55e198d8b8
Refactor group permission 2019-11-07 23:32:08 +09:00
Kayou
51f42e5ad4
Add arg in permission callback 2019-11-07 22:32:24 +09:00
Alexandre Aubin
4b3a4c7e4e Fetch the timestamp of the latest state change, not just the last time it got up and running... 2019-11-07 13:48:42 +01:00
Alexandre Aubin
acba0c4a10 Use a proper subprocess for conf test instead of dirty os.system + store errors if there are 2019-11-07 12:25:19 +01:00
Alexandre Aubin
5d46f3ef88 Imho we don't need those 'active' and 'service_file_path' info... 2019-11-07 11:34:20 +01:00
Alexandre Aubin
9b77123938 loaded -> start_on_boot, which is more meaningful ... 2019-11-07 11:34:20 +01:00
Alexandre Aubin
e15d8e7262 Add test about configuration validity 2019-11-07 11:34:20 +01:00
Alexandre Aubin
d879d27208 Add test-status to have a custom status check for service like postfix and yunohost-firewall 2019-11-07 11:34:20 +01:00
Alexandre Aubin
08c23599e2 Improve yunohost package version diagnosis 2019-11-06 23:49:13 +01:00
Alexandre Aubin
1372ab916c Stale strings + try to keep the namespace-like tidy 2019-11-06 19:05:51 +01:00
Alexandre Aubin
ab1f42cad1 Merge branch 'stretch-unstable' into new-diagnosis-system 2019-11-06 18:58:50 +01:00
Alexandre Aubin
ddc42e5c8c Make sure the users actually exists when migrating legacy custom permissions 2019-11-06 18:36:09 +01:00
Alexandre Aubin
76cbad0a9a Make sure the users actually exists when migrating legacy custom permissions 2019-11-06 18:35:21 +01:00
Alexandre Aubin
aee62064bf Salvage binary_to_human from old monitor.py, needed for backup stuff 2019-11-06 18:20:14 +01:00
Alexandre Aubin
fc53148070
Merge branch 'stretch-unstable' into new-diagnosis-system 2019-11-06 18:14:21 +01:00
Alexandre Aubin
e463e282f2 Yolo fix to avoid regenerating glances' conf during upgrade to 3.8 2019-11-06 17:19:28 +01:00
Alexandre Aubin
0e98d37c49 Remove the whole monitoring / glances stuff 2019-11-05 23:41:04 +01:00
Alexandre Aubin
e9efcadda0
Merge pull request #805 from YunoHost/simplify-requirement-checks-madness
Simplify madness code about checking requirements
2019-11-04 22:14:41 +01:00
Alexandre Aubin
bc965dc9f6
Merge branch 'stretch-unstable' into maindomain_ux_feedback 2019-11-04 22:13:20 +01:00
Alexandre Aubin
62c955c675
Merge pull request #824 from YunoHost/burn-app-debug
Remove app_debug, unused stuff / not really relevant
2019-11-04 21:58:15 +01:00
Alexandre Aubin
cb247a8140 Get rid of app's status.json 2019-11-04 21:53:21 +01:00
Alexandre Aubin
717ec04f54 Move debug log dump from ynh_exit_properly to the core after failed app operation 2019-11-04 20:20:12 +01:00
Alexandre Aubin
e91429ad49 Improve app_upgrade error management 2019-11-04 19:58:08 +01:00