Commit graph

2076 commits

Author SHA1 Message Date
Tom Hughes
ab7ac69e68 Force selection to fail when no traces match the tag. 2009-04-21 21:54:44 +00:00
Tom Hughes
2201a7ff32 Don't generate an IN condition with an empty list. 2009-04-21 21:51:02 +00:00
Tom Hughes
e192c77986 Use correct names for member types. 2009-04-21 21:37:27 +00:00
Thomas Wood
fddf6fb529 Fix bbox display again, how do we keep mixing our lons and lats? 2009-04-21 21:30:37 +00:00
Matt Amos
0b76693672 Adding more tests for updating relation tags. 2009-04-21 20:33:16 +00:00
Matt Amos
d5d9b1a374 Extra test for updating relation tags. 2009-04-21 19:53:14 +00:00
Matt Amos
6488ebe12f More test fixes after fixture changes. 2009-04-21 19:51:43 +00:00
Matt Amos
0f111e7e2a Fixed formatting and stuff in fixtures. 2009-04-21 18:37:24 +00:00
Thomas Wood
d8aacff595 Slight performance improvement (a reported 2s) by skipping db query if no bbox is passed in on /history
Thanks apmon for the report.
2009-04-21 18:04:43 +00:00
Shaun McDonald
b27e534b2e Add new fixtures for testing multiple tags on a relation. 2009-04-21 17:54:59 +00:00
Thomas Wood
ce48349138 Pedantic change to descriptive text - "Recently closed" to "Recently edited" 2009-04-21 17:35:54 +00:00
Tom Hughes
ddba8eeff7 Add an expiry header to trace images. 2009-04-21 17:10:35 +00:00
Shaun McDonald
0ad724bd92 Hopefully fix the old_node_controller tests. 2009-04-21 17:07:14 +00:00
Tom Hughes
ac126bced1 Add a geocoder backend. 2009-04-21 15:08:36 +00:00
Tom Hughes
ff9f596cea Arrays have a length method, not a count method. 2009-04-21 11:36:41 +00:00
Richard Fairhurst
5e10a7d48b Make error messages more helpful 2009-04-21 11:27:03 +00:00
Richard Fairhurst
f423c13ad4 Split out subscript to see which one is erroring 2009-04-21 10:14:28 +00:00
Tom Hughes
e66af2f0c3 Connect up the versioned capabilities call again. 2009-04-21 09:32:19 +00:00
Richard Fairhurst
a67047e7e6 Fix MySQL dependency 2009-04-21 09:24:07 +00:00
Tom Hughes
1f2ed3372f Add missing image. 2009-04-21 08:51:23 +00:00
Tom Hughes
3ed0c9db20 Remove reference to non-existent images. 2009-04-21 08:08:02 +00:00
Tom Hughes
fb7f01b13c Switch database config to postgresql. 2009-04-21 07:56:52 +00:00
Tom Hughes
2483dcc4bb Update lighttpd config for 0.6 api. 2009-04-21 07:54:00 +00:00
Tom Hughes
94a807d0d0 Remove explicit load of mysql and rails automatically loads the
right database driver already.
2009-04-21 07:52:47 +00:00
Tom Hughes
832e7a6729 Improve comments. 2009-04-21 07:51:26 +00:00
Grant Slater
1f399ffd85 nginx fix expiry to actually work on images/javascripts/etc 2009-04-21 02:42:29 +00:00
Tom Hughes
d2c83d07d8 Pull in block rules from the lighttpd config. 2009-04-20 21:14:39 +00:00
Thomas Wood
023e95f1bc Ensure :not_found status is returned, catching RecordNotFound doesn't work as isnt raised when finding :first. 2009-04-20 20:58:42 +00:00
Tom Hughes
73a0953627 Give munin access to some statistics. 2009-04-20 20:14:05 +00:00
Thomas Wood
df8cd4a7b2 Expose relation version to api and fix remaining server status typo in old_relation controller. 2009-04-20 19:44:58 +00:00
Tom Hughes
10079fbba9 Increase fastcgi timeout to 300s for bulk api requests. 2009-04-20 19:30:23 +00:00
Tom Hughes
ebac563f90 Remove trailing whitespace. 2009-04-20 19:25:10 +00:00
Tom Hughes
9b3496d2e2 Strip asset tags from user images. 2009-04-20 19:22:38 +00:00
Thomas Wood
e5076f332a Fix bug introduced in r14610 (.downcase in wrong place)
No need to sanitise type of relation member, since will only be a Node, Way, or Relation and not user-provided.
2009-04-20 19:13:52 +00:00
Tom Hughes
0c44c8dc35 Detabify. 2009-04-20 18:57:05 +00:00
Grant Slater
1ac08391f1 nginx fixes, including http://api.openstreetmap/0.6/... support 2009-04-20 18:45:20 +00:00
Tom Hughes
86f38e1669 Remove location block from abuse placeholder so it applies server wide. 2009-04-20 17:32:33 +00:00
Shaun McDonald
68360190d5 fix bug in the case of the action in the data browser when linking to relation members 2009-04-20 17:28:01 +00:00
Tom Hughes
4dab3b4d33 Restrict 7 day expiry on /export to just the embed.html page. 2009-04-20 17:27:12 +00:00
Tom Hughes
7f4aa53193 Return 404 for unknown API versions instead of 403. 2009-04-20 17:17:00 +00:00
Shaun McDonald
17223b5177 Apply patch by Lars from osm dev list with the typo 2009-04-20 17:15:28 +00:00
Tom Hughes
f05138db0f Strip asset tags from public files. 2009-04-20 17:09:26 +00:00
Tom Hughes
4b2f73dff9 Move access_log configuration. 2009-04-20 17:00:52 +00:00
Tom Hughes
cfaf23fefe Tidy things up and fix a few errors. 2009-04-20 16:59:12 +00:00
Tom Hughes
dd663122d8 Remove tabs. 2009-04-20 16:39:24 +00:00
Tom Hughes
531cac3b7b Add missing semicolon. 2009-04-20 16:37:48 +00:00
Tom Hughes
0678546d85 Remove private data. 2009-04-20 16:37:36 +00:00
Tom Hughes
fa2c23431f Convert to unix newlines. 2009-04-20 16:37:12 +00:00
Grant Slater
30176160e6 nginx syntax tweaks 2009-04-20 15:38:48 +00:00
Tom Hughes
f9f5856d2b Rewrite /0.n/... as /api/0.n/... for the api virtual host. 2009-04-20 15:16:38 +00:00