Commit graph

3128 commits

Author SHA1 Message Date
Alexandre Aubin
0277ec4f12 Warn early about unexisting user/groups (otherwise this triggers a journal entry for nothing) + simplify code, explicit assumptions 2019-11-22 18:16:32 +01:00
Alexandre Aubin
63e756b9f5 Adjust tests because now all_users ain't added automatically by permission_create for .main perms 2019-11-22 18:16:32 +01:00
Alexandre Aubin
625df81872 Postinstall was broken because of missing import 2019-11-22 18:15:50 +01:00
Alexandre Aubin
fdf5f16739 Warn early about unexisting user/groups (otherwise this triggers a journal entry for nothing) + simplify code, explicit assumptions 2019-11-22 18:12:02 +01:00
Alexandre Aubin
6eb8efb6f0 Adjust tests because now all_users ain't added automatically by permission_create for .main perms 2019-11-22 16:41:43 +01:00
Alexandre Aubin
9c9ea6d530 This fix disappeared in the merge mess at some point ... 2019-11-22 16:24:08 +01:00
Kay0u
1b8e528965 symplify premission_create 2019-11-22 15:27:35 +01:00
Kay0u
a719ab05a2 [Fix] permission create 2019-11-22 15:27:28 +01:00
Alexandre Aubin
20baa73a0f Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into stretch-unstable 2019-11-22 15:27:12 +01:00
Alexandre Aubin
2a5e36bd16
Merge pull request #846 from kay0u/fix-permission-create
[Fix] permission create
2019-11-22 15:26:39 +01:00
Alexandre Aubin
dd92a34202 Uh idk we also need to run this explicitly with /bin/bash 2019-11-22 15:10:44 +01:00
Kay0u
23489155fd
symplify premission_create 2019-11-21 18:13:20 +09:00
Alexandre Aubin
a858a2072b Also remove the legacy cron job, since there was a name change 2019-11-20 20:17:11 +01:00
Alexandre Aubin
fa5c0e9a70 Ugh had some weird issue because for some reason in some context subprocess uses /bin/sh ... 2019-11-20 20:16:28 +01:00
Alexandre Aubin
16f6d500a3 Better handle case where diagnosis cache is missing 2019-11-20 18:38:23 +01:00
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
Kay0u
a959a97e8c
[Fix] permission create 2019-11-20 13:28:10 +09:00
Alexandre Aubin
9e9215cc78 Simpler LDAP configuration 2019-11-19 14:48:48 +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
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