Commit graph

1043 commits

Author SHA1 Message Date
Kai Krueger
d0e291552e Allow for different formats to the getBugs call
This is a rudimentary initial version of a GPX and a rss
format for looking at bugs in an area.
2010-03-04 22:30:42 +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
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
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
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
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
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
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
846699104d Display the current email address and any pending new email address
separately on the user settings page.
2010-02-09 11:54:40 +00:00
Tom Hughes
592ab2bec8 Add a link from the sidebar to the partners page in the wiki. 2010-02-06 11:33:42 +00:00
Tom Hughes
8cd02f4136 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.
2010-02-04 15:48:40 +00:00
Tom Hughes
1997f1f662 Don't close the sidebar when the visibility of the data layer changes
if the browser isn't active. Closes #2684.
2010-02-03 23:35:55 +00:00
Tom Hughes
62e7006a21 Rework the pagination of the trace list to avoid having to count
the total number of matching records/pages.
2010-01-14 00:35:09 +00:00
Tom Hughes
e53b34b80a Make traces/mine redirect to the user's traces page instead of rendering
it itself. Also make sure the traces page for a user includes the upload
form if the requestor is logged in as that user.
2010-01-10 09:16:18 +00:00
Tom Hughes
e0e849c91c Add a 30 second timeout to all data browser requests to avoid attempts
to browse very large and/or complicated objects blocking other requests.
2010-01-07 16:09:44 +00:00
Tom Hughes
4f23e718b4 Add a "More results" link to Nominatim search results. 2010-01-06 00:30:29 +00:00
Tom Hughes
aa37cecc1d Format block details more nicely. 2010-01-04 13:58:50 +00:00
Shaun McDonald
1df4ad819c Rather than just say public or private for each GPS trace in the list, instead state the new permission levels. Green colour means that it will be shown in the trace list to other users. Red means that other users won't see the trace in the list. Have added two new translations for the other trace permissions. 2009-12-31 00:10:10 +00:00
Tom Hughes
d963aa30b7 Add rel=nofollow to links in tags. Closes #2555. 2009-12-14 09:09:32 +00:00
Tom Hughes
0f5646d7f0 Add ability to take GPX storage offline. 2009-12-12 13:06:56 +00:00
Ævar Arnfjörð Bjarmason
4a711f55f4 Make the changeset navigation use the new fancy «/» arrows
instead of <> to be consistent with the history browser itself
2009-11-21 14:23:03 +00:00
Tom Hughes
d794f665a5 Preserve parameters in pagination links. 2009-11-19 00:20:19 +00:00
Tom Hughes
261a93fbbc Replace the existing pagination of changesets in the browser with a
simple next/previous pagination that avoids the need to count the total
number of matches.
2009-11-18 20:21:54 +00:00
Tom Hughes
57a05a40fc Make diary comment creation work again. 2009-11-15 11:00:54 +00:00
Tom Hughes
634565c5d3 Add support for logical deletion of diary entries and comments. 2009-11-14 15:57:08 +00:00
Tom Hughes
e19c04c7a7 Pass the viewbox to nominatim when possible. 2009-11-10 14:37:46 +00:00
Tom Hughes
7dd06b4f88 Fix a few nominatim issues. 2009-11-10 13:35:58 +00:00
Tom Hughes
8b5847f7e3 Remove "do not reply" banner from message and comment notifications. 2009-11-06 16:08:35 +00:00
Tom Hughes
a5d8839abf Point blog link at the aggregator. 2009-11-02 19:42:33 +00:00