Commit graph

845 commits

Author SHA1 Message Date
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
Bram
376cce4f53
Merge pull request #752 from YunoHost/fix_getopts
[fix] Fix values starting by - in getopts
2019-08-05 11:25:03 +02:00
Alexandre Aubin
8212010979 Fix legit variable getting caught as an info to be redacted by the core 2019-08-04 18:15:09 +02:00
Maniack Crudelis
0ad8daa6ae
Remove escape character in getopts 2019-07-21 18:35:19 +02:00
Alexandre Aubin
7e99541064 Fix legit variable getting caught as an info to be redacted by the core 2019-07-18 18:16:46 +02:00
Alexandre Aubin
46310dbb6c Misc fixes in helpers comments to fix/improve autogenerated doc 2019-07-11 22:51:41 +02:00
yalh76
ce4fb552ae
upgrade n version 2019-07-10 23:29:38 +02:00
Maniack Crudelis
3a8d312ed2
[fix] Fix values starting by - in getopts 2019-07-09 20:06:16 +02:00
Alexandre Aubin
59e2db99ba
Merge branch 'stretch-unstable' into group_permission 2019-07-05 20:59:10 +02:00
Alexandre Aubin
3c0e0ca6c9
Merge pull request #742 from YunoHost/redact-secrets-from-logs
[enh] Redact secrets from logs
2019-07-02 22:02:03 +02:00
Alexandre Aubin
8917238159
Merge pull request #739 from YunoHost/proper-return-interface-for-app-config
[mod] Proper return interface for app config
2019-07-02 22:01:18 +02:00
Alexandre Aubin
1810808acd Fix wrong usage of ynh_mysql_user_exists 2019-06-28 16:34:15 +02:00
Alexandre Aubin
5f1988c2ca Change the variable name so that it's catched by the redacting mechanism 2019-06-27 03:31:03 +02:00
Alexandre Aubin
5c7bad8472 Why not use the global variable here ... 2019-06-27 03:18:08 +02:00
Alexandre Aubin
8f72860e78
Use set +x / -x to hide the whole ynh_script_progression computation 2019-06-19 22:39:31 +02:00
Alexandre Aubin
5262b52cff Add a helper to easily return stuff in config script 2019-06-18 16:03:00 +02:00
Alexandre Aubin
3e75957f96
Merge pull request #731 from YunoHost/do_not_backup_data
Add exception for data backup
2019-06-17 14:23:46 +02:00