Commit graph

1241 commits

Author SHA1 Message Date
Tom Hughes
c933a4222c Improve error handling. 2008-07-19 22:59:59 +00:00
Tom Hughes
5d5f72b927 More warning fixes. 2008-07-18 22:23:26 +00:00
Tom Hughes
9f8600877b Stop rails moaning. 2008-07-18 21:42:13 +00:00
Shaun McDonald
ebb8e5524e First current node tag test 2008-07-18 17:10:24 +00:00
Shaun McDonald
1bcc2242c0 Make sure that there is a sender and a recipient of a message. New test to make sure that there a message also has a sender and a recipient, as the validates_associated doesn't do anything if they are nil. 2008-07-18 16:44:14 +00:00
Shaun McDonald
a14419f04f Adding message tests. Adding some international UTF-8 chars for the display name and email address tests. 2008-07-18 16:26:21 +00:00
Tom Hughes
b9fc5e662b Cope with being asked to find relations for any empty set of objects. 2008-07-18 13:13:28 +00:00
Richard Fairhurst
d2a42056f7 move status message up a bit when Yahoo layer is displayed, so as not to obscure (c) notice 2008-07-18 11:42:45 +00:00
Tom Hughes
322d782c9c Merge potlatch_010 properly. 2008-07-18 11:23:34 +00:00
Tom Hughes
b7276be79b Revert broken attempt at potlatch_010 merge. 2008-07-18 11:20:04 +00:00
Tom Hughes
509b8ec62a Merged 8899:9136 and 9145 from trunk. 2008-07-18 11:18:39 +00:00
Richard Fairhurst
5b51a8d624 make sure preset menu is removed on deselect 2008-07-18 11:06:02 +00:00
Tom Hughes
db66d47e42 Merge potlatch_010 branch to head. 2008-07-18 11:02:10 +00:00
Shaun McDonald
411445075b some tweaking to the user fixtures so that there is 2 near each other. new users nearby and friends with tests. 2008-07-17 15:08:00 +00:00
Shaun McDonald
0c3f15f5aa new friends with test. Fix to the display name valid tests to make sure that they don't test the length 2008-07-17 11:18:33 +00:00
Shaun McDonald
b931d6f516 testing the display name 2008-07-17 10:44:06 +00:00
Tom Hughes
d6e047d7d4 Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.
2008-07-16 23:42:59 +00:00
Tom Hughes
66b0dd135e Tidy up AMF controller and optimise a few rails things. 2008-07-16 23:10:32 +00:00
Tom Hughes
1cd26357f0 Default to using rails. 2008-07-16 22:59:10 +00:00
Tom Hughes
6cf1c82c63 Remove SOTM advert. 2008-07-16 15:27:25 +00:00
Tom Hughes
911e030911 Disable JPEG exports from Osmarender as they are not currently
supported by the MapOf call in the new tiles@home server.
2008-07-16 13:21:16 +00:00
Tom Hughes
fb27023d41 Remove no longer needed PHP extension. 2008-07-16 13:04:05 +00:00
Tom Hughes
c878da25cf Remote Potlatch projection routines as they are no longer needed. 2008-07-15 23:15:53 +00:00
Tom Hughes
34d9360bee Minor tidyups. 2008-07-15 18:23:00 +00:00
Tom Hughes
6fa8647855 Rename unique_nodes to unshared_node_ids to make it's purpose a bit clearer
and rework it to be a bit tidier.
2008-07-15 18:18:37 +00:00
Tom Hughes
49637fed70 Move Potlatch configuration to a separate initialiser file. 2008-07-15 18:05:22 +00:00
Shaun McDonald
9694b977d3 fixing the new display name test 2008-07-15 18:04:35 +00:00
Shaun McDonald
679e59210c Check to see if the e-mail test works 2008-07-15 17:51:26 +00:00
Shaun McDonald
8429c85051 Check to see if the e-mail test works 2008-07-15 16:36:43 +00:00
Shaun McDonald
cf78f3e6dd Can now run tests that use composite_primary_keys in the fixtures. Adding a new test to check that you can't add duplicate user preferences, and the display name of the user is guaranteed to be unique. 2008-07-15 15:51:45 +00:00
Tom Hughes
50c0333ea6 Revert Potlatch 0.10 from the trunk - we will keep it on the potlatch_010
branch for now until it has been reviewed.
2008-07-09 23:31:00 +00:00
Tom Hughes
0283bd4f1a Branch the rails code for Potlatch 0.10 support. 2008-07-09 23:27:33 +00:00
Richard Fairhurst
62a1ec4748 Potlatch 0.10 2008-07-09 22:19:48 +00:00
Shaun McDonald
c9a171c745 Removing the in_world test from the model since it is included in the geo_record library. Adding visible and version to the nodes and current_nodes fixtures. Adding old node test. Slightly different comparisions. 2008-07-08 18:17:08 +00:00
Shaun McDonald
dce4f18a3e node unit tests with inside limits now. 2008-07-08 15:38:31 +00:00
Shaun McDonald
b2515ec75e Sorts out a problem with the description field and adding users. 2008-07-08 13:43:56 +00:00
Tom Hughes
6644f115c9 Add bounds to map responses. Closes #1011. 2008-07-08 09:52:08 +00:00
Tom Hughes
1e98eb9950 Allow users to remove their image. Closes #1010. 2008-07-07 23:26:41 +00:00
Tom Hughes
700da2b347 Tidy up a bit after shaun's merge... 2008-07-07 16:16:05 +00:00
Shaun McDonald
64a5e21f53 Fixing the resync that I had done wrong at the end of last week on the nodes. All unit tests now do work. More assertions added. Using a scaling factor as a constant, so that the nodes are stored in the db correctly. Using the same scaling factor in the georecord library, to make code more readable, and reduce errors. Removing duplicate code that is in the GeoRecord include library. 2008-07-07 14:20:27 +00:00
Tom Hughes
9c580277ef Sanitize user descriptions properly. 2008-07-07 08:06:56 +00:00
Tom Hughes
953599970e Capitalise German message correctly. 2008-07-05 23:45:15 +00:00
Tom Hughes
36203ebe26 Don't hardcode the API version in the data browser. 2008-07-04 18:15:42 +00:00
Shaun McDonald
5f8ab9e924 Merge changes from trunk 7673:8632. 2008-07-03 13:06:24 +00:00
Shaun McDonald
0a459023d3 Now all the unit tests work 2008-07-03 10:56:17 +00:00
Tom Hughes
08d1f5aaab Quote default when used as a key in a hash as it is a keyword... 2008-06-28 09:59:47 +00:00
Tom Hughes
97aefa23d0 Merge data browser branch to trunk. 2008-06-27 23:09:05 +00:00
Tom Hughes
9a7db5d63b Refactor to remove some code duplication. 2008-06-26 23:01:55 +00:00
Tom Hughes
abb66fa808 Disable the data browswer when the database is not available. 2008-06-26 17:36:21 +00:00
Tom Hughes
563172b2c8 Minor correction to German translation. 2008-06-25 16:46:25 +00:00