Added bug fix for spam email.
This commit is contained in:
parent
188e21d3e7
commit
b2ee4366a6
5 changed files with 3256 additions and 2 deletions
|
@ -131,7 +131,7 @@ class CreateTicket < ActiveRecord::Migration
|
||||||
t.column :message_id_md5, :string, :limit => 32, :null => true
|
t.column :message_id_md5, :string, :limit => 32, :null => true
|
||||||
t.column :in_reply_to, :string, :limit => 3000, :null => true
|
t.column :in_reply_to, :string, :limit => 3000, :null => true
|
||||||
t.column :references, :string, :limit => 3200, :null => true
|
t.column :references, :string, :limit => 3200, :null => true
|
||||||
t.column :body, :text, :null => true
|
t.column :body, :text, :limit => 4.megabytes + 1
|
||||||
t.column :internal, :boolean, :null => false, :default => false
|
t.column :internal, :boolean, :null => false, :default => false
|
||||||
t.column :updated_by_id, :integer, :null => false
|
t.column :updated_by_id, :integer, :null => false
|
||||||
t.column :created_by_id, :integer, :null => false
|
t.column :created_by_id, :integer, :null => false
|
||||||
|
|
8
db/migrate/20140911000001_update_ticket_article_size.rb
Normal file
8
db/migrate/20140911000001_update_ticket_article_size.rb
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
class UpdateTicketArticleSize < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
change_column :ticket_articles, :body, :text, :limit => 4.megabytes + 1
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
end
|
||||||
|
end
|
1623
test/fixtures/mail23.box
vendored
Normal file
1623
test/fixtures/mail23.box
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
@ -479,6 +479,18 @@ Freemont and pulling out several minutes.
|
||||||
[1] http://аоск.рф?jmlfwnwe&ucwkiyyc
|
[1] http://аоск.рф?jmlfwnwe&ucwkiyyc
|
||||||
",
|
",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
:data => IO.read('test/fixtures/mail23.box'),
|
||||||
|
:body_md5 => '545a1b067fd10ac636c20b44f5df8868',
|
||||||
|
:params => {
|
||||||
|
:from => 'marketingmanager@nthcpghana.com',
|
||||||
|
:from_email => 'marketingmanager@nthcpghana.com',
|
||||||
|
:from_display_name => '',
|
||||||
|
:subject => nil,
|
||||||
|
:to => 'undisclosed-recipients: ;',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue