Tom Hughes
|
c20f55045d
|
Reject any AMF request which is not a POST request.
|
2009-04-28 11:14:15 +00:00 |
|
Tom Hughes
|
04d0f45845
|
Remove debugging statement.
|
2009-04-28 09:00:01 +00:00 |
|
Tom Hughes
|
6f0b3ccbcd
|
Don't log the contents of the changeset.
|
2009-04-28 08:59:33 +00:00 |
|
Thomas Wood
|
38c8e3e37e
|
Quick fix to reference relation rather than relation_member when linking to the relation, not sure when the bug was introduced. Tests still need to be written for the browse controller.
Closes #1764
|
2009-04-27 21:26:23 +00:00 |
|
Thomas Wood
|
600d5b3a46
|
Further clarify descriptive texts regarding public editing.
|
2009-04-27 18:23:43 +00:00 |
|
Shaun McDonald
|
0b6d9ce877
|
Improve the node/way/relation already deleted error message, and get rid bug in way model with missing new in exception
|
2009-04-27 11:49:56 +00:00 |
|
Tom Hughes
|
a7ea614dd0
|
Finish removing old request counting logic.
|
2009-04-26 23:27:40 +00:00 |
|
Tom Hughes
|
72b05157ae
|
Remove old code to exit after 10000 requests as the memory limit code
should do a better job of controlling things.
|
2009-04-26 23:14:20 +00:00 |
|
Shaun McDonald
|
788e817e4a
|
Make the report_error function support any http status code for added flexibility.
|
2009-04-26 21:11:31 +00:00 |
|
Shaun McDonald
|
b7596f7fbc
|
Fix typo of missing .new for some of the errors. Tests are useful.
|
2009-04-26 20:56:58 +00:00 |
|
Tom Hughes
|
83aa2655f5
|
Null descriptions are not allowed.
|
2009-04-25 22:26:56 +00:00 |
|
Matt Amos
|
eed6fdf7db
|
Fixed bug in exception creation.
|
2009-04-25 15:20:48 +00:00 |
|
Richard Fairhurst
|
2acdfd7132
|
a couple of minor revert fixes
|
2009-04-24 20:12:43 +00:00 |
|
Matt Amos
|
82a54db3d9
|
Fixed dumb copy-and-paste mistake.
|
2009-04-24 18:47:41 +00:00 |
|
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 |
|
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
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
Richard Fairhurst
|
a67047e7e6
|
Fix MySQL dependency
|
2009-04-21 09:24:07 +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 |
|
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 |
|
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 |
|
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 |
|
Shaun McDonald
|
17223b5177
|
Apply patch by Lars from osm dev list with the typo
|
2009-04-20 17:15:28 +00:00 |
|