discourse/spec/models
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
..
admin_dashboard_data_spec.rb extend consumer email warning to yahoo & outlook 2013-06-10 00:08:06 -07:00
admin_log_spec.rb Add ability to destroy a user with 0 posts 2013-04-12 16:53:00 -04:00
category_featured_topic_spec.rb Categories page should not show invisible topics 2013-06-20 16:07:53 -04:00
category_featured_user_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
category_spec.rb Don't allow category slugs that are numbers 2013-05-30 11:09:09 -04:00
draft_sequence_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_spec.rb Move draft sequence incrementing out of after_save 2013-03-18 17:54:50 -04:00
email_log_spec.rb First stab at polling support for POP3S / reply by email 2013-06-17 16:49:02 -04:00
email_token_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
error_log_spec.rb Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
group_spec.rb render error when people attempt to save an invalid group name 2013-06-17 13:43:06 +10:00
hot_topic_spec.rb Add score, percent_rank to topics. Adds HotTopic model and consolidated job to calculate 2013-03-28 15:39:54 -04:00
incoming_link_spec.rb store ip address and current user with incoming links 2013-04-26 16:18:55 +10:00
incoming_links_report_spec.rb Change the title Visits to Clicks in referral tables on admin dashboard 2013-05-06 11:56:35 -04:00
invite_spec.rb better consistency around email case sensitivity 2013-04-15 02:20:33 +02:00
locale_site_setting_spec.rb values is a much more consistent name than all_values ... we use {}.values not {}.all_values 2013-06-23 15:07:49 +10:00
notification_spec.rb consistency check, need to also ensure delete cleans stuff up, maybe make notifications trashable 2013-05-16 17:50:14 +10:00
optimized_image_spec.rb proper column naming 2013-06-17 04:02:17 +02:00
post_action_spec.rb flagging workflow changes per http://meta.discourse.org/t/we-need-an-archive-flag-notification-button/7450 2013-06-20 17:42:15 +10:00
post_alert_observer_spec.rb refactored a bit & tested thumbnails creation 2013-06-17 02:49:34 +02:00
post_analyzer_spec.rb Optionally invalidate onebox in PostAnalyzer#cook 2013-06-19 00:19:42 -07:00
post_reply_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
post_spec.rb Optionally invalidate onebox in PostAnalyzer#cook 2013-06-19 00:19:42 -07:00
post_timing_spec.rb disable observers in tests, enable as needed, tests are 20% faster 2013-05-14 11:59:55 +10:00
post_upload_spec.rb add proper post_uploads reverse index 2013-06-13 23:44:24 +02:00
report_spec.rb change "visitor" trust level to "new user" 2013-04-17 16:11:24 -07:00
s3_region_site_setting_spec.rb values is a much more consistent name than all_values ... we use {}.values not {}.all_values 2013-06-23 15:07:49 +10:00
site_content_spec.rb Can change TOS content via site content editor 2013-04-05 15:21:55 -04:00
site_customization_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
site_setting_spec.rb fix all sorts of issues with random spec order 2013-06-23 13:35:25 +10:00
topic_allowed_user_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
topic_invite_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_link_click_spec.rb TopicLinkClick: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:41:19 -04:00
topic_link_spec.rb TopicLinkClick: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:41:19 -04:00
topic_posters_summary_spec.rb Extract Topic#posters_summary 2013-05-24 15:33:45 -07:00
topic_spec.rb fix up find as you type for the invite into PM function 2013-06-18 17:17:01 +10:00
topic_tracking_state_spec.rb more progress towards live unread and new counts, unread message implemented, still to implement delete messages 2013-05-30 16:49:57 +10:00
topic_user_spec.rb more progress towards live unread and new counts, unread message implemented, still to implement delete messages 2013-05-30 16:49:57 +10:00
upload_spec.rb FIX: lightbox wasn't working when using s3 upload 2013-06-22 13:38:42 +02:00
user_action_spec.rb the private message stream is different to normal streams, improving the ui a bit and collapsing conversations 2013-05-20 16:44:06 +10:00
user_email_observer_spec.rb Send emails to users who are watching topics 2013-02-27 15:38:44 -05:00
user_open_id_spec.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
user_search_spec.rb before: 2013-04-22 11:05:54 +10:00
user_spec.rb fix horribly broken invite code, could lead to inviting the wrong person to a conversation 2013-06-19 10:31:19 +10:00
user_visit_spec.rb save it ... 2013-04-08 08:21:54 +10:00
username_validator_spec.rb Extract the validation of Username format in own class to avoid 2013-02-08 12:54:47 -05:00
view_spec.rb views: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:47:25 -04:00