Commit graph

474 commits

Author SHA1 Message Date
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
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
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
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
Alexandre Aubin
077e5c463c Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste 2019-10-08 18:36:50 +02:00
Alexandre Aubin
873b208cd6
Merge pull request #810 from YunoHost/support-logfile-not-ending-with-dot-log
Support logfiles not ending with .log in logrotate ...
2019-10-08 18:35:19 +02:00
Alexandre Aubin
c7b3f296de
Merge pull request #809 from YunoHost/ugly-sury-workaround
[fix] Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste
2019-10-08 18:35:06 +02:00
Alexandre Aubin
fc78700904
More accurate greps to identify that sury packages are installed 2019-10-08 18:30:18 +02:00
Alexandre Aubin
24cc26d85a Support logfiles not ending with .log in logrotate ... 2019-09-26 14:23:01 +02:00
Alexandre Aubin
50fbfb0372
Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste 2019-09-24 23:18:05 +02:00
Alexandre Aubin
2a5053b66b
Misc wording and orthotypography...
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-21 13:32:40 +02:00