Commit Graph

2166 Commits

Author SHA1 Message Date
evazion
8a012d4c91 Remove unused mobile mode code (#3206).
Mobile mode was removed in 31e36cf.
2018-03-20 02:29:06 -05:00
Albert Yi
418b2beae5 Merge pull request #3566 from r888888888/most-valued
Post taggers
2018-03-08 16:01:40 -08:00
r888888888
3657cacd17 * post keeper is calculated synchronously
* add fallback mechanism in case archive service is not up
* pass along most recently added tags to any keeper calculation
2018-03-08 16:00:44 -08:00
r888888888
0c5dcbbf68 Revert "Revert "implement post keepers""
This reverts commit b9fcfe0442.
2018-03-06 18:04:31 -08:00
evazion
5113aec937 artist finder: fix bogus matches for nijie. 2018-03-03 11:26:15 -06:00
evazion
78aba1c5b1 Fix #3554: approving BUR with nil forum_post_id doesn't update forum.
Wrap `approve!` and `reject!` in transactions so that if there's an
error in approving or rejecting a BUR, it leaves the BUR's status
unchanged instead of updating the BUR but not updating the forum.
2018-02-24 15:04:57 -06:00
evazion
2b8767d7f4 BulkUpdateRequest#approve!: don't swallow exceptions.
Rescue `AliasAndImplicationImporter::Error` instead of `Exception`.
2018-02-24 14:37:02 -06:00
r888888888
689b5690bf fixes #3560 2018-02-22 11:15:42 -08:00
evazion
f07aa1b170 bulk update requests: convert to strong params. 2018-02-18 12:12:12 -06:00
evazion
e8ab5cdc4c Fix pool version ordering.
Pool version IDs aren't in the right order; order by updated_at instead.
2018-02-08 16:53:02 -06:00
Albert Yi
b9fcfe0442 Revert "implement post keepers" 2018-02-07 12:28:56 -08:00
Albert Yi
2e62916832 Merge pull request #3529 from r888888888/most-valued
implement post keepers
2018-02-07 12:10:38 -08:00
r888888888
ba6e3f4a0e gracefully handle bad connection errors to replica db ref #3212 2018-02-05 15:05:21 -08:00
evazion
f2a7d3c41a /janitor_trials, /ip_bans: fix default ordering. 2018-02-04 16:48:35 -06:00
evazion
dac095f318 /user_feedbacks: change default order to created_at.
Order by created_at instead of by id because old feedbacks aren't in id order.
2018-02-04 16:43:00 -06:00
r888888888
32cc508edb hide uploader information on posts/show page, add keeper information 2018-02-01 14:38:03 -08:00
Albert Yi
a114af107f Merge pull request #3526 from BrokenEagle/fix-mod-actions
Fix mod actions
2018-01-30 11:40:54 -08:00
BrokenEagle
3933c273c4 Add mod action for move favorites 2018-01-30 11:27:28 -08:00
BrokenEagle
92f7bb46a2 Add missing mod action category 2018-01-30 11:27:24 -08:00
Albert Yi
47bd812811 Merge pull request #3525 from BrokenEagle/fix-index-default-order
Fix index default order
2018-01-29 13:11:24 -08:00
BrokenEagle
d829ab3a00 Move all order logic to models
- Have a default order for each model
-- The overall default is ID DESC
- Allow for custom orderings
-- When comma-separated IDs are used
2018-01-29 11:42:53 -08:00
evazion
5ea61c6921 /bans: fix undefined ordering when no params are passed.
Fixes the /bans listing being ordered randomly by default.
2018-01-28 15:38:12 -06:00
evazion
100c1d2828 Fix #3523: Feedback notification dmails should include the text of the feedback. 2018-01-28 14:32:38 -06:00
evazion
64186c004f Add pbs.twimg.com to artist finder blacklist.
ref: https://danbooru.donmai.us/forum_topics/14938.
2018-01-26 18:30:18 -06:00
evazion
f8a5620768 Partial fix for #3514: Handle https://twitter.com/i/web/status/:id URL. 2018-01-23 23:07:21 -06:00
Albert Yi
9f578b3270 Merge pull request #3504 from BrokenEagle/fix-3494
Fix how cosplay tags are handled
2018-01-18 12:47:02 -08:00
evazion
989854b3dd Fix #3507: Include ban length in feedback. 2018-01-17 19:53:49 -06:00
BrokenEagle
f626c7ebd7 Fix how cosplay tags are handled 2018-01-15 18:01:06 -08:00
Albert Yi
7ca3d2735c Merge pull request #3495 from BrokenEagle/fix-missing-super-search
Fix missing controllers for search[id] (Ref #3430)
2018-01-15 11:11:24 -08:00
Albert Yi
dfd343f70e Merge pull request #3496 from BrokenEagle/feat-mod-action-event-ids
Add categories to mod actions
2018-01-15 11:09:38 -08:00
Albert Yi
33e25314e7 Merge pull request #3501 from BrokenEagle/fix-2974
Fix erroneous updates to wiki page when nothing changes
2018-01-15 10:52:36 -08:00
BrokenEagle
160829d262 Don't update the updater_id when nothing has changed 2018-01-14 20:15:41 -08:00
BrokenEagle
f1bf1440b4 Don't save wiki page when notes value is null 2018-01-14 20:15:29 -08:00
BrokenEagle
85f04a826a Added additional mod actions 2018-01-14 00:07:20 -08:00
BrokenEagle
fcdc61f111 Add search interface for mod actions 2018-01-14 00:07:16 -08:00
BrokenEagle
3c45273694 Add category for mod actions 2018-01-13 20:55:52 -08:00
BrokenEagle
b9964e97a7 Don't log comment update action on delete 2018-01-13 20:42:07 -08:00
BrokenEagle
65eb94f8f9 Remove unused mod actions 2018-01-13 20:42:02 -08:00
BrokenEagle
ba7fadf6e9 Fix missing controllers for search[id] 2018-01-13 10:01:57 -08:00
r888888888
1a7bfca9bd fix reference to config.image_server_host 2018-01-04 13:10:15 -08:00
r888888888
b60f4d62fd delegate post url generation to config 2018-01-04 13:06:52 -08:00
r888888888
af6ab74f8d support dedicated image servers 2018-01-03 13:32:50 -08:00
BrokenEagle
17ffc36b60 Fix fuzzy autocomlete results 2018-01-03 09:08:19 -08:00
r888888888
604e9e9866 fix some unit tests 2018-01-02 15:12:48 -08:00
r888888888
4a80d6c337 refactor User#validate_sock_puppet to disable for tests 2018-01-02 14:32:38 -08:00
evazion
3e936748c0 Fix #3468: Approval queue should not show one's own uploads or previous approvals. 2017-12-28 19:36:37 -06:00
evazion
1ca2497015 Fix #3474: Spurious email notifications. 2017-12-28 18:50:08 -06:00
r888888888
d110f91198 updated related tags expiry for reltags delegated to reportbooru service 2017-12-27 17:30:26 -08:00
evazion
d8eef6ef2b Fix #1563: Warn users attempting to upload with very few tags. 2017-12-27 15:04:00 -06:00
evazion
952b5f9245 Fix bogus artist finder matches for http://www.nicovideo.jp/user/1234. 2017-12-26 14:31:42 -06:00