Commit graph

3098 commits

Author SHA1 Message Date
Kai Krueger
eac7348ad2 Split comment field out of map bugs table
Rather than have all comments in a single text field, have each comment in its own entry
and only combine them back on output
2010-03-01 21:05:40 +00:00
Kai Krueger
42822a8b89 An initial (incomplete) "proof of concept" integration of an OpenStreetBugs interface into the rails port
This is a (start of a) reimplementation of the api at http://github.com/emka/openstreetbugs/tree/master/api/0.1/
into rails

The client side code is taken from http://wiki.openstreetmap.org/wiki/OpenStreetBugs/New_Client

This is ment as a mockup to perhaps use as a basis to further discuss how best to integrate a map bug reporting system

It currently uses (more or less) the openstreetbugs api specification. But this api feels rather inconsistent with the
rest of the rails_port api, so depending on discussions might still need some significant changes.
2010-02-28 09:30:40 +00:00
Kai Krueger
bcf8574dde Create a branch to play around with some ideas for integrating OpenStreetBugs into the rails_port 2010-02-28 08:16:05 +00:00
Ævar Arnfjörð Bjarmason
92339552d1 use i18n kthx 2010-02-28 05:13:00 +00:00
Tom Hughes
87e7d500ce Remove border from anonymous user images as we add it with CSS now. 2010-02-28 00:31:44 +00:00
Tom Hughes
3e8d809250 Add user images to diary view. 2010-02-28 00:24:33 +00:00
Tom Hughes
44fdad8478 Add a border to user images. 2010-02-28 00:11:17 +00:00
Tom Hughes
56336763de Align relation membership details to the top. 2010-02-27 23:58:26 +00:00
Tom Hughes
c7217f38aa Only specify the width for the user image for now. 2010-02-27 18:38:46 +00:00
Tom Hughes
891a337b32 Show the "anonymous user" picture for users with no picture. 2010-02-27 18:12:27 +00:00
Tom Hughes
acd72861ed 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.
2010-02-27 18:11:04 +00:00
Translatewiki
150ae06104 Localisation updates from translatewiki.net (2010-02-27) 2010-02-27 17:14:35 +00:00
Translatewiki
94f202c511 Localisation updates from translatewiki.net (2010-02-27) 2010-02-27 17:13:26 +00:00
Tom Hughes
ec172871ae If Nominatim can't give us a location, just return the coordinates. 2010-02-27 12:58:23 +00:00
Tom Hughes
e076d824bf Make sure we report "no results" when Nominatim's reverse geocoder fails
to find any results.
2010-02-27 12:52:30 +00:00
Tom Hughes
0b913efd05 Use Nominatim to reverse geocode diary location information and display
a friendly human readable location instead of some coordinates.
2010-02-27 12:41:56 +00:00
Tom Hughes
1df4234c72 Remote "change my settings" link from user page as it duplicates the
main "my settings" link at the top of the page.
2010-02-27 00:14:13 +00:00
Tom Hughes
696aa8b5a8 Remote the user settings page to make it a bit more readable. 2010-02-27 00:12:16 +00:00
Tom Hughes
fbe529d87e Remove unused set_home method from user controller. 2010-02-27 00:02:22 +00:00
Tom Hughes
c55490d24e 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.
2010-02-26 23:44:43 +00:00
Tom Hughes
9a3ef885bb Revert the nofollow attributes - they aren't really needed if sites
obey robots.txt and don't do what Firefishy thought they did.
2010-02-26 19:49:27 +00:00
Tom Hughes
42b0dd52fd New robots file from Firefishy. 2010-02-26 19:02:17 +00:00
Tom Hughes
e19be03313 Add some strategic rel="nofollow" attributes to the data browser pages
to control what search engines will explore.
2010-02-26 19:00:50 +00:00
Tom Hughes
c6077fd124 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.
2010-02-26 18:49:22 +00:00
Tom Hughes
3851a672e2 Ajaxify the mark read/unread function for messages so it doesn't
reload the whole page each time.
2010-02-26 16:35:36 +00:00
Tom Hughes
30c47f4ac4 Redirect back to the login page after a successful request to
send a lost password mail. Closes #1699.
2010-02-26 15:50:40 +00:00
Tom Hughes
2df3a8d2e2 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.
2010-02-26 15:27:52 +00:00
Tom Hughes
ba1ecf61f3 Put the correct icon URLs in the RSS feed for traces. 2010-02-26 15:11:40 +00:00
Tom Hughes
d3bcbf0367 Fix test for viewing an unknown user to actually specify a name - what
it was doing before was testing whether the null user existed.
2010-02-26 15:07:28 +00:00
Tom Hughes
dfec61084a 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.
2010-02-26 14:46:02 +00:00
Tom Hughes
aac4776dd1 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.
2010-02-26 14:16:04 +00:00
Grant Slater
e86a114aeb Correct google webmaster tools bug. 2010-02-26 12:23:15 +00:00
Grant Slater
08545de876 Add google webmaster tools for Firefishy. 2010-02-26 12:21:36 +00:00
Tom Hughes
9deeae3f96 Remove validates_associated_of calls which target the user model as
we have a number of users with minor validation failures.
2010-02-25 21:50:09 +00:00
Tom Hughes
0ec5e8f858 Move bogus addresses from the good set to the bad set - unicode email
addresses are not currently allowed by the email standards.
2010-02-25 21:22:42 +00:00
Tom Hughes
7f28b7342c Improve email address validation and add validation of the new
email address field. Closes #2744.
2010-02-25 19:15:54 +00:00
Tom Hughes
aefc5f5112 Add email validation plugin from:
git://github.com/dancroak/validates_email_format_of.git
2010-02-25 19:14:50 +00:00
Tom Hughes
b547145865 Ignore exceptions when sending email to confirm changes of email
address. Closes #2744.
2010-02-25 19:09:28 +00:00
Tom Hughes
45cf5ccd29 Tweak the attribution string a bit more. 2010-02-25 17:01:19 +00:00
Tom Hughes
c879f87a45 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.
2010-02-25 16:50:56 +00:00
Tom Hughes
60f145f13e 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.
2010-02-25 16:39:51 +00:00
Grant Slater
345ac0bd1a Tweak embed.html attribution to match Legal FAQ recommendation. 2010-02-24 16:58:32 +00:00
Translatewiki
34bd559fae Localisation updates from translatewiki.net (2010-02-21) 2010-02-21 22:30:27 +00:00
Translatewiki
a49ba5e7c9 Localisation updates from translatewiki.net (2010-02-21) 2010-02-21 22:29:22 +00:00
Tom Hughes
d702a29810 Send queries which look like US or Canadian postcodes to Nominatim as
well as the specialised postcode search engines.
2010-02-21 17:56:04 +00:00
Translatewiki
124eac22fe Localisation updates from translatewiki.net (2010-02-18) 2010-02-18 23:04:43 +00:00
Translatewiki
61ece2b7ae Localisation updates from translatewiki.net (2010-02-18) 2010-02-18 23:04:02 +00:00
Richard Fairhurst
cad1634fc5 one more digit of precision for lat/long readout 2010-02-14 18:13:32 +00:00
Translatewiki
2d3ff49f5e Localisation updates from translatewiki.net (2010-02-11) 2010-02-11 22:37:48 +00:00
Translatewiki
e464192462 Localisation updates from translatewiki.net (2010-02-11) 2010-02-11 22:36:48 +00:00