]> git.openstreetmap.org Git - rails.git/log
rails.git
14 years agoShow the "anonymous user" picture for users with no picture.
Tom Hughes [Sat, 27 Feb 2010 18:12:27 +0000 (18:12 +0000)]
Show the "anonymous user" picture for users with no picture.

14 years agoRework the user details screen to be less crap... Highlights include:
Tom Hughes [Sat, 27 Feb 2010 18:11:04 +0000 (18:11 +0000)]
Rework the user details screen to be less crap... Highlights include:

  - Map is smaller and placed to the side with lists of friends
    and nearby users (now excluding friends) beside it.

  - Map includes friends as well as nearby users.

  - Friend and nearby user lists include photos and links to
    friend/unfriend as appropriate.

  - OAuth settings link moved up with all the other links in the
    main navigation bar.

The addition of friends to the map also carries through to the user
settings page.

14 years agoLocalisation updates from translatewiki.net (2010-02-27)
Translatewiki [Sat, 27 Feb 2010 17:14:35 +0000 (17:14 +0000)]
Localisation updates from translatewiki.net (2010-02-27)

14 years agoLocalisation updates from translatewiki.net (2010-02-27)
Translatewiki [Sat, 27 Feb 2010 17:13:26 +0000 (17:13 +0000)]
Localisation updates from translatewiki.net (2010-02-27)

14 years agoIf Nominatim can't give us a location, just return the coordinates.
Tom Hughes [Sat, 27 Feb 2010 12:58:23 +0000 (12:58 +0000)]
If Nominatim can't give us a location, just return the coordinates.

14 years agoMake sure we report "no results" when Nominatim's reverse geocoder fails
Tom Hughes [Sat, 27 Feb 2010 12:52:30 +0000 (12:52 +0000)]
Make sure we report "no results" when Nominatim's reverse geocoder fails
to find any results.

14 years agoUse Nominatim to reverse geocode diary location information and display
Tom Hughes [Sat, 27 Feb 2010 12:41:56 +0000 (12:41 +0000)]
Use Nominatim to reverse geocode diary location information and display
a friendly human readable location instead of some coordinates.

14 years agoRemote "change my settings" link from user page as it duplicates the
Tom Hughes [Sat, 27 Feb 2010 00:14:13 +0000 (00:14 +0000)]
Remote "change my settings" link from user page as it duplicates the
main "my settings" link at the top of the page.

14 years agoRemote the user settings page to make it a bit more readable.
Tom Hughes [Sat, 27 Feb 2010 00:12:16 +0000 (00:12 +0000)]
Remote the user settings page to make it a bit more readable.

14 years agoRemove unused set_home method from user controller.
Tom Hughes [Sat, 27 Feb 2010 00:02:22 +0000 (00:02 +0000)]
Remove unused set_home method from user controller.

14 years agoMove support for adding and deleting user images to the user settings
Tom Hughes [Fri, 26 Feb 2010 23:44:43 +0000 (23:44 +0000)]
Move support for adding and deleting user images to the user settings
page and reposition the user image ont he user page in the top right
corner of the page.

14 years agoRevert the nofollow attributes - they aren't really needed if sites
Tom Hughes [Fri, 26 Feb 2010 19:49:27 +0000 (19:49 +0000)]
Revert the nofollow attributes - they aren't really needed if sites
obey robots.txt and don't do what Firefishy thought they did.

14 years agoNew robots file from Firefishy.
Tom Hughes [Fri, 26 Feb 2010 19:02:17 +0000 (19:02 +0000)]
New robots file from Firefishy.

14 years agoAdd some strategic rel="nofollow" attributes to the data browser pages
Tom Hughes [Fri, 26 Feb 2010 19:00:50 +0000 (19:00 +0000)]
Add some strategic rel="nofollow" attributes to the data browser pages
to control what search engines will explore.

14 years agoMake the tooltips for the tabs a bit more consistent and make the edit
Tom Hughes [Fri, 26 Feb 2010 18:49:22 +0000 (18:49 +0000)]
Make the tooltips for the tabs a bit more consistent and make the edit
and history tooltips change when those tabs are disabled to explain that
the user needs to zoom in to use them.

14 years agoAjaxify the mark read/unread function for messages so it doesn't
Tom Hughes [Fri, 26 Feb 2010 16:35:36 +0000 (16:35 +0000)]
Ajaxify the mark read/unread function for messages so it doesn't
reload the whole page each time.

14 years agoRedirect back to the login page after a successful request to
Tom Hughes [Fri, 26 Feb 2010 15:50:40 +0000 (15:50 +0000)]
Redirect back to the login page after a successful request to
send a lost password mail. Closes #1699.

14 years agoRethrow ActionController::UnknownAction exceptions encountered by
Tom Hughes [Fri, 26 Feb 2010 15:27:52 +0000 (15:27 +0000)]
Rethrow ActionController::UnknownAction exceptions encountered by
the API so that rails handles them in the normal way and shows
the 404 page to the user. Closes #1989.

14 years agoPut the correct icon URLs in the RSS feed for traces.
Tom Hughes [Fri, 26 Feb 2010 15:11:40 +0000 (15:11 +0000)]
Put the correct icon URLs in the RSS feed for traces.

14 years agoFix test for viewing an unknown user to actually specify a name - what
Tom Hughes [Fri, 26 Feb 2010 15:07:28 +0000 (15:07 +0000)]
Fix test for viewing an unknown user to actually specify a name - what
it was doing before was testing whether the null user existed.

14 years agoWait for the page to finish loading before trying to add any data
Tom Hughes [Fri, 26 Feb 2010 14:46:02 +0000 (14:46 +0000)]
Wait for the page to finish loading before trying to add any data
object to the map as IE won't be ready to draw vectors until the
page is fully loaded. Closes #2692.

14 years agoWhen the area selected for export is too large to be downloaded from
Tom Hughes [Fri, 26 Feb 2010 14:16:04 +0000 (14:16 +0000)]
When the area selected for export is too large to be downloaded from
the API then disable the export button and display a message rather
than forcibly disabling that export option. Closes #1996.

14 years agoCorrect google webmaster tools bug.
Grant Slater [Fri, 26 Feb 2010 12:23:15 +0000 (12:23 +0000)]
Correct google webmaster tools bug.

14 years agoAdd google webmaster tools for Firefishy.
Grant Slater [Fri, 26 Feb 2010 12:21:36 +0000 (12:21 +0000)]
Add google webmaster tools for Firefishy.

14 years agoRemove validates_associated_of calls which target the user model as
Tom Hughes [Thu, 25 Feb 2010 21:50:09 +0000 (21:50 +0000)]
Remove validates_associated_of calls which target the user model as
we have a number of users with minor validation failures.

14 years agoMove bogus addresses from the good set to the bad set - unicode email
Tom Hughes [Thu, 25 Feb 2010 21:22:42 +0000 (21:22 +0000)]
Move bogus addresses from the good set to the bad set - unicode email
addresses are not currently allowed by the email standards.

14 years agoImprove email address validation and add validation of the new
Tom Hughes [Thu, 25 Feb 2010 19:15:54 +0000 (19:15 +0000)]
Improve email address validation and add validation of the new
email address field. Closes #2744.

14 years agoAdd email validation plugin from:
Tom Hughes [Thu, 25 Feb 2010 19:14:50 +0000 (19:14 +0000)]
Add email validation plugin from:
  git://github.com/dancroak/validates_email_format_of.git

14 years agoIgnore exceptions when sending email to confirm changes of email
Tom Hughes [Thu, 25 Feb 2010 19:09:28 +0000 (19:09 +0000)]
Ignore exceptions when sending email to confirm changes of email
address. Closes #2744.

14 years agoTweak the attribution string a bit more.
Tom Hughes [Thu, 25 Feb 2010 17:01:19 +0000 (17:01 +0000)]
Tweak the attribution string a bit more.

14 years agoAdd a "remember me" box to the login screen that causes you to stay
Tom Hughes [Thu, 25 Feb 2010 16:50:56 +0000 (16:50 +0000)]
Add a "remember me" box to the login screen that causes you to stay
logged in across browser restarts - you will only be logged out if you
don't visit for a month. Closes #1030.

14 years agoAdd a plugin to handle session persistence. This is based on the
Tom Hughes [Thu, 25 Feb 2010 16:39:51 +0000 (16:39 +0000)]
Add a plugin to handle session persistence. This is based on the
plugin at http://github.com/augustl/session-persistence but modified
to work with rails 2 rather than rails 3.

14 years agoTweak embed.html attribution to match Legal FAQ recommendation.
Grant Slater [Wed, 24 Feb 2010 16:58:32 +0000 (16:58 +0000)]
Tweak embed.html attribution to match Legal FAQ recommendation.

14 years agoLocalisation updates from translatewiki.net (2010-02-21)
Translatewiki [Sun, 21 Feb 2010 22:30:27 +0000 (22:30 +0000)]
Localisation updates from translatewiki.net (2010-02-21)

14 years agoLocalisation updates from translatewiki.net (2010-02-21)
Translatewiki [Sun, 21 Feb 2010 22:29:22 +0000 (22:29 +0000)]
Localisation updates from translatewiki.net (2010-02-21)

14 years agoSend queries which look like US or Canadian postcodes to Nominatim as
Tom Hughes [Sun, 21 Feb 2010 17:56:04 +0000 (17:56 +0000)]
Send queries which look like US or Canadian postcodes to Nominatim as
well as the specialised postcode search engines.

14 years agoLocalisation updates from translatewiki.net (2010-02-18)
Translatewiki [Thu, 18 Feb 2010 23:04:43 +0000 (23:04 +0000)]
Localisation updates from translatewiki.net (2010-02-18)

14 years agoLocalisation updates from translatewiki.net (2010-02-18)
Translatewiki [Thu, 18 Feb 2010 23:04:02 +0000 (23:04 +0000)]
Localisation updates from translatewiki.net (2010-02-18)

14 years agoone more digit of precision for lat/long readout
Richard Fairhurst [Sun, 14 Feb 2010 18:13:32 +0000 (18:13 +0000)]
one more digit of precision for lat/long readout

14 years agoLocalisation updates from translatewiki.net (2010-02-11)
Translatewiki [Thu, 11 Feb 2010 22:37:48 +0000 (22:37 +0000)]
Localisation updates from translatewiki.net (2010-02-11)

14 years agoLocalisation updates from translatewiki.net (2010-02-11)
Translatewiki [Thu, 11 Feb 2010 22:36:48 +0000 (22:36 +0000)]
Localisation updates from translatewiki.net (2010-02-11)

14 years agoFixup AMF tests to match Richard's latest changes.
Tom Hughes [Thu, 11 Feb 2010 17:33:46 +0000 (17:33 +0000)]
Fixup AMF tests to match Richard's latest changes.

14 years agoDon't begin/end messages with whitespace, Translatewiki can't grok it.
Ævar Arnfjörð Bjarmason [Thu, 11 Feb 2010 08:27:18 +0000 (08:27 +0000)]
Don't begin/end messages with whitespace, Translatewiki can't grok it.

14 years agojoin/unjoin fixes, plus better amf_controller error handling for deleted items
Richard Fairhurst [Thu, 11 Feb 2010 00:48:15 +0000 (00:48 +0000)]
join/unjoin fixes, plus better amf_controller error handling for deleted items

14 years agocope with renumbered nodes properly
Richard Fairhurst [Wed, 10 Feb 2010 13:12:19 +0000 (13:12 +0000)]
cope with renumbered nodes properly

14 years agoset the way as unclean when we unjoin
Richard Fairhurst [Wed, 10 Feb 2010 01:59:24 +0000 (01:59 +0000)]
set the way as unclean when we unjoin

14 years agolots of duplicate node stuff
Richard Fairhurst [Wed, 10 Feb 2010 01:16:22 +0000 (01:16 +0000)]
lots of duplicate node stuff

14 years agoDisplay the current email address and any pending new email address
Tom Hughes [Tue, 9 Feb 2010 11:54:40 +0000 (11:54 +0000)]
Display the current email address and any pending new email address
separately on the user settings page.

14 years agoImprove page title for diary entries. Closes #2702.
Tom Hughes [Mon, 8 Feb 2010 18:15:51 +0000 (18:15 +0000)]
Improve page title for diary entries. Closes #2702.

14 years agoHandle duplicate address errors properly when confirming a change of
Tom Hughes [Mon, 8 Feb 2010 18:04:04 +0000 (18:04 +0000)]
Handle duplicate address errors properly when confirming a change of
email address.

14 years agoLocalisation updates from translatewiki.net (2010-02-08)
Translatewiki [Mon, 8 Feb 2010 18:03:16 +0000 (18:03 +0000)]
Localisation updates from translatewiki.net (2010-02-08)

14 years agoLocalisation updates from translatewiki.net (2010-02-08)
Translatewiki [Mon, 8 Feb 2010 18:02:09 +0000 (18:02 +0000)]
Localisation updates from translatewiki.net (2010-02-08)

14 years agoPotlatch 1.3e with experimental tagfinder
Richard Fairhurst [Sun, 7 Feb 2010 19:08:46 +0000 (19:08 +0000)]
Potlatch 1.3e with experimental tagfinder

14 years agoAdd a map queue that points at cgimap and direct map calls to it.
Tom Hughes [Sun, 7 Feb 2010 11:05:10 +0000 (11:05 +0000)]
Add a map queue that points at cgimap and direct map calls to it.

14 years agoUpdate robot blocking rules to match live server.
Tom Hughes [Sun, 7 Feb 2010 11:03:23 +0000 (11:03 +0000)]
Update robot blocking rules to match live server.

14 years agoUse a regex match to block tilesAtHome.
Tom Hughes [Sun, 7 Feb 2010 11:02:26 +0000 (11:02 +0000)]
Use a regex match to block tilesAtHome.

14 years agoBlock tilesAtHome and reassign the remaining daemons from that queue
Tom Hughes [Sun, 7 Feb 2010 11:01:48 +0000 (11:01 +0000)]
Block tilesAtHome and reassign the remaining daemons from that queue
to the main bulkapi queue.

14 years agoDrop the namefinder queue.
Tom Hughes [Sun, 7 Feb 2010 10:59:23 +0000 (10:59 +0000)]
Drop the namefinder queue.

14 years agoDrop mod_evasive as it wasn't doing anything very useful and was
Tom Hughes [Sun, 7 Feb 2010 10:58:36 +0000 (10:58 +0000)]
Drop mod_evasive as it wasn't doing anything very useful and was
sometimes actively harmful.

14 years agoIt helps if the strings are committed as well...
Tom Hughes [Sat, 6 Feb 2010 11:44:59 +0000 (11:44 +0000)]
It helps if the strings are committed as well...

14 years agoAdd a link from the sidebar to the partners page in the wiki.
Tom Hughes [Sat, 6 Feb 2010 11:33:42 +0000 (11:33 +0000)]
Add a link from the sidebar to the partners page in the wiki.

14 years agoLocalisation updates from translatewiki.net (2010-02-04)
Translatewiki [Thu, 4 Feb 2010 22:22:00 +0000 (22:22 +0000)]
Localisation updates from translatewiki.net (2010-02-04)

14 years agoLocalisation updates from translatewiki.net (2010-02-04)
Translatewiki [Thu, 4 Feb 2010 22:13:21 +0000 (22:13 +0000)]
Localisation updates from translatewiki.net (2010-02-04)

14 years agoDrop the username from the "new diary entry" link to avoid problems
Tom Hughes [Thu, 4 Feb 2010 15:48:40 +0000 (15:48 +0000)]
Drop the username from the "new diary entry" link to avoid problems
with caching - we don't need it as we know who the logged in user is
when a diary posting is made.

14 years agoDon't close the sidebar when the visibility of the data layer changes
Tom Hughes [Wed, 3 Feb 2010 23:35:55 +0000 (23:35 +0000)]
Don't close the sidebar when the visibility of the data layer changes
if the browser isn't active. Closes #2684.

14 years agoforce changeset id to be an int so we don't have a table scan
Richard Fairhurst [Wed, 3 Feb 2010 16:50:39 +0000 (16:50 +0000)]
force changeset id to be an int so we don't have a table scan

14 years agoLocalisation updates from translatewiki.net (2010-01-29)
Translatewiki [Fri, 29 Jan 2010 00:07:54 +0000 (00:07 +0000)]
Localisation updates from translatewiki.net (2010-01-29)

14 years agoLocalisation updates from translatewiki.net (2010-01-29)
Translatewiki [Fri, 29 Jan 2010 00:06:11 +0000 (00:06 +0000)]
Localisation updates from translatewiki.net (2010-01-29)

14 years agoMade the trackpoints call return a more sensible filename.
Tom Hughes [Wed, 27 Jan 2010 13:51:15 +0000 (13:51 +0000)]
Made the trackpoints call return a more sensible filename.

14 years agoFix expiry of cached diary views.
Tom Hughes [Wed, 27 Jan 2010 09:12:25 +0000 (09:12 +0000)]
Fix expiry of cached diary views.

14 years agoUse the right variable this time...
Tom Hughes [Wed, 27 Jan 2010 09:07:25 +0000 (09:07 +0000)]
Use the right variable this time...

14 years agoSpecify the user when redirecting back to a diary entry after
Tom Hughes [Wed, 27 Jan 2010 09:02:27 +0000 (09:02 +0000)]
Specify the user when redirecting back to a diary entry after
hiding a comment.

14 years agofix Douglas-Peucker tolerance for GPS track import, and menu layering for options...
Richard Fairhurst [Sun, 24 Jan 2010 00:15:33 +0000 (00:15 +0000)]
fix Douglas-Peucker tolerance for GPS track import, and menu layering for options dialogue

14 years agomove haiti messages in the order in which they are used in the Potlatch drop-down...
Ævar Arnfjörð Bjarmason [Sat, 23 Jan 2010 16:42:23 +0000 (16:42 +0000)]
move haiti messages in the order in which they are used in the Potlatch drop-down list

14 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)

14 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)

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

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

14 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

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

14 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. http://lists.openstreetmap.org/pipermail/dev/2010-January/018283.html

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

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

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

14 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

14 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)

14 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)

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

14 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

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

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

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

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

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

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

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

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

14 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)

14 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)

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