evazion
4c54e18c6d
mentions: factor out mention parsing to DText.parse_mentions.
2017-08-04 23:48:31 -05:00
evazion
c1834ab8dd
Inherit models from ApplicationRecord instead of ActiveRecord::Base.
2017-06-16 13:28:31 -05:00
r888888888
48e9856f37
fixes #3007 : Eliminate Janitor role
2017-05-01 14:38:30 -07:00
evazion
869f1610fc
comments: use server-side quote-stripping instead of reimplementing in js.
2017-04-24 21:15:47 -05:00
evazion
46280f2227
mentions: include mentioner in subject line.
...
The template looks like this:
Subject:
#{creator_name} mentioned you in a comment on post ##{post_id}
Body:
@#{creator_name} mentioned you in a \"comment\":/posts/#{post_id}#comment-#{id} on post ##{post_id}:
[quote]
#{DText.excerpt(body, "@"+user_name)}
[/quote]
2017-02-25 23:05:44 -06:00
Type-kun
922276da6b
Fixed typo in forum post mod action
2017-01-14 15:52:43 +05:00
Albert Yi
f2a5d45db0
implement token bucket rate limiting
2017-01-09 17:31:14 -08:00
Type-kun
9da5e67a65
Another partial fix for issue #2824 , which also affected ip bans and feedback
...
Also fixed minor errors with IP bans
2017-01-09 13:57:16 +05:00
Type-kun
c44c40c759
Partial fix for issue #2824
2017-01-08 23:58:52 +05:00
Albert Yi
b9a1e115fb
add additional mod actions
2017-01-03 16:02:36 -08:00
Albert Yi
536ba3c7ee
fixes #2756 : Have @Mentions Use Relative Instead of Absolute Links
2016-11-14 10:15:11 -08:00
Albert Yi
eb6746a8a8
additional checks on forum topic visibility
2016-11-07 10:48:04 -08:00
evazion
f46d055218
Fix AmbiguousColumn exception in /forum_posts?search[creator_id]=1
2016-10-31 17:11:52 -05:00
evazion
5d54ba5096
Fix listing private topics in /forum_posts.
...
Fix an exploit allowing viewing of private topics with
http://danbooru.donmai.us/forum_posts
2016-10-30 18:00:26 -05:00
Albert Yi
60eebd9608
fix chaining of hidden_attributes/method_attributes
2016-10-27 14:53:25 -07:00
Albert Yi
79842f7a3b
restrict min level constraints for forum topics to mod+admin and restrict options based on current user's level. check privileges for visiblity in forum posts and topics. deprecate serializable_hash (undocumented, internal) for as_json, refactor to use hidden_attributes and method_attributes #2658
2016-10-25 15:05:55 -07:00
r888888888
8a63fb0f7c
enable mention for comments #2466
2015-11-30 16:51:07 -08:00
r888888888
cae88fdac2
fixes #2537 : Mention dmail contains <hr>
2015-10-26 12:52:53 -07:00
Toks
44d2437d33
Fix broken link in mention dmail
2015-10-23 16:46:25 -04:00
r888888888
6480864718
fixes #2469
2015-10-15 15:24:24 -07:00
r888888888
821c7bc2a5
add dmail notices for mentions in forum posts
2015-10-14 15:32:48 -07:00
r888888888
e675016ec5
fixes #1904 : Display aliases/implications in artist excerpt, fixes bug with approving alias/implications involving artists
2015-08-06 16:40:30 -07:00
Toks
0691477a3b
Fix forum deletions
2015-07-15 00:40:58 -04:00
r888888888
6ad6aa44c4
fixes #2432 , fix tests
2015-07-14 15:13:04 -07:00
Toks
fe7f3d8204
Keep track of who deletes forum post/topic/comment
...
Previously it would look like the creator of it was the one who
deleted/undeleted it, even if it was someone else.
2015-07-11 13:20:47 -04:00
Toks
b3a665d096
#2417 remove janitor from mod-only attr_accessible
2015-06-30 12:59:39 -04:00
r888888888
1d9596d7f2
fixes #2417
2015-06-29 18:17:59 -07:00
Toks
7c2ce325a3
fix #2403 , remove unused code
2015-06-08 17:34:13 -04:00
Toks
30700df635
Fix deleted forum posts not counting in response_count
2014-11-12 00:41:55 -05:00
r888888888
74e1355728
fix tests
2014-09-30 17:24:54 -07:00
Toks
13101e7c88
#2250 fix validations not allowing empty topic id
2014-08-23 20:01:56 -04:00
Toks
c5cabe4e58
fix for #2250
2014-08-23 19:41:44 -04:00
Toks
2300e9bd1e
fixes #2244
2014-08-17 12:07:53 -04:00
r888888888
2b96040a30
fixes #2191
2014-08-12 17:03:16 -07:00
r888888888
4ab6a2417f
fixes #2199
2014-06-17 18:07:19 -07:00
r888888888
fad0ab7c93
fixes #2133
2014-04-16 17:43:34 -07:00
r888888888
10d652fa9c
fix specs
2014-03-24 14:05:50 -07:00
r888888888
0add72f2bd
fixes #2110
2014-03-19 16:23:43 -07:00
r888888888
05c3795e6a
fixes #2110
2014-03-19 14:21:53 -07:00
r888888888
165e3a4efa
fixes #530
2014-02-27 13:41:36 -08:00
Toks
3da90ca25c
Prevent forum post's topic_id from being changed
...
See #1289 , 2013
2013-10-22 18:58:02 -04:00
Toks
e08d1d13a2
fixes #1986
2013-09-15 11:42:32 -04:00
Toks
ecfcebe30a
Add support for wildcard searches in text fields
...
#1663
2013-07-20 16:51:55 -04:00
Toks
395f3d1342
hide index fields from api; closes #1739
2013-06-23 12:12:30 -04:00
Toks
05be9f41e7
allow forum posts to be searched by category ( #1720 )
2013-06-13 23:07:19 -04:00
ToksT
ed9e9c4106
fix typo
2013-05-31 19:42:59 -03:00
r888888888
5984ef6420
fixes #1680
2013-05-31 15:08:57 -07:00
r888888888
9dfb8aa33e
fixes #1614
2013-05-23 17:26:20 -07:00
r888888888
0535237704
fixes #1512
2013-05-07 18:19:30 -07:00
r888888888
72b18051f8
fixes #1546
2013-05-07 17:20:42 -07:00