Commit graph

742 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
962573431e Move in_world? to GeoRecord model and correct comment. 2008-02-03 15:38:44 +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
Tom Hughes
b8f87e0466 Fix typo. 2008-01-28 08:44:03 +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
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
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
63970defb0 only show map to actual user 2008-01-22 12:16:08 +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
b89ea4110d Show comment counts in diary entry lists. 2008-01-18 18:26:19 +00:00
Tom Hughes
70a6ecee19 Get pagination links right. 2008-01-18 18:22:47 +00:00
Tom Hughes
691aab02fc Add pagination to diary entry lists. 2008-01-18 18:20:15 +00:00
Richard Fairhurst
b387800234 maybe this will work 2008-01-18 16:39:10 +00:00
Tom Hughes
bb905aa285 Include a comment link in the diary RSS feed. 2008-01-18 10:43:21 +00:00
Tom Hughes
755b9711b5 Fix diary RSS feed. 2008-01-18 00:57:48 +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
Tom Hughes
2eec60b575 Automatically convert links in diary postings into HTML links. 2008-01-15 18:31:23 +00:00
Tom Hughes
9f909d7447 Add a few more escape calls to prevent nasty HTML being rendered. Also
switch to using sanitize() instead of h() to escape message bodies. This
is not quite as safe as there is no guarantee that the HTML scanner it
uses will find everything, but is does allow benign HTML tags to be
displayed again.
2008-01-15 18:22:08 +00:00
Tom Hughes
1e54573bae Escape message titles and bodies. This is an emergency fix as some genius
has decided to report this XSS problem to a public mailing list. Unfortunately
it means that some functionality (links in messages etc) has been lost for now.
2008-01-15 00:26:01 +00:00
Tom Hughes
bc309badb8 Point people at the wiki when GPX imports fail. 2008-01-10 12:15:34 +00:00
Tom Hughes
a31e61169c Back out attempt to commit partial support for POIs as this is not at
all ready for prime time yet.
2008-01-08 18:23:56 +00:00
Nick Whitelegg
1c7998009f began callback code for feature lookup 2008-01-07 20:44:16 +00:00
Nick Whitelegg
2e03861300 Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database) 2008-01-07 20:25:12 +00:00