Commit graph

659 commits

Author SHA1 Message Date
Laura Klünder
385aebe445 improve access permission querying 2017-12-20 21:17:35 +01:00
Laura Klünder
544b3dae2e those who can grant all permissions should have all of them 2017-12-20 21:07:02 +01:00
Laura Klünder
245c101eb0 AccessRestrictionGroup 2017-12-20 20:54:58 +01:00
Laura Klünder
040669755f fix typo 2017-12-20 20:16:28 +01:00
Laura Klünder
6cb4b05f82 try to fix race condition 2017-12-20 20:14:00 +01:00
Laura Klünder
47b94873fa fix some error when level_id fails 2017-12-20 18:12:27 +01:00
Laura Klünder
da115171d1 fix lock problems… hopefully 2017-12-20 13:13:49 +01:00
Laura Klünder
07a1a79cc4 fix typo 2017-12-20 11:49:31 +01:00
Laura Klünder
519eeebf2f fix mapupdate caching 2017-12-19 22:27:17 +01:00
Laura Klünder
2587f5f8ba fix error due to subtitle 2017-12-19 19:30:51 +01:00
Laura Klünder
ec53cb5531 describe locations only with groups that have can_describe set 2017-12-19 18:40:28 +01:00
Laura Klünder
b852ef708e AccessPermission.unique_key 2017-12-19 12:19:31 +01:00
Laura Klünder
fe7faaff58 add missing unique_together on graph descriptions 2017-12-19 01:59:54 +01:00
Laura Klünder
153c20410c only show access restrictions the user max see 2017-12-19 01:56:10 +01:00
Laura Klünder
40b19acfb6 description titles for editor 2017-12-19 01:50:27 +01:00
Laura Klünder
9ae9477b33 add LeaveDescription and CrossDescription to Editor 2017-12-19 00:50:40 +01:00
Laura Klünder
0bbcc400ca add models for space-based route description 2017-12-18 15:31:28 +01:00
Laura Klünder
64664fbc66 don't use tokens as primary keys 2017-12-18 14:54:45 +01:00
Laura Klünder
ee83d56a5c simpler describe_location 2017-12-18 01:57:36 +01:00
Laura Klünder
936b2c4b3d fix get_color() error when space geometries are created in a changeset 2017-12-18 00:36:25 +01:00
Laura Klünder
7e9c87c8ea allow multiple access permissions per user and restriction 2017-12-17 21:53:55 +01:00
Laura Klünder
9185c999af with_type → include_type 2017-12-17 03:24:12 +01:00
Laura Klünder
5ebddc8ed8 add WifiMeasurement model 2017-12-16 12:43:14 +01:00
Laura Klünder
b4fe83b453 SpaceGeometryMixin: geojson opacity 2017-12-14 22:00:22 +01:00
Laura Klünder
e4be49ffd4 fix groups not respected in subtitle 2017-12-14 21:44:14 +01:00
Laura Klünder
b8b21b775e correct logic about locationgroup save 2017-12-14 19:47:07 +01:00
Laura Klünder
b20c94b6c6 call register_changed_geometries only if locationgroup was not changed 2017-12-14 19:43:07 +01:00
Laura Klünder
9564d92ec3 set mapdata:last_update only if we are saving a new map update 2017-12-14 00:23:58 +01:00
Laura Klünder
ab391e9a4c avoid cache errors in MapUpdate 2017-12-14 00:20:38 +01:00
Laura Klünder
95fc1253bc add new fields to WayType 2017-12-11 15:34:07 +01:00
Laura Klünder
94a51f8159 bump access permission token: don't descrase validity 2017-12-11 14:18:09 +01:00
Laura Klünder
846faa075c better location ordering 2017-12-11 01:51:58 +01:00
Laura Klünder
8512a6b27b fix error 500 in space api 2017-12-10 18:27:34 +01:00
Laura Klünder
fe3bac40c8 fix checking access permissions 2017-12-10 14:52:04 +01:00
Laura Klünder
803f9ee121 redeem token after logging in 2017-12-10 14:46:41 +01:00
Laura Klünder
101a4c6bf2 redeem access permission tokens 2017-12-10 14:13:20 +01:00
Laura Klünder
003bfbe389 fix inverted logic 2017-12-10 13:37:23 +01:00
Laura Klünder
986cad7c23 don't allow redeeming if token is no longer valid 2017-12-10 03:54:49 +01:00
Laura Klünder
2a175aa43d create and show access qr code 2017-12-10 03:49:21 +01:00
Laura Klünder
cca01e584a AccessPermissionToken 2017-12-10 03:16:07 +01:00
Laura Klünder
0c1b27d529 remove code that gave all access permissions to superusers 2017-12-08 22:32:35 +01:00
Laura Klünder
10af523737 clear access permission cache for user after save() or delete() 2017-12-08 22:26:14 +01:00
Laura Klünder
eb54ac7896 manage access permissions 2017-12-08 21:31:53 +01:00
Laura Klünder
46c581627f fix fatal error when using current_cache_key as an etag func 2017-12-04 17:41:17 +01:00
Laura Klünder
f915210cf2 LocationGroupCategory.title_plural 2017-11-30 16:51:28 +01:00
Laura Klünder
af93cd2aa2 make sure the I18nField defaultvalue is not passed by reference 2017-11-30 15:41:47 +01:00
Laura Klünder
6cfd8eb0e3 some more options / features for I18nField 2017-11-30 15:26:06 +01:00
Laura Klünder
a7c140a2ac don't cast ugettext_lazy calls to str, as our json encoder is now clever 2017-11-30 01:10:49 +01:00
Laura Klünder
f94be40470 add I18nField and replace the title JSONField with it 2017-11-30 00:43:39 +01:00
Laura Klünder
08ec318231 prepare router for routing from points 2017-11-28 22:02:24 +01:00