Commit graph

637 commits

Author SHA1 Message Date
Richard Fairhurst
4a5fb3b46e restore Steve's deleteway stuff 2008-03-19 10:39:50 +00:00
Richard Fairhurst
ae142c554b Potlatch 0.8 - be afraid, be very, very afraid 2008-03-19 01:03:51 +00:00
Frederik Ramm
d0aa199e92 - add old_relation_controller and stuff so that relation history works. fixes #557.
- minor testing fixes.
2008-03-16 23:16:18 +00:00
Tom Hughes
6c15eb7251 Disable the NameFinder and fix cut'n'paste error. 2008-02-26 21:50:53 +00:00
Tom Hughes
1c6a83f0e8 Fix stupid breakage. Closes #708. 2008-02-24 13:43:42 +00:00
Steve Coast
d1f2b4ece9 remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme. 2008-02-23 16:05:45 +00:00
Tom Hughes
5a6f4c5690 Use named constants for HTTP response codes. 2008-02-23 15:35:49 +00:00
Tom Hughes
071b0be241 Use named constants for HTTP response codes. 2008-02-23 15:35:14 +00:00
Steve Coast
cacf1879c3 user images 2008-02-23 15:18:59 +00:00
Steve Coast
2e44f9ccf3 User prference system basically done 2008-02-23 13:37:36 +00:00
Steve Coast
e13337354d preference stuff 2008-02-23 11:12:42 +00:00
Richard Fairhurst
588a65c2b2 Reject 0/1-length ways. 2008-02-19 18:06:26 +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
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
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
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