Tom Hughes
|
565171486f
|
Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
|
2009-08-13 17:06:11 +00:00 |
|
Tom Hughes
|
2f3e23f6eb
|
Move to version 2.3.2 of rails.
|
2009-06-04 08:08:24 +00:00 |
|
Shaun McDonald
|
d4954bc7b1
|
Raising an exception in Ruby requires a .new. Add a timeout line to the capabilities call.
|
2009-05-21 14:05:09 +00:00 |
|
Tom Hughes
|
b38684e59e
|
Add a global timeout that is applied to most API requests.
|
2009-05-20 22:18:36 +00:00 |
|
Tom Hughes
|
fa13a11a94
|
Optimise retrieval of full relations.
|
2009-05-15 09:10:50 +00:00 |
|
Shaun McDonald
|
a41f1b297b
|
No need to define a constand for the appconfig var. Removes a warning when running under rails 2.2.2
|
2009-05-08 14:20:26 +00:00 |
|
Tom Hughes
|
9acc6d3288
|
Eager load node and way details when processing a map call.
|
2009-04-28 16:26:06 +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
|
a7ea614dd0
|
Finish removing old request counting logic.
|
2009-04-26 23:27:40 +00:00 |
|
Tom Hughes
|
72b05157ae
|
Remove old code to exit after 10000 requests as the memory limit code
should do a better job of controlling things.
|
2009-04-26 23:14:20 +00:00 |
|
Shaun McDonald
|
0b94234a6b
|
adding the maximum number of elements in a changeset to the capabilities call, including test update
|
2009-04-22 11:03:22 +00:00 |
|
Tom Hughes
|
5449cf4adc
|
Merge 14394:14533 from trunk.
|
2009-04-16 21:11:12 +00:00 |
|
Tom Hughes
|
09fdee5493
|
Add a "database readonly" state that allows all writes to the database
to be suppressed.
|
2009-04-14 14:27:30 +00:00 |
|
Matt Amos
|
afcb345014
|
Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year.
|
2009-03-29 01:31:04 +00:00 |
|
Tom Hughes
|
c8ee135104
|
Merge 12304:14009 from trunk.
|
2009-03-08 13:02:37 +00:00 |
|
Tom Hughes
|
07c1cd6b98
|
Update to use libxml 1.0.0 gem.
|
2009-03-08 11:34:46 +00:00 |
|
Andy Allan
|
7058d836f7
|
use boolean flags when using boolean columns
|
2008-11-07 13:24:18 +00:00 |
|
Shaun McDonald
|
e932a69bd7
|
Additional api tests for the changes. Also making sure that you cannot request a change of 0 length, so that you can detect erronious input.
|
2008-11-03 18:05:19 +00:00 |
|
Shaun McDonald
|
635daf1773
|
Adding a restriction to prevent more than 2000 nodes to be added to any way. Tests still need to be written. Capabilities api request also updated.
|
2008-11-03 00:12:18 +00:00 |
|
Shaun McDonald
|
b45dd63283
|
cover the other extreme in the map bounary sanitizeation. Ading some documentation, which is parsed when running rake doc:app. Fixing up a couple of tests.
|
2008-10-26 23:43:37 +00:00 |
|
Shaun McDonald
|
3e9ceb0c38
|
more testing of the api. Changing the generator so that it is a constant to come in line with the server url and the api version. Adding tracepoints per page to the capabilities api call. Better error message for api call.
|
2008-10-19 07:09:04 +00:00 |
|
Shaun McDonald
|
24b21e4a29
|
additional consistency checks. making the error message for the number of nodes use the configured number of nodes, rather than a hard coded number. minor improvements to the way controller functional tests. Not sure if they should be turned into integration tests.
|
2008-10-12 22:32:51 +00:00 |
|
Shaun McDonald
|
d9e070e069
|
Doing a resync from mainline 8633:10895. There was one simple to resolve conflict on app/models/node.rb. Also moving the migrations for API0.6 to new sequence numbers since there was some new migrations added to mainline, where the migration numbers would conflict if not moved.
|
2008-09-25 15:06:05 +00:00 |
|
Tom Hughes
|
d6e047d7d4
|
Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.
|
2008-07-16 23:42:59 +00:00 |
|
Tom Hughes
|
6644f115c9
|
Add bounds to map responses. Closes #1011.
|
2008-07-08 09:52:08 +00:00 |
|
Shaun McDonald
|
5f8ab9e924
|
Merge changes from trunk 7673:8632.
|
2008-07-03 13:06:24 +00:00 |
|
Tom Hughes
|
def60c1935
|
Railsify relation selection (aka ripping out the f***in SQL).
|
2008-06-24 23:42:39 +00:00 |
|
Christopher Schmidt
|
6aa9ec599f
|
Make capabilities report the current version for from/to version
identifier
|
2008-05-11 21:23:38 +00:00 |
|
Christopher Schmidt
|
412472212b
|
change 'no nodes' response to use API_VERSION in output
|
2008-05-11 21:21:30 +00:00 |
|
Tom Hughes
|
cb3992f5a1
|
Mark map responses as attachments.
|
2008-04-19 13:35:02 +00:00 |
|
Tom Hughes
|
ddb003f0f2
|
Headers is an array not a function...
|
2008-04-19 13:29:10 +00:00 |
|
Tom Hughes
|
d13ef1db02
|
More work on export tab.
|
2008-04-14 23:46:10 +00:00 |
|
Richard Fairhurst
|
ae142c554b
|
Potlatch 0.8 - be afraid, be very, very afraid
|
2008-03-19 01:03:51 +00:00 |
|
Tom Hughes
|
d0d396f9b6
|
Fix indentation.
|
2008-02-03 15:38:53 +00:00 |
|
Xin Zheng
|
2e2956d126
|
patched controller section of #648
|
2008-01-25 16:32:24 +00:00 |
|
Xin Zheng
|
6de965520b
|
added application.yml, refactored map method
|
2008-01-23 16:43:30 +00:00 |
|
Tom Hughes
|
bee38e63a3
|
Make things work with multipart keys.
|
2008-01-23 09:53:35 +00:00 |
|
Tom Hughes
|
d29a319ab0
|
Add an API call to find the map tiles which have changed in a given period.
|
2007-10-09 23:41:26 +00:00 |
|
Tom Hughes
|
ac8a24e79e
|
Cope with empty areas better.
|
2007-10-07 12:44:27 +00:00 |
|
Gabriel Ebner
|
e03ea17a22
|
rails_port_0.5: Merge rails_port r4643
|
2007-09-22 19:55:33 +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 |
|
Gabriel Ebner
|
cfbdd3f7e1
|
Merge rails_port as of r4613 & fix tests.
|
2007-09-20 14:37:29 +00:00 |
|
Tom Hughes
|
c3f0e12491
|
Dropping duplicate GPS points is very expensive and rarely finds
anything much to drop, so don't bother.
|
2007-09-12 13:49:58 +00:00 |
|
Tom Hughes
|
0423884184
|
Use QuadTiling in GPS point queries.
|
2007-09-12 12:14:45 +00:00 |
|
Tom Hughes
|
a287d24f12
|
Use BETWEEN for the node selection in the map API call as MySQL seems to
process it more efficiently.
|
2007-09-05 17:20:09 +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
|
dc3edbe7c1
|
Add a capabilities API call. Fixes #410.
|
2007-08-21 23:27:42 +00:00 |
|
Tom Hughes
|
e70d94c54a
|
Don't create sessions for API calls.
|
2007-08-14 13:59:07 +00:00 |
|
Tom Hughes
|
7f92d533d0
|
Give up after reporting that the query found too many nodes.
|
2007-07-30 21:09:58 +00:00 |
|