Commit graph

491 commits

Author SHA1 Message Date
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
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