Shaun McDonald
|
f47ba4fb23
|
Fix the node and relation tests from when the users with data public=false were disallowed from editing. Needed extra fixtures.
|
2009-04-27 11:57:58 +00:00 |
|
Shaun McDonald
|
10fdeb2021
|
Make node update work with the new require data public to edit policy. Added convenience testing method for the require data public. Add 2 new fixtures that are owned by the public user.
|
2009-04-26 22:46:41 +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
|
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 |
|
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 |
|
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 |
|
Shaun McDonald
|
38e94c6baa
|
fixing some of the relation tests. Some adjustments to the fixtures.
|
2009-04-22 00:42:23 +00:00 |
|
Matt Amos
|
0b76693672
|
Adding more tests for updating relation tags.
|
2009-04-21 20:33:16 +00:00 |
|
Shaun McDonald
|
0ad724bd92
|
Hopefully fix the old_node_controller tests.
|
2009-04-21 17:07:14 +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 |
|
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 |
|
Matt Amos
|
afcb345014
|
Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year.
|
2009-03-29 01:31:04 +00:00 |
|
Matt Amos
|
f492a1b709
|
Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded.
|
2009-03-28 20:18:26 +00:00 |
|
Matt Amos
|
be75a1504f
|
Fixed a couple of bugs with changeset bounding box calculation when modifying or deleting.
|
2009-03-27 12:22:23 +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 |
|
Thomas Wood
|
d841d3d135
|
<td> tags must be closed, move browse index test over to changeset, lazy fix for new format
|
2009-03-23 21:35:06 +00:00 |
|
Tom Hughes
|
c8ee135104
|
Merge 12304:14009 from trunk.
|
2009-03-08 13:02:37 +00:00 |
|
Matt Amos
|
5143fbcd5b
|
Test and fix for #1567, for teh betterer osmChange compliance.
|
2009-02-08 16:54:28 +00:00 |
|
Matt Amos
|
12b779f0b4
|
Test and fix for issue #1568. Wasn't testing for end element in the right place.
|
2009-02-08 16:33:48 +00:00 |
|
Matt Amos
|
c54471ee33
|
Fix for #1565. Added a couple of tests and fixed another issue with re-used placeholder IDs.
|
2009-02-08 08:28:01 +00:00 |
|
Matt Amos
|
76708eefcf
|
Fixed bug in changeset closing and querying where the number of elements exceeded the maximum. Added a fixture for this.
|
2009-02-07 17:45:27 +00:00 |
|
Thomas Wood
|
747d6f1d11
|
Revert last commit - too many test failures
|
2008-12-31 16:43:44 +00:00 |
|
Thomas Wood
|
898beb7b7f
|
DateTime => Time for consistency in changeset code, ok by shaun.
|
2008-12-31 16:33:02 +00:00 |
|
Thomas Wood
|
8fe53e4823
|
Only show changesets that are actually closed in the index view.
|
2008-12-31 16:14:39 +00:00 |
|
Thomas Wood
|
62b6d15967
|
Make browse controller index show recently closed changesets, rather than recently changed nodes.
|
2008-12-23 15:47:06 +00:00 |
|
Shaun McDonald
|
548265372e
|
Some extra stubs in the amf controller test
|
2008-12-15 19:27:52 +00:00 |
|
Shaun McDonald
|
850bd333eb
|
removing debug statement
|
2008-12-12 18:56:22 +00:00 |
|
Shaun McDonald
|
c76e60f052
|
Improving the not found handling of preferences. adding a user preference test. adding some utility methods to the test helper
|
2008-12-12 18:54:03 +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 |
|
Shaun McDonald
|
e989b1a880
|
ensure that uploads that don't supply a lat and lon for a node. Adding related test and fixing other tests.
|
2008-12-01 18:32:54 +00:00 |
|
Shaun McDonald
|
6e98e324e5
|
better handling of duplicate tags. Extra validation in the tests.
|
2008-11-28 17:38:23 +00:00 |
|
Matt Amos
|
c3785ff278
|
Changed duplicate tags test to test the correct code path - was previously failing in libxml, rather than the duplicate tags check.
|
2008-11-28 12:33:18 +00:00 |
|
Matt Amos
|
89bd962ff0
|
Adding test to check that users can't update changesets that they don't own.
|
2008-11-26 15:03:50 +00:00 |
|
Shaun McDonald
|
a4e5e8437f
|
Renaming the include action to expand_bbox in the changeset controller.
|
2008-11-26 11:36:10 +00:00 |
|
Shaun McDonald
|
8348493ccb
|
Some improvements to the error messages that are returned by the api.
|
2008-11-25 18:59:35 +00:00 |
|
Shaun McDonald
|
0ff1214f86
|
Make the role in relations optional, with a test to make sure it is. Also start moving the errors reading the xml to exceptions, thus making it possible to give meaningful error messages, when bad xml is sent (More work is required on this including doing the same for nodes and ways). With the latest gems update it seems that the lib xml handling was broken, using the newer method. Adding the content type for the exceptions.
|
2008-11-24 18:55:24 +00:00 |
|
Matt Amos
|
783528830a
|
Fixed bug in changeset idle timeout. Fixed another with a spurious require.
|
2008-11-21 12:53:09 +00:00 |
|
Matt Amos
|
a90be5e69a
|
Migration to add close-time to changesets. This replaces the boolean 'open' attribute. Added checks to ensure that the maximum lifetime and number of changes in a changeset are enforced. Added some tests.
|
2008-11-17 19:00:01 +00:00 |
|
Matt Amos
|
495bd7f1f0
|
Made user input parsing more robust in changeset query method. Added tests.
|
2008-11-17 15:30:46 +00:00 |
|
Shaun McDonald
|
5254f79c08
|
Verify that the key and value isn't getting mixed up by having them different. verify the error message is the same when returning the user conflict on closing changeset test.
|
2008-11-17 15:00:19 +00:00 |
|
Matt Amos
|
28839fd150
|
Fixed some bugs in changeset query code. Added more test cases.
|
2008-11-17 14:32:15 +00:00 |
|
Matt Amos
|
519d402cb2
|
Added tests for changeset close method.
|
2008-11-17 11:59:42 +00:00 |
|