Commit graph

1600 commits

Author SHA1 Message Date
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
Tom Hughes
1c81de0572 Send replies to the right user. Closes #1720. 2009-04-19 10:36:04 +00:00
Shaun McDonald
0dd0f1881d Fixing some of the tests, adding the new tests to make sure that you can't edit when your not a public user 2009-04-18 17:17:22 +00:00
Tom Hughes
d97cfc35d6 Remove trailing comma to make IE happy. 2009-04-18 16:45:45 +00:00
Tom Hughes
4eafa04ff8 Reject uploads unless the user has made their edits pubic. 2009-04-16 21:50:20 +00:00
Tom Hughes
141a5692eb Fixed to work with merged changes to api availability checks. 2009-04-16 21:38:29 +00:00
Tom Hughes
a68b8651d5 Handle MySQL/Postgres boolean differences. 2009-04-16 21:16:09 +00:00
Tom Hughes
5449cf4adc Merge 14394:14533 from trunk. 2009-04-16 21:11:12 +00:00
Tom Hughes
a4de927a28 Handle differences in interval constant formatting. 2009-04-16 20:47:18 +00:00
Tom Hughes
bb7c4f93e2 Cope with MySQL and Postgres. 2009-04-16 20:40:32 +00:00
Tom Hughes
66c95aa3f9 Work out which session store class to use automatically. 2009-04-16 20:29:18 +00:00
Tom Hughes
2e2b556a25 Fix statistics script to work with 0.6 database schema. 2009-04-16 11:38:02 +00:00
Shaun McDonald
08bd1688ee Railsify the relation member model, type attribute, by putting it into class case, rather than lower case. Requires reload of postgres databases or manual change to the enum. Fixes the databrowser on postgres, however affects the rest of the codebase. 2009-04-15 14:49:21 +00:00