Commit graph

228 commits

Author SHA1 Message Date
Josué Tille
d5c61f2d27
Manage skipped, unprotected uris in root path case 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
e36e5ea89c
Improve label 2020-04-23 22:10:34 +02:00
Josué Tille
cfc782f015
Fix label management in migration 2020-04-08 23:14:25 +02:00
Josue-T
64c950c1dc
Fix typo
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
2020-04-08 23:06:45 +02:00
Josué Tille
0828eec729
Fix postinstall and backup restore 2020-04-06 14:52:50 +02:00
Josué Tille
353b29613d
Impove _get_full_url management 2020-04-06 11:19:09 +02:00
Josué Tille
756237c051
Fix and improve migration 2020-04-03 21:31:17 +02:00
Josué Tille
dc38d57baa
Make more robust migration 2020-04-02 14:41:04 +02:00
Josué Tille
4e8a5d8e59
Update migration 2020-04-02 12:17:53 +02:00
Josué Tille
55b1cea919
Rename migration 2020-04-01 23:32:44 +02:00
Josué Tille
fdce1e1676
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-03-31 11:49:30 +02:00
Alexandre Aubin
1795e9e84b Fixing undefined string, removing old unused strings, and fixing stuff for other false-negatives 2020-03-30 20:59:05 +02:00
Josué Tille
ce33592996
Remove bad comment 2019-12-29 22:19:08 +01:00
Josué Tille
97c3a0fb9b
Fix migration 2019-12-29 21:08:59 +01:00
Josué Tille
171f37a589
Implement migration 2019-12-27 16:24:30 +01:00
Josué Tille
175a87bd30
Implement restore permission 2019-12-23 16:11:00 +01:00
Alexandre Aubin
9f81d77693
Merge pull request #853 from YunoHost/app-categories
[enh] Refactor app_list and app_info, + add support for app categories
2019-12-12 19:10:50 +01:00
Alexandre Aubin
81795d0d0d Merge branch 'stretch-testing' into stretch-unstable 2019-12-02 20:46:28 +01:00
Alexandre Aubin
d966407ff0 Let's not remove all_users here since it shall be added if visitors are allowed 2019-12-02 20:41:42 +01:00
Alexandre Aubin
b74c7c888c Improve robustness / idempotency(?) of new app catalog migration 2019-11-27 15:37:22 +01:00
Alexandre Aubin
97138e9209 Try to remove as many app_list() call as possible, replace them with a simple _installed_apps() 2019-11-25 19:07:52 +01:00
Alexandre Aubin
a858a2072b Also remove the legacy cron job, since there was a name change 2019-11-20 20:17:11 +01:00
Alexandre Aubin
02d00eece0 migrate -> run 2019-11-20 16:05:45 +01:00
Alexandre Aubin
d36a79a0f6 Merge branch 'stretch-unstable' into get-rid-of-app-status 2019-11-09 19:47:50 +01:00
Alexandre Aubin
3b7899db8c appslists -> apps catalog 2019-11-09 00:21:47 +01:00
Alexandre Aubin
f31c02cd64
Merge branch 'stretch-unstable' into future-proof-applist-system 2019-11-08 23:32:53 +01:00
Alexandre Aubin
66c5ad18c9 Migration 12 -> 13 2019-11-08 23:17:32 +01:00
Alexandre Aubin
ddc42e5c8c Make sure the users actually exists when migrating legacy custom permissions 2019-11-06 18:36:09 +01:00
Alexandre Aubin
76cbad0a9a Make sure the users actually exists when migrating legacy custom permissions 2019-11-06 18:35:21 +01:00
Alexandre Aubin
cb247a8140 Get rid of app's status.json 2019-11-04 21:53:21 +01:00
Alexandre Aubin
515a8d2f65
Merge branch 'stretch-unstable' into future-proof-applist-system 2019-11-01 14:59:06 +01:00
Alexandre Aubin
089b3cf973 [fix] Sync permissions only after we're done migrating them, otherwise this triggers a shitload of warnings 2019-10-31 20:36:25 +01:00
Alexandre Aubin
9362261d34 Ugh some apps uses skipped_uris sometimes instead of unprotected_uris... 2019-10-19 18:05:32 +02:00
Alexandre Aubin
4bdcfb4373 Implement / fix i18n strings 2019-10-09 23:16:09 +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
96bc95656c Allow the migration to proceed if slapd config was manually modified, warn the user about where the conf will be backuped 2019-10-09 19:22:31 +02:00
Alexandre Aubin
df49af0ad0 Redundant operation considering we're deleting all groups right after 2019-10-09 18:55:11 +02:00
Alexandre Aubin
ebf2fb9a14 Use relative urls by default for permissions while still supporting absolute urls ... 2019-09-20 20:13:51 +02:00
Alexandre Aubin
00795a7a01 Make migration re-run even more robust 2019-09-18 18:38:47 +02:00
Alexandre Aubin
b2a26a64a7 Naively migrate legacy and classical unprotected_uris = / that sets the app as public 2019-09-15 18:33:31 +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
9c383ef06a Make migration more robust to re-runs 2019-09-14 18:21:42 +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
e40698ef20 Propagate changes on migration 2019-09-13 16:33:03 +02:00
Alexandre Aubin
c5d0a27098 Simplify group info and group update interface and code 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
ec3856a25c Propagate changes about revert mechanism and naming on migration 12 2019-09-10 17:15:08 +02:00