Commit graph

3116 commits

Author SHA1 Message Date
Translatewiki
12e2965342 Localisation updates from translatewiki.net (2010-03-07) 2010-03-06 23:57:17 +00:00
Translatewiki
47cd868404 Localisation updates from translatewiki.net (2010-03-07) 2010-03-06 23:56:16 +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
Grant Slater
4bbd7f5310 Update robots.txt to Disallow browser [node|way|relation] history. Content now worth indexing in most cases. 2010-03-03 11:41:43 +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
07172166da 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...
2010-03-01 00:55:27 +00:00
Translatewiki
32326df602 Localisation updates from translatewiki.net (2010-02-28) 2010-02-28 23:07:43 +00:00
Translatewiki
f9e2447013 Fix typo 2010-02-28 21:08:48 +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
98c471c485 Commit missing resource for user image hint. 2010-02-28 14:23:51 +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
Tom Hughes
6ee7bc57f1 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.
2010-02-28 08:41:10 +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