rails.git
10 years agoAdd support for reloading the language table.
Tom Hughes [Thu, 3 Sep 2009 21:55:42 +0000 (21:55 +0000)]
Add support for reloading the language table.

10 years agoAdd Guadeloupean Creole French translation of web site. Closes #2255.
Tom Hughes [Thu, 3 Sep 2009 21:31:34 +0000 (21:31 +0000)]
Add Guadeloupean Creole French translation of web site. Closes #2255.

10 years ago(binary)
Richard Fairhurst [Tue, 1 Sep 2009 14:38:52 +0000 (14:38 +0000)]
(binary)

10 years agotypo correction
Jonas Krückel [Tue, 1 Sep 2009 10:47:24 +0000 (10:47 +0000)]
typo correction

10 years agomore translations
Jonas Krückel [Tue, 1 Sep 2009 10:37:47 +0000 (10:37 +0000)]
more translations

10 years agoFixed bug when oauthorizing with a token which no longer exists (merged 17416 from...
Matt Amos [Tue, 1 Sep 2009 10:25:53 +0000 (10:25 +0000)]
Fixed bug when oauthorizing with a token which no longer exists (merged 17416 from oauth branch).

10 years agoFix file_column plugin to generate absolute URLs without falling over
Tom Hughes [Mon, 31 Aug 2009 23:43:15 +0000 (23:43 +0000)]
Fix file_column plugin to generate absolute URLs without falling over
in a heap and then use that in the user details view.

10 years agoTidy up.
Tom Hughes [Mon, 31 Aug 2009 23:32:03 +0000 (23:32 +0000)]
Tidy up.

10 years agoFix backwards compatibility code to handle an old style public
Tom Hughes [Mon, 31 Aug 2009 23:28:51 +0000 (23:28 +0000)]
Fix backwards compatibility code to handle an old style public
attribute correctly. Closes #2242.

10 years agoAdded user ID, description, languages and image link to the user details API call.
Matt Amos [Mon, 31 Aug 2009 23:11:15 +0000 (23:11 +0000)]
Added user ID, description, languages and image link to the user details API call.

10 years agoPotlatch 1.2a
Richard Fairhurst [Sun, 30 Aug 2009 19:14:50 +0000 (19:14 +0000)]
Potlatch 1.2a

10 years agonew translations
Jonas Krückel [Fri, 28 Aug 2009 11:54:29 +0000 (11:54 +0000)]
new translations

10 years agoFormat dates in the changeset list so the year is shown. Closes #2232.
Tom Hughes [Fri, 28 Aug 2009 07:55:34 +0000 (07:55 +0000)]
Format dates in the changeset list so the year is shown. Closes #2232.

10 years agofix indentation in yaml
Shaun McDonald [Fri, 28 Aug 2009 07:15:06 +0000 (07:15 +0000)]
fix indentation in yaml

10 years agouptodate with en.yml 17163
Jonas Krückel [Thu, 27 Aug 2009 23:30:06 +0000 (23:30 +0000)]
uptodate with en.yml 17163

10 years agoRevert es.yml to utf-8 encoding. Closes #2231.
Tom Hughes [Thu, 27 Aug 2009 22:42:14 +0000 (22:42 +0000)]
Revert es.yml to utf-8 encoding. Closes #2231.

10 years agoWrap tile numbers at the international dateline. Closes #2226.
Tom Hughes [Thu, 27 Aug 2009 15:50:52 +0000 (15:50 +0000)]
Wrap tile numbers at the international dateline. Closes #2226.

10 years agoUpdate of spanish translation
Iván Sánchez Ortega [Wed, 26 Aug 2009 13:43:35 +0000 (13:43 +0000)]
Update of spanish translation

10 years agoAdded referer URL in user_token so that redirections (e.g: from oauth token requests...
Matt Amos [Tue, 25 Aug 2009 15:00:32 +0000 (15:00 +0000)]
Added referer URL in user_token so that redirections (e.g: from oauth token requests) are followed after the user has confirmed the sign-up. Added test for the same.

10 years agoUpdated Hungarian translation for Potlatch 1.2
Balló György [Wed, 19 Aug 2009 14:52:54 +0000 (14:52 +0000)]
Updated Hungarian translation for Potlatch 1.2

10 years agoUpdated Hungarian translation of OpenStreetMap website
Balló György [Wed, 19 Aug 2009 13:46:12 +0000 (13:46 +0000)]
Updated Hungarian translation of OpenStreetMap website

10 years agoCommit resource changes from r17160.
Tom Hughes [Wed, 19 Aug 2009 10:29:57 +0000 (10:29 +0000)]
Commit resource changes from r17160.

10 years agoRemove debugging.
Tom Hughes [Wed, 19 Aug 2009 08:04:42 +0000 (08:04 +0000)]
Remove debugging.

10 years agoCleanup some of the oauth stuff:
Tom Hughes [Wed, 19 Aug 2009 07:59:15 +0000 (07:59 +0000)]
Cleanup some of the oauth stuff:
- Detabify views.
- Move translations to correct names.
- Make flash messages translatable.

10 years agoCall the set_locale filter for oauth methods which display web
Tom Hughes [Wed, 19 Aug 2009 07:45:24 +0000 (07:45 +0000)]
Call the set_locale filter for oauth methods which display web
pages to the user. Closes #2203.

10 years agotests for diary rss feeds
Štefan Baebler [Wed, 19 Aug 2009 05:07:26 +0000 (05:07 +0000)]
tests for diary rss feeds

10 years agoRemove explicit specification of I18n.local as the locale in resource
Tom Hughes [Tue, 18 Aug 2009 20:21:25 +0000 (20:21 +0000)]
Remove explicit specification of I18n.local as the locale in resource
lookups - it's the default anyway.

10 years agoAdd parentheses to fix warning.
Tom Hughes [Tue, 18 Aug 2009 20:06:33 +0000 (20:06 +0000)]
Add parentheses to fix warning.

10 years agoMerge oauth branch at r17138 to trunk.
Tom Hughes [Tue, 18 Aug 2009 20:02:52 +0000 (20:02 +0000)]
Merge oauth branch at r17138 to trunk.

10 years agoMerge oauth branch at r17138 to trunk.
Tom Hughes [Tue, 18 Aug 2009 20:01:56 +0000 (20:01 +0000)]
Merge oauth branch at r17138 to trunk.

10 years agofixing interpolation error with per language rss feeds that was introduced in [16903]
Štefan Baebler [Tue, 18 Aug 2009 19:36:58 +0000 (19:36 +0000)]
fixing interpolation error with per language rss feeds that was introduced in [16903]

10 years agolocalized link to home location
Štefan Baebler [Tue, 18 Aug 2009 18:26:01 +0000 (18:26 +0000)]
localized link to home location

10 years agoReverting experimental stuff in r17121.
Matt Amos [Tue, 18 Aug 2009 16:33:18 +0000 (16:33 +0000)]
Reverting experimental stuff in r17121.

10 years agoExperimental CSS media queries to support iPhone and other small-screen devices.
Matt Amos [Tue, 18 Aug 2009 16:06:26 +0000 (16:06 +0000)]
Experimental CSS media queries to support iPhone and other small-screen devices.

10 years agoadd crossdomain.xml to allow flash to access oauth
Dave Stubbs [Sun, 16 Aug 2009 15:59:56 +0000 (15:59 +0000)]
add crossdomain.xml to allow flash to access oauth

10 years agoQualify SCALE properly - apparently object visibility when running the
Tom Hughes [Sun, 16 Aug 2009 10:36:16 +0000 (10:36 +0000)]
Qualify SCALE properly - apparently object visibility when running the
test suite is not the same as when running live... Rails FAIL!

10 years agoFixes bug #2152 by preventing over-expansion of bboxes beyond the world range.
Matt Amos [Sun, 16 Aug 2009 00:19:18 +0000 (00:19 +0000)]
Fixes bug #2152 by preventing over-expansion of bboxes beyond the world range.

11 years agoLog unexpected exceptions raised by API calls.
Tom Hughes [Sat, 15 Aug 2009 11:35:43 +0000 (11:35 +0000)]
Log unexpected exceptions raised by API calls.

11 years agoIdentifiable traces should be trated as private in the trace list.
Tom Hughes [Thu, 13 Aug 2009 17:59:38 +0000 (17:59 +0000)]
Identifiable traces should be trated as private in the trace list.

11 years agoThe "public" field no longer exists in gpx_files.
Tom Hughes [Thu, 13 Aug 2009 17:57:14 +0000 (17:57 +0000)]
The "public" field no longer exists in gpx_files.

11 years agoMerge 16891:17044 from trunk.
Tom Hughes [Thu, 13 Aug 2009 17:18:08 +0000 (17:18 +0000)]
Merge 16891:17044 from trunk.

11 years agoAdd extra visibility options for GPS traces, and enhance the API call
Tom Hughes [Thu, 13 Aug 2009 17:06:11 +0000 (17:06 +0000)]
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.

11 years agoRemove layers argument from the shortlink if we change to mapnik from
Tom Hughes [Thu, 13 Aug 2009 14:02:49 +0000 (14:02 +0000)]
Remove layers argument from the shortlink if we change to mapnik from
a non-mapnik layer.

11 years agoEscape usernames. Closes #2149.
Tom Hughes [Sat, 8 Aug 2009 22:45:56 +0000 (22:45 +0000)]
Escape usernames. Closes #2149.

11 years agoFix test to reflect change to changeset templates.
Matt Amos [Fri, 7 Aug 2009 14:14:27 +0000 (14:14 +0000)]
Fix test to reflect change to changeset templates.

11 years agoAdd type="html" to <title> so a <title> with "&lt;" will be displayed
Ævar Arnfjörð Bjarmason [Fri, 7 Aug 2009 12:17:02 +0000 (12:17 +0000)]
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

11 years agoUpdate Vietnamese translation. Closes #2142.
Tom Hughes [Fri, 7 Aug 2009 07:45:15 +0000 (07:45 +0000)]
Update Vietnamese translation. Closes #2142.

11 years agoMake the diary RSS feed translatable
Ævar Arnfjörð Bjarmason [Fri, 7 Aug 2009 01:03:42 +0000 (01:03 +0000)]
Make the diary RSS feed translatable

11 years agoInclude the changeset comment in the <title> of the Atom feeds if
Ævar Arnfjörð Bjarmason [Fri, 7 Aug 2009 00:59:01 +0000 (00:59 +0000)]
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.

11 years agosmall parallel way fix, plus handy new 'join' keypress (J)
Richard Fairhurst [Fri, 7 Aug 2009 00:25:00 +0000 (00:25 +0000)]
small parallel way fix, plus handy new 'join' keypress (J)

11 years agoTranslated user account creation message
Ævar Arnfjörð Bjarmason [Thu, 6 Aug 2009 22:19:03 +0000 (22:19 +0000)]
Translated user account creation message

11 years agoUpdated Hungarian translation of OpenStreetMap website
Balló György [Thu, 6 Aug 2009 19:25:09 +0000 (19:25 +0000)]
Updated Hungarian translation of OpenStreetMap website

11 years agoMade XML parsing routines raise an exception if the document is valid XML, but not...
Matt Amos [Thu, 6 Aug 2009 17:28:49 +0000 (17:28 +0000)]
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.

11 years agoMerging 16820:16891 from trunk.
Matt Amos [Thu, 6 Aug 2009 16:24:39 +0000 (16:24 +0000)]
Merging 16820:16891 from trunk.

11 years agoibid
Richard Fairhurst [Thu, 6 Aug 2009 10:49:01 +0000 (10:49 +0000)]
ibid

11 years agoargh, caught out by annoying Ming 0.3>0.4 change. Recommit with correct line widths
Richard Fairhurst [Thu, 6 Aug 2009 08:26:06 +0000 (08:26 +0000)]
argh, caught out by annoying Ming 0.3>0.4 change. Recommit with correct line widths

11 years agoRender the links using partial so we can do the appropriate rendering
Tom Hughes [Wed, 5 Aug 2009 23:39:24 +0000 (23:39 +0000)]
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.

11 years agohandful of small fixes
Richard Fairhurst [Wed, 5 Aug 2009 23:16:22 +0000 (23:16 +0000)]
handful of small fixes

11 years agobunch of small tweaks
Richard Fairhurst [Wed, 5 Aug 2009 23:14:27 +0000 (23:14 +0000)]
bunch of small tweaks

11 years agoSend an appropriate Vary header when we negotiate the language to stop
Tom Hughes [Wed, 5 Aug 2009 20:35:28 +0000 (20:35 +0000)]
Send an appropriate Vary header when we negotiate the language to stop
caches doing the wrong thing. Closes #1995.

11 years agoibid
Richard Fairhurst [Wed, 5 Aug 2009 14:11:13 +0000 (14:11 +0000)]
ibid

11 years agoNode controller wasn't using the right name for an exception class.
Matt Amos [Wed, 5 Aug 2009 11:28:49 +0000 (11:28 +0000)]
Node controller wasn't using the right name for an exception class.

11 years agoadd secondary_link
Richard Fairhurst [Wed, 5 Aug 2009 08:51:08 +0000 (08:51 +0000)]
add secondary_link

11 years agoibid
Richard Fairhurst [Wed, 5 Aug 2009 08:49:37 +0000 (08:49 +0000)]
ibid

11 years agoPotlatch 1.2
Richard Fairhurst [Tue, 4 Aug 2009 22:24:20 +0000 (22:24 +0000)]
Potlatch 1.2

11 years agoUse </a> to close <a> tags...
Tom Hughes [Tue, 4 Aug 2009 21:49:54 +0000 (21:49 +0000)]
Use </a> to close <a> tags...

11 years agoUpdate pr-BR translation. Closes #2130.
Tom Hughes [Tue, 4 Aug 2009 17:10:03 +0000 (17:10 +0000)]
Update pr-BR translation. Closes #2130.

11 years agoTranslate the new reset password procedure introduced in [16817] and
Ævar Arnfjörð Bjarmason [Tue, 4 Aug 2009 14:51:55 +0000 (14:51 +0000)]
Translate the new reset password procedure introduced in [16817] and
remove obsolete messages that haven't been used since that commit.

11 years agoRemove unused messages that weren't removed in [16817]
Ævar Arnfjörð Bjarmason [Tue, 4 Aug 2009 14:51:09 +0000 (14:51 +0000)]
Remove unused messages that weren't removed in [16817]

11 years agoReplace hard coded nwr enumeration support with a more generic
Tom Hughes [Tue, 4 Aug 2009 13:23:36 +0000 (13:23 +0000)]
Replace hard coded nwr enumeration support with a more generic
system for defining enumerations.

11 years agoRequire the migration helper code in some more migrations.
Tom Hughes [Tue, 4 Aug 2009 13:17:29 +0000 (13:17 +0000)]
Require the migration helper code in some more migrations.

11 years agoOoops. Should have committed the test too.
Matt Amos [Tue, 4 Aug 2009 13:15:19 +0000 (13:15 +0000)]
Ooops. Should have committed the test too.

11 years agoMoved oauth_clients page to a sub-page of the user - makes it more obvious that the...
Matt Amos [Tue, 4 Aug 2009 13:07:11 +0000 (13:07 +0000)]
Moved oauth_clients page to a sub-page of the user - makes it more obvious that the oauth_clients page is for that specific user.

11 years agoMore translatable strings.
Matt Amos [Tue, 4 Aug 2009 13:06:21 +0000 (13:06 +0000)]
More translatable strings.

11 years agoUse method rather than direct access to member for the current token.
Matt Amos [Tue, 4 Aug 2009 12:59:02 +0000 (12:59 +0000)]
Use method rather than direct access to member for the current token.

11 years agoTweak the password reset pages a bit.
Tom Hughes [Tue, 4 Aug 2009 00:14:03 +0000 (00:14 +0000)]
Tweak the password reset pages a bit.

11 years agoMerge 16817:16819 from trunk.
Tom Hughes [Mon, 3 Aug 2009 23:59:17 +0000 (23:59 +0000)]
Merge 16817:16819 from trunk.

11 years agoFixed migration - rails uses remove_index not drop_index.
Tom Hughes [Mon, 3 Aug 2009 23:55:51 +0000 (23:55 +0000)]
Fixed migration - rails uses remove_index not drop_index.

11 years agoMerge 16743:16811 from trunk.
Tom Hughes [Mon, 3 Aug 2009 23:50:47 +0000 (23:50 +0000)]
Merge 16743:16811 from trunk.

11 years agoRework password reset system to do away with the second email and instead
Tom Hughes [Mon, 3 Aug 2009 23:42:29 +0000 (23:42 +0000)]
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.

11 years agoAdd an index on message sender.
Tom Hughes [Mon, 3 Aug 2009 23:04:41 +0000 (23:04 +0000)]
Add an index on message sender.

11 years agoReorganised OAuth clients and tokens details page. Made clients info editable and...
Matt Amos [Mon, 3 Aug 2009 17:08:40 +0000 (17:08 +0000)]
Reorganised OAuth clients and tokens details page. Made clients info editable and some more stuff translatable in the OAuth pages.

11 years agoRemoved file which isn't needed any more.
Matt Amos [Mon, 3 Aug 2009 15:20:38 +0000 (15:20 +0000)]
Removed file which isn't needed any more.

11 years agoExclude deleted messages from the new_messages relationship.
Tom Hughes [Mon, 3 Aug 2009 14:33:53 +0000 (14:33 +0000)]
Exclude deleted messages from the new_messages relationship.

11 years agoMoved find_token method into the token class, since that seems a more appropriate...
Matt Amos [Mon, 3 Aug 2009 14:00:29 +0000 (14:00 +0000)]
Moved find_token method into the token class, since that seems a more appropriate place for it.

11 years agoChanged required version of OAuth gem, as that exact version wasn't necessary.
Matt Amos [Mon, 3 Aug 2009 13:59:47 +0000 (13:59 +0000)]
Changed required version of OAuth gem, as that exact version wasn't necessary.

11 years agoRemoved debugging statements accidentally committed.
Matt Amos [Mon, 3 Aug 2009 13:58:59 +0000 (13:58 +0000)]
Removed debugging statements accidentally committed.

11 years agoAdded foreign keys to some oauth tables.
Matt Amos [Mon, 3 Aug 2009 13:58:10 +0000 (13:58 +0000)]
Added foreign keys to some oauth tables.

11 years agouptodate with en.yml 16746
Jonas Krückel [Sun, 2 Aug 2009 14:39:42 +0000 (14:39 +0000)]
uptodate with en.yml 16746

11 years agoUpdate pt-BR translation. Closes #2122.
Tom Hughes [Sun, 2 Aug 2009 08:18:13 +0000 (08:18 +0000)]
Update pt-BR translation. Closes #2122.

11 years agoFix translation for private data users.
Thomas Wood [Fri, 31 Jul 2009 14:37:37 +0000 (14:37 +0000)]
Fix translation for private data users.

11 years agoChange the messages on the changeset page so that @heading is succinct
Ævar Arnfjörð Bjarmason [Fri, 31 Jul 2009 11:54:09 +0000 (11:54 +0000)]
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.

11 years agoMerged 16488:16743 from trunk.
Matt Amos [Fri, 31 Jul 2009 10:42:06 +0000 (10:42 +0000)]
Merged 16488:16743 from trunk.

11 years agofixed gps_point coordinates and tile. why was this passing the tests before?
Matt Amos [Thu, 30 Jul 2009 15:19:07 +0000 (15:19 +0000)]
fixed gps_point coordinates and tile. why was this passing the tests before?

11 years agotranslation synced with current en.yml
Štefan Baebler [Thu, 30 Jul 2009 15:12:17 +0000 (15:12 +0000)]
translation synced with current en.yml

11 years agoFix the changeset feed to put the description in as raw HTML so we
Tom Hughes [Thu, 30 Jul 2009 11:25:33 +0000 (11:25 +0000)]
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.

11 years agoAtom readers (Firefox/Liferea) don't like when we embed XHTML anchors
Ævar Arnfjörð Bjarmason [Wed, 29 Jul 2009 18:44:51 +0000 (18:44 +0000)]
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

11 years ago * Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>
Ævar Arnfjörð Bjarmason [Wed, 29 Jul 2009 11:05:17 +0000 (11:05 +0000)]
 * 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.

11 years agoUpdated this using the en.yml file in the ruby.git distribution for reference
Ævar Arnfjörð Bjarmason [Wed, 29 Jul 2009 10:56:40 +0000 (10:56 +0000)]
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

11 years agouse I18n.l() instead of strftime(): Changeset dates will now appear localized
Ævar Arnfjörð Bjarmason [Wed, 29 Jul 2009 10:43:03 +0000 (10:43 +0000)]
use I18n.l() instead of strftime(): Changeset dates will now appear localized