Commit graph

23 commits

Author SHA1 Message Date
Tom Hughes
e15916ad5b Let exceptions propagate to the default handler for ways so they are logged. 2007-08-31 18:10:44 +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