]> git.openstreetmap.org Git - rails.git/log
rails.git
14 years agoAdding timecop as a gem dependency when in development env. This allows for time...
Shaun McDonald [Sat, 3 Apr 2010 21:02:20 +0000 (21:02 +0000)]
Adding timecop as a gem dependency when in development env. This allows for time based tests to be accurate/consistent. It will stop the random error on the api_controller_test#test_changes_simple, when you are on a slow machine/have bad timing.

14 years agoLocalisation updates from translatewiki.net (2010-04-03)
Translatewiki [Sat, 3 Apr 2010 13:36:40 +0000 (13:36 +0000)]
Localisation updates from translatewiki.net (2010-04-03)

14 years agoLocalisation updates from translatewiki.net (2010-04-03)
Translatewiki [Sat, 3 Apr 2010 13:35:56 +0000 (13:35 +0000)]
Localisation updates from translatewiki.net (2010-04-03)

14 years agoLocalisation updates from translatewiki.net (2010-03-23)
Translatewiki [Tue, 23 Mar 2010 20:21:01 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net (2010-03-23)

14 years agoLocalisation updates from translatewiki.net (2010-03-23)
Translatewiki [Tue, 23 Mar 2010 20:20:45 +0000 (20:20 +0000)]
Localisation updates from translatewiki.net (2010-03-23)

14 years agoPatching fix to test from branch.
Matt Amos [Mon, 22 Mar 2010 22:56:45 +0000 (22:56 +0000)]
Patching fix to test from branch.

14 years agoRestrict the fragment caching of the reverse geocode result to only cover
Tom Hughes [Sun, 21 Mar 2010 11:33:58 +0000 (11:33 +0000)]
Restrict the fragment caching of the reverse geocode result to only cover
that lookup and not anything else as the geocode result is only cached once
for all languages.

14 years agoRemove old segment view directory.
Tom Hughes [Sat, 20 Mar 2010 00:02:37 +0000 (00:02 +0000)]
Remove old segment view directory.

14 years agoDisable autocompletion for the password fields on the settings page.
Tom Hughes [Sat, 20 Mar 2010 00:01:57 +0000 (00:01 +0000)]
Disable autocompletion for the password fields on the settings page.

14 years agoAdd placeholder file for nb translations and arrange to merge nb and
Tom Hughes [Thu, 18 Mar 2010 22:33:05 +0000 (22:33 +0000)]
Add placeholder file for nb translations and arrange to merge nb and
no translations at startup.

14 years agoRename no-NB and no-NN translations to the correct nb and nn codes.
Tom Hughes [Thu, 18 Mar 2010 21:47:02 +0000 (21:47 +0000)]
Rename no-NB and no-NN translations to the correct nb and nn codes.

14 years agoUpdate rails translations.
Tom Hughes [Thu, 18 Mar 2010 21:36:15 +0000 (21:36 +0000)]
Update rails translations.

14 years agoLocalisation updates from translatewiki.net (2010-03-17)
Translatewiki [Wed, 17 Mar 2010 21:48:01 +0000 (21:48 +0000)]
Localisation updates from translatewiki.net (2010-03-17)

14 years agoLocalisation updates from translatewiki.net (2010-03-17)
Translatewiki [Wed, 17 Mar 2010 21:47:18 +0000 (21:47 +0000)]
Localisation updates from translatewiki.net (2010-03-17)

14 years agoLoad ethnio script over https to avoid browser warnings.
Tom Hughes [Wed, 17 Mar 2010 21:42:48 +0000 (21:42 +0000)]
Load ethnio script over https to avoid browser warnings.

14 years agoAdd UX review recruiting script to signup page.
Tom Hughes [Tue, 16 Mar 2010 21:13:16 +0000 (21:13 +0000)]
Add UX review recruiting script to signup page.

14 years agoUpdate the inbox link in the greeting bar when messages are marked
Tom Hughes [Sun, 14 Mar 2010 16:02:30 +0000 (16:02 +0000)]
Update the inbox link in the greeting bar when messages are marked
as read or unread.

14 years agoMake disabled tabs more obvious. Based on patch from Adrian Cochrane.
Tom Hughes [Sun, 14 Mar 2010 15:48:42 +0000 (15:48 +0000)]
Make disabled tabs more obvious. Based on patch from Adrian Cochrane.

14 years agoRequire the session ID to log somebody out - if it isn't given we just
Tom Hughes [Sun, 14 Mar 2010 15:29:53 +0000 (15:29 +0000)]
Require the session ID to log somebody out - if it isn't given we just
show a confirmation page. Closes #2792.

14 years agoUse Prototype methods to find the anchor nodes to make sure they get
Tom Hughes [Sun, 14 Mar 2010 08:48:48 +0000 (08:48 +0000)]
Use Prototype methods to find the anchor nodes to make sure they get
extended with the Prototype extensions on all browsers.

14 years agoLocalisation updates from translatewiki.net (2010-03-13)
Translatewiki [Fri, 12 Mar 2010 23:54:23 +0000 (23:54 +0000)]
Localisation updates from translatewiki.net (2010-03-13)

14 years agoLocalisation updates from translatewiki.net (2010-03-13)
Translatewiki [Fri, 12 Mar 2010 23:53:51 +0000 (23:53 +0000)]
Localisation updates from translatewiki.net (2010-03-13)

14 years agoFix warnings.
Tom Hughes [Thu, 11 Mar 2010 18:52:35 +0000 (18:52 +0000)]
Fix warnings.

14 years agoUse the small PanZoom control on the user map instead of the
Tom Hughes [Thu, 11 Mar 2010 18:29:35 +0000 (18:29 +0000)]
Use the small PanZoom control on the user map instead of the
full PanZoomBar control.

14 years agoImprove user popups on friend/nearby mapper maps.
Tom Hughes [Thu, 11 Mar 2010 18:23:22 +0000 (18:23 +0000)]
Improve user popups on friend/nearby mapper maps.

14 years agoUse CSS to style the disabled tabs.
Tom Hughes [Thu, 11 Mar 2010 08:58:48 +0000 (08:58 +0000)]
Use CSS to style the disabled tabs.

14 years agocouple of little fixes
Richard Fairhurst [Sun, 7 Mar 2010 23:09:26 +0000 (23:09 +0000)]
couple of little fixes

14 years agoyay for case-insensitive systems
Richard Fairhurst [Sun, 7 Mar 2010 21:44:37 +0000 (21:44 +0000)]
yay for case-insensitive systems

14 years agoLocalisation updates from translatewiki.net (2010-03-07)
Translatewiki [Sat, 6 Mar 2010 23:57:17 +0000 (23:57 +0000)]
Localisation updates from translatewiki.net (2010-03-07)

14 years agoLocalisation updates from translatewiki.net (2010-03-07)
Translatewiki [Sat, 6 Mar 2010 23:56:16 +0000 (23:56 +0000)]
Localisation updates from translatewiki.net (2010-03-07)

14 years agoUse a better HTML sanitizer that makes sure the HTML is well formed and
Tom Hughes [Sat, 6 Mar 2010 15:38:13 +0000 (15:38 +0000)]
Use a better HTML sanitizer that makes sure the HTML is well formed and
can add rel="nofollow" to links.

14 years agoFix broken </div> tag.
Tom Hughes [Sat, 6 Mar 2010 11:37:38 +0000 (11:37 +0000)]
Fix broken </div> tag.

14 years agoFix the selection of the message to be deleted.
Tom Hughes [Sat, 6 Mar 2010 00:26:32 +0000 (00:26 +0000)]
Fix the selection of the message to be deleted.

14 years agoTidy up the stylesheets, removing lots of ancient, unused junk and
Tom Hughes [Wed, 3 Mar 2010 15:46:16 +0000 (15:46 +0000)]
Tidy up the stylesheets, removing lots of ancient, unused junk and
trying to group everything else together in more logical fashion.

14 years agoUpdate robots.txt to Disallow browser [node|way|relation] history. Content now worth...
Grant Slater [Wed, 3 Mar 2010 11:41:43 +0000 (11:41 +0000)]
Update robots.txt to Disallow browser [node|way|relation] history. Content now worth indexing in most cases.

14 years agoDon't try and show distances to friends if the user has no
Tom Hughes [Tue, 2 Mar 2010 16:42:45 +0000 (16:42 +0000)]
Don't try and show distances to friends if the user has no
home location set. Closes #2766.

14 years agoMove image size hint to avoid issues with LTR languages. Closes #2755.
Tom Hughes [Mon, 1 Mar 2010 12:12:02 +0000 (12:12 +0000)]
Move image size hint to avoid issues with LTR languages. Closes #2755.

14 years agoMake friend notification messages include a link to add a reciprocal
Tom Hughes [Mon, 1 Mar 2010 12:08:11 +0000 (12:08 +0000)]
Make friend notification messages include a link to add a reciprocal
friendship if it doesn't already exist. Closes #2754.

14 years agoMonkey patch rails to work around stupid I18n bug where it looks up
Tom Hughes [Mon, 1 Mar 2010 00:55:27 +0000 (00:55 +0000)]
Monkey patch rails to work around stupid I18n bug where it looks up
time.formats in the locale and then looks for the requested format in
that hash, thereby not doing fallback correctly. To make things worse
it then defaults to just using the requested format name as the format...

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

14 years agoFix typo
Translatewiki [Sun, 28 Feb 2010 21:08:48 +0000 (21:08 +0000)]
Fix typo

14 years agoAdd a "friendly" date/time format and use it whenever we are printing
Tom Hughes [Sun, 28 Feb 2010 16:57:22 +0000 (16:57 +0000)]
Add a "friendly" date/time format and use it whenever we are printing
dates and times on the web site.

Also try and improve formatting of message pages a but, and include the
image of the recipient when viewing a sent message.

14 years agoGet the location for "Where Am I?" from the view tab's link instead of
Tom Hughes [Sun, 28 Feb 2010 16:04:30 +0000 (16:04 +0000)]
Get the location for "Where Am I?" from the view tab's link instead of
by asking the map so that it works in edit mode as well. Closes #2383.

14 years agoTidy up error handling in the message controller, and make it redirect to
Tom Hughes [Sun, 28 Feb 2010 15:13:06 +0000 (15:13 +0000)]
Tidy up error handling in the message controller, and make it redirect to
the login page if you are logged in as the wrong user. Closes #1569.

14 years agoAllow a logged in user to relogin as a different user just by visiting
Tom Hughes [Sun, 28 Feb 2010 14:36:07 +0000 (14:36 +0000)]
Allow a logged in user to relogin as a different user just by visiting
the login page.

14 years agoCommit missing resource for user image hint.
Tom Hughes [Sun, 28 Feb 2010 14:23:51 +0000 (14:23 +0000)]
Commit missing resource for user image hint.

14 years agoAdd user images to lists of diary entries.
Tom Hughes [Sun, 28 Feb 2010 09:01:19 +0000 (09:01 +0000)]
Add user images to lists of diary entries.

14 years agoAdd a note to the user image upload suggesting an appropriate size.
Tom Hughes [Sun, 28 Feb 2010 08:55:01 +0000 (08:55 +0000)]
Add a note to the user image upload suggesting an appropriate size.

14 years agoClamp the maximum width and height of user images. This ensures they can't
Tom Hughes [Sun, 28 Feb 2010 08:41:10 +0000 (08:41 +0000)]
Clamp the maximum width and height of user images. This ensures they can't
get too big but means we don't get any upscaling.

14 years agouse i18n kthx
Ævar Arnfjörð Bjarmason [Sun, 28 Feb 2010 05:13:00 +0000 (05:13 +0000)]
use i18n kthx

14 years agoRemove border from anonymous user images as we add it with CSS now.
Tom Hughes [Sun, 28 Feb 2010 00:31:44 +0000 (00:31 +0000)]
Remove border from anonymous user images as we add it with CSS now.

14 years agoAdd user images to diary view.
Tom Hughes [Sun, 28 Feb 2010 00:24:33 +0000 (00:24 +0000)]
Add user images to diary view.

14 years agoAdd a border to user images.
Tom Hughes [Sun, 28 Feb 2010 00:11:17 +0000 (00:11 +0000)]
Add a border to user images.

14 years agoAlign relation membership details to the top.
Tom Hughes [Sat, 27 Feb 2010 23:58:26 +0000 (23:58 +0000)]
Align relation membership details to the top.

14 years agoOnly specify the width for the user image for now.
Tom Hughes [Sat, 27 Feb 2010 18:38:46 +0000 (18:38 +0000)]
Only specify the width for the user image for now.

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