Commit graph

899 commits

Author SHA1 Message Date
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
Tom Hughes
7b190a18f1 Pass a list of visible nodes when generating XML for a way. Closes #553. 2007-10-08 16:54:34 +00:00
Tom Hughes
b084685bba Force C99 mode. 2007-10-08 07:54:54 +00:00
Richard Fairhurst
d626256bc2 Potlatch 0.4 (hopefully) 2007-10-07 20:26:00 +00:00
Tom Hughes
e8dbe46f7e Use a consistent name for the variable holding the relation count. 2007-10-07 14:16:14 +00:00
Tom Hughes
ac8a24e79e Cope with empty areas better. 2007-10-07 12:44:27 +00:00
Tom Hughes
334b76d2a9 Make lighttpd reject 0.4 API requests without talking to rails. 2007-10-07 11:47:24 +00:00
Richard Fairhurst
09ccace450 OS X-compatible makefile supplied by agnat 2007-10-07 11:15:09 +00:00
Gabriel Ebner
3bf13d9c43 Merge rails_port_0.5 2007-10-07 10:51:20 +00:00
Frederik Ramm
27834b0a82 add relations to stats 2007-10-05 01:10:23 +00:00
Gabriel Ebner
5506b2d959 rails_port_0.5: Merge rails_port. 2007-10-04 14:52:09 +00:00
Tom Hughes
05ce43138f Correct instructions for creating the database to ensure that the
default character set is specified correctly.
2007-10-04 10:26:30 +00:00
Gabriel Ebner
ffe8dbaa23 rails_port_0.5: Merge rails_port. 2007-09-30 19:13:57 +00:00
Tom Hughes
c2707d72e0 Fix typo in HTML version of account confirmation message. 2007-09-30 08:50:53 +00:00
Gabriel Ebner
26fb51c86e rails_port_0.5: Merge rails_port. 2007-09-29 17:44:17 +00:00
Tom Hughes
61dd59712e Rescale GPS points correctly when downgrading from v5 to v4. 2007-09-28 23:33:32 +00:00
Tom Hughes
6595f97c53 Make the name of the lon/lng virtual attribute on trace points consistent. 2007-09-28 23:19:19 +00:00
Tom Hughes
e7d834625c Fall back to a pure ruby update implementation if the tile_for_point
function is not present in MySQL.
2007-09-28 23:18:13 +00:00