Tom Hughes
e5c8dc9c77
Removed unused link_to_page from the trace helpers
...
It was unused, and clashed link_to_page in the browser helpers as
apparently all helpers are loaded into all views...
2011-11-14 09:42:55 +00:00
Tom Hughes
96c22b169a
Get OAuth working, including a hack for Potlatch
2011-11-14 09:42:55 +00:00
Tom Hughes
071c3581e9
Disable CSRF token verification for API methods
2011-11-14 09:42:55 +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
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
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
49a45b1c52
Fix escaping of unicode character in edit menu name
2011-11-14 09:42:50 +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
f8ace8f9e0
Cope with MESSAGES_DOMAIN not being defined
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
7f556f94f1
Temporary fix for postgres enums pending rails 3.0.4
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
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
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
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
ed54379218
Make helpers return text instead of appending to the output buffer
2011-11-14 09:42:42 +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
f2d205a59e
Add a link to the OpenStreetMap Google+ page
2011-11-07 22:38:56 +00:00
Tom Hughes
afb4fedbd7
Bounds should be treated as floating point
2011-10-31 10:08:49 +00:00
Tom Hughes
bed2405973
Fix some XSS issues
2011-10-30 17:23:39 +00:00
Grant Slater
1a8b39a547
Add an inner div for the plugin as swfobject will replace it
2011-10-06 08:35:28 +01:00
Grant Slater
a333712ad7
Replace swfobject 1.5 with swfobject 2
2011-10-06 00:52:12 +01:00
Grant Slater
66588f6cf1
Flash 10 is now required
2011-10-01 10:48:27 +01:00
Tom Hughes
dc4cc8d219
Add support for manual tracking of a Piwik goal on signup
2011-09-20 21:40:53 +01:00