Commit graph

215 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
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
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
Richard Fairhurst
bdf1b8823a few bits of tidying 2008-01-23 01:49:22 +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
Richard Fairhurst
c38c7df6c1 comments 2008-01-21 16:07:39 +00:00
Richard Fairhurst
3eecc3ee5b 0.6c: bunch of minor improvements and bugfixes 2008-01-17 22:28:21 +00:00
Richard Fairhurst
7acbc0c7c6 autocomplete (not compiled for now) and start of tile support 2007-12-23 12:59:59 +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
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
9ec8ef0220 Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.
2007-11-21 13:30:55 +00:00
Richard Fairhurst
19965b2a5d waterway=stream,natural=peak 2007-11-13 15:49:22 +00:00
Richard Fairhurst
849397a336 0.5a: further revisions to merged ways, API->SWF error handling 2007-11-13 09:26:04 +00:00
Richard Fairhurst
d9d625f651 0.5: NUNS! REVERT!!! 2007-11-10 22:01:23 +00:00
Richard Fairhurst
4b1a3dff29 Potlatch 0.4c: bugfixes, history in progress 2007-11-02 09:28:00 +00:00
Richard Fairhurst
d626256bc2 Potlatch 0.4 (hopefully) 2007-10-07 20:26:00 +00:00
Tom Hughes
ba6b3f355a Use tile based query when creating a way from unwayed segments. 2007-09-21 16:25:18 +00:00
Tom Hughes
df31fe13a5 Use quadtiling for the node tables. 2007-09-21 13:43:43 +00:00
Tom Hughes
9c01c4cb63 Allow the API to be taken offline completely as well as being put into
readonly mode,
2007-09-20 23:51:11 +00:00
Richard Fairhurst
e1744de4d4 typo 2007-09-02 13:55:51 +00:00
Richard Fairhurst
393c2cdff2 fix dragging, add some new pois (already!) 2007-09-02 13:42:47 +00:00
Richard Fairhurst
9ff9996667 Potlatch v0.2 with POI editing 2007-09-02 13:09:10 +00:00
Tom Hughes
18453600aa Split the createuniquenodes query in two as MySQL was choosing a very
bad execution plan for it with the OR condition.
2007-08-31 11:14:40 +00:00
Tom Hughes
0a8c26e596 Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.
2007-08-14 23:07:38 +00:00
Tom Hughes
e70d94c54a Don't create sessions for API calls. 2007-08-14 13:59:07 +00:00
Richard Fairhurst
57aeccccc8 various bugfixes, new natural presets 2007-08-03 12:09:24 +00:00
Tom Hughes
9dbe1a497a Add a flag to allow the API to be placed in read-only mode. 2007-07-26 17:15:23 +00:00
Richard Fairhurst
b598ce68ef ways from unwayed segments now automatically fix segment direction 2007-07-22 22:52:46 +00:00
Tom Hughes
db0e3b8cda Don't include deleted segments when converting unwayed segments to ways. 2007-07-22 11:33:01 +00:00
Tom Hughes
28a706849f Log calls to the makeway method. 2007-07-22 11:30:43 +00:00
Richard Fairhurst
30ac98deef experimental 'make ways out of unwayed segments' feature 2007-07-21 21:07:40 +00:00
Richard Fairhurst
fa1397e988 strip out any control characters before writing to the db 2007-07-13 09:46:39 +00:00
Richard Fairhurst
84b67e00a0 fix problematic merge 2007-07-07 13:26:17 +00:00
Tom Hughes
dcad29dad0 Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Richard Fairhurst
9d6ae5baae use render proc to write out results, see if that makes things faster 2007-06-27 10:18:55 +00:00
Tom Hughes
1845b54f66 Fix breakage. 2007-06-27 07:54:09 +00:00
Tom Hughes
a424b6282f Add more logging... 2007-06-27 07:52:58 +00:00
Tom Hughes
d77fb110fb Enhance logging. 2007-06-26 22:54:21 +00:00
Tom Hughes
2c5ffbaaaf Fix typo. 2007-06-26 15:42:52 +00:00
Tom Hughes
b03a3f8889 Add some logging. 2007-06-26 15:42:05 +00:00
Richard Fairhurst
7ac774b00e fixing version problem for way_tags 2007-06-26 12:42:28 +00:00