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
Tom Hughes
b89486eab0
Rework AMF controller's streaming output for rails 3
2011-11-14 09:42:46 +00:00
Tom Hughes
35e60d4d7b
Avoid empty content_for blocks as they trigger warnings
2011-11-14 09:42:45 +00:00
Tom Hughes
dc9b0e8c94
Rename notifier views to new style names
2011-11-14 09:42:45 +00:00
Tom Hughes
1e13e6ae2d
Update oauth support for rails 3 version of oauth plugin
2011-11-14 09:42:45 +00:00
Tom Hughes
a92223a506
Duplicate records raise RecordNotUnique now, not StatementInvalid
2011-11-14 09:42:45 +00:00
Tom Hughes
22d15c090a
Add fixtures for user blocks and tokens
2011-11-14 09:42:45 +00:00
Tom Hughes
58432bd8b1
Require iconv directly as rails no longer loads it
2011-11-14 09:42:45 +00:00
Tom Hughes
3d55db46ed
Avoid use of deprecated methods on error objects
2011-11-14 09:42:45 +00:00
Tom Hughes
986f1c61fa
Use last_modified method instead of setting the header manually
2011-11-14 09:42:44 +00:00
Tom Hughes
226c41be69
Update ActiveRecord queries to use arel
2011-11-14 09:42:44 +00:00
Tom Hughes
a543e731c0
Switch to using the rails-i18n-updater gem instead of the rails-i18n plugin
2011-11-14 09:42:44 +00:00
Tom Hughes
b2e9d8176b
Go back to the rails 3 based upstream version of session-persistence
2011-11-14 09:42:44 +00:00
Tom Hughes
819badd55b
Reflect move of u_unpack from Chars to Unicode
2011-11-14 09:42:43 +00:00
Tom Hughes
1a8d73c024
Use an observer to detect changes to the selected legale
2011-11-14 09:42:43 +00:00
Tom Hughes
63862d008e
Update validates_email_format_of plugin
2011-11-14 09:42:43 +00:00
Tom Hughes
14ba9f0a37
Fix some deprecation warnings in the file_column plugin
2011-11-14 09:42:43 +00:00
Tom Hughes
7901815718
Use symbols consistently for names of content blocks
2011-11-14 09:42:43 +00:00
Tom Hughes
0dba53c023
Declare callbacks explicitly
2011-11-14 09:42:43 +00:00
Tom Hughes
423f5ffbc2
Use config.filter_parameters instead of filter_parameter_logging
2011-11-14 09:42:43 +00:00
Tom Hughes
7d45c2fd3c
Replace request.request_uri with request.fullpath
2011-11-14 09:42:42 +00:00
Tom Hughes
2bc44dfddc
Use form_tag instead of building forms by hand
...
In order for CSRF protection to work we need to use form_for or form_tag
to build all forms so that the authenticity token is added.
2011-11-14 09:42:42 +00:00
Tom Hughes
09e5528ecd
Don't allow STARTTLS to be used when sending mail
...
Ruby's mail library seems to be very picky about the certificate
validity if STARTTLS is used, so disable it.
2011-11-14 09:42:42 +00:00
Tom Hughes
f50ef32743
Add the dynamic form plugin to get error_messages_for support back
2011-11-14 09:42:42 +00:00
Tom Hughes
ed54379218
Make helpers return text instead of appending to the output buffer
2011-11-14 09:42:42 +00:00
Tom Hughes
92c171dcaa
Replace various HTML entities with normal characters
2011-11-14 09:42:41 +00:00
Tom Hughes
22594361d5
Mark some strings that shouldn't be escaped as raw
2011-11-14 09:42:41 +00:00
Tom Hughes
56df4f3813
Update notifiers to use new ActionMailer API
2011-11-14 09:42:41 +00:00
Tom Hughes
2e2c95133b
Use new ActionMail API to send emails
2011-11-14 09:42:41 +00:00
Tom Hughes
b25a468e3c
Use <%= instead of <% for block helpers that use concat
2011-11-14 09:42:41 +00:00
Tom Hughes
7b37f4cb62
Use link_to and form_tag instead of link_to_remote and form_remote_tag
2011-11-14 09:42:40 +00:00
Tom Hughes
17f4e58e46
Use before_validation with :on rather than before_validation_on_xxx
2011-11-14 09:42:40 +00:00
Tom Hughes
e1213a4651
Use Rails.xxx instead of RAILS_XXX
2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994
Update to rails 3
2011-11-14 09:42:40 +00:00
Tom Hughes
9ff70a861a
Remove old process management scripts
2011-11-14 09:42:40 +00:00
Tom Hughes
4e9af2b5dc
Update Potlatch 2 to 2.3-89-ga94491f build
2011-11-11 19:58:05 +00:00
Tom Hughes
f2d205a59e
Add a link to the OpenStreetMap Google+ page
2011-11-07 22:38:56 +00:00
Siebrand Mazeland
72f388aa95
Localisation updates from http://translatewiki.net .
2011-11-06 10:36:35 +01:00
Tom Hughes
7d44aec764
Update Potlatch 2 to 2.3-88-gc431f56 build
2011-11-01 16:24:12 +00:00
Martijn van Exel
be294076c4
Prevent map popup from disappearing on mouseout
...
By stopping it closing we allow the user to click on the name of any
nearby mappers or friends in the map on the user page.
2011-10-31 10:34:41 +00:00
Tom Hughes
afb4fedbd7
Bounds should be treated as floating point
2011-10-31 10:08:49 +00:00