Commit graph

8666 commits

Author SHA1 Message Date
Tom Hughes
2cbcabb3f6 HTML escape substituted parameter values to avoid injection attacks. 2007-11-23 00:49:55 +00:00
Tom Hughes
7b172efeb6 Don't indicate if a message has been read in the outbox view. 2007-11-21 23:54:14 +00:00
Mikel Maron
d736a158be message outbox 2007-11-21 18:24:29 +00:00
Richard Fairhurst
cdfc163e5f 0.5c: some refinements to casing 2007-11-21 14:01:31 +00:00
Tom Hughes
9ec8ef0220 Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.
2007-11-21 13:30:55 +00:00
Tom Hughes
39e77df344 Add keyboard shortcuts to the slippy map. 2007-11-21 09:51:55 +00:00
Richard Fairhurst
a8333a38a2 Require data to be public before editing 2007-11-20 10:08:58 +00:00
Richard Fairhurst
6785ce5231 purge area layer when purging ways 2007-11-19 14:00:18 +00:00
Richard Fairhurst
3080dd3580 0.5b: look more pretty! 2007-11-19 13:29:35 +00:00
Richard Fairhurst
19965b2a5d waterway=stream,natural=peak 2007-11-13 15:49:22 +00:00
Richard Fairhurst
849397a336 0.5a: further revisions to merged ways, API->SWF error handling 2007-11-13 09:26:04 +00:00
Richard Fairhurst
7bdfa0afc9 fix branching way problem 2007-11-11 13:08:59 +00:00
Richard Fairhurst
d9d625f651 0.5: NUNS! REVERT!!! 2007-11-10 22:01:23 +00:00
Tom Hughes
bcf2fe5129 Spread T@H over three host names. 2007-11-09 15:29:30 +00:00
Tom Hughes
0c90905495 Add a stylesheet targeted at print media to get nice printouts. 2007-11-07 22:26:10 +00:00
Tom Hughes
5ac70d8946 Use the tah.opstreetmap.org domain name for the T@H layer. 2007-11-07 08:25:11 +00:00
Richard Fairhurst
4b1a3dff29 Potlatch 0.4c: bugfixes, history in progress 2007-11-02 09:28:00 +00:00
Tom Hughes
e4df9a8219 Allow objects to be resurrected. 2007-10-31 15:52:36 +00:00
Tom Hughes
8d2f6da628 Rework image generation to work in a fixed amount of memory. Closes #580. 2007-10-31 13:46:36 +00:00
Tom Hughes
714fc42d8e Don't include any page numbers in links in the tag list. 2007-10-31 00:35:27 +00:00
Tom Hughes
3aa8ffbcb8 Tidy up mail notifiers and make them more rails style rather then
relying on ActionMailer implementation details.
2007-10-30 00:48:45 +00:00
Tom Hughes
c3424e9cfb Add warnings not to reply to message notifications directly. 2007-10-30 00:47:45 +00:00
Richard Fairhurst
e91a429c52 persistent preferences! 2007-10-28 20:35:19 +00:00
Richard Fairhurst
9a25042091 update view/edit tab links 2007-10-28 17:47:43 +00:00
Tom Hughes
877724813c Fix tab breakage and make key update as zoom level changes. 2007-10-28 16:46:10 +00:00
Richard Fairhurst
d469b91e7e Potlatch 0.4b: put POIs in ways; small SWF improvement; correct created_by for ways 2007-10-28 16:07:23 +00:00
Richard Fairhurst
a39ed81cd2 keys change depending on zoom level; force 210px sidebar width for keys 2007-10-28 15:22:15 +00:00
Richard Fairhurst
78e6578daa Preparation for anon edit change 2007-10-27 21:47:59 +00:00
Frederik Ramm
8a69ef115a way history needs to reference nodes with ref=... not id=... 2007-10-26 18:14:48 +00:00
Richard Fairhurst
bb45418e49 fix the POI bugfix (sigh) 2007-10-25 07:33:39 +00:00
Tom Hughes
d858edd4e3 Stylesheet changes for permalink from crschmidt.
Part of fix for case #566.
2007-10-23 09:21:11 +00:00
Tom Hughes
e373c63837 Round latitude and longitude values in links to a sensible number of
decimal places for the zoom level whilst still preserving accuracy
sufficient to position the map within a few pixels.

The relationship between zoom level, decimal places, and the accuracy
with which the map can then be positioned in pixels is as follows:

  Zoom  Decimals  Accuracy (pixels)

   1       0            1.42
   2       0            2.84
   3       1            0.57
   4       1            1.14
   5       1            2.28
   6       2            0.46
   7       2            0.91
   8       2            1.82
   9       3            0.36
   10      3            0.73
   11      3            1.46
   12      4            0.29
   13      4            0.58
   14      4            1.17
   15      5            0.23
   16      5            0.47
   17      5            0.93
   18      6            0.19

So the worse case is at zoom 2 where accuracy is still within 3 pixels.

Based on a patch by rjmunro.
2007-10-23 09:19:29 +00:00
Tom Hughes
f2be4b9449 Patch from crschmidt to add an obvious permalink to the bottom right
corner of the slippy map. Tested on FF2, IE7, Opera and Safari.

Closes #566.
2007-10-23 08:45:23 +00:00
Steve Chilton
3ee2d2d3b7 revised keymapnik11/12, new versions of keymapnik6-10 2007-10-21 19:03:32 +00:00
Tom Hughes
0fd29dc003 Render an empty text string instead of nothing (which actually generate a
single space character) for 410 and 412 responses as there is a bug in
lighttpd (http://trac.lighttpd.net/trac/ticket/1055) that prevents it
passing on the response body for these codes, leading to the client blocking
waiting for the data until it times out. Closes #537.
2007-10-17 23:22:51 +00:00
Tom Hughes
f82f362cea Fix geolocation to actually work... 2007-10-12 16:34:38 +00:00
Tom Hughes
b74477a57c Don't try and print the distance to a friend that has not set a
home location. Closes #560.
2007-10-12 13:03:08 +00:00
Dan Karran
eeeb13e4e4 Actually showing the closest neighbours instead of a fixed number of people within the search radius 2007-10-11 18:47:30 +00:00
Tom Hughes
dd33fc633c Factor out common code for models which deal with geographic points
into a base class.
2007-10-10 23:00:25 +00:00
Dan Karran
60d8673e30 Reduce number of nearby people listed to the closest 5 by default, and show friends ahead of nearby people. 2007-10-10 19:22:16 +00:00
Tom Hughes
63bd068f2e Get URL selection right... 2007-10-10 15:00:13 +00:00
Tom Hughes
c941bc197c Give OpenLayers three different hosts (all really pointing at tile) to
get mapnik tiles from so it loads tiles more quickly.
2007-10-10 14:45:44 +00:00
Tom Hughes
d29a319ab0 Add an API call to find the map tiles which have changed in a given period. 2007-10-09 23:41:26 +00:00
Tom Hughes
a485b23738 Update OpenLayers to the 2.5 release. 2007-10-09 23:08:14 +00:00
Tom Hughes
250466e58e Add a maptile_for_point() function for MySQL to work out which slippy
map tile a given point lies in.
2007-10-09 22:59:32 +00:00
Richard Fairhurst
e0fd80c428 Potlatch 0.4a, fix duplicate POI bug 2007-10-09 09:15:50 +00:00
Tom Hughes
1fc9f4538a Reinstate the deadlock_retry plugin. 2007-10-09 07:37:16 +00:00
Tom Hughes
516aef5d07 Split out sidebar code from the search code so it can be reused for the
map key more cleanly.
2007-10-08 23:32:58 +00:00
Dan Karran
d320673cc7 Improving friend capabilities so you can now add and remove friends as you wish. Friends will be notified when you add them. You can view a list of friends on your profile page (which has been reorganised a little). 2007-10-08 22:21:15 +00:00
Richard Fairhurst
822e48850d experimental pop-out map key 2007-10-08 22:10:26 +00:00