Commit graph

130 commits

Author SHA1 Message Date
Tom Hughes
ef448ea494 Boost https tile traffic to 20% 2014-02-05 19:43:44 +00:00
Tom Hughes
6b843cc158 Send 5% of users tiles over https as a test 2014-02-05 18:38:36 +00:00
Tom Hughes
66aac9ca87 Pass details of any selected object to remote editors 2013-12-06 00:19:35 +00:00
John Firebaugh
21407ede7e Ensure object parameter is removed from edit link when closing sidebar
Refs #620
2013-12-05 19:38:34 +00: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
Tom Hughes
be088602fb Revert 39468944 and fix osmlab#91 without loosing the editor choice 2013-11-29 15:33:09 +00:00
John Firebaugh
3946894492 Fix accumulation of parameters in edit link 2013-11-25 13:49:47 -08:00
Tom Hughes
65d5f3a1db Remove code to fixup authenticity tokens on page load
We don't cache anything with forms in now, so the code is no longer
needed and the comment was now misleading as extra code has been added
to the ready callback.
2013-11-24 12:13:02 +00: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
John Firebaugh
e9c6e57bcc Eliminate HTML5 elements
IE8, *sigh*
2013-11-14 15:39:44 -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
14136b27c2 Merge map.js.erb and leaflet.extend.js.erb 2013-11-11 14:42:46 -08:00
John Firebaugh
a2dfc00f27 Include layers in all geolinks except edit 2013-11-08 13:51:44 -08:00
John Firebaugh
cdfe2ac21e Redo mobile styles 2013-11-07 17:25:03 -08:00
Eden Halperin
3f26761a26 Fix mobile menu and reduced sidebar height 2013-11-07 18:15:19 -05:00
John Firebaugh
12e820c27e Remove ad concept 2013-11-07 10:16:04 -08:00
Eden Halperin
774aa0c875 RTL fix for leaflet controls, Ad concept 2013-11-06 18:18:35 -05:00
Eden Halperin
537d72b0f6 responsive secondary pages and fixed map 2013-11-06 12:57:21 -05:00
John Firebaugh
aa20398cea Consolidate search-related JavaScript 2013-10-13 14:46:09 -07:00
John Firebaugh
a56d1036d5 pushState based navigation between map-based layouts 2013-10-13 14:46:08 -07:00
John Firebaugh
85e6bbde9b Eliminate edit.js 2013-10-13 14:46:07 -07:00
John Firebaugh
d414ffc61a Simplify geolink-related code
#zoom/lat/lon hash format is now used consistently.
2013-10-13 14:46:07 -07:00
John Firebaugh
3ba036045b Don't disable History button 2013-10-13 14:46:07 -07:00
John Firebaugh
cea0cccc6d Convert edit menus to bootstrap dropdown 2013-08-21 17:20:04 -07:00
John Firebaugh
1727cd7c2b Compact user menu 2013-08-21 17:20:04 -07:00
John Firebaugh
54ded37bf2 Tooltips for map controls 2013-08-07 15:41:32 -07:00
Tom Hughes
feeb135760 Merge remote-tracking branch 'osmlab/map-ui' 2013-08-06 09:05:59 +01:00
John Firebaugh
d4135390ac Create linkloader iframe in script 2013-08-06 08:32:06 +01:00
John Firebaugh
f17304e8ed Fix embed 2013-08-05 08:31:46 -07:00
John Firebaugh
6618cb9019 Include layers in hash 2013-07-30 15:41:41 -07:00
John Firebaugh
1a5f14d338 Update hash on P2 and iD edit pages and throttle 2013-07-30 15:41:41 -07:00
John Firebaugh
3c22a53c93 Generate hash-based permalinks 2013-07-30 15:41:41 -07:00
John Firebaugh
b28511faca zoomPrecision doesn't need to be higher-order 2013-07-30 15:41:41 -07:00
John Firebaugh
b5800b4c2f Refactor URL generating methods 2013-07-30 15:41:41 -07:00
John Firebaugh
57e711d343 Use leaflet-hash 2013-07-30 15:41:40 -07:00
John Firebaugh
5cf26d0559 Fix minzoom alert 2013-07-18 10:45:18 -07:00
John Firebaugh
aff23d4b4b Simplify sidebar/resize
Float sidebars left/right and use overflow: hidden.
Fixes a bug on Opera where mouse events propagate to
the map.
2013-07-18 10:45:18 -07:00
John Firebaugh
bab796bc7e Include current non-OSM.org hostname in share URL 2013-07-18 10:45:16 -07:00
John Firebaugh
de5a225a95 Use custom zoom control everywhere 2013-07-18 10:45:16 -07:00
Tom MacWright
ded28617c7 Add clearer close action, refactor base layer code 2013-07-18 10:45:15 -07:00
Tom MacWright
c3cdd4b5d7 Add layers code to share link 2013-07-18 10:45:15 -07:00
Tom MacWright
e96a64ca9c Reuse styles for map-ui panel 2013-07-18 10:45:15 -07:00
Tom MacWright
9172695f7f Implement long URL option, toggling, and labeling for share 2013-07-18 10:45:15 -07:00
Tom MacWright
d0ed118ee2 Refactor out 'globals' from more functions 2013-07-18 10:45:13 -07:00
Tom MacWright
33897d30b3 Scope map variable. 2013-07-18 10:40:24 -07:00
Tom MacWright
64f5b3f511 Refactoring 4 life 2013-07-18 10:40:24 -07:00
Tom MacWright
3a6c476833 Refactor forever 2013-07-18 10:37:45 -07:00
Tom MacWright
5fc7a47f6d Use querystring, stop manually building urls 2013-07-18 10:37:45 -07:00
John Firebaugh
33aa0a6e45 Rename to L.OSM.Layers and continue implementation 2013-07-18 10:37:45 -07:00
Tom MacWright
7bcea3839d Even more map ui js refactor 2013-07-18 10:37:44 -07:00