rails.git
10 years agoFixed a link to the openID wiki page
Kai Krueger [Sun, 24 Jan 2010 13:34:11 +0000 (13:34 +0000)]
Fixed a link to the openID wiki page

10 years agomerge 19364:19600 of rails_port into the openID branch
Kai Krueger [Sat, 23 Jan 2010 15:31:01 +0000 (15:31 +0000)]
merge 19364:19600 of rails_port into the openID branch

renamed migration 049_add_open_id_authentication_tables.rb to
050_add_open_id_authentication_tables.rb

10 years agoFixed some failing tests caused by the openID changes
Kai Krueger [Sat, 23 Jan 2010 14:23:35 +0000 (14:23 +0000)]
Fixed some failing tests caused by the openID changes

10 years agoAllow to not specify a password when signing up with openID
Kai Krueger [Sat, 23 Jan 2010 01:38:18 +0000 (01:38 +0000)]
Allow to not specify a password when signing up with openID

If the password field has a length of 0 and we have a valid
openID, then disable password login by generating a random
unknown password.

This still needs some warnings to indicate that not all services
such as trac, the forum or some editors are supported with
openid only via oauth.

10 years agoRearranged some code in the OpenID signup page to make it cleaner
Kai Krueger [Fri, 22 Jan 2010 23:31:35 +0000 (23:31 +0000)]
Rearranged some code in the OpenID signup page to make it cleaner

10 years agoLocalisation updates from translatewiki.net (2010-01-21)
Translatewiki [Thu, 21 Jan 2010 22:15:19 +0000 (22:15 +0000)]
Localisation updates from translatewiki.net (2010-01-21)

10 years agoLocalisation updates from translatewiki.net (2010-01-21)
Translatewiki [Thu, 21 Jan 2010 22:14:02 +0000 (22:14 +0000)]
Localisation updates from translatewiki.net (2010-01-21)

10 years agoAdd a sweeper to clean up cache entries when a user's visibility or
Tom Hughes [Thu, 21 Jan 2010 11:39:28 +0000 (11:39 +0000)]
Add a sweeper to clean up cache entries when a user's visibility or
display name changes.

10 years agofix dodgy changeset comment
Richard Fairhurst [Tue, 19 Jan 2010 00:35:57 +0000 (00:35 +0000)]
fix dodgy changeset comment

10 years agonew version with small Haiti-related improvements
Richard Fairhurst [Mon, 18 Jan 2010 20:56:56 +0000 (20:56 +0000)]
new version with small Haiti-related improvements

10 years agoThere's no need to use an alternative repository for SystemTimer as it
Tom Hughes [Mon, 18 Jan 2010 09:19:20 +0000 (09:19 +0000)]
There's no need to use an alternative repository for SystemTimer as it
is in the main one - just specify the right version instead.

10 years agoFix changeset fixtures as noted on the dev mailing list. http://lists.openstreetmap...
Shaun McDonald [Mon, 18 Jan 2010 01:07:52 +0000 (01:07 +0000)]
Fix changeset fixtures as noted on the dev mailing list. lists.openstreetmap.org/pipermail/dev/2010-January/018283.html

10 years agoUse the latest version of SystemTimer. Also gets rid of the warning: 'cleanup_timer...
Shaun McDonald [Mon, 18 Jan 2010 00:20:45 +0000 (00:20 +0000)]
Use the latest version of SystemTimer. Also gets rid of the warning: 'cleanup_timer: Previous SIG_ALRM handler not initialized\!\:' when running the tests due to using the older version of this gem.

10 years agoreinstate Haiti building preset
Richard Fairhurst [Sun, 17 Jan 2010 17:51:50 +0000 (17:51 +0000)]
reinstate Haiti building preset

10 years agoThe new message route want the display name now, not the id. Closes #2642.
Tom Hughes [Sun, 17 Jan 2010 09:12:40 +0000 (09:12 +0000)]
The new message route want the display name now, not the id. Closes #2642.

10 years agoPotlatch 1.3d: Impoved Haiti crisis support
Ævar Arnfjörð Bjarmason [Sat, 16 Jan 2010 19:35:19 +0000 (19:35 +0000)]
Potlatch 1.3d: Impoved Haiti crisis support

 * Adding DigitalGlobe layer to presets
 * Now with 2 GeoEye layers: GravityStorm's and the NYPL extended coverage
 * Pressing B with GeoEye/DigitalGlobe (and NearMap) layers now adds the correct source=* tag to elements
 * Added GeoEye and digitalglobe to source=* tag autocompletion

10 years agoLocalisation updates from translatewiki.net (2010-01-16)
Translatewiki [Sat, 16 Jan 2010 18:05:50 +0000 (18:05 +0000)]
Localisation updates from translatewiki.net (2010-01-16)

10 years agoLocalisation updates from translatewiki.net (2010-01-16)
Translatewiki [Sat, 16 Jan 2010 18:04:25 +0000 (18:04 +0000)]
Localisation updates from translatewiki.net (2010-01-16)

10 years agoMake it possible to associate an openID during account creation
Kai Krueger [Fri, 15 Jan 2010 19:48:13 +0000 (19:48 +0000)]
Make it possible to associate an openID during account creation

10 years agoHaiti presets
Richard Fairhurst [Thu, 14 Jan 2010 23:40:38 +0000 (23:40 +0000)]
Haiti presets

10 years agoPotlatch 1.3c: Added gravitystorm's Haiti imagery
Ævar Arnfjörð Bjarmason [Thu, 14 Jan 2010 20:18:38 +0000 (20:18 +0000)]
Potlatch 1.3c: Added gravitystorm's Haiti imagery

10 years agoAdd the changeset id to the user index so the next/previous user links
Tom Hughes [Thu, 14 Jan 2010 18:37:52 +0000 (18:37 +0000)]
Add the changeset id to the user index so the next/previous user links
can be resolved quickly.

10 years agoRework the pagination of the trace list to avoid having to count
Tom Hughes [Thu, 14 Jan 2010 00:35:09 +0000 (00:35 +0000)]
Rework the pagination of the trace list to avoid having to count
the total number of matching records/pages.

10 years agoMake cache distinguish pages views by admins or moderators from those
Tom Hughes [Wed, 13 Jan 2010 21:30:09 +0000 (21:30 +0000)]
Make cache distinguish pages views by admins or moderators from those
viewed by normal users.

10 years agoFixed warning.
Tom Hughes [Wed, 13 Jan 2010 13:41:13 +0000 (13:41 +0000)]
Fixed warning.

10 years agoI really wish rails would stop trying to hide exceptions from me...
Tom Hughes [Wed, 13 Jan 2010 13:34:59 +0000 (13:34 +0000)]
I really wish rails would stop trying to hide exceptions from me...

10 years agoGenerate cache paths in the same way as the normal expire_action routine
Tom Hughes [Mon, 11 Jan 2010 18:24:55 +0000 (18:24 +0000)]
Generate cache paths in the same way as the normal expire_action routine
so that the escaping matches correctly.

10 years agoHandle Timeout::Error exceptions which are caught by ActiveRecord.
Tom Hughes [Mon, 11 Jan 2010 09:55:55 +0000 (09:55 +0000)]
Handle Timeout::Error exceptions which are caught by ActiveRecord.

10 years agoUse system_timer for timeouts to make them more reliable.
Tom Hughes [Mon, 11 Jan 2010 09:28:31 +0000 (09:28 +0000)]
Use system_timer for timeouts to make them more reliable.

10 years agoLocalisation updates from translatewiki.net (2010-01-10)
Translatewiki [Mon, 11 Jan 2010 00:21:24 +0000 (00:21 +0000)]
Localisation updates from translatewiki.net (2010-01-10)

10 years agoLocalisation updates from translatewiki.net (2010-01-10)
Translatewiki [Mon, 11 Jan 2010 00:20:08 +0000 (00:20 +0000)]
Localisation updates from translatewiki.net (2010-01-10)

10 years agoDon't cache the trace list for logged in users.
Tom Hughes [Mon, 11 Jan 2010 00:16:21 +0000 (00:16 +0000)]
Don't cache the trace list for logged in users.

10 years agoAdd some caching for trace views.
Tom Hughes [Sun, 10 Jan 2010 17:44:57 +0000 (17:44 +0000)]
Add some caching for trace views.

10 years agoThis is the initial implementation of login via OpenID
Kai Krueger [Sun, 10 Jan 2010 17:41:32 +0000 (17:41 +0000)]
This is the initial implementation of login via OpenID

This is the patch presented in trac ticket #2500

With this commit, it is possible to assosciate an openID
to an existing OSM account. Once associated, it is possible
to either login via OpenID, or as always via username and password.

Other aspects, such as account creation and the need for a valid email
are unchanged.

10 years agoAdd the open_id_authentication plugin
Kai Krueger [Sun, 10 Jan 2010 17:34:00 +0000 (17:34 +0000)]
Add the open_id_authentication plugin

The plugin is taken from http://github.com/rails/open_id_authentication
commit 079b91f70602814c98d4345e198f743bb56b76b5

This plugin provides some convenience wrapper functions around
the ruby gem ruby-openid

10 years agofix some trace tests, due to a change of the way that your own ones are rendered.
Shaun McDonald [Sun, 10 Jan 2010 15:21:53 +0000 (15:21 +0000)]
fix some trace tests, due to a change of the way that your own ones are rendered.

10 years agoCreating a rails_port branch for trying to implement OpenID login (based on r19364)
Kai Krueger [Sun, 10 Jan 2010 13:16:33 +0000 (13:16 +0000)]
Creating a rails_port branch for trying to implement OpenID login (based on r19364)

10 years agoMake traces/mine redirect to the user's traces page instead of rendering
Tom Hughes [Sun, 10 Jan 2010 09:16:18 +0000 (09:16 +0000)]
Make traces/mine redirect to the user's traces page instead of rendering
it itself. Also make sure the traces page for a user includes the upload
form if the requestor is logged in as that user.

10 years agoIntroduce some caching for diary views.
Tom Hughes [Sat, 9 Jan 2010 16:43:38 +0000 (16:43 +0000)]
Introduce some caching for diary views.

10 years agoLocalisation updates from translatewiki.net (2010-01-07)
Translatewiki [Thu, 7 Jan 2010 22:13:53 +0000 (22:13 +0000)]
Localisation updates from translatewiki.net (2010-01-07)

10 years agoLocalisation updates from translatewiki.net (2010-01-07)
Translatewiki [Thu, 7 Jan 2010 22:12:43 +0000 (22:12 +0000)]
Localisation updates from translatewiki.net (2010-01-07)

10 years agoAdd a 30 second timeout to all data browser requests to avoid attempts
Tom Hughes [Thu, 7 Jan 2010 16:09:44 +0000 (16:09 +0000)]
Add a 30 second timeout to all data browser requests to avoid attempts
to browse very large and/or complicated objects blocking other requests.

10 years agonomsg
Paweł Mrówka [Thu, 7 Jan 2010 13:44:56 +0000 (13:44 +0000)]
nomsg

10 years agoDrop Namefinder from search results.
Tom Hughes [Wed, 6 Jan 2010 00:31:03 +0000 (00:31 +0000)]
Drop Namefinder from search results.

10 years agoAdd a "More results" link to Nominatim search results.
Tom Hughes [Wed, 6 Jan 2010 00:30:29 +0000 (00:30 +0000)]
Add a "More results" link to Nominatim search results.

10 years agoFormat block details more nicely.
Tom Hughes [Mon, 4 Jan 2010 13:58:50 +0000 (13:58 +0000)]
Format block details more nicely.

10 years agoAdd some indexes to diary entries to let recent entries be found
Tom Hughes [Sun, 3 Jan 2010 11:56:41 +0000 (11:56 +0000)]
Add some indexes to diary entries to let recent entries be found
efficiently for the various diary entry lists and feeds.

10 years agoLocalisation updates from translatewiki.net (2010-01-03)
Translatewiki [Sun, 3 Jan 2010 11:01:57 +0000 (11:01 +0000)]
Localisation updates from translatewiki.net (2010-01-03)

10 years agoLocalisation updates from translatewiki.net (2010-01-03)
Translatewiki [Sun, 3 Jan 2010 11:01:00 +0000 (11:01 +0000)]
Localisation updates from translatewiki.net (2010-01-03)

10 years agoAdd pluralisation rules for Arabic. Closes #2592.
Tom Hughes [Sat, 2 Jan 2010 11:57:05 +0000 (11:57 +0000)]
Add pluralisation rules for Arabic. Closes #2592.

10 years agoUpdate rails translations.
Tom Hughes [Sat, 2 Jan 2010 11:48:24 +0000 (11:48 +0000)]
Update rails translations.

10 years agoLocalisation updates from translatewiki.net (2010-01-01)
Translatewiki [Fri, 1 Jan 2010 17:55:40 +0000 (17:55 +0000)]
Localisation updates from translatewiki.net (2010-01-01)

10 years agoLocalisation updates from translatewiki.net (2010-01-01)
Translatewiki [Fri, 1 Jan 2010 17:54:34 +0000 (17:54 +0000)]
Localisation updates from translatewiki.net (2010-01-01)

10 years agoRather than just say public or private for each GPS trace in the list, instead state...
Shaun McDonald [Thu, 31 Dec 2009 00:10:10 +0000 (00:10 +0000)]
Rather than just say public or private for each GPS trace in the list, instead state the new permission levels. Green colour means that it will be shown in the trace list to other users. Red means that other users won't see the trace in the list. Have added two new translations for the other trace permissions.

10 years agoFixed copy-n-paste bug in querying for closed changesets and added a test for it.
Matt Amos [Sat, 26 Dec 2009 21:29:43 +0000 (21:29 +0000)]
Fixed copy-n-paste bug in querying for closed changesets and added a test for it.

10 years agoLocalisation updates from translatewiki.net (2009-12-25)
Translatewiki [Fri, 25 Dec 2009 23:23:40 +0000 (23:23 +0000)]
Localisation updates from translatewiki.net (2009-12-25)

10 years agoLocalisation updates from translatewiki.net (2009-12-25)
Translatewiki [Fri, 25 Dec 2009 23:22:46 +0000 (23:22 +0000)]
Localisation updates from translatewiki.net (2009-12-25)

10 years agoLocalisation updates from translatewiki.net (2009-12-22)
Translatewiki [Tue, 22 Dec 2009 17:27:22 +0000 (17:27 +0000)]
Localisation updates from translatewiki.net (2009-12-22)

10 years agoLocalisation updates from translatewiki.net (2009-12-22)
Translatewiki [Tue, 22 Dec 2009 17:25:59 +0000 (17:25 +0000)]
Localisation updates from translatewiki.net (2009-12-22)

10 years agopreset updates
Richard Fairhurst [Tue, 22 Dec 2009 13:38:41 +0000 (13:38 +0000)]
preset updates

10 years agoLocalisation updates from translatewiki.net (2009-12-20)
Translatewiki [Sun, 20 Dec 2009 09:26:44 +0000 (09:26 +0000)]
Localisation updates from translatewiki.net (2009-12-20)

10 years agoLocalisation updates from translatewiki.net (2009-12-20)
Translatewiki [Sun, 20 Dec 2009 09:23:47 +0000 (09:23 +0000)]
Localisation updates from translatewiki.net (2009-12-20)

10 years agoLocalisation updates from translatewiki.net (2009-12-16)
Translatewiki [Wed, 16 Dec 2009 22:53:07 +0000 (22:53 +0000)]
Localisation updates from translatewiki.net (2009-12-16)

10 years agoLocalisation updates from translatewiki.net (2009-12-16)
Translatewiki [Wed, 16 Dec 2009 22:50:58 +0000 (22:50 +0000)]
Localisation updates from translatewiki.net (2009-12-16)

10 years agoActually the changeset doesn't need an id attribute in the xml. It is simply fetched...
Shaun McDonald [Tue, 15 Dec 2009 23:53:19 +0000 (23:53 +0000)]
Actually the changeset doesn't need an id attribute in the xml. It is simply fetched as a parameter in the url. Thanks for pointing it out Frederik. We really need more tests so that things like this are thought about more before committing potentially significant changes.

10 years agofix half-baked comment. this needs way more thought before it is... um ;-)
Frederik Ramm [Tue, 15 Dec 2009 22:56:37 +0000 (22:56 +0000)]
fix half-baked comment. this needs way more thought before it is... um ;-)

10 years agoUse a script to pull in host blocks and add some robot blocks from
Tom Hughes [Tue, 15 Dec 2009 22:39:51 +0000 (22:39 +0000)]
Use a script to pull in host blocks and add some robot blocks from
the live server.

10 years agoUpdate queue selection to match live server.
Tom Hughes [Tue, 15 Dec 2009 22:34:08 +0000 (22:34 +0000)]
Update queue selection to match live server.

10 years agoLog the requested language.
Tom Hughes [Tue, 15 Dec 2009 22:28:05 +0000 (22:28 +0000)]
Log the requested language.

10 years agoRevert half baked attempt at poi api call - this needs much more
Tom Hughes [Mon, 14 Dec 2009 22:19:51 +0000 (22:19 +0000)]
Revert half baked attempt at poi api call - this needs much more
thought before it's ready.

10 years agothis is kind of a "suggested change" for the API controller to
Frederik Ramm [Mon, 14 Dec 2009 21:29:00 +0000 (21:29 +0000)]
this is kind of a "suggested change" for the API controller to
support an additional "restriction" parameter for the "map"
call (only value currently supported: nodes_only to return only
nodes). i would have liked to implement "tagged_nodes_only" as
well but was unsure how to do that best. feel free to make up
some other way instead to improve node access for POI editors,
or drop this altogether if you have some other grand plan.

10 years agoAdd rel=nofollow to links in tags. Closes #2555.
Tom Hughes [Mon, 14 Dec 2009 09:09:32 +0000 (09:09 +0000)]
Add rel=nofollow to links in tags. Closes #2555.

10 years agoAdding a README to the translations folder, so that people hopefully don't edit in...
Shaun McDonald [Sat, 12 Dec 2009 22:14:17 +0000 (22:14 +0000)]
Adding a README to the translations folder, so that people hopefully don't edit in there when they should be using TranslateWiki.

10 years agojordij: Do NOT manually edit YAML files here if you don't know what you're doing...
Ævar Arnfjörð Bjarmason [Sat, 12 Dec 2009 20:42:03 +0000 (20:42 +0000)]
jordij: Do NOT manually edit YAML files here if you don't know what you're doing. This broke the rails port (invalid syntax)

10 years agoNew version of the file, from http://osm.mitago.net/translate/script.php?current_lang=ca
Jordi Julià [Sat, 12 Dec 2009 17:42:40 +0000 (17:42 +0000)]
New version of the file, from osm.mitago.net/translate/script.php?current_lang=ca

10 years agoChanged with a newer version
Jordi Julià [Sat, 12 Dec 2009 17:40:54 +0000 (17:40 +0000)]
Changed with a newer version

10 years agoAdd ability to take GPX storage offline.
Tom Hughes [Sat, 12 Dec 2009 13:06:56 +0000 (13:06 +0000)]
Add ability to take GPX storage offline.

10 years agohm
Richard Fairhurst [Wed, 9 Dec 2009 12:48:54 +0000 (12:48 +0000)]
hm

10 years agofix GPS trace slowness
Richard Fairhurst [Wed, 9 Dec 2009 12:47:39 +0000 (12:47 +0000)]
fix GPS trace slowness

10 years agoAdd translation for building=yes
Brian Quinion [Tue, 8 Dec 2009 11:14:55 +0000 (11:14 +0000)]
Add translation for building=yes

10 years agoLocalisation updates from translatewiki.net (2009-12-07)
Translatewiki [Mon, 7 Dec 2009 21:58:36 +0000 (21:58 +0000)]
Localisation updates from translatewiki.net (2009-12-07)

10 years agoLocalisation updates from translatewiki.net (2009-12-07)
Translatewiki [Mon, 7 Dec 2009 21:57:31 +0000 (21:57 +0000)]
Localisation updates from translatewiki.net (2009-12-07)

10 years agoChange the way that the changeset parsing is done, so that it is in line with the...
Shaun McDonald [Sun, 6 Dec 2009 02:13:30 +0000 (02:13 +0000)]
Change the way that the changeset parsing is done, so that it is in line with the nodes/ways/relations and gives much nicer error messages. Adding some tests too to back up those changes.

10 years agoLocalisation updates from translatewiki.net (2009-12-05)
Translatewiki [Sat, 5 Dec 2009 19:48:12 +0000 (19:48 +0000)]
Localisation updates from translatewiki.net (2009-12-05)

10 years agoLocalisation updates from translatewiki.net (2009-12-05)
Translatewiki [Sat, 5 Dec 2009 19:47:18 +0000 (19:47 +0000)]
Localisation updates from translatewiki.net (2009-12-05)

10 years agoSilly YAML and its subtly different parsers. This worked in Syck/LibYAML in Perl...
Ævar Arnfjörð Bjarmason [Fri, 4 Dec 2009 12:25:46 +0000 (12:25 +0000)]
Silly YAML and its subtly different parsers. This worked in Syck/LibYAML in Perl but not Syck on Ruby, bah!

10 years agorecompile
Richard Fairhurst [Thu, 3 Dec 2009 11:04:56 +0000 (11:04 +0000)]
recompile

10 years agoLocalisation updates from translatewiki.net (2009-12-03)
Translatewiki [Thu, 3 Dec 2009 00:06:32 +0000 (00:06 +0000)]
Localisation updates from translatewiki.net (2009-12-03)

10 years agoLocalisation updates from translatewiki.net (2009-12-03)
Translatewiki [Thu, 3 Dec 2009 00:05:18 +0000 (00:05 +0000)]
Localisation updates from translatewiki.net (2009-12-03)

10 years agofix Yahoo dragging bug
Richard Fairhurst [Wed, 2 Dec 2009 21:22:21 +0000 (21:22 +0000)]
fix Yahoo dragging bug

10 years agoPotlatch 1.3b: It's like Potlatch 1.3a without all the bugs
Ævar Arnfjörð Bjarmason [Wed, 2 Dec 2009 16:05:20 +0000 (16:05 +0000)]
Potlatch 1.3b: It's like Potlatch 1.3a without all the bugs

 * Don't say you're posting to Twitter when you're posting to identi.ca
 * Make "Warning!" translatable
 * Refer to Twitter/Identi.ca as "Microblog"
 * Debug: Print the i18n-key as an error when it can't be found, only visible during hacking (when something goes wrong)

10 years agoRequire oauth 0.3.6 and remove Matt's comment saying we need to
Tom Hughes [Wed, 2 Dec 2009 09:10:38 +0000 (09:10 +0000)]
Require oauth 0.3.6 and remove Matt's comment saying we need to
require it when it's available.

10 years agoUpdate site to use rails 2.3.5.
Tom Hughes [Wed, 2 Dec 2009 09:00:23 +0000 (09:00 +0000)]
Update site to use rails 2.3.5.

10 years agoLocalisation updates from translatewiki.net (2009-11-29)
Translatewiki [Sun, 29 Nov 2009 19:10:43 +0000 (19:10 +0000)]
Localisation updates from translatewiki.net (2009-11-29)

10 years agoLocalisation updates from translatewiki.net (2009-11-29)
Translatewiki [Sun, 29 Nov 2009 19:08:51 +0000 (19:08 +0000)]
Localisation updates from translatewiki.net (2009-11-29)

10 years agoPotlatch 1.3a
Richard Fairhurst [Fri, 27 Nov 2009 17:33:11 +0000 (17:33 +0000)]
Potlatch 1.3a

10 years agoLocalisation updates from translatewiki.net (2009-11-27)
Translatewiki [Fri, 27 Nov 2009 00:24:23 +0000 (00:24 +0000)]
Localisation updates from translatewiki.net (2009-11-27)

10 years agoLocalisation updates from translatewiki.net (2009-11-27)
Translatewiki [Fri, 27 Nov 2009 00:23:23 +0000 (00:23 +0000)]
Localisation updates from translatewiki.net (2009-11-27)

10 years agoAdd support for GeoIP lookups using Quova.
Tom Hughes [Wed, 25 Nov 2009 00:52:44 +0000 (00:52 +0000)]
Add support for GeoIP lookups using Quova.

10 years agoImprove some nominatim item descriptions.
Tom Hughes [Wed, 25 Nov 2009 00:39:56 +0000 (00:39 +0000)]
Improve some nominatim item descriptions.