Richard Fairhurst
112950ca3a
various relations fixes
2008-03-21 19:00:39 +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
d04c6d6ccd
Optimise the Potlatch whichways and getway calls a bit.
2008-02-03 12:56:25 +00:00
Tom Hughes
b8f87e0466
Fix typo.
2008-01-28 08:44:03 +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
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
Tom Hughes
bee38e63a3
Make things work with multipart keys.
2008-01-23 09:53:35 +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
Gabriel Ebner
cfbdd3f7e1
Merge rails_port as of r4613 & fix tests.
2007-09-20 14:37:29 +00:00
Tom Hughes
603d1be4bd
Get the timestamp outside the transactionso everything can see it.
2007-09-01 06:48:59 +00:00
Tom Hughes
b948dd6d52
Fix typo.
2007-09-01 06:39:10 +00:00
Tom Hughes
5fe7a5bbbc
Split the transaction used for ways so that we recover more cleanly
...
without leaving rubbish in the database.
2007-08-31 23:10:33 +00:00
Frederik Ramm
6d07f5661a
changed from nd id=... to nd ref=...
2007-08-31 22:33:27 +00:00
Tom Hughes
e15916ad5b
Let exceptions propagate to the default handler for ways so they are logged.
2007-08-31 18:10:44 +00:00
Frederik Ramm
78b440ffc1
preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue
2007-08-29 22:00:26 +00:00
Tom Hughes
3b751f79b8
Handle segments which do not exist correctly and indicate that the
...
preconditions for the way are not met.
2007-07-27 08:16:12 +00:00
Tom Hughes
4235bdf162
Bring some sort of sanity to sequence numbers for segments in a
...
way - now everything starts counting at one again and nothing starts
at zero.
2007-06-29 23:00:27 +00:00
Tom Hughes
fcc485725d
Make negative caching of users work.
2007-06-27 18:16:04 +00:00
Tom Hughes
71606b34f0
Make sure we get the list of tags and segments to save before we do the
...
corresponding delete, as otherwise we might not have read them from the
database yet.
2007-06-24 11:12:52 +00:00
Tom Hughes
c184b20f9f
Make sure the associations with segments and old ways are properly ordered.
2007-06-23 23:06:48 +00:00
Tom Hughes
c11d961f62
Close a number of holes in the API by making it validate changes
...
more carefully.
2007-06-19 23:20:39 +00:00
Tom Hughes
7ab154a0ae
Return usernames correctly.
2007-06-19 11:23:12 +00:00
Steve Coast
21fd6d3126
updates to api
2007-05-10 19:37:33 +00:00
Steve Coast
6ccf25b347
various fixes
2007-05-09 17:31:11 +00:00
Steve Coast
89e976c6e5
updates from hacking day
2007-05-06 10:08:00 +00:00
Nick Burch
a926189c7f
When calling .tags or .segs on a way, if it's an existing one, use the data from the database
2007-04-22 14:46:25 +00:00
Steve Coast
668f8020cc
simplify grabbing of a xml base doc
2007-04-07 12:43:48 +00:00
Steve Coast
2f55a3f0a8
API returns user info if public
2007-04-07 12:17:11 +00:00
Dan Moore
d07277efba
API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
...
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00
Steve Coast
9189093997
precondition stuff
2006-12-13 16:05:37 +00:00
Steve Coast
e799022131
rails API support for history of node/segment/way + various bugfixes and cleanups
2006-11-30 18:44:40 +00:00
Steve Coast
2803612d9d
various map API rails stuff
2006-11-27 15:06:34 +00:00
Steve Coast
1a6765f1a2
ways now work
2006-11-27 13:05:27 +00:00
Steve Coast
0638eefe22
way stuff, now creates correctly
2006-11-27 12:33:20 +00:00
Steve Coast
8de8ef4f6b
more way bits
2006-11-27 10:38:32 +00:00
Steve Coast
b95e9d2759
more way bits
2006-08-26 21:36:21 +00:00
Steve Coast
222d31e435
way stuff
2006-08-26 20:49:16 +00:00