evazion
3f760069b3
dmails: fix case sensitivity bug in dmail title search.
2017-05-21 13:52:56 -05:00
evazion
e31f8acc34
dmails: add title search test.
2017-04-29 11:50:26 -05:00
evazion
c0e5c400a7
tests: fix tests for Rails.cache.
2017-04-16 16:48:36 -05:00
evazion
02122343c3
dmails: don't default IP addr to 127.0.0.1 in database ( fixes #2908 ).
...
Bug introduced in 1400f64; that commit changed dmails so that
creator_ip_addr defaulted to CurrentUser.ip_addr like this:
after_initialize :initialize_attributes, if: :new_record?
def initialize_attributes
self.from_id ||= CurrentUser.id
self.creator_ip_addr ||= CurrentUser.ip_addr
end
...but creator_ip_addr already defaulted to 127.0.0.1 from the database,
so the ||= assignment didn't work. Remove the database default so we
always default to CurrentUser.ip_addr.
2017-03-01 19:51:48 -06:00
evazion
6e3ddb6ed6
dmails: don't save copies of outgoing dmails sent by DanbooruBot.
...
There's not much sense in saving copies of everything DanbooruBot sends
in DanbooruBot's inbox. They probably won't be checked so it just bloats
the dmails table.
2017-02-25 23:05:44 -06:00
evazion
47f663e002
Don't filter dmails from moderators ( fix #2757 ).
2016-11-12 01:11:40 -06:00
r888888888
b31c63b261
fixes #2477 : Better way to notify when messages get filtered
2015-08-13 17:16:24 -07:00
r888888888
6233bfd40e
fix tests
2015-02-10 18:37:23 -08:00
r888888888
cee524ec48
fixes #2326
2014-12-12 17:36:48 -08:00
r888888888
ad22e42e62
fixes #2325
2014-12-12 17:32:33 -08:00
r888888888
02c07fefb2
fix tests
2014-12-03 14:07:42 -08:00
r888888888
2b5ce48d5c
fixes #2230
2014-11-19 21:28:26 -08:00
r888888888
594b09b8c9
fix dmail tests
2014-03-26 16:01:10 -07:00
Toks
d8fd5fb212
fix dmail test
2013-08-27 23:21:28 -04:00
小太
cba839ba76
Kill trailing whitespace in ruby files
2013-03-19 23:10:10 +11:00
albert
dba5fd23e1
fixes #778
2013-03-06 20:13:55 -05:00
albert
68ac05e31c
fixes #705
2013-03-02 22:45:15 -05:00
albert
17881068e1
* Removed Pixa/Tinami sources
...
* Upgraded to Rails 3.2.3
* Fixed tests
2012-06-01 19:22:58 -04:00
albert
0887c35922
fixed unit tests
2012-01-15 14:40:36 -05:00
Dean Matzkov
5efb6a5b92
Fix unit tests for ruby-1.8 compatibility
2011-09-08 21:00:29 -06:00
albert
668fbab77a
* Updated gemfile
...
* Added forum post/topic unit tests
* Added forum post/topic controller tests
2011-01-12 18:00:07 -05:00
albert
46164eab4f
finished dmails and favorites functional tests
2010-12-05 22:27:45 -05:00
albert
f8ab736677
fixed tests
2010-11-19 17:20:13 -05:00
albert
c6304c6e08
views
2010-11-19 16:24:17 -05:00
albert
ad39553aac
updated tests, switched to rails 3.0.0rc2
2010-08-26 14:36:02 -04:00
albert
0bb52fd63a
added dmail test
2010-02-20 18:08:22 -05:00