Commit graph

1162 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
ljf
98d60a888b [fix] HTTP API for permissions 2019-10-20 02:24:54 +02: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
fe8fd1b2c5 Change from #802 was only about the yunohost jail ... this should be global >.> 2019-10-08 20:04:08 +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
8533103788
Merge pull request #803 from YunoHost/burn-etckeeper
Get rid of etckeeper
2019-10-08 18:33:12 +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
ea9a93cec0
Update data/actionsmap/yunohost.yml
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-25 00:07:50 +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
93d383b957
Merge branch 'stretch-unstable' into improve-permission-interface 2019-09-22 18:38:15 +02:00
Alexandre Aubin
c7c4d93968
Merge pull request #802 from doxxfr/fail2ban_10-maxretry
change maxretry of fail2ban from 6 to 10
2019-09-22 13:02:01 +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
e2e960175b
Apply suggestions from code review
Update descriptions for action map

Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-21 13:16:28 +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
a48e3b2246
Merge pull request #792 from YunoHost/fix_helpers_ynh_backup_if_checksum_is_different
Check that  exist before the calculate the checksum
2019-09-20 13:53:52 +02:00
Alexandre Aubin
eb57a4ad9e Get rid of etckeeper 2019-09-19 19:51:27 +02:00
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