Commit graph

1681 commits

Author SHA1 Message Date
Laura Klünder
18aac563f4 always clear autocomplete after new matching 2017-10-28 16:15:55 +02:00
Laura Klünder
80347480be breaking news: JavaScript is not Python 2017-10-28 16:12:57 +02:00
Laura Klünder
482f09afee don't match again if user input does no change anything 2017-10-28 16:12:18 +02:00
Laura Klünder
7edd9086e4 javascript autocomplete results matching 2017-10-28 16:09:02 +02:00
Laura Klünder
1b1e76d3e0 move document.ready() 2017-10-28 14:19:16 +02:00
Laura Klünder
0eb444eb38 call schedule_refresh_tile_access() 2017-10-28 14:19:08 +02:00
Laura Klünder
a433a204e2 remove etag from API HTML view (because it shows the username) 2017-10-28 14:17:28 +02:00
Laura Klünder
80497a31a4 reformat c3nav.js and load searchable locations 2017-10-28 14:10:47 +02:00
Laura Klünder
c2bedebd28 replace ?search with ?searchable 2017-10-28 14:09:59 +02:00
Laura Klünder
c35d833640 order locations by relevance 2017-10-28 13:31:12 +02:00
Laura Klünder
0cfae778f0 Location API: can_seach OR can_describe 2017-10-28 13:18:28 +02:00
Laura Klünder
bdbbaa71a1 fix typo (max instead of min) in MapHistory.add_new() 2017-10-28 13:14:32 +02:00
Laura Klünder
1db9db542f fix register_changed_geometries on LocationGroup and LocationGroupCategory 2017-10-28 13:04:46 +02:00
Laura Klünder
4f0dce05a1 location api: only prefetch location groups that are visible to the user 2017-10-28 12:44:22 +02:00
Laura Klünder
1536fb0e10 besser queryset mode values in location api 2017-10-28 12:38:29 +02:00
Laura Klünder
7632ce39ae add simple_api_cache to editor API 2017-10-27 17:33:50 +02:00
Laura Klünder
9dafd3f777 add X-Requested-With Vary header to sidebar views 2017-10-27 17:23:58 +02:00
Laura Klünder
6e9d2424f8 don't remove if-none-match header on editor ajax 2017-10-27 17:21:04 +02:00
Laura Klünder
7ae53e262d replace never_cache with no-cache 2017-10-27 17:15:55 +02:00
Laura Klünder
7a2ecb60ed add ETag to editor 2017-10-27 17:08:36 +02:00
Laura Klünder
85a0993799 add ETag to mapdata api 2017-10-27 16:40:15 +02:00
Laura Klünder
ef340c5193 defer Level.render_data when querying by locationslug 2017-10-27 16:00:54 +02:00
Laura Klünder
92f0ffe6fd cache location api list and query 2017-10-27 15:25:03 +02:00
Laura Klünder
db6102d5e5 fix typo 2017-10-27 15:14:34 +02:00
Laura Klünder
f99779e9de fix ?detailed-logic 2017-10-27 15:05:41 +02:00
Laura Klünder
879f550f84 fix subtitle logic 2017-10-27 15:03:38 +02:00
Laura Klünder
8472fc1952 fix docs in LocationViewSet 2017-10-27 14:52:31 +02:00
Laura Klünder
508a45b4c8 simplify subtitle logic 2017-10-27 14:51:26 +02:00
Laura Klünder
58f1ae9ee3 improve location API using caching 2017-10-27 14:51:09 +02:00
Laura Klünder
feb62bec39 check category_id, not category to avoid additional queries 2017-10-27 13:47:23 +02:00
Laura Klünder
25b478f227 add first subtitle code 2017-10-27 13:47:12 +02:00
Laura Klünder
ebca3361d3 update typeahead.js to corejavascript fork as twitter stopped maintaining it 2017-10-27 12:36:15 +02:00
Laura Klünder
8397c4100e add some comments 2017-10-27 12:35:59 +02:00
Laura Klünder
bef30efeb7 tie icon switch to empty instead of selected 2017-10-26 21:16:45 +02:00
Laura Klünder
427220ca54 add icons and more css logic to ui 2017-10-26 21:02:23 +02:00
Laura Klünder
223a60ee98 add buttons and more ui logic 2017-10-26 13:58:34 +02:00
Laura Klünder
8c5edb938c locations and location inputs 2017-10-26 13:02:20 +02:00
Laura Klünder
92d2f55ce8 update icons 2017-10-26 11:53:21 +02:00
Laura Klünder
1537f86c74 add roboto regular 2017-10-26 11:52:54 +02:00
Laura Klünder
0dcc640e39 add search section 2017-10-25 16:15:06 +02:00
Laura Klünder
3d5783bb40 add normalize.css and fonts.css 2017-10-25 16:14:53 +02:00
Laura Klünder
d4bae53fe1 remove the zoom control to make space for the search bar 2017-10-25 12:31:18 +02:00
Laura Klünder
48fb0e4555 add Level.short_label 2017-10-25 12:29:08 +02:00
Laura Klünder
fbc9efd2a0 level control on c3nav main site 2017-10-25 12:15:19 +02:00
Laura Klünder
92c1f3beaf main site header 2017-10-25 11:23:24 +02:00
Laura Klünder
735392aac3 set user-scalable=no again 2017-10-25 11:08:10 +02:00
Laura Klünder
b0f0371479 add roboto webfont to milligram.css 2017-10-25 11:05:09 +02:00
Laura Klünder
6ed5188c07 remove bare exceptions 2017-10-25 00:47:40 +02:00
Laura Klünder
abfdd3df29 fix viewport tags 2017-10-25 00:42:18 +02:00
Laura Klünder
8456a92ce7 call /map/tile_access repeatedly 2017-10-24 23:54:04 +02:00