Commit graph

6343 commits

Author SHA1 Message Date
Tom Hughes
e36aa53f49 Update to paperclip 4.x and add content type validation 2014-02-10 00:34:23 +00:00
Tom Hughes
6d8fb474af Removed bogus translations 2014-02-09 15:43:31 +00:00
Siebrand Mazeland
56f8aa98e7 Localisation updates from https://translatewiki.net. 2014-02-09 15:35:43 +00:00
Tom Hughes
3a582889cb More interpolation fixes 2014-02-09 12:53:22 +00:00
Tom Hughes
e5c9dc60e4 Fix various broken interpolations
Fixes #699
2014-02-09 12:43:42 +00:00
Tom Hughes
a7f9ca32b7 Fix some mixed content issues 2014-02-08 17:43:34 +00:00
Richard Fairhurst
78c040d575 Make it clear that notes are for map improvements
...and use friendlier-sounding language. Should help avoid
instances like http://www.openstreetmap.org/note/114639 and
http://www.openstreetmap.org/note/114640, though I'm sorely
tempted to add "amenity=brian" and "amenity=george" in response
to these.
2014-02-07 13:58:19 +00:00
Tom Hughes
e5ff267073 Avoid using one translation as the key for a second
Translation keys need to be fixed, so we can't use the result of
one lookup to derive the key for another...

Fixes #697
2014-02-06 09:14:06 +00:00
Tom Hughes
ef448ea494 Boost https tile traffic to 20% 2014-02-05 19:43:44 +00:00
John Firebaugh
b76bfe379e Update to iD v1.3.6 2014-02-05 18:39:54 +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
25b93471c1 Preserve message details over validation errors
If a validation error occurs while saving a message then make
sure the values are preserved in the new form.
2014-02-04 22:31:44 +00:00
Tom Hughes
a52242ccbc Fix broken interpolation variables 2014-02-02 15:35:56 +00:00
Siebrand Mazeland
fd97eb635c Localisation updates from https://translatewiki.net. 2014-02-02 13:13:49 +00:00
Tom Hughes
3ec53f38a6 Remove version lock on dalli now that ruby-openid is updated 2014-01-29 22:47:17 +00:00
Tom Hughes
339ac9d239 Pass preferred language to geonames API calls 2014-01-27 21:14:17 +00:00
Tom Hughes
ccebb796ab Use api.geonames.org for reverse searches 2014-01-27 21:14:17 +00:00
Tom Hughes
b28b5509b8 Fix interpolation variables 2014-01-24 20:37:29 +00:00
Siebrand Mazeland
e9825a84e3 Localisation updates from https://translatewiki.net. 2014-01-24 20:15:41 +00:00
Tom Hughes
1db1277a5f Compile the fixthemap javascript 2014-01-19 20:19:33 +00:00
Marco Antonio Frias Butrón
b01bda9238 Reserve enough space for the buttons at the bottom of the message list 2014-01-19 17:15:05 +00:00
Tom Hughes
affe17a31a Add a tests for the fixthemap page 2014-01-19 13:52:17 +00:00
Simon Poole
a24f52dec7 Add a landing page for "fix the map / report a problem" links 2014-01-19 13:48:27 +00:00
Toby Murray
c78853a97e Changing the note search limit from 9999 to 10000
The documentation says the limit is 10000 which seems like a
nicer round number anyway.
2014-01-19 13:40:11 +00:00
Tom Hughes
58381bbfd4 Stick with dalli 2.6.x for now until ruby-openid is updated
https://github.com/openid/ruby-openid/pull/67
https://github.com/mperham/dalli/issues/424
2014-01-18 16:54:20 +00:00
Tom Hughes
8accdb9259 Remove code to populate countries table 2014-01-17 19:57:58 +00:00
Tom Hughes
d35403f1c7 Load soap4r so IP geolocation works 2014-01-17 19:57:20 +00:00
Tom Hughes
42b329ed82 Replace the country table with a static XML countries file
Storing the countries in the database is overkill, so just use a
copy of the geonames countryInfo data that is loaded into a hash
the first time it is used.
2014-01-17 19:25:58 +00:00
Tom Hughes
933b091330 Highlight erroneous fields by adding a class to them
The default rails scheme for highlighting errors is to wrap the
field in a div, but that changes the structure of the page and can
change the meaning of CSS rules applied to the fields.

As an alternative we now apply a class to the fields, and use that
in the CSS to apply a highlight.
2014-01-15 21:41:16 +00:00
Tom Hughes
0764bb40b2 Change attribute names for diary/message titles to match UI labels 2014-01-15 20:26:22 +00:00
Tom Hughes
45618726ef Reenable the note search API
Add a postgress freetext index on the note comments, and enable
note searching using freetext matching.
2014-01-15 19:58:58 +00:00
Tom Hughes
a4561fe89b Preserve aspect ratio when scaling a user thumbnail
Fixes #675
2014-01-12 20:32:33 +00:00
Tom Hughes
67dbde0fde Set empty alt text on user images
This stops a stupidly long URL being shown if something goes wrong
with the gravatar redirect back to the default image.
2014-01-12 19:28:01 +00:00
Siebrand Mazeland
7444f21406 Localisation updates from https://translatewiki.net. 2014-01-11 17:02:33 +00:00
John Firebaugh
65b009ea32 Update to iD v1.3.5 2014-01-10 19:24:08 +00:00
Tom Hughes
1e2b99a75b Disable notes search until it can be made scalable 2014-01-09 08:41:59 +00:00
Siebrand Mazeland
0c3c2e01bf Localisation updates from https://translatewiki.net. 2014-01-06 11:21:23 +00:00
Siebrand Mazeland
6a94cae029 Localisation updates from https://translatewiki.net. 2013-12-28 18:00:47 +00:00
Tom Hughes
a8e04f018a Update bundle 2013-12-23 20:28:53 +00:00
Siebrand Mazeland
53d2b6e72d Localisation updates from https://translatewiki.net. 2013-12-23 20:23:19 +00:00
Siebrand Mazeland
822496fd9f Localisation updates from https://translatewiki.net. 2013-12-20 11:05:55 +00:00
Tom Hughes
9326c7e402 Update bundle 2013-12-19 17:32:23 +00:00
Tom Hughes
41d02225d2 Add details for Finland to copyright page 2013-12-19 17:30:15 +00:00
Tom Hughes
fd0ed54b16 Add a close icon to the feature warning panel
Fixes #660
2013-12-18 00:14:29 +00:00
Tom Hughes
14cb332204 Stop the "Load" button overlaying text in the data browser warning
Fixes #959
2013-12-17 21:49:18 +00:00
Siebrand Mazeland
7ef23078df Localisation updates from https://translatewiki.net. 2013-12-17 09:01:42 +00:00
Tom Hughes
dd12e1de63 Restore the duplicate search form in the header
It turns out the duplicate form is used, for the the mobile view.
2013-12-16 09:39:54 +00:00
Tom Hughes
6ff6b2f527 Change "My Inbox" to "My Messages" in user menu
Fixes #661
2013-12-15 22:41:57 +00:00
Tom Hughes
0c8ed1938b Add an index on created_at to the note_comments table 2013-12-12 12:50:05 +00:00
Martin Raifer
ea5183cd18 Fix typo in diary form html 2013-12-12 09:59:15 +00:00