Commit graph

1656 commits

Author SHA1 Message Date
Richard Fairhurst
9b4271ed8c pass common API error text through to Potlatch so it can be shown to the user 2009-04-24 17:44:52 +00:00
Richard Fairhurst
3cc3ff7ad6 lots of relations changes for speed and version management 2009-04-24 14:46:52 +00:00
Matt Amos
6c66507427 Patching better 412 error messages from mis-commit on old api06 branch. 2009-04-24 10:08:15 +00:00
Tom Hughes
77a34278ca Backout broken attempt at making case insensitive authentication work
on Postgres. As implemented this forces a table scan to authenticate
users which is ridiculous to save people pressing the shift key.
2009-04-23 23:46:45 +00:00
Shaun McDonald
e3ae690a00 The render method needs to be last, otherwise the error header won't get set. Needs tests. 2009-04-23 21:03:59 +00:00
Shaun McDonald
f1a0331081 Hack a way to make the email and display name case insensitive for logging in, based on a suggestion by firefishy to use ILIKE. Changes requested from users on mailing list. Includes some tests to check the case insensitivity of the username, and and e-mail address on login. 2009-04-23 19:20:08 +00:00
Matt Amos
9ff7ea8d71 Added better error messages on 412 precondition failed. 2009-04-23 18:39:36 +00:00
Richard Fairhurst
64d076847b fix another way-node/Way-Node problem in amf_controller; add WinIE JS compatibility via ExternalInterface (we can use this later to alert for a commit message if none is provided) 2009-04-23 17:54:17 +00:00
Harry Wood
1c93d482d2 change updatelinks params so that Potlatch can pass in the view bbox. Also check if it's missing. closes #1738 2009-04-23 14:38:40 +00:00
Richard Fairhurst
749a735472 actually delete nodes on deleteway (might help) 2009-04-23 12:01:42 +00:00
Richard Fairhurst
c65a3d76ae fix nodes bug 2009-04-23 08:32:26 +00:00
Grant Slater
d6f7bbfcd1 lighttpd increase server.max-fds from 1024 (default) to 8192 after lighttpd deadlock. 2009-04-23 02:00:15 +00:00
Richard Fairhurst
778896d755 fix word-wrap in "close changeset" dialogue 2009-04-22 23:57:37 +00:00
Richard Fairhurst
d367169479 remove debug stuff 2009-04-22 19:42:22 +00:00
Richard Fairhurst
0a682b9da6 change relation_member 'type' case, to match change in database 2009-04-22 17:47:06 +00:00
Thomas Wood
d7663e7d14 Fix multiple issues with links to /history from the homepage. Thanks to Ed Avis for bringing this to our attention. 2009-04-22 17:08:04 +00:00
Shaun McDonald
9ca382605c Fixing the create relation test, which now also tests to make sure that private users cannot edit. 2009-04-22 14:38:23 +00:00
Tom Hughes
6ee333cba7 Use postgres interval syntax. 2009-04-22 13:41:17 +00:00
Tom Hughes
9b2248e8fb The active flag is still an integer for some reason, not a boolean.
Closes #1727.
2009-04-22 13:34:12 +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
Richard Fairhurst
cafce5f4e3 bit more debug 2009-04-22 08:37:55 +00:00
Richard Fairhurst
05035fe6c2 add temporary relations debug code 2009-04-22 08:25:33 +00:00
Richard Fairhurst
0969e731f0 remove Bavaria 2009-04-22 07:41:21 +00:00
Shaun McDonald
38e94c6baa fixing some of the relation tests. Some adjustments to the fixtures. 2009-04-22 00:42:23 +00:00
Richard Fairhurst
1721aa1c0d ibid 2009-04-21 23:59:27 +00:00
Frederik Ramm
5c783cd0ee there is not HTML attribute named "padding". either use "cellpadding" (this patch), or use the CSS attribute (i.e. style="padding: 0px"). 2009-04-21 23:55:02 +00:00
Matt Amos
1654b3d407 Quick and dirty fix for relation tags issue. 2009-04-21 23:40:27 +00:00
Frederik Ramm
3a10fee9eb modified "user" link in "recent changes" list to point directly to user's list of changes which is what you expect in this context, rather than going to that user's user page and having to click "edits" there. 2009-04-21 23:38:43 +00:00
Richard Fairhurst
a80b42652b fix id/relid inconsistency 2009-04-21 23:36:53 +00:00
Tom Hughes
9e337e1ab8 Fixed search controller to have some chance of working. 2009-04-21 23:35:19 +00:00
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