r888888888
2584646017
add additional formatting for delayed job listing
2016-12-24 18:00:40 -08:00
Albert Yi
5a1ac41450
eliminate transaction log items table
2016-12-21 15:00:59 -08:00
Albert Yi
62956be384
hide saved search functionality if not enabled
2016-12-21 14:53:39 -08:00
Albert Yi
ee4ebce4d7
support pool version archive
2016-12-21 11:43:46 -08:00
evazion
a92120e873
Fix #2785 : Allow changing API key; require password to view or change key.
2016-12-18 06:30:48 -06:00
Albert Yi
dfb7a000a5
assign approver on failed bulk update requests to fix nil error
2016-12-08 11:49:38 -08:00
Albert Yi
deb62e0cdb
smarter updates on saved searches on tag batch changes #2674
2016-12-05 17:22:07 -08:00
Albert Yi
bfa1ac63a4
fixes #2677 : secure way of sharing dmails
2016-12-05 16:28:05 -08:00
Albert Yi
eddf2e59f0
change formatting for modactions on alias/implication update + add mod action for tag batch changes
2016-12-05 14:46:02 -08:00
Albert Yi
2605da1037
lower requirements for janitor trial
2016-12-05 12:09:50 -08:00
evazion
5302b804f1
Fix #2779 : Erroneous pixiv_id parsed for novel/background/profile images
2016-12-04 02:04:44 -06:00
Albert Yi
d7c4c1f714
fix references to https for listbooru
2016-12-02 13:28:13 -08:00
Albert Yi
7aab50f726
remove old iqdb code
2016-12-02 13:21:56 -08:00
Albert Yi
ebedea99c1
fix urls for iqdb service
2016-11-30 15:20:26 -08:00
Albert Yi
428d4689d6
stub in support for iqdbs
2016-11-28 17:14:25 -08:00
Albert Yi
8ccc7c2251
Merge pull request #2777 from evazion/feat-normalize-yandere-sources
...
Normalize yande.re sources from image URL -> html page URL.
2016-11-28 12:03:40 -08:00
Albert Yi
5c761d4a60
Merge pull request #2775 from evazion/fix-user-feedbacks
...
Prevent mods from editing/deleting feedbacks given to themselves.
2016-11-28 12:02:47 -08:00
Albert Yi
4c0e44806c
Merge pull request #2774 from evazion/fix-2771
...
Fix #2771 : Approving deleted image doesn't create mod action.
2016-11-28 11:56:40 -08:00
evazion
1cce721114
Fix #2772 : Topics set as mod+ can't be reverted to public ones.
2016-11-28 05:50:46 -06:00
evazion
f9aeb875db
Normalize yande.re sources from image URL -> html page URL.
2016-11-28 05:04:02 -06:00
evazion
fa74c71b6d
Prevent mods from editing/deleting feedbacks given to themselves.
2016-11-28 03:57:24 -06:00
evazion
0697af6d23
Fix #2771 : Approving deleted image doesn't create mod action.
2016-11-28 02:50:07 -06:00
evazion
daf1324ab2
Refactor available_min_user_levels to view helper.
2016-11-28 01:36:59 -06:00
Albert Yi
67c374f272
fix relative links in at mentions
2016-11-18 11:42:49 -08:00
Albert Yi
0b9c1e1156
Merge pull request #2759 from evazion/fix-dmail-filters
...
Don't filter dmails from moderators; fix dmail filter exploit.
2016-11-14 16:27:17 -08:00
Albert Yi
536ba3c7ee
fixes #2756 : Have @Mentions Use Relative Instead of Absolute Links
2016-11-14 10:15:11 -08:00
evazion
47f663e002
Don't filter dmails from moderators ( fix #2757 ).
2016-11-12 01:11:40 -06:00
evazion
a16b91e2bf
Fix exploit allowing dmail filters to be set on other users.
...
Exploit:
curl \
-u $USERNAME:$API_KEY \
-X PUT "http://danbooru.donmai.us/maintenance/user/dmail_filter.json?dmail_id=1 " \
-d "dmail_filter[words]=owned&dmail_filter[user_id]=2"
...where dmail_id is any dmail you own (doesn't matter which) and user_id is the victim.
2016-11-12 01:10:14 -06:00
Albert Yi
30899b7d3b
Merge pull request #2753 from evazion/feat-autotag-cosplay
...
Autotag character_(cosplay) -> character, cosplay.
2016-11-11 16:48:30 -08:00
Albert Yi
ed6b48b0bc
Merge pull request #2754 from evazion/fix-comment-selfvotes
...
Prevent users from upvoting their own comments.
2016-11-11 16:46:50 -08:00
Albert Yi
eb6746a8a8
additional checks on forum topic visibility
2016-11-07 10:48:04 -08:00
evazion
1047d7c96b
Prevent users from upvoting their own comments.
2016-11-06 01:32:54 -06:00
evazion
f02a31a447
Autotag character_(cosplay) -> character, cosplay.
...
Make e.g. hatsune_miku_(cosplay) automatically add hatsune_miku and cosplay.
Perform autotagging after aliasing so that *_(cosplay) aliases (e.g.
hestia_(dungeon)_(cosplay) -> hestia_(danmachi)_(cosplay)) can take
effect first.
2016-11-04 23:37:28 -05:00
Albert Yi
4e48e80e1f
stub in preview for bulk revert
2016-11-02 13:53:01 -07:00
Albert Yi
91793fff82
fixes #2731 : Expunged posts should clear favorite groups
2016-11-01 13:44:36 -07:00
Albert Yi
2dbb869188
keep track of post approvals to prevent approval cycles
2016-10-31 17:51:44 -07:00
evazion
f46d055218
Fix AmbiguousColumn exception in /forum_posts?search[creator_id]=1
2016-10-31 17:11:52 -05:00
evazion
18d2d0b6b8
Fix private forum topic bumping for users below min level.
2016-10-30 18:00:26 -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
8e87d41a3c
Merge pull request #2739 from evazion/fix-tag-alias
...
Fix "conflicting wikis" message; fix alias/implication approvers in BURs (#2715 )
2016-10-27 10:44:51 -07:00
evazion
8672604ee7
Add upvote:/downvote: editing metatags.
2016-10-26 23:23:47 -05:00
evazion
8b5aac7808
Add locked:{notes,status,rating} editing metatags ( fix #1716 ).
2016-10-26 23:23:09 -05:00
evazion
0dcd7e82be
Test forum posts generated by tag alias approval.
2016-10-26 21:52:19 -05:00
evazion
e67194c19d
Set approver when creating banned_artist implication.
2016-10-26 21:52:19 -05:00
evazion
6dd8ec909d
Set approver of aliases/implications in BURs.
...
Previously only the BUR's approver was set when a BUR was approved. Set
the approver for each alias/implication in the BUR as well.
Additionally:
* Refactor `approve!` to take a user instead of just a user id.
* Be mass-assignment permissions aware when setting approver_id.
2016-10-26 21:52:19 -05:00
evazion
abbf834256
Merge wiki conflict and tag alias approval forum posts ( #2715 ).
...
* Attribute the "tag alias has conflicting wiki pages" message to the
alias approver, not to the first admin.
* Merge the conflict message and alias approval message into one forum post.
* Fix an error with NewRelic gem not installed in test environment.
2016-10-26 21:52:15 -05: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
Albert Yi
589df5f301
implements #2658 : private forum topics
2016-10-24 16:56:18 -07:00
Albert Yi
f158e10c37
Merge pull request #2734 from evazion/fix-negated-aliases
...
Resolve aliases when removing negated tags (fix #2730 )
2016-10-24 12:21:21 -07:00