Commit graph

779 commits

Author SHA1 Message Date
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
Laura Klünder
6d7f012666 _location_details_loaded 2017-11-28 11:03:51 +01:00
Laura Klünder
ddd87d2523 always describe from the viewpoint of the request and save queries 2017-11-28 00:16:43 +01:00
Laura Klünder
1ac5d554f2 use only can_describe=True locations to describe routes 2017-11-27 23:38:55 +01:00
Laura Klünder
e5f53aa399 rebuild router when processing updates 2017-11-27 16:53:56 +01:00
Laura Klünder
31297ac39a fix include_type 2017-11-27 15:44:22 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
5f2ca60432 getting a route 2017-11-27 15:01:58 +01:00
Laura Klünder
dd3a885749 start implementing routing by creating new router 2017-11-27 02:16:20 +01:00
Laura Klünder
fcae62eb86 fix error which caused infinite loops by accessing deferred fields 2017-11-26 14:18:41 +01:00
Laura Klünder
0419d82d97 register changed geometries when some important attribute changes 2017-11-26 00:25:24 +01:00
Laura Klünder
11017f0329 improve/fix stair obstacle cutting (again) 2017-11-25 21:42:42 +01:00
Laura Klünder
f7d5c3cdaf faster serialization for graphedges 2017-11-25 18:04:26 +01:00
Laura Klünder
32192e8fac height fields should not have negative values 2017-11-25 14:36:18 +01:00
Laura Klünder
bb6b726a89 remove unneeded superuser-access-code 2017-11-25 13:53:43 +01:00
Laura Klünder
7987aa08f3 fix broken q_for_request when wrapped querysets are used 2017-11-25 13:47:47 +01:00
Laura Klünder
cdca60b307 superusers should have all permissions for now 2017-11-25 13:47:31 +01:00
Laura Klünder
85698dc13b turn Source.name into a CharField to allow periods 2017-11-25 13:42:05 +01:00
Laura Klünder
d4e519e942 allow better translations 2017-11-23 01:08:18 +01:00
Laura Klünder
eb4a93084e remove bounds from GeometryMixin 2017-11-22 22:15:33 +01:00
Laura Klünder
cd27a6a099 only link to locations that can be searched 2017-11-22 20:50:34 +01:00
Laura Klünder
ec18cc7365 display links in location details 2017-11-22 19:04:29 +01:00
Laura Klünder
494c68e08a improve field display description 2017-11-22 18:23:08 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +01:00
Laura Klünder
87d1e3e7f5 don't import anything in render.__init__ 2017-11-20 02:53:49 +01:00
Laura Klünder
94ae86d690 refactor even more data→geometry and levelrender 2017-11-20 02:38:35 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
f214104187 match ramp altitudeareas even if their altitudes were swapped 2017-11-19 23:22:08 +01:00
Laura Klünder
f4b2eaf678 don't crash if there was no altitudearea match found 2017-11-19 23:02:31 +01:00
Laura Klünder
9ffdf2052a GeometryField.get_final_value() for comparing new values with old values 2017-11-19 21:40:32 +01:00
Laura Klünder
b30fbe90d0 AltitudeArea.rebuild(): better match candidates based on altitude 2017-11-19 21:08:35 +01:00