Commit graph

1310 commits

Author SHA1 Message Date
Kay0u
51a0502e91
add ynh_permission_has_user 2020-03-30 19:36:41 +02:00
Alexandre Aubin
e54ca72068 On some weird setup, this folder and content ain't readable by group ... gotta make sure to make rx for group other slapd will explode 2020-03-27 21:40:22 +01:00
Alexandre Aubin
43739bf6f8
Merge pull request #895 from kay0u/fix-psql
Revoke before drop
2020-03-27 04:11:01 +01:00
Alexandre Aubin
526a3a25c9 Remote diagnoser also returns code 400 or 418 when port / http ain't correctly exposed 2020-03-26 19:38:34 +01:00
Alexandre Aubin
aaa9805ff2 Add detection for virt + arch + board model in basesystem diagnosis 2020-03-25 04:01:33 +01:00
Alexandre Aubin
6ed3ba97ce Add permission to stuff to be indexed by slapd to avoid it flooding complains in syslog 2020-03-24 20:22:47 +01:00
Kay0u
db0d748f62
Revoke before drop 2020-03-24 00:59:16 +01:00
Alexandre Aubin
de879e1d30 Merge branch 'fix-diagnosis-server-bad-response' into stretch-unstable 2020-03-22 01:46:06 +01:00
Alexandre Aubin
fff2fcd67c Simplify identation (and diff) by reversing the if statement 2020-03-22 01:41:58 +01:00
Alexandre Aubin
4399c9b740 Tweak exception messages to hopefully help debugging if this happens 2020-03-22 01:40:02 +01:00
Alexandre Aubin
ec80cad64a
[enh] Tell apt to explain what's wrong when there are unmet dependencies (#889)
* Ask apt to explain what's wrong when dependencies fail to install
* Add comment explaining the syntax

Co-Authored-By: Maniack Crudelis <maniackcrudelis@users.noreply.github.com>
Co-authored-by: Maniack Crudelis <maniackcrudelis@users.noreply.github.com>
2020-03-22 01:28:37 +01:00
Alexandre Aubin
cc2288cc21 Rename http diagnoser to web, should feel slightly less technical 2020-03-21 23:10:56 +01:00
Alexandre Aubin
937d339631 Add category to services to have more meaningful messages in reports about port forwarding checks 2020-03-21 23:09:47 +01:00
Alexandre Aubin
69bc12454e Reorder DNS tests to avoid random order in rendering 2020-03-21 23:09:47 +01:00
Bram
caa20e7b6a
Merge pull request #884 from YunoHost/enh_ynh_local_curl_with_cookies
Persist cookies between multiple ynh_local_curl calls for the same app
2020-03-10 18:34:10 +01:00
Bram
270bc8f39c
Merge pull request #867 from yalh76/patch-2
adaptation for various actions
2020-03-06 02:01:48 +01:00
Jimmy Monin
e6481b156f Persist cookies between multiple ynh_local_curl calls for the same app 2020-02-29 22:07:45 +01:00
Kayou
f0ef8aca79
Merge pull request #868 from kay0u/fix-legacy-permission-management
fix legacy permission management
2020-02-25 17:18:33 +01:00
Kay0u
026c666d7e
remove visitors only for if current value is / 2020-01-29 14:24:59 +07:00
Kay0u
87a3ceb983
[FIX] bad response from the server 2020-01-25 20:49:29 +07:00
Bram
be3ffce003
Merge pull request #859 from YunoHost/fix-ipv6-resolver-unreachable
[fix] This DNS resolver in ipv6 is unreachable
2020-01-18 13:28:15 +01:00
Kay0u
6e427374ec
fix legacy permission management 2020-01-16 00:34:11 +07:00
yalh76
d35dcbe968
adaptation for various actions 2020-01-08 19:57:32 +01:00
Alexandre Aubin
9f81d77693
Merge pull request #853 from YunoHost/app-categories
[enh] Refactor app_list and app_info, + add support for app categories
2019-12-12 19:10:50 +01:00
ljf (zamentur)
5c2748ba85
[fix] This DNS resolver in ipv6 is unreachable 2019-12-02 22:32:59 +01:00
Alexandre Aubin
e84f57d7a8
Merge pull request #855 from kay0u/visitors-needs-all-users
Visitors permission needs All Users
2019-12-02 20:30:45 +01:00
Kay0u
32b6c2eccf
Visitors permission needs All Users 2019-11-29 22:48:17 +09:00
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Alexandre Aubin
06fe3504b3 Change app catalog API to support categories 2019-11-26 00:38:36 +01:00
Alexandre Aubin
3951f5e1b8 Refactor the whole app_list and app_info madness ... 2019-11-25 21:05:00 +01:00
Alexandre Aubin
7518beaf2f Fuck it we don't need these options 2019-11-25 19:23:31 +01:00
Alexandre Aubin
67bb386c39 Explicit that we wanna run this python code in 2.7, otherwise if you're in a python3 venv it may not find the yaml module 2019-11-25 18:27:01 +01:00
Alexandre Aubin
615a164c06
Merge pull request #791 from decentral1se/add-pop3-setting
Add pop3.enabled setting
2019-11-25 16:19:36 +01:00
Alexandre Aubin
053d692319
Merge pull request #848 from mdeabreu/patch-1
[fix] metronome domain folder permissions
2019-11-25 16:09:18 +01:00
Matthew DeAbreu
3b9481ae2d
Update 12-metronome
simplify change by reordering operations
2019-11-22 09:02:01 -08:00
Alexandre Aubin
4ab3653dfb Add tip about how to fix / investigate broken services 2019-11-22 15:47:26 +01:00
Alexandre Aubin
a416044376 Add diagnosis cron job to be ran every 12 hours, managed from the regenconf 2019-11-22 14:58:11 +01:00
Matthew DeAbreu
7c09982d3d
ensure metronome owns domain dir
When adding new domains to Yunohost a directory for each newly added domain is created in `/var/lib/metronome` unfortunately since the directory is created with `sudo mkdir` that means `root:root` owns the directory. Metronome will now fail to write to the directory.
2019-11-20 09:52:01 -08:00
Alexandre Aubin
09bbd733b1 Disabling this report for now because it returns many warnings which are probably not important... 2019-11-20 18:38:23 +01:00
Alexandre Aubin
4636bd20e1 Add diagnosis details for issues detected for HTTP exposure 2019-11-20 17:12:23 +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
9a8ad2a5a5
Merge pull request #834 from YunoHost/get-rid-of-app-status
Get rid of app's status.json
2019-11-18 14:10:52 +01:00
Alexandre Aubin
7986f61b14 Specific shit for mysql 2019-11-17 16:59:35 +01:00
Alexandre Aubin
a7a3e7b6ba Try to keep this service list in alphabetic order or something 2019-11-17 16:39:41 +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
4e0dbe3134 Improve ynh_secure_remove to detect empty args instead of miserably saying 'Avoid deleting .' 2019-11-16 15:46:23 +01:00
Alexandre Aubin
6124d1b899 Only run these commands if the variables are not empty 2019-11-16 15:34:38 +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
39e109a5b6
Merge branch 'stretch-unstable' into dump-app-debug-extract-from-the-core 2019-11-15 16:38:14 +01:00
Alexandre Aubin
5fbf567448
Merge pull request #840 from kay0u/permissions-helpers
[enh] Improve permission helpers
2019-11-15 13:56:14 +01:00