discourse/spec
Dan Johnson 9f6b7889a8 views: convert 'ip' (bigint) -> 'ip_address' (inet)
This fixes all known issues when connecting to discourse over IPv6.

This table has no primary key, so the migration is done with update_all,
for each ip address in the views table. Since this table can potentially
grow quite large, this process might take a long time. I don't know any
way around this, though.

This migration uses a SQL command to populate the new field from the old
one, so as not to rely on the View model class, which should keep the
migration from failing if that class is modified in the future.
2013-06-25 19:47:25 -04:00
..
components Merge pull request #1075 from ZogStriP/fix-lightboxing-when-using-s3 2013-06-23 22:11:45 -07:00
controllers Anons should be able to see post history 2013-06-19 16:43:16 -04:00
fabricators do not lightbox oneboxed images 2013-06-24 02:10:21 +02:00
fixtures Oops, forgot to check in the email fixtures :P 2013-06-20 13:07:42 -04:00
integration fix the positioning for replies 2013-06-19 18:23:01 +10:00
integrity prevent double work in the i18n integrity specs 2013-03-23 15:49:31 +01:00
mailers Change all headers to X-Discourse-* instead of Discourse-* 2013-06-18 15:54:02 -04:00
models views: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:47:25 -04:00
phantom_js formatted some tests 2013-02-27 03:18:23 +01:00
requests collapse some slow tests 2013-04-22 11:06:10 +10:00
services Make topics invisible when first post is automatically hidden because of spam flags 2013-06-12 16:02:11 -04:00
support less brittle specs to os-specific line endings 2013-06-13 11:09:11 +02:00
views/omniauth_callbacks add cas support with a few tests 2013-05-23 13:40:50 -07:00
spec_helper.rb fix all sorts of issues with random spec order 2013-06-23 13:35:25 +10:00