Commit graph

92 commits

Author SHA1 Message Date
305a70a8d5 helper doc fixes : setting 2021-03-03 11:17:59 +01:00
Alexandre Aubin
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Alexandre Aubin
a665c702d0 Annnd of course we have references to python2 in bash stuff and other misc scripts 2021-01-10 02:07:24 +01:00
Alexandre Aubin
ac4b62cebc Reduce the noise in logs because of ynh_app_setting 2021-01-09 18:16:08 +01:00
Kay0u
78751ac655
Move permissions helpers to a new file 2020-12-31 18:33:09 +01:00
Kay0u
f495f1cf71
default value (True) for sync_perm param in helpers 2020-11-25 02:11:06 +01:00
Alexandre Aubin
950dbc6b46
Merge pull request #935 from YunoHost/remove_legacy_settings
Remove legacy settings
2020-09-30 17:06:08 +02:00
Alexandre Aubin
dd9df5943e Set sub-permission labels as 'Mainlabel (Sublabel)' 2020-09-27 18:20:29 +02:00
Alexandre Aubin
815c8fc49e Refactor app_setting to better separate legacy permission setting vs. regular setting, hopefully make the core more readable 2020-09-24 20:25:28 +02:00
Alexandre Aubin
99b0a4184d
Apply suggestions from code review
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-11 16:47:49 +02:00
Josué Tille
8e1e1e607b
Merge branch 'permission_protection' into remove_legacy_settings 2020-08-23 22:01:55 +02:00
Josué Tille
554291827f
Fix typo 2020-04-29 21:02:59 +02:00
Josué Tille
e8ca600bdc
Permission regex is a PCRE regex 2020-04-29 20:36:56 +02:00
Josué Tille
8deb083830
Regex should be now available 2020-04-29 14:09:49 +02:00
Josué Tille
abe421caa8
Change default value for protected permission to 'false' 2020-04-29 13:42:14 +02:00
Josué Tille
9757ef2ddd
Fix typo 2020-04-29 13:38:11 +02:00
Josué Tille
a3fb329f21
Improve comments 2020-04-29 13:37:38 +02:00
Josué Tille
fd967e0879
Add more comment about list conversion 2020-04-28 22:30:44 +02:00
Maniack Crudelis
06bc5ba16f
... 2020-04-28 16:15:52 +02:00
Josué Tille
e068133b54
Fix apps settings management 2020-04-28 15:11:34 +02:00
Josué Tille
79fb034321
Improve support of settings migrations 2020-04-28 15:11:32 +02:00
Josué Tille
fe5ca24222
Migrate old skipped,unprotected,protected_uris and create permission instead 2020-04-28 15:11:32 +02:00
Josué Tille
03bc568276
Fix regression due to merge 2020-04-28 15:00:21 +02:00
Josué Tille
73e2ede910
Merge branch 'stretch-unstable' into permission_protection 2020-04-28 14:20:25 +02:00
Josué Tille
af8773f767
Fix typo 2020-04-23 15:12:54 +02:00
Maniack Crudelis
6fb1e62a4c Clean getopts arguments 2020-04-20 21:00:45 +02:00
Maniack Crudelis
3b653994c7 Standardize helper comments 2020-04-20 20:58:17 +02:00
Maniack Crudelis
b0398ae6dc Use long arguments instead of short ones 2020-04-20 15:20:31 +02:00
Maniack Crudelis
57061b8e1d Unfold if-then when more than one line 2020-04-19 20:31:06 +02:00
Maniack Crudelis
80964a1312 Standardize tabulations 2020-04-19 20:03:55 +02:00
Maniack Crudelis
1dd4a73e17 Replace declare -Ar by local A for args_array 2020-04-19 19:10:39 +02:00
Josué Tille
52e2be8fe6
Merge branch 'stretch-unstable' into permission_protection 2020-04-09 16:22:08 +02:00
Alexandre Aubin
85df8b6545
Merge pull request #905 from YunoHost/add-permission-helpers
add ynh_permission_has_user
2020-04-09 14:30:10 +02:00
Alexandre Aubin
4f05aa3505
Merge pull request #906 from YunoHost/simplify-permission-migration
Attempt to simplify permission migration
2020-04-09 13:46:40 +02:00
Alexandre Aubin
6c9b537941 Drop unused helpers ynh_add_skipped/(un)protected_uris 2020-04-02 19:40:52 +02:00
Josué Tille
d95341840b
Rename default label name 2020-04-01 20:58:50 +02:00
Kay0u
9dd6d799f4
fix example 2020-03-30 21:37:25 +02:00
Kay0u
15f97765b6
Merge branch 'add-permission-helpers' of https://github.com/YunoHost/yunohost into add-permission-helpers 2020-03-30 21:33:12 +02:00
Kay0u
90459e7ae6
Add legacy_args, fix the helper 2020-03-30 21:32:29 +02:00
Alexandre Aubin
ad22677994 Attempt to simplify permission migration 2020-03-30 20:09:26 +02:00
Maniack Crudelis
288a617975
Let's have a working helper 2020-03-30 19:58:06 +02:00
Kay0u
51a0502e91
add ynh_permission_has_user 2020-03-30 19:36:41 +02:00
Josué Tille
e82dad1881
Update helper for label and tile support, authentication header and multiple URL support 2020-03-30 17:42:17 +02:00
Josué Tille
6f179afa82
Merge branch 'stretch-unstable' into permission_protection 2020-03-27 16:14:30 +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
Josué Tille
414fe1926a
Fix helper 2019-12-29 21:08:59 +01:00
Josué Tille
9aecacd995
Rename variables 2019-12-23 11:25:20 +01:00
Josué Tille
b38d1a495e
Add force argument in permission update and change default value in permission creation 2019-12-23 11:21:28 +01:00
Josué Tille
cad6f71016
Fix helper 2019-12-23 11:05:27 +01:00