Commit graph

827 commits

Author SHA1 Message Date
Richard Fairhurst
588a65c2b2 Reject 0/1-length ways. 2008-02-19 18:06:26 +00:00
Richard Fairhurst
c3c16bf591 stop accidental cities :) 2008-02-15 13:03:14 +00:00
Richard Fairhurst
eae83b5929 Potlatch 0.7b: small bugfixes 2008-02-15 12:52:54 +00:00
Tom Hughes
253c10393d Use PanZoomBar instead of PanZoom. 2008-02-14 18:51:52 +00:00
Richard Fairhurst
e40d49ca73 Add cycle map 2008-02-12 11:23:11 +00:00
Richard Fairhurst
92dac0954d remove tile debug code 2008-02-11 22:38:20 +00:00
Richard Fairhurst
bdb169f7f6 0.7a 2008-02-11 22:29:59 +00:00
Richard Fairhurst
c5193fadf0 add school to presets 2008-02-10 17:33:15 +00:00
Tom Hughes
4f33014464 Use FileUtils.mv instead of File.rename as it will do a copy+delete when
the source and target are not on the same filesystem. Closes #670.
2008-02-07 23:53:20 +00:00
Richard Fairhurst
dd396a773e unbreak undelete 2008-02-06 22:43:14 +00:00
Richard Fairhurst
b75768ba81 small padlock fix, disable right-click menu 2008-02-06 21:30:09 +00:00
Tom Hughes
0f11fd9995 Use a lower zoom level for partial postcode matches. 2008-02-05 19:14:33 +00:00
Tom Hughes
5fbc8ad3f4 Send email notifications when people comment on diary entries. Closes #655. 2008-02-04 00:15:28 +00:00
Tom Hughes
fae8295ec2 Disable keyboard control of the map as it causes problems by catching
keypresses in other parts of the page. Closes #659.
2008-02-03 23:57:37 +00:00
Richard Fairhurst
a35aeec56b some Yahoo improvements, still more to do... 2008-02-03 19:23:29 +00:00
Tom Hughes
276f165f3f Explain why we don't include the nodes in the way load. 2008-02-03 16:31:50 +00:00
Tom Hughes
02f768533d Don't preload nodes as it seem to break ways with duplicate nodes. 2008-02-03 16:28:02 +00:00
Richard Fairhurst
88f469eec1 fix for resizable Potlatch 2008-02-03 16:11:24 +00:00
Tom Hughes
9ff462e96c Remove pointless return statement. 2008-02-03 15:55:19 +00:00
Tom Hughes
d0d396f9b6 Fix indentation. 2008-02-03 15:38:53 +00:00
Tom Hughes
962573431e Move in_world? to GeoRecord model and correct comment. 2008-02-03 15:38:44 +00:00
Tom Hughes
8516ad87b3 Add missing sanitise_boundaries method that the API controller was
trying to call.
2008-02-03 15:38:02 +00:00
Tom Hughes
d04c6d6ccd Optimise the Potlatch whichways and getway calls a bit. 2008-02-03 12:56:25 +00:00
Tom Hughes
bf41ed31d8 The OSM layers use the 900913 projection, not 41001. 2008-02-01 19:54:20 +00:00
Richard Fairhurst
da76d64e93 Potlatch 0.7 2008-02-01 17:19:11 +00:00
Tom Hughes
59e2349b5a Make ways_for_node work with the multipart primary key stuff. 2008-01-28 08:54:45 +00:00
Tom Hughes
b8f87e0466 Fix typo. 2008-01-28 08:44:03 +00:00
Nick Black
051e44c63a fixed bug in add version rake task 2008-01-25 17:02:43 +00:00
Xin Zheng
2e2956d126 patched controller section of #648 2008-01-25 16:32:24 +00:00
Steve Coast
a855d20ba4 Most of a method to delete a way and all its nodes - but I'm waiting on splitting node tags out to their own table before finishing it. 2008-01-25 15:24:04 +00:00
Steve Coast
bbd769304c dont eager load tags (false primary key fucks all sorts of things up) and move delete way logic to model so that amf_controller can use it (plan is to do this with all of the methods. sigh.) 2008-01-25 14:32:45 +00:00
Nick Black
2ce8177333 fixed null value bug in rake task 2008-01-25 14:26:39 +00:00
Xin Zheng
e7087af6bc minor changes 2008-01-25 13:57:42 +00:00
Xin Zheng
6b23aa550e added experimental xml template which is not yet used due to performance issues 2008-01-24 18:21:59 +00:00
Steve Coast
63e0486ca1 Lots of documentation updates, plus split out potlatch libraries in to lib 2008-01-24 16:03:56 +00:00
Steve Coast
9328e84ba1 Some node documentation 2008-01-24 13:04:04 +00:00
Steve Coast
db33aa6ff6 begin rdoc documentation 2008-01-24 12:53:21 +00:00
Nick Black
5692b8f341 commented out migration which deletes the ways column nodes 2008-01-24 11:24:32 +00:00
Nick Black
1613799be4 fixes syntax error 2008-01-24 11:09:06 +00:00
Xin Zheng
a59b23a18d added module 2008-01-24 11:07:46 +00:00
Steve Coast
3bd92c1670 move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key 2008-01-24 10:52:10 +00:00
Tom Hughes
602b7b6d3f - Add missing null constraints.
- Drop pointless index on current_node_tags and order primary key correctly.
- Make version column of node history table auto increment.
2008-01-23 19:25:37 +00:00
Nick Black
6f6e827702 added task to add version numbers to nodes table 2008-01-23 18:39:29 +00:00
Nick Black
de93fe7707 created a temporary old nodes table to add version 2008-01-23 17:47:14 +00:00
Nick Black
84f3271091 removed unneeded migrations 015 and 014 2008-01-23 17:36:01 +00:00
Nick Black
4edd6d6fe9 migration 013 removes tags from nodes and old nodes tables/ 014 does not do anything atm 2008-01-23 17:31:51 +00:00
Nick Black
8d2a4ee67a added migration to add a primary key on nodes id and version - should be run after rake db:node_version 2008-01-23 17:10:16 +00:00
Xin Zheng
6de965520b added application.yml, refactored map method 2008-01-23 16:43:30 +00:00
Tom Hughes
ea132b001d Rename initialiser to fix typo. 2008-01-23 14:07:14 +00:00
Tom Hughes
07e8449625 Allow a GPX to be fetched in XML format by fetching data.xml instead
of data (the data method returns it in the format it is stored in).

Closes #534.
2008-01-23 13:40:47 +00:00