Commit graph

3345 commits

Author SHA1 Message Date
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
Luke Murphy
c15311f7e7
Carry over fixes from @alexAubin
Lost during the rebasing but revived!
2019-11-10 21:01:31 +07:00
Luke Murphy
74a5979e91
Fix typo in copy/pasta'd function 2019-11-10 21:01:17 +07:00
Luke Murphy
4f583aadc2
Remove comment
This isn't an issue AFAICT, since the hooks manage this themselves
already. Hence, I assume this is an old comment and out of date.
2019-11-10 21:01:16 +07:00
Luke Murphy
25f270298f
Add is_boolean and use when calling settings_set
The CLI always passes the value as a string so we need to manage this
type casting step by hand.
2019-11-10 21:01:03 +07:00
Luke Murphy
b470c9192c
Add "on" to valid boolean and refactor is_true 2019-11-10 20:57:46 +07:00
Luke Murphy
1cb6080778
Fix typos 2019-11-10 20:57:46 +07:00
Luke Murphy
83b4be5345
Add setting to configure pop3 for dovecot 2019-11-10 20:57:46 +07: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
Alexandre Aubin
aa8aefce02
Merge branch 'stretch-unstable' into simplify-requirement-checks-madness 2019-11-01 15:20:48 +01:00
Alexandre Aubin
515a8d2f65
Merge branch 'stretch-unstable' into future-proof-applist-system 2019-11-01 14:59:06 +01:00
Alexandre Aubin
089b3cf973 [fix] Sync permissions only after we're done migrating them, otherwise this triggers a shitload of warnings 2019-10-31 20:36:25 +01:00
Alexandre Aubin
40f48ff25c zzzzz previous commit broke the info for apps, only system infos were affected 2019-10-29 21:47:12 +01:00
Alexandre Aubin
9ee3d234e8 [ux] Add a message to explain that the app is being removed if the install fails 2019-10-29 19:19:04 +01:00
Alexandre Aubin
83b45d7894 Fix the legacy permission fix after app install, sometimes the setting ain't None 2019-10-29 17:38:05 +01:00
Alexandre Aubin
572b003e29 We gotta return a permission structure here in all case, otherwise stuff like app_addaccess will miserably fail in these case 2019-10-29 17:17:43 +01:00
Alexandre Aubin
71bc6a0faf We gotta regen the ssowat conf to propagate the change 2019-10-29 16:38:15 +01:00
Alexandre Aubin
79627d79cc [yolo] Cosmetic improvement for logs during system package upgrades 2019-10-29 16:18:31 +01:00