Laura Klünder
|
de6e67d8ae
|
fix import
|
2017-11-05 17:15:20 +01:00 |
|
Laura Klünder
|
ae5bbb7705
|
superusers get their own cache key
|
2017-11-05 16:47:25 +01:00 |
|
Laura Klünder
|
0f251af6a9
|
remove filter and clip_path
|
2017-11-05 13:30:45 +01:00 |
|
Laura Klünder
|
e0ae343503
|
remove old render_svg code
|
2017-11-05 13:29:16 +01:00 |
|
Laura Klünder
|
891a1df418
|
rename elevation → height
|
2017-11-05 13:24:35 +01:00 |
|
Laura Klünder
|
f928fd8b6e
|
fix imports
|
2017-11-05 12:32:07 +01:00 |
|
Laura Klünder
|
36146ac954
|
c3nav.mapdata.render.image → c3nav.mapdata.render
|
2017-11-05 11:24:53 +01:00 |
|
Laura Klünder
|
df451f9143
|
cleanup render code to make room for the opengl rendering engine
|
2017-11-04 23:21:36 +01:00 |
|
Laura Klünder
|
f7291ff237
|
disable altitudearea shadow rendering for now (takes too long)
|
2017-11-03 14:59:55 +01:00 |
|
Laura Klünder
|
4216998ec6
|
cast elevation to float so we can multiply it with floats
|
2017-11-03 13:00:06 +01:00 |
|
Laura Klünder
|
75682dda97
|
MapHistory: remember filename if the file does not exist
|
2017-11-03 12:30:22 +01:00 |
|
Laura Klünder
|
5ee98ccdc4
|
set L.Browser.touch = false for leaflet-editable
|
2017-11-03 12:11:38 +01:00 |
|
Laura Klünder
|
a58bf3753d
|
fix json reindender for coordinates
|
2017-11-02 13:44:44 +01:00 |
|
Laura Klünder
|
949b88389e
|
add Location.details_display()
|
2017-11-02 13:35:58 +01:00 |
|
Laura Klünder
|
ba3e1e485e
|
remove debug statement
|
2017-11-02 12:45:33 +01:00 |
|
Laura Klünder
|
614c61efee
|
fix redirect in location display api
|
2017-11-01 15:59:04 +01:00 |
|
Laura Klünder
|
e6b6db1c7c
|
add location display endpoint
|
2017-11-01 15:55:59 +01:00 |
|
Laura Klünder
|
6cf8ea40c0
|
fix sources being invisible in the editor
|
2017-11-01 14:44:31 +01:00 |
|
Laura Klünder
|
554b36d22f
|
utils.svg: skip LineStrings with no fill set
|
2017-11-01 14:20:08 +01:00 |
|
Laura Klünder
|
619ccab617
|
cache mapdata api
|
2017-11-01 12:26:13 +01:00 |
|
Laura Klünder
|
4e3dd875c6
|
django complains without a clear reason, so remove .select_related().only()
|
2017-11-01 12:05:37 +01:00 |
|
Laura Klünder
|
b0cfa4e309
|
rename simple_api_cache → api_etag to avoid confusion
|
2017-11-01 11:12:40 +01:00 |
|
Laura Klünder
|
23e096b2b3
|
better space geometries so representative points never get places ind holes
|
2017-10-31 20:10:05 +01:00 |
|
Laura Klünder
|
fd74ca3258
|
calculate better representative point for geometries
|
2017-10-31 19:20:28 +01:00 |
|
Laura Klünder
|
94a23454a1
|
change short urls to not rely on doule slashes
|
2017-10-31 18:35:42 +01:00 |
|
Laura Klünder
|
31bc299f77
|
superusers have all access permissions
|
2017-10-31 18:09:55 +01:00 |
|
Laura Klünder
|
86b090a29f
|
move .leaflet-touch disable code elsewhere due to leaflet update
|
2017-10-31 18:00:26 +01:00 |
|
Laura Klünder
|
6ae559e26a
|
fix cache key for get_location_by_slug_for_request
|
2017-10-31 17:32:37 +01:00 |
|
Laura Klünder
|
5c7e172ee7
|
add missing bottom padding
|
2017-10-31 17:22:39 +01:00 |
|
Laura Klünder
|
f0813f1acf
|
vor location or route links without position, fly to bounds
|
2017-10-31 17:20:31 +01:00 |
|
Laura Klünder
|
11c2d1616a
|
call update_map_locations() after load_state()
|
2017-10-31 17:14:10 +01:00 |
|
Laura Klünder
|
432df73df7
|
fix level url representation
|
2017-10-31 16:12:42 +01:00 |
|
Laura Klünder
|
0f137bab81
|
x y and zoom can start with a minus
|
2017-10-31 16:09:10 +01:00 |
|
Laura Klünder
|
e98c38e5fb
|
represent level in state url as short_label, not its id
|
2017-10-31 16:08:20 +01:00 |
|
Laura Klünder
|
3294704aee
|
make Level.short_label a SlugField
|
2017-10-31 16:07:42 +01:00 |
|
Laura Klünder
|
4c32a22aac
|
remove whitespaces in state json serialization
|
2017-10-31 15:45:07 +01:00 |
|
Laura Klünder
|
8813f00e95
|
remove old view get_map_image
|
2017-10-31 15:44:33 +01:00 |
|
Laura Klünder
|
9787d915f4
|
improve state logic in map_index
|
2017-10-31 15:37:19 +01:00 |
|
Laura Klünder
|
91bf8b9652
|
finish history state logic, implement it in python
|
2017-10-31 15:28:49 +01:00 |
|
Laura Klünder
|
620323b808
|
export entire location query logic into mapdata.utils.locations and cache
|
2017-10-31 15:22:12 +01:00 |
|
Laura Klünder
|
247d6b119e
|
fix subtitles if space_cache or level_cache are empty
|
2017-10-31 14:08:01 +01:00 |
|
Laura Klünder
|
b3e577349b
|
remove debug condition
|
2017-10-31 13:59:18 +01:00 |
|
Laura Klünder
|
be2a81f806
|
move complicated Location API Queryset into LocationSlug
|
2017-10-31 13:25:42 +01:00 |
|
Laura Klünder
|
aec7935ab0
|
comment out debug statements
|
2017-10-31 12:38:00 +01:00 |
|
Laura Klünder
|
4e39a3b8a4
|
implement load_state / onpopstate
|
2017-10-31 12:37:21 +01:00 |
|
Laura Klünder
|
4f6b96b494
|
remove c3nav._routing, as it is already saved in c3nav.state.routing
|
2017-10-31 12:23:31 +01:00 |
|
Laura Klünder
|
bbfa5da2f6
|
finish history state logic
|
2017-10-31 12:20:33 +01:00 |
|
Laura Klünder
|
31be55897a
|
create states and push them
|
2017-10-31 01:32:25 +01:00 |
|
Laura Klünder
|
e4c2644d83
|
use leaflet dev branch to avoid https://github.com/Leaflet/Leaflet/issues/5751
|
2017-10-30 21:42:43 +01:00 |
|
Laura Klünder
|
495cef1691
|
render 257x257px tiles so they can overlap to avoid rendering bugs
|
2017-10-30 21:25:56 +01:00 |
|