Tom Hughes
6670de16a1
Make remote edit work when /edit is loaded
...
Change detection of the edit request to use the URL as the class
will not be set on the body now, and force the router to think we
actually loaded the normal view.
2013-12-05 10:40:21 +00:00
John Firebaugh
10c8be0cb9
Restore correct link behavior with modifier keys
...
Fixes #562
2013-12-02 14:25:45 -08:00
Tom Hughes
d5a765588f
Fix URL updating in Potlatch 1
...
Potlatch 1 has hard coded calls to updatelinks, so rename the
updatelinks function to updateLinks and add an updatelinks function
using the old style argument list for Potlatch 1 to call.
2013-12-01 22:37:04 +00:00
Richard Fairhurst
640ff57465
Add 'x' to close welcome box; remember preference
2013-12-01 21:36:25 +00:00
Tom Hughes
248d0b863c
Force the X-Page-Title value to be treated as UTF-8
...
This is basically a black magic hack to get javascript to treat
a string as UTF-8 and decode it to the correct form.
http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html
2013-12-01 20:31:48 +00:00
Tom Hughes
37baed28b1
Pass the correct ID when switching to a node/way/relation view
2013-11-29 09:53:16 +00:00
Tom Hughes
223d5fd132
Stop browse routes matching user URLs
2013-11-29 00:05:25 +00:00
Tom Hughes
3cd5f45e08
Simplify browse routes and make routes more consistent
...
This gets rid of the /browse/ prefix and uses /history consistently
for all routes that show a list of changesets.
2013-11-28 00:14:07 +00:00
John Firebaugh
6b236ec95b
Fix feed link for pushState loaded history page
2013-11-25 15:47:42 -08:00
John Firebaugh
ca64b39e0d
Make main page flash messages visible
2013-11-25 13:20:59 -08:00
John Firebaugh
0dbd18e2bb
Document/clarify OSM.Router use
2013-11-25 13:10:07 -08:00
John Firebaugh
d0de36b607
Refine changeset browse behavior
...
The general history view shows changesets in the current view
and updates when you move the map. The view for an individual
user, nearby users, or friends zooms the map to the extent of
the results, and doesn't change when you move the map.
2013-11-19 12:10:14 -08:00
John Firebaugh
bd21a1f7ff
Eliminate loading flash for welcome overlay
2013-11-19 11:18:11 -08:00
Aaron Lidman
653f7c0d74
Increase sidebar width, back to 350px
2013-11-18 16:24:52 -08:00
John Firebaugh
d920d94f69
Revert "Eliminate HTML5 elements"
...
This led to a huge mess of conflicting CSS rule priorities.
This reverts commit 9fc8bc9368
.
2013-11-15 10:37:10 -08:00
Aaron Lidman
fec9dc84c0
No hash on browse pages, closes #35
2013-11-14 17:41:20 -08:00
John Firebaugh
e9c6e57bcc
Eliminate HTML5 elements
...
IE8, *sigh*
2013-11-14 15:39:44 -08:00
John Firebaugh
22408c3e5b
Simplify
2013-11-14 12:22:20 -08:00
John Firebaugh
7b10012f90
Fix history sidebar
2013-11-13 15:45:07 -08:00
Aaron Lidman
6ba9f8ba29
Different feature highlight color for browse pages
2013-11-13 13:17:45 -08:00
John Firebaugh
b8a449b4b1
Show XHR responseText on error
2013-11-13 12:01:21 -08:00
Aaron Lidman
c5be2b6f84
Prevent empty search
2013-11-13 10:45:20 -08:00
John Firebaugh
853dc286b9
Add sidebar loading indicator
2013-11-12 17:01:47 -08:00
Aaron Lidman
1673851b50
Add zoom to note
2013-11-12 15:12:40 -08:00
Aaron Lidman
1b19974b12
Add note creation to the sidebar
2013-11-11 19:06:07 -08:00
Aaron Lidman
85282f5cdd
Add note selection to the sidebar
2013-11-11 16:37:23 -08:00
John Firebaugh
1082d3a653
preserve visual center of map on sidebar transitions
2013-11-11 14:42:59 -08:00
John Firebaugh
a805e0b545
Use our own hash implementation
...
We need more flexibility than L.Hash provides.
2013-11-11 14:42:59 -08:00
John Firebaugh
aa45efc1b7
Refactor to map.updateLayers
2013-11-11 14:42:46 -08:00
John Firebaugh
14136b27c2
Merge map.js.erb and leaflet.extend.js.erb
2013-11-11 14:42:46 -08:00
Aaron Lidman
e4504399ae
Add notes sidebar interaction
2013-11-11 14:29:02 -08:00
John Firebaugh
0d52b82d4e
Move search form to header on small screens
2013-11-11 13:38:46 -08:00
John Firebaugh
a5b784bdf7
Replace Vary header with explicit xhr=1 param
...
IE10 doesn't respect the Vary header.
2013-11-08 17:11:54 -08:00
Aaron Lidman
1ae7872ed8
Update title on pushState, closes #33
2013-11-08 16:10:08 -08:00
John Firebaugh
8b5e0d0248
Fix order of initialization
...
initializeNotes needs to be called after L.OSM.note.
2013-11-08 13:42:24 -08:00
John Firebaugh
b903d8b746
Fix browse overlay status messages
2013-11-08 10:46:24 -08:00
John Firebaugh
cdfe2ac21e
Redo mobile styles
2013-11-07 17:25:03 -08:00
John Firebaugh
040804335d
Simplify
2013-11-07 16:37:14 -08:00
John Firebaugh
b90d27cdff
Tweak attribution
2013-11-07 12:14:10 -08:00
Eden Halperin
9029e47ce9
Minimize intro sidebar on mobile
2013-11-07 10:46:55 -05:00
Aaron Lidman
aca5308bcd
Missed the sidebar on browse page
2013-11-06 17:48:51 -08:00
Aaron Lidman
1df32b88e8
Remove references to #view_tab
2013-11-06 17:26:20 -08:00
Aaron Lidman
e7d200c4a6
Sidebar close reverts to 'view' state
2013-11-06 16:59:14 -08:00
Eden Halperin
726db77827
Fix donate link in attribution
2013-11-06 16:20:26 -05:00
John Firebaugh
9cfb230e02
Fix layers initialization
2013-11-06 13:19:13 -08:00
Eden Halperin
0a040c7a79
Add donation attribution to mapnik layer
2013-11-06 16:14:27 -05:00
John Firebaugh
c798962cda
Fix feedback loop between L.hash and popstate
2013-11-06 12:26:32 -08:00
Eden Halperin
537d72b0f6
responsive secondary pages and fixed map
2013-11-06 12:57:21 -05:00
Eden Halperin
582ab35ecd
groundwork for responsive menu
2013-11-06 10:31:49 -05:00
John Firebaugh
0f799186ab
Use appropriate precision for "Where am I?"
2013-11-05 13:27:18 -08:00