Commit graph

3733 commits

Author SHA1 Message Date
Translatewiki
1f9183aa8d Localisation updates from translatewiki.net (2010-03-13) 2010-03-12 23:54:23 +00:00
Translatewiki
2e8ac3ff18 Localisation updates from translatewiki.net (2010-03-13) 2010-03-12 23:53:51 +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
910937ae4b Use CSS to style the disabled tabs. 2010-03-11 08:58:48 +00:00
Kai Krueger
c22958faed Record time of closure of a bug. 2010-03-10 08:42:07 +00:00
Kai Krueger
ef9f53f861 Escape javascript in output 2010-03-10 08:38:53 +00:00
Richard Fairhurst
8434fb53b7 couple of little fixes 2010-03-07 23:09:26 +00:00
Richard Fairhurst
b8301cda40 yay for case-insensitive systems 2010-03-07 21:44:37 +00:00
Kai Krueger
dde9038539 Change comment type from varchar(255) to text
Some bug comments in the current OSB have more than 255 characters,
so the format needs to be extended to accomodate
2010-03-07 19:09:32 +00:00
Kai Krueger
09895069c5 support json format in getBugs, add a limit and name parameter 2010-03-07 18:41:01 +00:00
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
Kai Krueger
be4c4d186b Fixed small bug where clicking on the "Report a Problem" link would directly create a bug-report 2010-03-06 09:44:54 +00:00
Tom Hughes
74852271c9 Fix the selection of the message to be deleted. 2010-03-06 00:26:32 +00:00
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
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
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
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
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
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
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