Commit graph

1297 commits

Author SHA1 Message Date
Tom Hughes
eaefb3ea73 Improve consistency of selections in the browser controller 2013-09-30 08:45:19 +01:00
Tom Hughes
536d80c2b2 Fix typo 2013-09-30 08:35:34 +01:00
Tom Hughes
554a7c9d47 Convert some deprecated methods to modern arel syntax 2013-09-29 22:50:01 +01:00
Tom Hughes
63100ae8a0 Convert trace counting to use modern arel methods 2013-09-29 22:33:04 +01:00
Tom Hughes
a8d65b8dbf Don't redirect from user#terms to login if the user is logged in 2013-09-29 15:43:34 +01:00
Tom Hughes
0e9e6e6f8f Upgrade to http_accept_language 2.x 2013-09-24 20:22:44 +01:00
Tom Hughes
5432409ab6 Avoid singleton serialisation errors 2013-09-21 12:03:53 +01:00
Tom Hughes
6c51b3cc0a Replace deprecated finder methods 2013-09-21 11:35:46 +01:00
Tom Hughes
9ab8111022 Replace deprecated scoped method with all 2013-09-21 11:35:46 +01:00
Tom Hughes
f0feca800d Replace attr_accessible with strong parameters 2013-09-21 11:35:46 +01:00
Tom Hughes
40b452ac74 Use a view to build the trace RSS feed and get rid of OSM::GeoRSS 2013-09-18 18:23:03 +01:00
Tom Hughes
7e896d758d Return GPX traces as application/gpx+xml instead of text/xml 2013-09-09 16:23:38 +01:00
Tom Hughes
ecf8c90e88 Don't bother verifying an email address that hasn't changed 2013-09-09 16:05:16 +01:00
Tom Hughes
6494747882 Centre editors correctly when note=N is specified 2013-09-09 15:44:53 +01:00
Tom Hughes
26855add38 Rework piwik configuration 2013-08-24 12:54:51 +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
b825f4826a Fix referer params for welcome page 2013-08-12 13:34:46 -07:00
John Firebaugh
3ca642271a Redirect /edit and /export with old-style edit params 2013-08-12 13:34:46 -07:00
John Firebaugh
091473602b Handle expired confirmation tokens 2013-08-12 13:34:45 -07:00
John Firebaugh
2fa4225784 Pass editing params through to welcome page 2013-08-12 13:34:44 -07:00
John Firebaugh
2a3bc0a387 Hook up user confirmation page 2013-08-12 13:34:44 -07:00
John Firebaugh
24422a3baf Move pre-sign up content to sign up page 2013-08-12 13:34:42 -07:00
John Firebaugh
2690342b08 Reduce welcome email to minimal text
Instead, redirect newly-confirmed users to the welcome
page. If confirmation is not required, redirect immediately
and don't send an email.
2013-08-12 13:34:40 -07:00
John Firebaugh
e3aaa6dd4b Add welcome page based on http://osmlab.github.io/welcome-osm/ 2013-08-12 13:34:40 -07:00
Tom Hughes
dae2c209d9 Use render.openstreetmap.org for mapnik exports 2013-08-12 17:50:06 +01:00
Tom Hughes
b2c42d5521 Fix detection of timeouts 2013-08-12 17:33:18 +01: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
Tom Hughes
f9d714dfd3 Merge remote-tracking branch 'osmlab/hash' 2013-08-04 12:38:59 +01:00
Paul Norman
a1a5706203 Make the multi-get calls throw 400 errors on invalid input
Also refactor ways and relations to use the same structure as nodes
2013-08-04 10:54:45 +01:00
John Firebaugh
849e874dce Refactor user creation actions
Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.

Fixes #398
2013-08-01 17:32:40 +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
Paul Norman
2d5df687fc Make the node controller return the modified time for deleted nodes
Fixes #384
2013-07-29 21:17:53 +01:00
Tom Hughes
3880ac5de8 Replace :nothing => true with :text => ""
Using `:nothing => true` confusingly actually causes a single space
to be sent as the content by rails.
2013-07-19 11:14:55 +01:00
Tom Hughes
e5e6db8d0e Show a cookie warning on the signup page if cookies are disabled 2013-07-04 14:28:38 +01:00
Tom Hughes
2dc7c505fd Remove remaining action cache usage and related infrastructure 2013-06-25 17:47:54 +01:00
Tom Hughes
f03c8637f7 Extract common code for parsing floats 2013-06-24 22:44:17 +01:00
Ian Dees
9d2fed811f Guard against non-numeric lat and lons in nodes and notes 2013-06-24 22:34:09 +01:00
Sarah Hoffmann
378869b77d Show more specific boundary type in search results 2013-06-24 22:26:28 +01:00
Tom Hughes
21d2fa4f36 Don't send notifications when a note is deleted 2013-06-21 08:52:59 +01:00
Tom Hughes
cc8bfc07bb Force notes list to be realised in notes#mine
There is a rails bug which means that using count on a relation
that uses uniq and offset/limit and which hasn't been realised
yet will always return one, so force it to be realised.
2013-06-10 23:45:06 +01:00
Tom Hughes
d74d4f8d19 Add a reopen API call for notes 2013-06-10 18:52:50 +01:00
Tom Hughes
e47080338a Add a title to note browse pages 2013-05-20 17:46:43 +01:00
Tom Hughes
a945fc0fcd Fix trace lists to correctly respect tag restrictions 2013-05-10 22:48:26 +01:00
Tom Hughes
164341121d Hide deleted traces in the RSS feeds 2013-05-10 21:35:00 +01:00
Tom Hughes
c809f79912 Tidy up user preferences controller 2013-05-10 16:03:37 +01:00
Tom Hughes
f495da8fda Fix a few user preferences bugs 2013-05-10 00:50:24 +01:00
Tom Hughes
1ecf3ebd68 Remove unused friend controller and related test harness 2013-05-09 22:39:12 +01:00