Commit graph

28 commits

Author SHA1 Message Date
John Firebaugh
0509fc8d12 Move param-based map configuration to client
This prepares us for hash-based permalinks (#81) and removes
the duplication between index.html.erb and SiteController#edit.
2012-09-18 08:56:45 +01:00
John Firebaugh
8ec415b060 Use a param to trigger export rather than a separate action
In site/_resize.html.erb and site/_search.html.erb, a
params[:action] conditional is used to include code that
should only run on the index action -- but it should be run
on the export action too. Cleanest fix is to eliminate that
action entirely.
2012-09-07 09:27:59 +01:00
Tom Hughes
561f2f694a Add preview functionality to rich text controls 2012-03-17 16:36:57 +00:00
Tom Hughes
ac48c6a16f Explicitly disable the layout for actions which don't want it 2012-02-15 17:48:17 +00:00
Tom Hughes
2b326acc32 Allow the copyright page to be requested in any locale 2012-02-14 11:54:22 +00:00
Peter Gray
95d899786a Refactor bounding box code
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
f242c9de94 Add edit links to data browser pages 2011-07-19 22:48:29 +01:00
Tom Hughes
42e72d5591 Make the edit action default to z17
If an attempt is made to invoke an editor without specifying a zoom
level (as with the GPX edit links) then default to z17 instead of z14
to avoid trying to load too much data. Fixes #3728.
2011-05-07 00:05:49 +01:00
Tom Hughes
aa4a8fdc81 Replace JOSM editing option with generic Remote Control option 2010-12-01 09:25:27 +00:00
Tom Hughes
409576eea0 Make launching of Potlatch 2 from the GPS trace list work 2010-11-30 17:11:49 +00:00
Tom Hughes
04a6c41be9 Show a popup listing available editors when hovering over the edit tab 2010-11-29 12:20:22 +00:00
Tom Hughes
6c3b5aa9d4 Only Potlatch 1 needs a token to be created 2010-11-29 12:20:22 +00:00
Tom Hughes
c3453cf57d Make JOSM remote control based editing work 2010-11-29 12:20:22 +00:00
Matt Amos
cd66a5db99 Initial work on support for multiple editors 2010-11-29 12:20:21 +00:00
Matt Amos
1d8e66016c Adding 'shortlink' functions which will allow URLs like http://osm.org/go/XXXX suitable for use in twitter, etc... 2009-06-25 23:31:53 +00:00
Tom Hughes
817434a2e6 Rework the translatable map key to be driven by a YAML file listing the
entries to show for each layer and zoom level.
2009-06-24 23:30:41 +00:00
Tom Hughes
0e96027a20 Sort out storage and use of user preferred languages. 2009-05-31 14:55:45 +00:00
Shaun McDonald
035254c5fb Might be useful to set the locale everywhere we need the web, rather than just the diary entries. 2009-05-29 14:11:12 +00:00
Tom Hughes
b4791598ea Remove unused method. 2008-04-17 17:47:35 +00:00
Tom Hughes
45a77397f3 Make the /export URL work. 2008-04-17 17:47:15 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Steve Coast
6fe1a503b6 move stuff around 2007-04-07 19:00:23 +00:00
Steve Coast
8edf08405d can now navigate to the map from a searched-for tag in a way 2007-04-07 18:44:22 +00:00
Steve Coast
6b4803d87f search done 2007-04-07 18:21:12 +00:00
Steve Coast
3789c7b592 throw user to login if trying to edit without logging in 2007-04-07 10:28:38 +00:00
Steve Coast
97978ceeb9 more rails front end bits 2006-08-26 17:53:43 +00:00
Steve Coast
a42dc9f482 slippy map alpha 2006-08-26 16:55:17 +00:00
Steve Coast
613e88c4a8 rails updates 2006-08-26 16:34:52 +00:00