Commit graph

1612 commits

Author SHA1 Message Date
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
Tom Hughes
869da5e228 Add some extra indexes to the changesets table. 2009-04-20 14:54:05 +00:00
Grant Slater
f23e982e72 correct nginx syntax 2009-04-20 14:37:46 +00:00
Grant Slater
b90e70bd91 initial untest nginx config. API 0.6 tweaking still required. 2009-04-20 14:20:33 +00:00
Tom Hughes
e733264687 Add missing files from api06 merge. 2009-04-20 14:09:35 +00:00
Tom Hughes
7c791f302c Add changeset indexes to nodes, ways and relations. 2009-04-20 13:39:20 +00:00
Tom Hughes
c4f937f099 Add a user index to the changeset table. 2009-04-20 13:31:57 +00:00
Grant Slater
476e3f2b55 add mongrel_cluster config for potential usage later 2009-04-20 13:25:28 +00:00
Tom Hughes
77303f1e5a Merge vendor tree from api06 branch. 2009-04-20 09:17:10 +00:00
Tom Hughes
26f7024137 Remove plugin externals. 2009-04-20 09:13:21 +00:00
Tom Hughes
fd6f00b069 Merge api06 branch to trunk. 2009-04-20 09:12:03 +00:00
Thomas Wood
e8c7543bdd Add condition for user not found in trace controller.
Closes #1710
2009-04-19 21:22:34 +00:00
Thomas Wood
c29c7cd56c Fix map in IE by deferring Vector layer addition to page load (note that deferred script running is _not_ the same as onload), also only add the Vector layer as required, so to save some overhead.
I've trimmed down the unrequired options on the layer, they're defaulted from the map.
Thanks firefishy for the report.
2009-04-19 21:03:41 +00:00
Tom Hughes
8f8de8deaa Reverse order of marker and vector layers to stop the vector layer
grabbing all the mouse clicks. Closes #1718.
2009-04-19 11:12:28 +00:00
Tom Hughes
e9c2c64884 Don't register a setHome handler unless we have the flag checkbox
prsent on the page.
2009-04-19 11:00:37 +00:00