Commit graph

27 commits

Author SHA1 Message Date
Tom Hughes
6c51b3cc0a Replace deprecated finder methods 2013-09-21 11:35:46 +01:00
Tom Hughes
9813d9f1e4 Get all the tests passing under ruby 1.9 2012-05-27 13:51:25 +01:00
Tom Hughes
90e46a58de Add routing tests for all supported routes 2012-03-09 19:49:44 +00:00
Tom Hughes
fc25c3d412 Rename all ID columns that aren't unique
Having a table with a column called ID that is only part of the
primary key really doesn't work as rails likes to treat ID as a
special name so it becomes impossible to assign to it or read it.
2011-11-14 09:42:52 +00:00
Tom Hughes
b89486eab0 Rework AMF controller's streaming output for rails 3 2011-11-14 09:42:46 +00:00
Matt Amos
838b1ee7e9 Fixed AMF controller to validate changeset comments
Fixed AMF controller so that it doesn't accept non-UTF8 comments, and
throws away non-XML characters.
2010-08-08 16:23:11 +01:00
Tom Hughes
8264fb92ff Fixup AMF tests to match Richard's latest changes. 2010-02-11 17:33:46 +00:00
Matt Amos
1e1d7cef73 Fix compatibility with older versions of the ruby std lib (i.e: the one on cruise.osm.org) 2009-07-27 16:59:14 +00:00
Matt Amos
4826032d18 Added methods to strip those non-XML control characters from tags in AMF controller and give an error if there's invalid UTF-8. 2009-07-27 16:54:00 +00:00
Richard Fairhurst
8eb77ef5e1 "list mode" should really be "live mode" :) 2009-07-08 22:29:45 +00:00
Richard Fairhurst
369202787b Potlatch 1.1 (server code) 2009-07-08 20:52:02 +00:00
Tom Hughes
afb13ad93e Refactor potlatch error handling. 2009-06-03 16:51:33 +00:00
Tom Hughes
33157534e1 Fixup AMF controller tests. 2009-05-21 17:30:32 +00:00
Matt Amos
1ceb4ab9ba Fixed bug #1816 - the timeout updating logic should have been in a before_save handler, not in save_with_tags. 2009-05-12 13:54:37 +00:00
Thomas Wood
026d7775d2 Fix indentation fail 2009-05-01 21:01:02 +00:00
Thomas Wood
38d8f178f6 Fix AMF controller failing tests due to changed error messages. 2009-05-01 20:49:51 +00:00
Matt Amos
568c05c548 Fixing failing potlatch tests. Someone who knows what the potlatch API is actually supposed to be doing should check these... 2009-03-25 17:54:21 +00:00
Shaun McDonald
548265372e Some extra stubs in the amf controller test 2008-12-15 19:27:52 +00:00
Matt Amos
aeaf2d2d20 Added missing version to the pure rails AMF controller. More stringent tests on whichways. 2008-12-10 14:31:07 +00:00
Matt Amos
3ed9ac21b5 Some fixes to the rails part of the AMF controller and associated test. 2008-12-10 13:23:21 +00:00
Shaun McDonald
67157f69f3 count -> size for compatibility with ruby 1.8.6 2008-12-08 15:47:29 +00:00
Shaun McDonald
c0b4c1b905 Adding some amf create poi tests. Minor bugfix tweaks to the amf controller 2008-12-08 14:22:34 +00:00
Matt Amos
e57e2c497c Altered tests on AMF controller so that they give failures instead of errors. Return format seems to have changed, so someone who knows more about AMF controller should have a look. 2008-11-17 11:12:48 +00:00
Dave Stubbs
2aa3daf0e0 amf get*_history tests and related fixes 2008-11-09 18:48:16 +00:00
Dave Stubbs
436470b057 a few more amf tests and associated bug fixes 2008-11-09 17:41:38 +00:00
Dave Stubbs
eebadd141a 1st amf_controller tests, and some basic sanity check fixes 2008-11-08 19:41:29 +00:00
Shaun McDonald
79284559af Adding stub functional test files for all the controllers that should have tests written for them. 2008-10-28 12:49:51 +00:00