Tom Hughes
c485ae3249
Fix object_id warning
2011-11-14 09:42:58 +00:00
Tom Hughes
2f77efe7e6
Fix production log configuration
2011-11-14 09:42:58 +00:00
Tom Hughes
49f4a78240
Disable hard memory limits
2011-11-14 09:42:58 +00:00
Tom Hughes
173b63ffdc
Add memcache-client for live site
2011-11-14 09:42:58 +00:00
Tom Hughes
05ed7cdfa5
Require composite_primary_keys 4.1.1 for rails 3.1.1 support
2011-11-14 09:42:58 +00:00
Tom Hughes
9c28a626cb
Stop the API changeset query accepting min_lon etc
2011-11-14 09:42:57 +00:00
Peter Gray
95d899786a
Refactor bounding box code
...
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
d70fd8ab1a
Use HTML5 email and url field types where appropriate
2011-11-14 09:42:57 +00:00
Tom Hughes
281a3239e6
Mark terms as raw to avoid escaping HTML in them
2011-11-14 09:42:57 +00:00
Tom Hughes
2cac555019
Force an I18n reload to work around ordering problem
...
Unfortunately the rails-i18n-updater plugin adds the rails translations
to the load path after rails has already loaded the translations, so we
have to force a reload to get the translated versions.
2011-11-14 09:42:57 +00:00
Tom Hughes
07b834785f
Force openid callbacks to use GET to avoid CSRF validation issues
2011-11-14 09:42:57 +00:00
Tom Hughes
546db82281
Preserve field values if the signup form fails validation
2011-11-14 09:42:56 +00:00
Tom Hughes
c55bcb1763
Mark openid prompt as raw so the image is not escaped
2011-11-14 09:42:56 +00:00
Tom Hughes
570fd3b6aa
Update to rails 3.1.1
2011-11-14 09:42:56 +00:00
Tom Hughes
1f383dcbd7
Serve swfobject via the assets pipeline
2011-11-14 09:42:56 +00:00
Tom Hughes
c3436ec9c4
Load memcached in case we are using it
2011-11-14 09:42:56 +00:00
Tom Hughes
2c837d896d
Make database offline mode work
2011-11-14 09:42:56 +00:00
Tom Hughes
cd12896694
Tidy up the Gemfile a bit and document things
2011-11-14 09:42:56 +00:00
Tom Hughes
607d23f6d6
Fixup some string escaping issues in the data browser
2011-11-14 09:42:55 +00:00
Tom Hughes
3f9fdb122c
Mark the generated list of page links as raw
2011-11-14 09:42:55 +00:00
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
93fded9641
Drop the sql_session_store plugin
...
The sql_session_store plugin doesn't work with rails 3 and doesn't
seem to be supported anymore, so drop it in favour of the builtin
database backed session storage.
2011-11-14 09:42:55 +00:00
Tom Hughes
1132dd36e3
Update bundle
2011-11-14 09:42:54 +00:00
Tom Hughes
7f19bade8e
Ignore the compiled asset directory
2011-11-14 09:42:54 +00:00
Tom Hughes
727204520d
Enable asset compilation in product so precompile works
...
Rails 3.1.0 has a bug where the assets:precompile rake task doesn't
turn on demand compilation, so referenced assets are not handled.
2011-11-14 09:42:54 +00:00
Tom Hughes
4cba7a971e
Use the dynamic_form plugin as a gem
2011-11-14 09:42:54 +00:00
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