rails.git
10 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]

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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?

10 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

10 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.

10 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

10 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.

10 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

10 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

10 years agoadded translation for delete buttons, uptodate with en.yml 16657 now.
Jonas Krückel [Tue, 28 Jul 2009 16:39:11 +0000 (16:39 +0000)]
added translation for delete buttons, uptodate with en.yml 16657 now.

10 years agoFixed dumb-arse bug with wrong variable name. Added tag cleanup and checking on nodes...
Matt Amos [Tue, 28 Jul 2009 16:09:13 +0000 (16:09 +0000)]
Fixed dumb-arse bug with wrong variable name. Added tag cleanup and checking on nodes which are part of ways (i.e: not 'POIs' in potlatch terminology).

10 years ago"{{num}} km" in messages not "{{num}}km": Icelandic typographic rules
Ævar Arnfjörð Bjarmason [Tue, 28 Jul 2009 11:25:41 +0000 (11:25 +0000)]
"{{num}} km" in messages not "{{num}}km": Icelandic typographic rules
dictate that there should be a space between the two.

10 years agoIgnore geocoder.search_osm_namefinder.* messages that I don't intend to translate
Ævar Arnfjörð Bjarmason [Tue, 28 Jul 2009 11:22:29 +0000 (11:22 +0000)]
Ignore geocoder.search_osm_namefinder.* messages that I don't intend to translate

10 years agoNew translations for message -> Delete
Ævar Arnfjörð Bjarmason [Tue, 28 Jul 2009 11:19:14 +0000 (11:19 +0000)]
New translations for message -> Delete

10 years agoFix compatibility with older versions of the ruby std lib (i.e: the one on cruise...
Matt Amos [Mon, 27 Jul 2009 16:59:14 +0000 (16:59 +0000)]
Fix compatibility with older versions of the ruby std lib (i.e: the one on cruise.osm.org)

10 years agoAdded methods to strip those non-XML control characters from tags in AMF controller...
Matt Amos [Mon, 27 Jul 2009 16:54:00 +0000 (16:54 +0000)]
Added methods to strip those non-XML control characters from tags in AMF controller and give an error if there's invalid UTF-8.

10 years agochanged component name in trac
Štefan Baebler [Sat, 25 Jul 2009 11:47:39 +0000 (11:47 +0000)]
changed component name in trac

10 years agoIgnore deleted traces when returning a user's traces. Fixes #2093.
Tom Hughes [Thu, 23 Jul 2009 17:45:28 +0000 (17:45 +0000)]
Ignore deleted traces when returning a user's traces. Fixes #2093.

10 years agoAllow messages to be deleted from the outbox as well as the inbox.
Tom Hughes [Thu, 23 Jul 2009 17:41:50 +0000 (17:41 +0000)]
Allow messages to be deleted from the outbox as well as the inbox.

10 years agoAdd the ability for a recipient to (logically) delete a message from
Tom Hughes [Thu, 23 Jul 2009 15:22:44 +0000 (15:22 +0000)]
Add the ability for a recipient to (logically) delete a message from
their INBOX so they no longer see it.

10 years agoPrevent message date/time from wrapping.
Tom Hughes [Thu, 23 Jul 2009 15:07:26 +0000 (15:07 +0000)]
Prevent message date/time from wrapping.

10 years agoRemove surplus whitespace.
Tom Hughes [Thu, 23 Jul 2009 15:05:44 +0000 (15:05 +0000)]
Remove surplus whitespace.

10 years agoUpdate the :en and :sl pluralizers to default to :other if a more
Tom Hughes [Tue, 21 Jul 2009 20:23:07 +0000 (20:23 +0000)]
Update the :en and :sl pluralizers to default to :other if a more
specific key does not exist. This then allows r16613 to be reverted
as there is no need to distinguish the cases. Fixes #2087.

10 years agoAdd (dummy) pluralization data for browse.way_details.also_part_of to
Tom Hughes [Tue, 21 Jul 2009 13:21:01 +0000 (13:21 +0000)]
Add (dummy) pluralization data for browse.way_details.also_part_of to
stop the web site throwing errors in Slovenian.

10 years agoMake sure we always call fileparse() in scalar context.
Tom Hughes [Tue, 21 Jul 2009 12:20:02 +0000 (12:20 +0000)]
Make sure we always call fileparse() in scalar context.

10 years agoMake right hand side of browser view able to grow beyond 250 pixels.
Tom Hughes [Tue, 21 Jul 2009 11:30:19 +0000 (11:30 +0000)]
Make right hand side of browser view able to grow beyond 250 pixels.

10 years agoPrevent browser navigation control from wrapping.
Tom Hughes [Tue, 21 Jul 2009 11:14:50 +0000 (11:14 +0000)]
Prevent browser navigation control from wrapping.

10 years agoUse File::Basename instead of having our own half-arsed version.
Tom Hughes [Tue, 21 Jul 2009 09:51:33 +0000 (09:51 +0000)]
Use File::Basename instead of having our own half-arsed version.

10 years agoMinor change
Davide Prade [Mon, 20 Jul 2009 15:10:20 +0000 (15:10 +0000)]
Minor change

10 years agofixed the interpolation error, related to #2079
Štefan Baebler [Mon, 20 Jul 2009 05:30:00 +0000 (05:30 +0000)]
fixed the interpolation error, related to #2079

10 years agoReturn to the Icelandic main page after signup
Ævar Arnfjörð Bjarmason [Sat, 18 Jul 2009 16:55:50 +0000 (16:55 +0000)]
Return to the Icelandic main page after signup

10 years agofixing italian translation
Simone Cortesi [Sat, 18 Jul 2009 16:39:05 +0000 (16:39 +0000)]
fixing italian translation

10 years agoDon't use the (unset) value of I18n.locale to try and select a language
Tom Hughes [Thu, 16 Jul 2009 20:26:18 +0000 (20:26 +0000)]
Don't use the (unset) value of I18n.locale to try and select a language
as the one we want is in lang so just use that. Fixes #2071.

10 years agoand the binary
Richard Fairhurst [Thu, 16 Jul 2009 14:37:17 +0000 (14:37 +0000)]
and the binary

10 years agoSet a pointRadius on the object style so nodes are visible. Fixes #2070.
Tom Hughes [Thu, 16 Jul 2009 14:32:42 +0000 (14:32 +0000)]
Set a pointRadius on the object style so nodes are visible. Fixes #2070.

10 years agoRemove executable permission from SWF files.
Tom Hughes [Thu, 16 Jul 2009 07:42:34 +0000 (07:42 +0000)]
Remove executable permission from SWF files.

10 years agoSelect the language for Potlatch indepdently of the web site.
Tom Hughes [Thu, 16 Jul 2009 07:37:49 +0000 (07:37 +0000)]
Select the language for Potlatch indepdently of the web site.

10 years agoremove debug statement
Richard Fairhurst [Thu, 16 Jul 2009 01:24:46 +0000 (01:24 +0000)]
remove debug statement

10 years agoPotlatch 1.1a
Richard Fairhurst [Thu, 16 Jul 2009 01:20:47 +0000 (01:20 +0000)]
Potlatch 1.1a

10 years agoFix compatible_language_from in the http_accept_language plugin to
Tom Hughes [Wed, 15 Jul 2009 23:42:56 +0000 (23:42 +0000)]
Fix compatible_language_from in the http_accept_language plugin to
correctly follow the RFC 2616 language selection algorithm and then
revert to the previous way of selecting languages.

10 years agoTry preferred_language_from as it looks for an exact match - only if that
Tom Hughes [Wed, 15 Jul 2009 23:29:07 +0000 (23:29 +0000)]
Try preferred_language_from as it looks for an exact match - only if that
fails do we fall back to compatible_language_from which will take any
language where the first token matches. Fixes #2069.

10 years agoLookup the user before setting the locale. Fixes #2068.
Tom Hughes [Wed, 15 Jul 2009 18:21:32 +0000 (18:21 +0000)]
Lookup the user before setting the locale. Fixes #2068.

10 years agoUpdated Hungarian translation of OpenStreetMap website
Balló György [Wed, 15 Jul 2009 18:08:07 +0000 (18:08 +0000)]
Updated Hungarian translation of OpenStreetMap website

10 years agoSay which way is too long.
Tom Hughes [Wed, 15 Jul 2009 13:34:14 +0000 (13:34 +0000)]
Say which way is too long.

10 years agoFix changeset paging.
Tom Hughes [Wed, 15 Jul 2009 11:33:21 +0000 (11:33 +0000)]
Fix changeset paging.

10 years agoRemove bogus executable permissions.
Tom Hughes [Tue, 14 Jul 2009 23:10:39 +0000 (23:10 +0000)]
Remove bogus executable permissions.

10 years agoNew Potlatch translations pulled in as a result of http://wiki.openstreetmap.org...
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 22:23:38 +0000 (22:23 +0000)]
New Potlatch translations pulled in as a result of wiki.openstreetmap.org/index.php?title=Template%3APotlatch%2FTranslation&diff=302859&oldid=301148

10 years agoUpdated Hungarian translation from the wiki
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 22:06:12 +0000 (22:06 +0000)]
Updated Hungarian translation from the wiki

10 years agoPotlatch's i18n support predates our Rails i18n effort, so it was
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 21:55:40 +0000 (21:55 +0000)]
Potlatch's i18n support predates our Rails i18n effort, so it was
still doing its own language detection.

Scrap that and use I18n.locale instead, now Potlatch is guaranteed to
use whatever translation the rest of the site uses.

I've tested this by switching the language in preferences back and
forth, and also ensured that Potlatch will fall back on English if the
specified language doesn't exist in its list of translations.

10 years agoDelete the old localised.yaml file Potlatch used before it was split into per-languag...
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 21:40:50 +0000 (21:40 +0000)]
Delete the old localised.yaml file Potlatch used before it was split into per-language files

10 years agoFix send message links for friends and nearby mappers. Fixes #2065.
Tom Hughes [Tue, 14 Jul 2009 19:48:21 +0000 (19:48 +0000)]
Fix send message links for friends and nearby mappers. Fixes #2065.

10 years agonew translations
Jonas Krückel [Tue, 14 Jul 2009 15:25:24 +0000 (15:25 +0000)]
new translations

10 years agouptodate with en.yml 16486
Jonas Krückel [Tue, 14 Jul 2009 15:00:01 +0000 (15:00 +0000)]
uptodate with en.yml 16486

10 years agoTranslated new string introduced in the changeset_browser merge
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 00:59:44 +0000 (00:59 +0000)]
Translated new string introduced in the changeset_browser merge

10 years agoUse pluralization for showing that a changeset has 1/many node/nodes
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 00:50:38 +0000 (00:50 +0000)]
Use pluralization for showing that a changeset has 1/many node/nodes
way/ways relation/relations

10 years agouse the same text for informing the user that tags are delimited by
Ævar Arnfjörð Bjarmason [Tue, 14 Jul 2009 00:46:39 +0000 (00:46 +0000)]
use the same text for informing the user that tags are delimited by
commas in both the upload & edit form

10 years agoMerge changeset browser branch to trunk.
Tom Hughes [Mon, 13 Jul 2009 23:52:32 +0000 (23:52 +0000)]
Merge changeset browser branch to trunk.

10 years agoMerge 16355:16480 from trunk.
Tom Hughes [Mon, 13 Jul 2009 23:28:02 +0000 (23:28 +0000)]
Merge 16355:16480 from trunk.

10 years agoimproved pluralization, continuation of #2049
Štefan Baebler [Mon, 13 Jul 2009 18:51:32 +0000 (18:51 +0000)]
improved pluralization, continuation of #2049

10 years agoUpdated Hungarian translation of OpenStreetMap website
Balló György [Mon, 13 Jul 2009 15:54:23 +0000 (15:54 +0000)]
Updated Hungarian translation of OpenStreetMap website

10 years agoUpdated Hungarian translation of Potlatch
Balló György [Mon, 13 Jul 2009 15:47:51 +0000 (15:47 +0000)]
Updated Hungarian translation of Potlatch

10 years agoAdd extra keys to custom Slovenian pluralization.
Tom Hughes [Mon, 13 Jul 2009 08:59:07 +0000 (08:59 +0000)]
Add extra keys to custom Slovenian pluralization.

10 years agoAdd custom pluralizer for Slovenian. Fixes #2049.
Tom Hughes [Mon, 13 Jul 2009 08:47:59 +0000 (08:47 +0000)]
Add custom pluralizer for Slovenian. Fixes #2049.

10 years agoRemove redundant text.
Tom Hughes [Mon, 13 Jul 2009 08:30:48 +0000 (08:30 +0000)]
Remove redundant text.

10 years agoFix a missing translation. Closes #2052.
Tom Hughes [Mon, 13 Jul 2009 08:26:13 +0000 (08:26 +0000)]
Fix a missing translation. Closes #2052.

10 years agoRemove SOTM advert from site.
Tom Hughes [Mon, 13 Jul 2009 08:11:11 +0000 (08:11 +0000)]
Remove SOTM advert from site.

10 years agoAdd initial Romanian translations. Closes #2058.
Tom Hughes [Mon, 13 Jul 2009 07:52:30 +0000 (07:52 +0000)]
Add initial Romanian translations. Closes #2058.

10 years agoFixed a bug in how fields in /message/new were being pre-filled out.
Ævar Arnfjörð Bjarmason [Sun, 12 Jul 2009 16:01:49 +0000 (16:01 +0000)]
Fixed a bug in how fields in /message/new were being pre-filled out.

When someone went to /message/new/:user the "Subject" are would be
pre-filled out with t('message.new.title'). The problem was that the
@title template variable was being used for two purposes, to set the
HTML <title> AND to pre-fill out the subject.

We don't always want these two to be the same, but sometimes we
do. E.g. when someone replies to a diary entry and visits
/message/new/:user?title=Foo we want Foo in the <title> and in the
pre-filled out Subject, and the same goes for replying to a message.

So I've split up the @title variable into @title and @subject.

10 years agoUpdated Hungarian translation of Potlatch
Balló György [Sun, 12 Jul 2009 15:55:00 +0000 (15:55 +0000)]
Updated Hungarian translation of Potlatch

10 years agoUpdated Hungarian translation of Potlatch
Balló György [Sun, 12 Jul 2009 13:27:36 +0000 (13:27 +0000)]
Updated Hungarian translation of Potlatch

10 years agoand the binary
Richard Fairhurst [Sun, 12 Jul 2009 07:57:00 +0000 (07:57 +0000)]
and the binary

10 years agoDon't send a noification email if somebody comments on their own diary
Tom Hughes [Sat, 11 Jul 2009 13:24:57 +0000 (13:24 +0000)]
Don't send a noification email if somebody comments on their own diary
entry. Fixes #2053.

10 years agoand the binary
Richard Fairhurst [Sat, 11 Jul 2009 09:55:38 +0000 (09:55 +0000)]
and the binary

10 years ago...and the accompanying binary
Richard Fairhurst [Sat, 11 Jul 2009 07:12:19 +0000 (07:12 +0000)]
...and the accompanying binary

10 years agoCorrect some translation bug.
Balló György [Fri, 10 Jul 2009 15:28:44 +0000 (15:28 +0000)]
Correct some translation bug.

10 years agoFixed YAML syntax error in commit [16421]
Ævar Arnfjörð Bjarmason [Fri, 10 Jul 2009 13:16:55 +0000 (13:16 +0000)]
Fixed YAML syntax error in commit [16421]

10 years agoAdd Hungarian translation of OpenStreetMap website.
Balló György [Fri, 10 Jul 2009 12:59:28 +0000 (12:59 +0000)]
Add Hungarian translation of OpenStreetMap website.

10 years agoand the accompanying SWF
Richard Fairhurst [Thu, 9 Jul 2009 20:00:29 +0000 (20:00 +0000)]
and the accompanying SWF

10 years agorevised SWF
Richard Fairhurst [Thu, 9 Jul 2009 14:58:34 +0000 (14:58 +0000)]
revised SWF

10 years agofix #2046
Richard Fairhurst [Thu, 9 Jul 2009 06:37:19 +0000 (06:37 +0000)]
fix #2046

10 years agoimproved translations
Štefan Baebler [Thu, 9 Jul 2009 06:13:37 +0000 (06:13 +0000)]
improved translations

10 years agoadded brief help for tag entry, continuing on #2032
Štefan Baebler [Thu, 9 Jul 2009 06:11:24 +0000 (06:11 +0000)]
added brief help for tag entry, continuing on #2032

10 years ago"list mode" should really be "live mode" :)
Richard Fairhurst [Wed, 8 Jul 2009 22:29:45 +0000 (22:29 +0000)]
"list mode" should really be "live mode" :)

10 years agoPotlatch 1.1 (server code)
Richard Fairhurst [Wed, 8 Jul 2009 20:52:02 +0000 (20:52 +0000)]
Potlatch 1.1 (server code)

10 years agoUpdate Vietnamese translation. Closes #2041.
Tom Hughes [Wed, 8 Jul 2009 07:34:40 +0000 (07:34 +0000)]
Update Vietnamese translation. Closes #2041.

10 years agoStyle the table in the feed content.
Tom Hughes [Tue, 7 Jul 2009 23:30:04 +0000 (23:30 +0000)]
Style the table in the feed content.

10 years agofixed a mixup (not really broken, but producing decieving http traffic and logs)
Štefan Baebler [Tue, 7 Jul 2009 23:28:56 +0000 (23:28 +0000)]
fixed a mixup (not really broken, but producing decieving http traffic and logs)

10 years agoUse join to construct tag strings instead of mucking around counting
Tom Hughes [Tue, 7 Jul 2009 23:05:35 +0000 (23:05 +0000)]
Use join to construct tag strings instead of mucking around counting
position in the string.

10 years agoadded comment for future generations
Štefan Baebler [Tue, 7 Jul 2009 22:50:46 +0000 (22:50 +0000)]
added comment for future generations

10 years agoIntroducing comma as tag separator (if present, otherwise it behaves as before),...
Štefan Baebler [Tue, 7 Jul 2009 22:05:03 +0000 (22:05 +0000)]
Introducing comma as tag separator (if present, otherwise it behaves as before), allowing spaces in tags. fixes #2032