Commit graph

5883 commits

Author SHA1 Message Date
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
Tom Hughes
425b3654d7 Mark mails as auto submitted. Closes #627. 2008-01-06 13:21:50 +00:00
Tom Hughes
01f525c924 Fix typo. Closes #628. 2008-01-06 13:14:44 +00:00
Tom Hughes
7fc2dbecd5 Migrate web site to use rails 2.0.1. 2008-01-06 12:17:58 +00:00
Tom Hughes
26f28764dc Update the links when the active layers change.
Closes #622.
2008-01-02 09:54:19 +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