Commit graph

1675 commits

Author SHA1 Message Date
Tom Hughes
8cd377d255 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.
2010-03-21 11:33:58 +00:00
Tom Hughes
d6d0a2b1a6 Disable autocompletion for the password fields on the settings page. 2010-03-20 00:01:57 +00:00
Tom Hughes
d99f08314c Load ethnio script over https to avoid browser warnings. 2010-03-17 21:42:48 +00:00
Tom Hughes
54ae072d1e Add UX review recruiting script to signup page. 2010-03-16 21:13:16 +00:00
Tom Hughes
7f1691e878 Update the inbox link in the greeting bar when messages are marked
as read or unread.
2010-03-14 16:02:30 +00:00
Tom Hughes
a7d304d20f Require the session ID to log somebody out - if it isn't given we just
show a confirmation page. Closes #2792.
2010-03-14 15:29:53 +00:00
Tom Hughes
89b8d48e98 Fix warnings. 2010-03-11 18:52:35 +00:00
Tom Hughes
ed0375ec89 Use the small PanZoom control on the user map instead of the
full PanZoomBar control.
2010-03-11 18:29:35 +00:00
Tom Hughes
dcbc807526 Improve user popups on friend/nearby mapper maps. 2010-03-11 18:23:22 +00:00
Tom Hughes
94f19ce3b3 Use a better HTML sanitizer that makes sure the HTML is well formed and
can add rel="nofollow" to links.
2010-03-06 15:38:13 +00:00
Tom Hughes
30ae9fb928 Fix broken </div> tag. 2010-03-06 11:37:38 +00:00
Tom Hughes
74852271c9 Fix the selection of the message to be deleted. 2010-03-06 00:26:32 +00:00
Tom Hughes
318c7a9854 Tidy up the stylesheets, removing lots of ancient, unused junk and
trying to group everything else together in more logical fashion.
2010-03-03 15:46:16 +00:00
Tom Hughes
0813f88bc7 Don't try and show distances to friends if the user has no
home location set. Closes #2766.
2010-03-02 16:42:45 +00:00
Tom Hughes
77a3d8d24e Move image size hint to avoid issues with LTR languages. Closes #2755. 2010-03-01 12:12:02 +00:00
Tom Hughes
5e9ae68fb2 Make friend notification messages include a link to add a reciprocal
friendship if it doesn't already exist. Closes #2754.
2010-03-01 12:08:11 +00:00
Tom Hughes
9d35062ba3 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.
2010-02-28 16:57:22 +00:00
Tom Hughes
4ebc48618e 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.
2010-02-28 16:04:30 +00:00
Tom Hughes
b90567e197 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.
2010-02-28 15:13:06 +00:00
Tom Hughes
938cbcd862 Allow a logged in user to relogin as a different user just by visiting
the login page.
2010-02-28 14:36:07 +00:00
Tom Hughes
198281ffa9 Add user images to lists of diary entries. 2010-02-28 09:01:19 +00:00
Tom Hughes
6758efb10f Add a note to the user image upload suggesting an appropriate size. 2010-02-28 08:55:01 +00:00
Ævar Arnfjörð Bjarmason
92339552d1 use i18n kthx 2010-02-28 05:13:00 +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
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
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
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
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
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
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
b547145865 Ignore exceptions when sending email to confirm changes of email
address. Closes #2744.
2010-02-25 19:09:28 +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
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
Richard Fairhurst
4de68be303 join/unjoin fixes, plus better amf_controller error handling for deleted items 2010-02-11 00:48:15 +00:00