Commit graph

1734 commits

Author SHA1 Message Date
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
Tom Hughes
80c6c685bc Fix database check in browse controller. 2009-04-15 09:05:29 +00:00
Tom Hughes
45dfd0f05f Fix spelling mistake. 2009-04-15 08:03:26 +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
Shaun McDonald
5bc558e355 Should have a .new when raising error 2009-04-14 12:00:26 +00:00
Shaun McDonald
ed87bd73f3 Remove function that is in the test help from functional test 2009-04-14 11:52:56 +00:00
Shaun McDonald
d84d5c68de Remove function that is in the test help from functional test 2009-04-14 11:39:46 +00:00
Shaun McDonald
72a3947b1b remove the dup methods from the test helper. Add tests for no content and checking that a record has been created. 2009-04-13 00:13:51 +00:00
Shaun McDonald
90ec90f13d reverting last change, which included posgres config specific things 2009-04-13 00:10:37 +00:00
Shaun McDonald
2c52b06716 Remove duplication that is in the test helper. Adding tests for the passing of no content, and the wrong method used. Also ensuring that there has been a changeset added to the db when it is created. 2009-04-13 00:04:24 +00:00
Shaun McDonald
0f25285ab6 More tests, found a bug in the data browser, no fix yet. Fix db readme. Don't show the signup page to logged in users, by redirecting them to the home page. Remove unnessesary begin blocks in the browse controller. 2009-04-12 23:20:31 +00:00
Thomas Wood
464c490cae Use the right keyword this time... 2009-04-09 23:18:21 +00:00
Thomas Wood
6442208841 Add exceptions for remaing cases where XML::Parser.string is used, to catch for empty strings.
See also r14241
2009-04-09 22:37:43 +00:00
Tom Hughes
9c0f288bb7 Explicitly set the default for home_lat and home_lon to null. 2009-04-09 17:11:04 +00:00
Thomas Wood
776d2d7bc2 Return "Make my edits" button to functioning state, positioning is unfortunate, but it cannot be inside the page's form. I've made a compromise of the two states. 2009-04-09 17:06:53 +00:00
Tom Hughes
7fff6361c1 Use the inet type for IP addresses in postgres. 2009-04-09 15:17:12 +00:00
Tom Hughes
2e1414b229 Fix primary key creation for ACL table. 2009-04-09 15:09:38 +00:00