Commit graph

2541 commits

Author SHA1 Message Date
Matt Amos
d0e47d30e4 Fixes bug #2152 by preventing over-expansion of bboxes beyond the world range. 2009-08-16 00:19:18 +00:00
Tom Hughes
cd8bb0dc57 Log unexpected exceptions raised by API calls. 2009-08-15 11:35:43 +00:00
Tom Hughes
9617ca2acc Identifiable traces should be trated as private in the trace list. 2009-08-13 17:59:38 +00:00
Tom Hughes
e8a2a15ea1 The "public" field no longer exists in gpx_files. 2009-08-13 17:57:14 +00:00
Tom Hughes
565171486f Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Tom Hughes
7a7c567436 Remove layers argument from the shortlink if we change to mapnik from
a non-mapnik layer.
2009-08-13 14:02:49 +00:00
Tom Hughes
c5349c360f Escape usernames. Closes #2149. 2009-08-08 22:45:56 +00:00
Matt Amos
7ac66a371e Fix test to reflect change to changeset templates. 2009-08-07 14:14:27 +00:00
Ævar Arnfjörð Bjarmason
fc9768f34c Add type="html" to <title> so a <title> with "&lt;" will be displayed
as "<" and not literally as "&lt;".

See section 3.1.1 in RFC 4287
2009-08-07 12:17:02 +00:00
Tom Hughes
66eafbf09e Update Vietnamese translation. Closes #2142. 2009-08-07 07:45:15 +00:00
Ævar Arnfjörð Bjarmason
127241cdff Make the diary RSS feed translatable 2009-08-07 01:03:42 +00:00
Ævar Arnfjörð Bjarmason
a6f190eabe Include the changeset comment in the <title> of the Atom feeds if
there's a changeset comment.

I'm not doing any snipping of the comment so they could run to 255
characters (the max size in the database), but from testing a few feed
clients it looks like they do this pretty well at the client side.
2009-08-07 00:59:01 +00:00
Richard Fairhurst
6e6b44e494 small parallel way fix, plus handy new 'join' keypress (J) 2009-08-07 00:25:00 +00:00
Ævar Arnfjörð Bjarmason
9e03b38288 Translated user account creation message 2009-08-06 22:19:03 +00:00
Balló György
71a373bd13 Updated Hungarian translation of OpenStreetMap website 2009-08-06 19:25:09 +00:00
Matt Amos
bb84a78a09 Made XML parsing routines raise an exception if the document is valid XML, but not valid as an OSM document. This is now the same behaviour as when the document isn't valid XML. 2009-08-06 17:28:49 +00:00
Richard Fairhurst
a9a55db130 ibid 2009-08-06 10:49:01 +00:00
Richard Fairhurst
d50288a89f argh, caught out by annoying Ming 0.3>0.4 change. Recommit with correct line widths 2009-08-06 08:26:06 +00:00
Tom Hughes
e477f68a6c Render the links using partial so we can do the appropriate rendering
for HTML and Atom versions and hopefully get the escaping right in the
feed. Closes #2135.
2009-08-05 23:39:24 +00:00
Richard Fairhurst
c0c506adde handful of small fixes 2009-08-05 23:16:22 +00:00
Richard Fairhurst
9968ea4308 bunch of small tweaks 2009-08-05 23:14:27 +00:00
Tom Hughes
e48e4ccbd3 Send an appropriate Vary header when we negotiate the language to stop
caches doing the wrong thing. Closes #1995.
2009-08-05 20:35:28 +00:00
Richard Fairhurst
b938f26313 ibid 2009-08-05 14:11:13 +00:00
Matt Amos
e93becd304 Node controller wasn't using the right name for an exception class. 2009-08-05 11:28:49 +00:00
Richard Fairhurst
55e8611653 add secondary_link 2009-08-05 08:51:08 +00:00
Richard Fairhurst
a36c938c85 ibid 2009-08-05 08:49:37 +00:00
Richard Fairhurst
233f3ee527 Potlatch 1.2 2009-08-04 22:24:20 +00:00
Tom Hughes
3faa395788 Use </a> to close <a> tags... 2009-08-04 21:49:54 +00:00
Tom Hughes
7ce7f9b923 Update pr-BR translation. Closes #2130. 2009-08-04 17:10:03 +00:00
Ævar Arnfjörð Bjarmason
627898ead2 Translate the new reset password procedure introduced in [16817] and
remove obsolete messages that haven't been used since that commit.
2009-08-04 14:51:55 +00:00
Ævar Arnfjörð Bjarmason
d15bfb396e Remove unused messages that weren't removed in [16817] 2009-08-04 14:51:09 +00:00
Tom Hughes
63f61b5f04 Replace hard coded nwr enumeration support with a more generic
system for defining enumerations.
2009-08-04 13:23:36 +00:00
Tom Hughes
9c89bd53bf Require the migration helper code in some more migrations. 2009-08-04 13:17:29 +00:00
Tom Hughes
39cbc9d653 Tweak the password reset pages a bit. 2009-08-04 00:14:03 +00:00
Tom Hughes
60303ee06b Fixed migration - rails uses remove_index not drop_index. 2009-08-03 23:55:51 +00:00
Tom Hughes
e890528aac Rework password reset system to do away with the second email and instead
just allow the user (providing they possess a valid token from the first
email) to enter a new password on the site.
2009-08-03 23:42:29 +00:00
Tom Hughes
72402ebc3e Add an index on message sender. 2009-08-03 23:04:41 +00:00
Tom Hughes
254ce1eca0 Exclude deleted messages from the new_messages relationship. 2009-08-03 14:33:53 +00:00
Jonas Krückel
1288a89bdc uptodate with en.yml 16746 2009-08-02 14:39:42 +00:00
Tom Hughes
dc3aae9060 Update pt-BR translation. Closes #2122. 2009-08-02 08:18:13 +00:00
Thomas Wood
bda35008c8 Fix translation for private data users. 2009-07-31 14:37:37 +00:00
Ævar Arnfjörð Bjarmason
621a144cfc Change the messages on the changeset page so that @heading is succinct
and @description has more detail. This looks better than having the
two be equivalent and the <h1> would sometimes overflow the page with
long usernames.
2009-07-31 11:54:09 +00:00
Matt Amos
44ec85fcad fixed gps_point coordinates and tile. why was this passing the tests before? 2009-07-30 15:19:07 +00:00
Štefan Baebler
9744f9659b translation synced with current en.yml 2009-07-30 15:12:17 +00:00
Tom Hughes
4afacf3410 Fix the changeset feed to put the description in as raw HTML so we
can include links instead of having to create a separate link free
version of it.
2009-07-30 11:25:33 +00:00
Ævar Arnfjörð Bjarmason
b06b6c2ce9 Atom readers (Firefox/Liferea) don't like when we embed XHTML anchors
in the description. So adjust the code that creates the changeset
browser title/description to emit a XHTML and plaintext version with
the HTML and Atom output can use, respectively.

Also:

 * Split up @title into @title and @heading as elsewhere
 * Turn the username on the user / user+bbox browser into a link to the userpage
 * Say "Changesets" instead of "Recent changes". Unlike Wikipedia the changes on OSM aren't guaranteed to be recent, they're just going to be the latest
2009-07-29 18:44:51 +00:00
Ævar Arnfjörð Bjarmason
e2abf1254b * Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>
changeset.id). Some languages may have a different numeric
   indicator than the ASCII pound symbol

 * Instead of including a column on :user/edits with a "more" link
   make the changeset ID link to the changeset page.
2009-07-29 11:05:17 +00:00
Ævar Arnfjörð Bjarmason
705ae98e9a Updated this using the en.yml file in the ruby.git distribution for reference
* Numbers are now correctly formatted
 * Added source code comments
 * Finished error message translations
2009-07-29 10:56:40 +00:00
Ævar Arnfjörð Bjarmason
6c034ee9fe use I18n.l() instead of strftime(): Changeset dates will now appear localized 2009-07-29 10:43:03 +00:00
Jonas Krückel
718d0ccf3c added translation for delete buttons, uptodate with en.yml 16657 now. 2009-07-28 16:39:11 +00:00