Commit graph

1292 commits

Author SHA1 Message Date
J. Doe
f18cff9dba change maxretry of fail2ban from 6 to 10 2019-09-19 13:01:22 +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
cc59501b55 Naive implementation of visitors group (without any relation to the ssowat conf yet) 2019-09-15 16:59:34 +02:00
Alexandre Aubin
ea8c0cae94 Deprecate legacy app access system 2019-09-13 18:34:26 +02:00
Alexandre Aubin
f950378c63 Do not display primary groups by default when running yunohost user group list 2019-09-13 17:39:21 +02:00
Alexandre Aubin
302e755f48 Assume we target the .main permission if it's not given explicitly 2019-09-13 16:50:46 +02:00
Alexandre Aubin
ec5069b71c Propagate changes on backup tests + fixes bugs found in the process 2019-09-13 16:33:25 +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
a1d3376613 Simplify permission_clear, now named permission_reset 2019-09-13 16:31:03 +02:00
Alexandre Aubin
45483f4116 --short and --full options for group_list and permission_list 2019-09-13 16:31:03 +02:00
Alexandre Aubin
41e6f1b81c Simplify permission_add/remove to just permission_update with --add and --remove, similar to what's done for groups 2019-09-13 16:31:03 +02:00
Alexandre Aubin
6276485665 Simplify permission_list ... it really sounds like we don't need all these options 2019-09-13 16:31:03 +02:00
Alexandre Aubin
97c637f44c Fix group command descriptions in the actionmap 2019-09-13 16:31:02 +02:00
Alexandre Aubin
c5d0a27098 Simplify group info and group update interface and code 2019-09-13 16:31:02 +02:00
Alexandre Aubin
0f7b8c3515 Simplify group list interface and code 2019-09-13 16:31:02 +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
Alexandre Aubin
34df84e222 group add -> group create, to be consistent with user create/delete 2019-09-13 16:31:02 +02:00
Alexandre Aubin
0f688caccd Swap 'main' in permission namespace 2019-09-13 16:31:02 +02:00
Alexandre Aubin
51171b84bf main.metronome -> main.xmpp 2019-09-13 16:31:02 +02:00
Alexandre Aubin
6d604d711f
Merge pull request #768 from YunoHost/rework-migration-system
Rework migration system to have independent migrations
2019-09-13 03:01:59 +02:00
Laurent Peuch
fd99ef0d6c [ux] make dns-conf help sentence obvious that it's a sample conf 2019-09-11 03:56:53 +02:00
Alexandre Aubin
dc7b8d1faa
Merge branch 'stretch-unstable' into rework-migration-system 2019-09-10 14:27:56 +02:00
Josué Tille
8a92727fb1
Check that exist before the calculate the checksum 2019-09-07 13:01:45 +02:00
ljf (zamentur)
70cf0db0ad
[enh] Rename permission http api route in plural 2019-09-04 13:35:06 +02:00
Alexandre Aubin
3d10e8fef2
Merge pull request #786 from YunoHost/dyndns_update_force
"yunohost dyndns update" "--force" and "--dry-run"
2019-09-01 16:23:14 +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
Laurent Peuch
87435775ee [enh] add --dry-run option to dyndns update 2019-08-27 19:45:33 +02:00
Laurent Peuch
b8f27b7593 [enh] add --force to 'dyndns update' 2019-08-26 17:35:18 +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
Alexandre Aubin
a6607eaf30 Buuuuurn the appslist system 2019-08-17 15:47:11 +02:00
Étienne Mollier
f0440fbd6b Dynamically evaluate proper mariadb-server-<version> 2019-08-15 15:12:06 +02:00
ljf
ed3e014fee [enh] Remove revert mechanism 2019-08-14 16:46:14 +02:00
ljf
7a0dbf7977 [fix] Ask for specifying migrations to skip 2019-08-14 13:05:23 +02:00
ljf
81ae41a3e4 [enh] Warn user about --revert option 2019-08-14 12:27:32 +02:00
Alexandre Aubin
2dc809548b Fixing again the whole permission / cert situation for slapd ... for good this time hopefully 2019-08-13 17:32:55 +02:00
ljf
9b371d5b6b [fix] dpkg-origins 2019-08-13 15:37:48 +02:00
Alexandre Aubin
d516cf8ed2 We need to be able to run postinstall without authenticating ... otherwise we can't run the postinstall from the webadmin 2019-08-13 00:34:34 +02:00
Alexandre Aubin
6f48d1d855 Get rid of those sudo's ... otherwise, because sudo is in fact sudo-ldap, might create weird errors or stuck situation where everything is broken because slapd is stopped and the regenconf can't restart it 2019-08-12 11:16:07 +02:00
Alexandre Aubin
0a2d1c7eb6 We need this also to have proper permissions on certs 2019-08-12 11:16:04 +02:00
Alexandre Aubin
dde3a19350 Fix some critical permissions issues with ssl / slapd configuration 2019-08-12 01:56:24 +02:00
Alexandre Aubin
2723300dca Rework the migration system to have independent, non-ordered migrations, so each migration has a state skipped / done / pending and can be ran independently from others 2019-08-05 17:57:13 +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
Alexandre Aubin
5409351096
Merge pull request #755 from yalh76/openldap-tls
[enh] Add OpenLDAP TLS support
2019-08-04 00:24:38 +02:00
Alexandre Aubin
10f1651022
Moving to the post-regen part because the pre-regen part should touch as little as possible of the actual system config 2019-08-03 21:00:44 +02:00