Commit Graph

256 Commits

Author SHA1 Message Date
Type-kun
04ef575704 Prevent exception if upload feedback topic is not set in config 2017-06-12 22:44:29 +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
3ecee91861 Fix #3061: Add "General" button for related tags on new/edit posts. 2017-05-26 12:49:59 -05:00
evazion
648cc9ecb7 Move post replacement create action to post replacements controller. 2017-05-14 21:31:01 -05:00
evazion
4e841c4ea5 post replacement: add "Replace Image" dialog to post sidebar. 2017-05-02 20:41:19 -05:00
evazion
4631262374 Fix broken tag autocomplete on multiple pages.
Mark all tag <input>s with a `data-autocomplete` attribute, instead of
hardcoding a list of html IDs to autocomplete in javascript.

This way should be less error prone. It fixes autocomplete in several places:

* Autocomplete for the search box on /posts didn't work in the
  responsive layout. This was because /posts has two search boxes that
  both have the id `tags`: one in the normal sidebar, and one in the
  responsive tag list. $("#tags") only initialized autocomplete on the
  first one.

* Autocomplete didn't work on the aliases or implications pages. This
  was due to selecting the wrong html ids.
2017-04-22 15:24:03 -05:00
evazion
5f6506cbb4 /posts/1234: add confirm dialog to sidebar approve/undelete links. 2017-04-06 22:33:34 -05:00
r888888888
b3e3012a9c link to upload advice thread for deleted posts 2017-03-22 16:33:14 -07:00
Albert Yi
bdac591266 fixes #2838 2017-01-16 12:57:43 -08:00
evazion
780fe07976 Move ugoira_player.js into application.js.
Fixes an issue with the ugoira player not working on Safebooru due to
this error:

    Asset filtered out and will not be served: add
    `Rails.application.config.assets.precompile += %w( ugoira_player.js)`
    to `config/initializers/assets.rb` and restart your server
2016-12-20 02:26:13 -06:00
Albert Yi
7aab50f726 remove old iqdb code 2016-12-02 13:21:56 -08:00
evazion
5e3393817f Link to howto:flag in flag notice. 2016-10-24 18:52:01 -05:00
Type-kun
a7d553038f Add "disable-with" to most edit forms (should fix #2264) 2016-08-30 22:54:38 +05:00
r888888888
e1c7fbc373 Revert "move post desc to header at top"
This reverts commit 0ab51f3a83.
2016-05-31 11:15:44 -07:00
r888888888
0ab51f3a83 move post desc to header at top 2016-05-28 14:14:32 -07:00
r888888888
8862c486bb update dtext gem, include more contextual tags on images 2016-03-24 17:26:20 -07:00
r888888888
c400a20b64 remove title from images 2016-03-15 11:06:21 -07:00
r888888888
6d6d00b190 expose voting to non-gold supervoters 2016-03-14 16:52:49 -07:00
r888888888
fd8340dec4 include tags in image alt/title for seo 2016-03-10 15:04:00 -08:00
Toks
009f020896 Fix A/D shortcuts not working on post page 2016-02-10 13:33:36 -05:00
r888888888
3354b523e5 add nofollow attr to post show_seq links 2016-02-09 14:04:05 -08:00
r888888888
2dd4b4cbff add schema.org metatags 2016-02-09 14:02:47 -08:00
r888888888
504674b288 add rel=nofollow in more places 2016-02-03 23:47:17 -08:00
r888888888
b8f14b6fee hide more pages for banned artists #2132 2016-01-27 17:06:13 -08:00
r888888888
fea20c84dc fixes #2541 (only for new uploads, flagged posts will still show disapprovals immediately) 2015-10-27 11:49:51 -07:00
r888888888
78632e396d move addthis key to config 2015-10-19 14:33:06 -07:00
Toks
8f6d8270fe fixes #2522 2015-09-28 19:42:19 -04:00
Toks
1de52791f3 Use pretty favgroup name in nav links 2015-09-07 19:53:38 -04:00
Toks
8bea509962 Don't loop videos with sound 2015-09-03 20:07:45 -04:00
r888888888
076416c228 fix functional tests 2015-08-19 11:23:29 -07:00
r888888888
f66d5c3f02 fixes #2461: Mod queue comments 2015-08-05 13:11:32 -07:00
r888888888
0f6356c9e3 fixes #1822: Change "Unvote" to "Undo down vote" and "Undo up vote" 2015-08-04 16:33:20 -07:00
Toks
1c81c303d6 Add sidebar link for adding to favgroup 2015-07-27 21:01:34 -04:00
r888888888
f87c71cf23 remove post view counts, add search counts 2015-07-27 17:27:40 -07:00
r888888888
40a9f3658c fixes #2447: Display disapproval counts in status bar to uploader and approvers 2015-07-24 14:24:51 -07:00
r888888888
43377e3a82 fixes #2447: Display disapproval counts in status bar to uploader and approvers 2015-07-23 14:29:18 -07:00
r888888888
95e10e3acd fixes #2447: Display disapproval counts in status bar to uploader and approvers 2015-07-22 11:29:46 -07:00
r888888888
a39e390e24 fixes #2446 2015-07-21 15:26:07 -07:00
r888888888
9e6d08600c store post view counts in reportbooru/fetch view counts from reportbooru #2128 2015-07-21 13:09:32 -07:00
r888888888
9f8e723d83 fixes #2438: Flagged posts cannot be approved from post page 2015-07-15 13:26:01 -07:00
Toks
7c90fca006 Allow moving favorites for already deleted post 2015-07-07 11:08:32 -04:00
r888888888
1d9596d7f2 fixes #2417 2015-06-29 18:17:59 -07:00
Toks
9c70b69d28 fixes #2422 2015-06-29 15:01:41 -04:00
Toks
f3e4aa51f0 preserve favgroup_id 2015-06-25 10:45:26 -04:00
Toks
c2530e9e53 Allow A/D shortcuts for browsing favgroups 2015-06-25 10:29:59 -04:00
Toks
04fa5596e2 Favorite groups 2015-06-23 15:25:54 -04:00
r888888888
f8b8b6d6f7 fix typo 2015-06-18 17:03:40 -07:00
r888888888
850cabe8fc fixes #2414 2015-06-18 16:48:25 -07:00
Toks
0120fe8acb Add "Download" link which will include post's tags in filename 2015-06-10 23:38:25 -04:00
r888888888
ebe0c2e019 expose embed notes option 2015-02-09 18:26:55 -08:00