Commit graph

3987 commits

Author SHA1 Message Date
Tom Hughes
e7b47374e7 Update rails translations 2011-11-14 09:42:54 +00:00
Tom Hughes
036632bad3 Avoid noise on console when running tests 2011-11-14 09:42:53 +00:00
Tom Hughes
d6c3fe5759 Refactor AMF respone streaming
Using a Proc object for the response body is deprecated, so switch
to using an object with an each method that yields each response.
2011-11-14 09:42:53 +00:00
Tom Hughes
44a9a65aa7 Create new diary entry records instead of cloning the fixture
Cloning fixtures doesn't seem to do a deep copy in rails 3.1 so the
attribute changes persist into other future cloned copies of the same
fixture. The fix is to create completely new records for each test.
2011-11-14 09:42:52 +00:00
Tom Hughes
97b1290f1a Use SecureRandom instead of the deprecated ActiveSupport::SecureRandom 2011-11-14 09:42:52 +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
b63ce5d460 Mark some locale lookups as raw 2011-11-14 09:42:52 +00:00
Tom Hughes
5eb21cc2da Fix form_for arguments 2011-11-14 09:42:52 +00:00
Tom Hughes
3377879d39 Add rinku to get auto_link support back 2011-11-14 09:42:52 +00:00
Tom Hughes
416e4c91c8 Removed some redundant files 2011-11-14 09:42:52 +00:00
Tom Hughes
c0fe77fd02 Make hack for file streaming work with rails 3.1.0 2011-11-14 09:42:52 +00:00
Tom Hughes
8d520578a1 Make http_accept_language work with rails 3.1.0 2011-11-14 09:42:52 +00:00
Tom Hughes
8acdba8bdd Upgrade to rails 3.1.0 2011-11-14 09:42:52 +00:00
Tom Hughes
3227f40193 Make more use of named scopes 2011-11-14 09:42:51 +00:00
Tom Hughes
8ae5d94b2f Update some more queries to use AREL in place of deprecated methods 2011-11-14 09:42:51 +00:00
Tom Hughes
62e571a4aa Require version 1.1.0 or later of open_id_authentication 2011-11-14 09:42:51 +00:00
Tom Hughes
bd422d3136 Require at least version 1.5.1 of validates_email_of as 1.5.0 is broken 2011-11-14 09:42:51 +00:00
Tom Hughes
313b421f2f Add generated bundle to repository 2011-11-14 09:42:51 +00:00
Tom Hughes
49a45b1c52 Fix escaping of unicode character in edit menu name 2011-11-14 09:42:50 +00:00
Tom Hughes
cf34e5577b Update to rails 3.0.10 and composite_primary_key 3.1.10 2011-11-14 09:42:50 +00:00
Tom Hughes
3ae17e46ad Replace deprecated response.redirected_to with response.redirect_url 2011-11-14 09:42:50 +00:00
Tom Hughes
ba97fca4f2 Switch to using the gem version of open_id_authentication 2011-11-14 09:42:50 +00:00
Tom Hughes
4cf73c81ba Remove monkey patch added for rails 2 2011-11-14 09:42:50 +00:00
Tom Hughes
bded277e11 Update to rails 3.0.9 2011-11-14 09:42:50 +00:00
Tom Hughes
c7570462ad Update rails to 3.0.7 2011-11-14 09:42:50 +00:00
Tom Hughes
4f3ad5a6a0 Update rails to 3.0.6 2011-11-14 09:42:49 +00:00
Tom Hughes
1d8cb67dd8 Require version 3.1.6 of composite_primary_keys 2011-11-14 09:42:49 +00:00
Tom Hughes
1da4cecaf6 List all objects that are blocking a delete, in a well defined order 2011-11-14 09:42:49 +00:00
Tom Hughes
7d09beb570 Fixed tests to handle multi-part confirmation email 2011-11-14 09:42:49 +00:00
Tom Hughes
53223500df Update to composite_primary_keys 3.1.5 2011-11-14 09:42:49 +00:00
Tom Hughes
3db33c213c Require version 0.4.0 of the oauth plugin 2011-11-14 09:42:49 +00:00
Tom Hughes
f8ace8f9e0 Cope with MESSAGES_DOMAIN not being defined 2011-11-14 09:42:48 +00:00
Tom Hughes
bd7a912aa6 Specify the format when requesting an RSS feed 2011-11-14 09:42:48 +00:00
Tom Hughes
4ea63afd24 Update use of deprecated forms of form_for 2011-11-14 09:42:48 +00:00
Tom Hughes
f0d7c4a8d6 Rework expansion of HTTP status code to work with rails 3 2011-11-14 09:42:48 +00:00
Tom Hughes
c00a3e948a Avoid using string interpolation in conditions 2011-11-14 09:42:48 +00:00
Tom Hughes
6d59a122ea Update to rails 3.0.5, arel 2.0.9 and composite_primary_keys 3.1.4 2011-11-14 09:42:48 +00:00
Tom Hughes
604011d6a8 Update versions of several gems to match what we are testing with 2011-11-14 09:42:48 +00:00
Tom Hughes
11799d729e Require arel 2.0.8 or later to avoid problems with Postgres enums 2011-11-14 09:42:47 +00:00
Tom Hughes
b6ebd640f8 Update to rails 3.0.4 and composite_primary_keys 3.1.1 2011-11-14 09:42:47 +00:00
Tom Hughes
d63d49b967 Removed extension from assert_template calls 2011-11-14 09:42:47 +00:00
Tom Hughes
e007ad3a00 Fix tests to copy with new style mail objects 2011-11-14 09:42:47 +00:00
Tom Hughes
99a4ddd1da Set the preferred language for all test users
Users with no preferred language will have one set by any request
which has an Accept-Language so in order to stop one test accidentally
affecting another by changing the language we need to make sure all
the users have a preferred language set to start with.
2011-11-14 09:42:47 +00:00
Tom Hughes
edb68e839f Rail 3 has renamed fieldWithErrors to field_with_errors 2011-11-14 09:42:47 +00:00
Tom Hughes
b84ffebb7b Set Accept-Language in a rails 3 compatible way 2011-11-14 09:42:47 +00:00
Tom Hughes
7f556f94f1 Temporary fix for postgres enums pending rails 3.0.4 2011-11-14 09:42:46 +00:00
Tom Hughes
feef62b1cc Do validation in the :save context when testing email address validations 2011-11-14 09:42:46 +00:00
Tom Hughes
90a7efcf4d Use validates_email_format_of as a gem instead of a plugin 2011-11-14 09:42:46 +00:00
Tom Hughes
74fc891e9d Update to composite_primary_keys 3.0.9 2011-11-14 09:42:46 +00:00
Tom Hughes
65a3848fcc Update to rails 3.0.3 and composite_primary_keys 3.0.0.b3 2011-11-14 09:42:46 +00:00