Commit graph

100 commits

Author SHA1 Message Date
John Firebaugh
3d4a137959 Don't rely on body classes so much
Doesn't work well with pushState-based navigation.
2013-10-13 14:46:08 -07:00
John Firebaugh
a56d1036d5 pushState based navigation between map-based layouts 2013-10-13 14:46:08 -07:00
John Firebaugh
4557654ba6 Simplify layouting 2013-10-13 14:46:07 -07:00
John Firebaugh
2f076d8f34 Fix "Edit" button when browsing features 2013-10-13 14:46:07 -07:00
John Firebaugh
3ebad9ec2f Add about page 2013-10-13 14:46:05 -07:00
John Firebaugh
e838dddf12 Redirect ?node=n and similar to browse pages 2013-10-13 14:45:58 -07:00
John Firebaugh
33a6b79bd7 Add help page 2013-10-13 14:45:57 -07:00
Tom Hughes
6494747882 Centre editors correctly when note=N is specified 2013-09-09 15:44:53 +01:00
Tom Hughes
ae0177fbe6 Merge remote-tracking branch 'osmlab/id-default' 2013-08-23 17:41:09 +01:00
John Firebaugh
8dc16bd8db Make iD default editor
Make iD the default editor for all users that have not specified
a preferred editor, except fall back to P2 on IE.
2013-08-15 16:36:18 -07:00
John Firebaugh
3ca642271a Redirect /edit and /export with old-style edit params 2013-08-12 13:34:46 -07:00
John Firebaugh
24422a3baf Move pre-sign up content to sign up page 2013-08-12 13:34:42 -07:00
John Firebaugh
e3aaa6dd4b Add welcome page based on http://osmlab.github.io/welcome-osm/ 2013-08-12 13:34:40 -07:00
John Firebaugh
452eabc941 Use full page width when editing with iD 2013-08-10 00:38:46 +01:00
Tom Hughes
99c48285df Redirect short links properly 2013-08-06 10:58:54 +01:00
John Firebaugh
6618cb9019 Include layers in hash 2013-07-30 15:41:41 -07:00
John Firebaugh
c8d4e4eee3 Redirect lat/lon/zoom query params to hash 2013-07-30 15:41:41 -07:00
Tom Hughes
6659fb9b33 Rename the ugly "id_iframe" to just plain "id" 2013-05-07 14:50:31 +01:00
Tom MacWright
7a98913d0c Add iD editor
iD sources live in vendor/assets/iD, and are managed with
vendorer, using the "rewrite" functionality to replace relative
paths in the CSS with <%= asset_path(…) %> directives.

To avoid needing to namespace all of its CSS classes, iD
is embedded via an iframe.

To setup, edit application.yml to include an `id_key` key.
(It can use the same consumer key as P2 if you like.)
2013-05-03 10:52:41 -07:00
Tom Hughes
e8d32637c1 Add javascript OAuth support 2013-03-28 00:34:09 +00:00
John Firebaugh
02bdc8f1ad Don't expose lat/lon of private traces 2012-09-21 15:29:02 -07:00
John Firebaugh
20e5f756be Support the same edit params for Potlatch 1 and 2
Trac ticket 4587
2012-09-21 15:16:56 -07:00
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