Commit graph

518 commits

Author SHA1 Message Date
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
d04c6d6ccd Optimise the Potlatch whichways and getway calls a bit. 2008-02-03 12:56:25 +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
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
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
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
Xin Zheng
6de965520b added application.yml, refactored map method 2008-01-23 16:43:30 +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
Tom Hughes
bee38e63a3 Make things work with multipart keys. 2008-01-23 09:53:35 +00:00
Richard Fairhurst
bdf1b8823a few bits of tidying 2008-01-23 01:49:22 +00:00
Tom Hughes
c57bc002ac Send UK postcode searches to the namefinder as well as npemaps. 2008-01-23 00:49:21 +00:00
Xin Zheng
70c005313c removed require ruby-debug line 2008-01-22 16:56:13 +00:00
Xin Zheng
613325a0d0 added rspec folder/files 2008-01-22 16:55:14 +00:00
Steve Coast
1c6ac719e6 replace whichways with rails-friendly code 2008-01-22 16:44:17 +00:00
Steve Coast
ddd5b4cf19 make amf_controller use rails objects, and stuff, in the getway method. You need to install the multipart keys plugin now, see the README. 2008-01-22 15:00:54 +00:00
Steve Coast
90e72f05de retab amf controller, it was getting annoying 2008-01-22 12:10:17 +00:00
Richard Fairhurst
98ab46c046 document amf_controller types for SteveC 2008-01-22 00:54:37 +00:00
Steve Coast
dbf4e32671 add last-modified header to relation read 2008-01-21 17:42:57 +00:00
Steve Coast
3e355d7dc0 emit last-modified headers on nodes and ways 2008-01-21 17:41:57 +00:00
Steve Coast
7dbc27fd67 Show nearby users map in account view page 2008-01-21 17:15:33 +00:00
Richard Fairhurst
c38c7df6c1 comments 2008-01-21 16:07:39 +00:00
Tom Hughes
691aab02fc Add pagination to diary entry lists. 2008-01-18 18:20:15 +00:00
Tom Hughes
8181cb4bf7 Add support for commenting on, and replying to, diary entries. 2008-01-17 23:12:25 +00:00
Richard Fairhurst
3eecc3ee5b 0.6c: bunch of minor improvements and bugfixes 2008-01-17 22:28:21 +00:00
Tom Hughes
459e16861a Set MIME type correctly for diary RSS feeds. 2008-01-16 10:28:57 +00:00
Tom Hughes
c3bd1f113b Tidy up message sensitisation a bit more, and add sensitisation of
information in the diary RSS feeds.
2008-01-16 10:02:42 +00:00
Tom Hughes
b416597507 Make the message reply link prefill the title with "Re: original title".
Closes #634.
2008-01-15 19:05:17 +00:00
Richard Fairhurst
7acbc0c7c6 autocomplete (not compiled for now) and start of tile support 2007-12-23 12:59:59 +00:00
Tom Hughes
90fa3e650b Ban (for now at least) searching of nodes, and searching for a key
without giving a value as both of these will lock the server up for
a long time.
2007-12-22 11:55:15 +00:00
Tom Hughes
d6f6e4c7c1 Third time lucky - what it really wants is a hash of node IDs... 2007-12-20 10:33:25 +00:00
Tom Hughes
24ac6b49f7 The to_xml_node method for a way wants a list of node IDs, not a list
of nodes...
2007-12-20 10:23:46 +00:00
Tom Hughes
028f94fcca Pass the node list to to_xml_node when outputting a way so that it
lists the nodes in the way properly.
2007-12-20 10:21:22 +00:00
Tom Hughes
5400a938a8 Optimise tag searching of ways and relations a bit more... 2007-12-20 10:15:45 +00:00
Tom Hughes
a617159352 Optimise search queries for ways and relations to stand some chance
of being efficient.
2007-12-20 09:50:08 +00:00
Richard Fairhurst
3461b7a699 attempt fix for anon users 2007-12-12 20:17:12 +00:00
Richard Fairhurst
df3db35c96 enable revert 2007-12-09 15:20:47 +00:00
Tom Hughes
0c549650eb Change postcode searches to use z15 instead of z12. 2007-12-07 00:12:49 +00:00
Richard Fairhurst
ede76d8dc5 DROP TEMPORARY TABLE so Tom can turn the privs down 2007-12-03 17:15:07 +00:00
Richard Fairhurst
0ab2db3979 move preset tags and colours into config files 2007-12-01 10:32:35 +00:00
Richard Fairhurst
5fd514fee3 further refinement to revert 2007-11-30 20:52:38 +00:00
Richard Fairhurst
e0c9a8c6d5 slight revert changes 2007-11-30 18:40:57 +00:00
Richard Fairhurst
58e50383f9 bugfix for non-intersecting intersections (trac #592) 2007-11-26 14:29:31 +00:00
Tom Hughes
f09b16cade When asked for ways which use a node, or relations which use some given
object, return 200 OK with an empty document if not matches are found
rather than 400 Bad Request (for ways) or 404 Not Found (for relations).
2007-11-24 14:47:50 +00:00
Tom Hughes
300c3b4ed4 Work round ruby's horribly broken URI.escape that deliberately doesn't
escape most characters which have special meaning in URIs...
2007-11-24 14:36:21 +00:00