Commit graph

1967 commits

Author SHA1 Message Date
Tom Hughes
685a35524a Try and patch up poor browser language selections
The HTTP RFC says that a language range specified by a browser only
matches a resource whose language tag is the same, or longer. This
means that a browser language range of de-DE will not match a resource
with a language tag of de.

Because of this browsers should always send the generic range, such
as de, as a secondary choice after a more specific range like de-DE.

Some browers don't this however, so if we don't get a language match
we try and patch up the list of language ranges by inserting the
more generic ranges.
2011-04-04 22:44:43 +01:00
Tom Hughes
8f101a3759 Trigger mobile mode at 640px instead of 480px for iPhone 4 support 2011-04-03 18:02:27 +01:00
Tom Hughes
89bd91e7d8 Link from a diary entry to the relevant user's diary
Fix #2956 by making the title on a diary entry a link back to the
diary list page for the author.
2011-04-03 16:11:20 +01:00
Tom Hughes
9e6e6c2e23 Fixup the user map code to match existing code style 2011-04-03 16:00:06 +01:00
Harry Wood
41589b6ef9 fixes http://trac.openstreetmap.org/ticket/3645 . Can now pass in show_other_users and setting_location to the map partial 2011-04-03 15:43:41 +01:00
Tom Hughes
cb6d6c2463 Report a friendly(ish) error if no OAauth key is set for Potlatch 2 2011-04-03 15:40:05 +01:00
Dan Karran
d62da73ad7 Add a smaller version of the site logo and title for small screens 2011-04-03 15:16:35 +01:00
Tom Hughes
5777c5e925 Tidy up the data browser javascript 2011-04-03 14:59:43 +01:00
Frederik Ramm
59dcc8b253 Add 'hide areas' button to data view 2011-04-03 14:54:32 +01:00
Harry Wood
940995c816 Make home location setting map default to the whole world
Defaulting to western europe doesn't seem very reasonable these
days as we have users all over the world now.
2011-04-03 13:46:18 +01:00
Tom Hughes
4b20afd51e Preserve the referer at the end of account creation 2011-04-03 13:46:18 +01:00
Tom Hughes
097fb390b8 Only show login/signup in slim mode when used from oauth 2011-04-03 13:46:18 +01:00
Tom Hughes
bb83f28a5e Factor out comment code from layouts into partials 2011-04-03 13:46:17 +01:00
Andy Allan
6edbcc12df Use slim layout for OAuth pages too 2011-04-03 13:46:17 +01:00
Andy Allan
7d7416894a New version of slim layout with grey background and centered, auto-adjusting page 2011-04-03 13:46:17 +01:00
Andy Allan
7b57119146 Another approach, but this time without scattering stuff all over the methods 2011-04-03 13:46:17 +01:00
Andy Allan
0531a7dfa1 Ah, that doesn't work due to 'bugs' in the way layouts work - only the last command has any effect 2011-04-03 13:46:17 +01:00
Andy Allan
5531c0bf34 Use the slim layout on the login page 2011-04-03 13:46:16 +01:00
Andy Allan
873fe81f71 Try a different approach - grab the layout and stylesheet from slim1, and ditch the rest 2011-04-03 13:46:16 +01:00
Tom Hughes
aa8fef0f94 Don't display deleted marker for nodes 2011-04-03 13:46:16 +01:00
Frederik Ramm
935c238626 Show the position of a deleted node in browse mode 2011-04-03 13:46:16 +01:00
Tom Hughes
0169453855 Make sure the user is redirect correctly after seeing the terms 2011-04-03 13:46:16 +01:00
Tom Hughes
392aa71015 Tidy up a few things 2011-04-03 13:46:16 +01:00
Tom Hughes
b3bcbbeb3b Move SOTM advert above the optionals 2011-04-03 13:46:16 +01:00
Matt Amos
8b12abd5bb Phase 2 CTs implementation and tests, with config parameter 2011-04-03 13:46:16 +01:00
Matt Amos
82db7eccc8 Added SOTM 2011 banner to the side bar 2011-04-03 13:46:15 +01:00
Tom Hughes
aa121fa046 Make diary locations into a link and drop the separate view link 2011-04-03 13:46:15 +01:00
Harry Wood
53fc3e8919 Remove edit links from geo-located diary entries
Jumping straight into the editor from a diary entry is not a
particularly useful thing to do. Fixes trac ticket #3626.
2011-04-03 13:46:06 +01:00
Tom Hughes
2512337cf5 Add a marker to the edit tab to indicate that it has a menu 2011-04-02 15:40:12 +01:00
Tom Hughes
ba639159dd Handle changesets with an empty string as the comment 2011-03-25 22:51:39 +00:00
Matt Amos
f3ff36418b Fixed bug in changeset queries
The 'or' condition needed to be bracketed within larger 'and' expression.
2011-03-15 13:56:55 +00:00
Andy Allan
7b8b9104cc Already got -> already have 2011-01-31 11:02:38 +00:00
Tom Hughes
65be0e3158 Escape remote control failed message 2011-01-16 17:12:47 +00:00
Tom Hughes
7d900f15dc Use the normal rails asset tagging mechanisms for the SWF files 2011-01-14 22:51:02 +00:00
Tom Hughes
60cdce60b5 Don't look any further for a location if we are given a bounding box 2010-12-22 00:39:12 +00:00
Andy Allan
237394bc39 Change the home zoom level to 15 2010-12-21 17:26:03 +00:00
Andy Allan
51971248c1 Rework the login page to explain better what to do if you're new 2010-12-21 17:26:03 +00:00
Andy Allan
97261143d6 Split the help and wiki into two links - help centre and documentation 2010-12-20 18:26:08 +00:00
Andy Allan
b2f7c71fc9 link to the foundation 2010-12-20 18:26:08 +00:00
Andy Allan
22c7d4c3f9 Remove link to the shop - it's not a very big part of openstreetmap 2010-12-20 18:26:08 +00:00
Andy Allan
1a49f8eff1 News blog -> Community blogs
I suspect the text came from pointing at opengeodata.org in a bygone era.
2010-12-20 18:26:01 +00:00
Andy Allan
0aec1c5fa0 Use a list for the main menu, rather than br-separated links 2010-12-20 18:22:33 +00:00
Philipp Borgers
a998a0bb20 Added tabindex="1" for search input on the main side 2010-12-18 18:01:21 +00:00
Andy Allan
33a039e849 Show the latest changeset for each of the contacts on the user page 2010-12-17 13:36:53 +00:00
Andy Allan
6d51e77880 Use configuration variables for limiting nearby users, and bump the number to 30 2010-12-17 13:18:26 +00:00
Tom Hughes
5454bf3ec9 Add support for the tileurl parameter to Potlatch 2 2010-12-15 23:59:07 +00:00
Tom Hughes
f20a85a5c5 Allow the client to request errors as an XML document 2010-12-15 23:58:59 +00:00
Tom Hughes
3472c1d429 Channel all error reporting through report_error 2010-12-12 16:25:01 +00:00
Tom Hughes
da4c9cdfd9 Relative URLs seem to upset OAuth so use the host from the request 2010-12-10 14:20:24 +00:00
Tom Hughes
fd898f2e57 Use relative URLs rather than hard coding the server name 2010-12-10 13:32:06 +00:00