Tom Hughes
3880ac5de8
Replace :nothing => true
with :text => ""
...
Using `:nothing => true` confusingly actually causes a single space
to be sent as the content by rails.
2013-07-19 11:14:55 +01:00
Tom Hughes
bc07bf484b
Make search work again
2011-11-27 17:40:23 +00:00
Tom Hughes
071c3581e9
Disable CSRF token verification for API methods
2011-11-14 09:42:55 +00:00
Tom Hughes
8ae5d94b2f
Update some more queries to use AREL in place of deprecated methods
2011-11-14 09:42:51 +00:00
Tom Hughes
fa13a11a94
Optimise retrieval of full relations.
2009-05-15 09:10:50 +00:00
Tom Hughes
bf31791f65
Add a changeset cache to stop us looking up the same changeset over
...
and over again when processing a map call.
2009-04-28 13:40:30 +00:00
Tom Hughes
9e337e1ab8
Fixed search controller to have some chance of working.
2009-04-21 23:35:19 +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
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
Tom Hughes
5400a938a8
Optimise tag searching of ways and relations a bit more...
2007-12-20 10:15:45 +00:00
Tom Hughes
a617159352
Optimise search queries for ways and relations to stand some chance
...
of being efficient.
2007-12-20 09:50:08 +00:00
Frederik Ramm
8c2a873aa0
bugfix searching relations
2007-09-26 15:53:09 +00:00
Frederik Ramm
b68fa8ef98
support searching relations
2007-09-26 15:06:50 +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
bd07221de5
Make the search calls a bit more efficient and add some limits on the
...
number of result objects we are prepared to return.
2007-07-26 14:30:54 +00:00
Tom Hughes
67224fe828
More search fixes...
2007-06-27 17:48:05 +00:00
Tom Hughes
cd72ee9a66
Fix way search.
2007-06-27 17:45:00 +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
Tom Hughes
be95e9c9db
Create XML documents properly.
2007-06-26 17:43:24 +00:00
Steve Coast
c91b86a1d1
change mime type and reformat search controller
2007-04-18 11:25:59 +00:00
Nick Burch
182dd045f7
Initial support for searching
2007-04-08 18:13:20 +00:00