Commit graph

611 commits

Author SHA1 Message Date
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
ljf (zamentur)
b41d7b47a4
[fix] SQL error 2019-09-27 11:59:11 +02:00
ljf (zamentur)
4500f56c32
[fix] Psql user should own the database 2019-09-27 11:54:44 +02:00
ljf (zamentur)
c59c3fa438
[enh] Add some advice about a strange locale problem with postgresql 2019-09-26 19:25:06 +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
Alexandre Aubin
f0e8ef8456
Merge branch 'stretch-unstable' into improve-permission-interface 2019-09-21 12:16:04 +02:00
Alexandre Aubin
2b51d247fb Propagate changes on app helpers + tests 2019-09-20 20:14:14 +02:00
Alexandre Aubin
c4743398e6 Deprecate (un)protected_uris and _regex settings + more explicit deprecation warning for app_add/remove/clearaccess 2019-09-15 18:17:46 +02:00
Alexandre Aubin
fe8f7f2210 Update permission helper : have a single helper to manage urls, and a helper to add/remove groups to permission 2019-09-13 16:33:03 +02:00
Alexandre Aubin
574e9aea44 Simplify permission_create/urls/delete interface and code 2019-09-13 16:31:03 +02:00
Alexandre Aubin
a6d68c76c4 permission_update -> permission_urls (+ tweak the helper name) so that it's more differentiable from user_permission_update 2019-09-13 16:31:02 +02:00
Alexandre Aubin
f60af2053f permission_add/remove becomes create/delete to be consistent with user and group create/delete. In the context of permissions, add/remove shall instead be related to adding/removing an existing permission for a user or group. 2019-09-13 16:31:02 +02:00
Josué Tille
8a92727fb1
Check that exist before the calculate the checksum 2019-09-07 13:01:45 +02:00
Bram
1d293c14a5
Merge pull request #743 from YunoHost/fix-wrong-usage-of-mysql-user-exists
Fix wrong usage of ynh_mysql_user_exists
2019-08-28 23:59:56 +02:00
Bram
9f07031da9
Merge pull request #762 from madtibo/pg_pwd_security
[enh] PostgreSQL password security
2019-08-28 23:59:43 +02:00
madtibo
21c6d1b159 change PostgreSQL -password' authentication to 'md5' 2019-08-24 17:52:01 +02:00
Alexandre Aubin
ed8fa76624
Merge pull request #753 from yalh76/update-n
[enh] Upgrade n version (also for compatibility with arm64)
2019-08-24 16:02:42 +02:00
Alexandre Aubin
ee67ebfd86 Remove deprecated helpers while still supporting them through hacky patching... 2019-08-18 01:40:48 +02:00