Commit graph

494 commits

Author SHA1 Message Date
Maniack Crudelis
ab2f918a8c
Missing $ 2020-04-13 10:46:37 +02:00
Maniack Crudelis
4b3f7a1ddd
Move YNH_DEFAULT_PHP_VERSION before the comment for YNH_DEFAULT_PHP_VERSION 2020-04-13 10:45:42 +02:00
Maniack Crudelis
71743d211b
Update data/helpers.d/php 2020-04-13 10:44:56 +02:00
Kayou
b20b7f3a85
Update php 2020-04-12 20:03:09 +02:00
Kayou
6c9187e7e4
Update php 2020-04-12 17:43:33 +02:00
Alexandre Aubin
5091905329
Update data/helpers.d/php
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-12 17:22:57 +02:00
Kay0u
ef2f4b2a6e
some hooks use helpers without php 2020-04-12 16:52:23 +02:00
Kayou
35144c7c0a
Merge pull request #880 from YunoHost/default_php_version
Pave the way to migration to php7.3 and following
2020-04-10 00:21:10 +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
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
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
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
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
Kay0u
db0d748f62
Revoke before drop 2020-03-24 00:59:16 +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
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
Maniack Crudelis
a489a06daa
Use the default php version into the php helpers 2020-02-09 18:49:27 +01:00
Maniack Crudelis
0081d988ab
Replace __PHPVERSION__ by $YNH_PHP_VERSION in nginx conf files 2020-02-09 18:45:49 +01:00
Kay0u
026c666d7e
remove visitors only for if current value is / 2020-01-29 14:24:59 +07: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
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
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
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
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
Alexandre Aubin
041d5ce684
Merge branch 'stretch-unstable' into remove-deprecated-helpers 2019-11-14 17:26:13 +01:00
Kay0u
4b602f28b4
fail if permission already exists 2019-11-11 09:56:09 +09:00
Kay0u
59879634da
Fix parameters 2019-11-10 22:08:33 +09:00
Kay0u
464621f275
Improve permission helpers 2019-11-10 21:34:57 +09:00
Alexandre Aubin
a89fd44ab6 Use ss instead of netcat to check if a port is already used ... c.f. PR #827 2019-11-08 23:07:06 +01:00
Alexandre Aubin
33fdfa690e
Merge pull request #827 from kay0u/patch-2
[FIX] find udp port
2019-11-08 23:06:12 +01:00
Alexandre Aubin
9a95004efc
Merge branch 'stretch-unstable' into remove-deprecated-helpers 2019-11-08 22:58:37 +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