Commit Graph

1849 Commits

Author SHA1 Message Date
evazion
d40acc4e25 /comments: add IDs differentiating group_by=post/group_by=comment (fixes #3152). 2017-06-18 22:36:20 -05:00
evazion
87da9ec873 /comments: break out index_by_post/index_by_comment into partials. 2017-06-18 22:32:51 -05:00
Albert Yi
8b8b4fde71 Merge pull request #3160 from evazion/feat-note-sanitization
Improve note sanitization
2017-06-16 12:48:46 -07:00
evazion
990f173b3d notes: move sanitization from d_text.rb to note_sanitizer.rb. 2017-06-15 22:58:13 -05:00
evazion
aef7fcd34c /static/bookmarklet: update bookmarklet description.
Better explain what the bookmarklet does, why it should be used, and how
to install it.
2017-06-15 22:29:18 -05:00
evazion
b80111ea05 /static/bookmarklet: fix typo in page id. 2017-06-15 22:29:18 -05:00
evazion
4806297fde /static/bookmarklet: use HTTPS in bookmarklet if connected via HTTPS. 2017-06-15 22:28:14 -05:00
Albert Yi
f780b32012 Merge pull request #3145 from r888888888/flagger_metatag
Add "flagger:" and "appealer:" metatags (fixes #3142)
2017-06-14 11:02:08 -07:00
Type-kun
1375cc5307 Added privilege check for seeing flagger usernames
Also reworked all places dealing with flagger names to use said privilege
2017-06-14 20:43:25 +05:00
r888888888
d9ea925f4e add support for searching for dup-related flags 2017-06-12 15:25:07 -07:00
Type-kun
04ef575704 Prevent exception if upload feedback topic is not set in config 2017-06-12 22:44:29 +05:00
Albert Yi
f44f5d1fdb Merge pull request #3126 from evazion/feat-queue-pools
Fix #3125: Show pools in mod queue
2017-06-08 14:13:44 -07:00
evazion
2929857682 blacklists: fix inline blacklist css to work on any page. 2017-06-07 23:31:34 -05:00
evazion
5c9b5cd21e blacklists: add missing blacklist controls on several pages (fix #3121). 2017-06-07 23:30:35 -05:00
evazion
151b276fb9 modqueue: display pools for each post (fix #3125). 2017-06-07 22:45:01 -05:00
evazion
12fffc3760 modqueue: factor out modqueue posts into partial. 2017-06-07 22:44:46 -05:00
Albert Yi
494ad99aac Merge pull request #3111 from evazion/fix-3099
Fix #3099: NilClass error for approval API request
2017-06-05 12:03:18 -07:00
evazion
fdf8e7d5d7 Fix mode menu 'approve' option.
* Fix routing error in respond_with (didn't use /moderator namespace).

* Fix /moderator/posts/approvals.json response to return full
  PostApproval object, not just a success/failure message.

* Simplify the javascript a bit (use $.post instead of $.ajax).
2017-06-04 12:14:35 -05:00
evazion
4fe97a8218 Hide the flags and appeals notices after approving post. 2017-06-04 10:07:42 -05:00
evazion
3880fbe13e /posts/$id: fix shift+O to approve shortcut.
`Danbooru.Post.approve` is used for approving posts via the mode menu.
It doesn't hide all the notices or the approve/disapprove/flag buttons.
Click the link instead to hide those things.

Click the #quick-mod-approve link instead of #approve because #approve
prompts for confirmation.
2017-06-04 10:07:26 -05:00
evazion
6699e9d66f Fix autocomplete on intro page (fix #3109). 2017-06-04 08:43:51 -05:00
r888888888
1478eff561 fixes #3098 2017-05-30 12:36:07 -07:00
evazion
3ecee91861 Fix #3061: Add "General" button for related tags on new/edit posts. 2017-05-26 12:49:59 -05:00
Albert Yi
fc708db2bd Merge pull request #3089 from evazion/fix-3081
Fix #3081: ATOM discovery link issues.
2017-05-24 15:38:38 -07:00
evazion
1b03832b26 /forum_topics/$id: fix atom feed discovery link.
> Found an issue with the forum topic ATOM discovery link. Currently the
> link is visible to feed detectors, but they are unable to add it since
> the link provided is invalid.
>
> <link rel="alternate" type="application/atom+xml" title="Artist tagging
> help" href="http://danbooru.donmai.us/forum_topics.8199" />
2017-05-24 16:11:00 -05:00
evazion
ea80d51ecf /posts/$id: add feed discovery link for comments on post. 2017-05-24 16:10:56 -05:00
evazion
1a52f9db2b wiki pages: add wildcard support to "other names" search. 2017-05-24 14:59:00 -05:00
evazion
614bf44086 /bulk_update_requests: add search form. 2017-05-23 17:23:32 -05:00
Albert Yi
eef1e686d8 Merge pull request #3067 from evazion/fix-3065
Fix #3065: <div> id incorrect for certain controllers
2017-05-22 12:15:47 -07:00
evazion
9cf2c60c09 /wiki_page_versions: add #p-global-listing, #p-page-listing ids.
Split the wiki page versions template into two partials,
_global_listing.html.erb and _page_listing.html.erb, to avoid the nested
conditionals that arise from combining these two pages into one template.

Add html IDs to distinguish between these two partials.
2017-05-22 14:05:30 -05:00
evazion
5ff4f12329 /moderator/ip_addrs: add #p-ip-listing, #p-user-listing ids. 2017-05-22 13:25:36 -05:00
evazion
52e289e990 /static/terms_of_service: fix page wrapper ids. 2017-05-22 13:19:18 -05:00
evazion
8bf03e596d /user_reverts/new: fix page wrapper id. 2017-05-22 13:09:52 -05:00
evazion
060375dce7 /bans/new: fix page wrapper ids. 2017-05-22 13:09:36 -05:00
evazion
d5b9b7162c /user_upgrades/new: fix page wrapper id.
* Move related css to user_upgrades.scss.
* Delete users/upgrade_information.html.erb as it is unused.
2017-05-22 13:07:31 -05:00
evazion
9b613157ae Add data attributes for CurrentUser's privileges to <body> tag (fix #3073). 2017-05-21 12:31:28 -05:00
evazion
223e600eb0 /explore/posts/{popular,searches,missed_searches}: fix page wrapper ids. 2017-05-21 10:26:03 -05:00
evazion
86b1298662 /reports/upload_tags: change page wrapper id to #c-upload-tags-report. 2017-05-20 12:09:37 -05:00
evazion
9bf85ee2b3 Factor out <ins>/<del> css from #c-post-versions to .diff-list. 2017-05-20 12:07:47 -05:00
evazion
6475b98c46 /posts/$id/events: change page wrapper id to #c-post-events. 2017-05-20 08:09:54 -05:00
evazion
0e26d0e77e /pool_versions: change page wrapper id to #c-pool-versions. 2017-05-19 13:55:30 -05:00
evazion
d46aa89159 /wiki_page_versions: change page wrapper id to #c-wiki-page-versions.
Changes the wrapper id to #c-wiki-page-versions and moves the
corresponding css from wiki_pages.scss to wiki_page_versions.scss.
2017-05-19 13:40:24 -05:00
evazion
302bc52bf8 post replacement: take guidelines from help:replacement_notice. 2017-05-17 00:14:41 -05:00
Albert Yi
6ddf0821d8 Merge pull request #3055 from evazion/feat-post-replacement-controller
Add post replacements controller.
2017-05-15 16:19:34 -07:00
Albert Yi
cf1d8e595c Merge pull request #3045 from evazion/feat-commentary-toggle
Add commentary toggle button on uploads page.
2017-05-15 16:00:30 -07:00
evazion
648cc9ecb7 Move post replacement create action to post replacements controller. 2017-05-14 21:31:01 -05:00
evazion
8c88e87710 /forum_topics.atom: add atom feed for forum topics. 2017-05-13 10:37:59 -05:00
evazion
e68946e95d /comments.atom: add atom feed for comments. 2017-05-13 10:37:58 -05:00
evazion
c68e68f3c2 /uploads/new: add show/hide commentary toggle button. 2017-05-13 00:18:52 -05:00
Albert Yi
dc02dcf0e0 Merge pull request #3015 from evazion/feat-replace-images
Fix #2949: Sample image replacement ability
2017-05-12 17:11:29 -07:00