Commit graph

784 commits

Author SHA1 Message Date
Maniack Crudelis
b7a5847c30
Add a line between each pin instructions 2020-03-10 21:05:04 +01:00
Maniack Crudelis
052ade602d
Fix missing option in ynh_install_php 2020-03-10 21:02:40 +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
e3bcc4b4c9
Fix pin priority issue 2020-02-24 13:54:43 +01:00
Maniack Crudelis
96095624f5
Add the helper ynh_check_ram 2020-02-09 20:10:27 +01:00
Maniack Crudelis
7ba253cb18 Add the helper ynh_get_scalable_phpfpm
And adapt ynh_add_fpm_config to generate a fpm config file without a template by using ynh_get_scalable_phpfpm
2020-02-09 20:08:00 +01:00
Maniack Crudelis
7a5760db55
Add the helper ynh_install_extra_app_dependencies
And the helpers used by this one.
2020-02-09 19:55:38 +01:00
Maniack Crudelis
55d17a6101
Add the helper ynh_install_php 2020-02-09 19:11:06 +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
Josué Tille
414fe1926a
Fix helper 2019-12-29 21:08:59 +01:00
Josué Tille
9aecacd995
Rename variables 2019-12-23 11:25:20 +01:00
Josué Tille
b38d1a495e
Add force argument in permission update and change default value in permission creation 2019-12-23 11:21:28 +01:00
Josué Tille
cad6f71016
Fix helper 2019-12-23 11:05:27 +01:00
Josue-T
0c6392a5f7
Fix helper
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
2019-12-23 11:03:31 +01:00
Josué Tille
fe8a0cbcbd
Update helper for permission protection support 2019-12-22 15:03:29 +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
Alexandre Aubin
a2563db0e6 Merge branch 'stretch-testing' into stretch-unstable 2019-10-29 15:50:51 +01:00
Alexandre Aubin
854e52c21e More inclusive rule for this php/sury hack because php version got updated to deb9u6 2019-10-29 15:47:13 +01:00
Alexandre Aubin
9294664d6c Fix permission backward compatibility for the case where an app needs to make the app temporarily public during install script... 2019-10-26 17:46:51 +02:00
Alexandre Aubin
17ce7bd95c Rework depreciation warning about legacy permission stuff 2019-10-26 17:46:51 +02:00
Rafi59
89ab4bd4dc
Use ss instead of netstat 2019-10-26 13:25:38 +02:00
Kayou
6cd12d450a
Update data/helpers.d/network
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2019-10-25 19:55:33 +09:00
Kayou
7c95b8d508
fix find udp port 2019-10-25 19:39:02 +09:00
Alexandre Aubin
e273195504
[fix] Bad copypasta: logger doesn't exists in that context... 2019-10-16 20:22:29 +02:00
Alexandre Aubin
e7d1cc5f94 Allow to specify right away what groups to allow for a permission when creating it 2019-10-09 23:02:57 +02:00
Alexandre Aubin
88794805eb We probably don't need to have multiple urls per permissions ... 2019-10-09 23:02:37 +02:00
Alexandre Aubin
795cae1a4b
Merge branch 'stretch-unstable' into permission-visitors 2019-10-09 18:57:23 +02:00
Alexandre Aubin
1c5220f7cb Support logfiles not ending with .log in logrotate ... 2019-10-08 18:37:20 +02:00
Alexandre Aubin
0e3a131095 More accurate greps to identify that sury packages are installed 2019-10-08 18:37:01 +02:00