Commit graph

1362 commits

Author SHA1 Message Date
Alexandre Aubin
b2de9a9d40 Merge branch 'stretch-stable' into stretch-unstable 2020-04-09 18:04:58 +02:00
Kay0u
3e6cbe4e84 Add legacy_args, fix the helper 2020-04-09 14:36:18 +02:00
Maniack Crudelis
9e1cc92ce8 Let's have a working helper 2020-04-09 14:32:03 +02:00
Kay0u
729aeb2425 add ynh_permission_has_user 2020-04-09 14:32:03 +02:00
Alexandre Aubin
85df8b6545
Merge pull request #905 from YunoHost/add-permission-helpers
add ynh_permission_has_user
2020-04-09 14:30:10 +02:00
Alexandre Aubin
5b0269622a Attempt to simplify permission migration 2020-04-09 14:29:28 +02:00
Alexandre Aubin
7d3238140c Force locale to C/en to avoid perl whining and flooding logs about the damn missing locale 2020-04-09 14:26:06 +02:00
Alexandre Aubin
210d5f3fc4 [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-04-09 14:14:14 +02:00
Alexandre Aubin
be88a2835a Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2020-04-09 14:06:55 +02:00
Matthew DeAbreu
1f623830b3 Update 12-metronome
simplify change by reordering operations
2020-04-09 14:01:21 +02:00
Matthew DeAbreu
031f8a6e38 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.
2020-04-09 13:59:03 +02:00
Alexandre Aubin
4f05aa3505
Merge pull request #906 from YunoHost/simplify-permission-migration
Attempt to simplify permission migration
2020-04-09 13:46:40 +02:00
Alexandre Aubin
be8427d5a1
Gotta generate security.conf.inc during .deb deployment because it's needed by yunohost_admin.conf 2020-04-08 12:15:01 +02:00
Alexandre Aubin
3d0bd9f32c
Merge pull request #903 from YunoHost/fix-curl-readability
Fix possible security issue with these cookie files
2020-04-07 23:20:54 +02:00
Alexandre Aubin
9506507b5b
Merge pull request #839 from kay0u/bash-completion
[enh] Bash completion: add subcategories
2020-04-07 23:18:41 +02:00
Alexandre Aubin
22b9565eb7 Forgot to check that these headers are different from the default in security.conf ... maybe we want to keep them as is? Not clear why they have different values tan the domain configs... 2020-04-06 16:56:53 +02:00
Alexandre Aubin
4d99cbe870 Add ref for security headers 2020-04-06 16:55:20 +02:00
Alexandre Aubin
f032ba16cc Only diagnose basic records for subdomains 2020-04-05 20:23:32 +02:00
Alexandre Aubin
128577686a Forgot to make yunohost_admin.conf to also use the common securit.conf.inc 2020-04-03 03:09:46 +02:00
Alexandre Aubin
fb5dac80d5 Force locale to C/en to avoid perl whining and flooding logs about the damn missing locale 2020-04-03 00:12:58 +02:00
Alexandre Aubin
83a1d6dec5 This is not needed 2020-04-02 23:14:40 +02:00
Alexandre Aubin
2c9f1f89e0 Simplify indentation in ynh_psql_test_if_first_run 2020-04-02 23:14:40 +02:00
Alexandre Aubin
6c9b537941 Drop unused helpers ynh_add_skipped/(un)protected_uris 2020-04-02 19:40:52 +02:00
Alexandre Aubin
be303f3e44 Fix ynh_find_port grep
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
2020-04-01 02:21:09 +02:00
Alexandre Aubin
97e83337d4 Update network 2020-04-01 02:21:09 +02:00
Kay0u
9dd6d799f4
fix example 2020-03-30 21:37:25 +02:00
Kay0u
15f97765b6
Merge branch 'add-permission-helpers' of https://github.com/YunoHost/yunohost into add-permission-helpers 2020-03-30 21:33:12 +02:00
Kay0u
90459e7ae6
Add legacy_args, fix the helper 2020-03-30 21:32:29 +02:00
Alexandre Aubin
14ff4c6725
Merge pull request #831 from pitchum/xmpp-http-upload
XMPP http upload
2020-03-30 20:53:11 +02:00
Alexandre Aubin
ad22677994 Attempt to simplify permission migration 2020-03-30 20:09:26 +02:00
Maniack Crudelis
288a617975
Let's have a working helper 2020-03-30 19:58:06 +02:00
Kay0u
51a0502e91
add ynh_permission_has_user 2020-03-30 19:36:41 +02:00
Alexandre Aubin
ff4f644cd0 Fix possible security issue with these cookie files 2020-03-28 21:21:23 +01:00
Alexandre Aubin
abe9440b1b 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:42:36 +01: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
pitchum
5e6e53142b Improve nginx config for xmpp-upload subdomain. 2020-03-25 12:09:53 +01:00
pitchum
ada95f8fca http-upload only available on maindomain (for the moment). 2020-03-25 12:09:24 +01:00
pitchum
1f09abfa51 Rationalize some nginx config into security.conf.inc. 2020-03-25 11:51:57 +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
d9c09f4649 Add permission to stuff to be indexed by slapd to avoid it flooding complains in syslog 2020-03-24 20:23:09 +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
af415e38e6 Factorize ciphers and headers configuration into a common file for all vhosts 2020-03-23 22:43:29 +01:00
Alexandre Aubin
27f6899b65 /var/www/xmpp-upload.{domain} -> /var/xmpp-upload/{domain} 2020-03-23 22:15:03 +01:00
pitchum
994f0ca1ef nginx + metronome config for http_upload 2020-03-22 08:36:33 +01:00
pitchum
c6e8bb5d26 Always expect subdomain xmpp-upload.domain.net.
This subdomain will be part of Letsencrypt certificate so
it MUST be defined in DNS zone otherwise certificate renewal will fail.
2020-03-22 08:35:02 +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