Commit Graph

650 Commits

Author SHA1 Message Date
evazion
d79f1aac96 Move stupidtable.js into application.js.
Fixes this javascript error:

    Uncaught TypeError: $(...).stupidtable is not a function

on these pages:

* http://safebooru.donmai.us/reports/user_promotions
* http://safebooru.donmai.us/reports/contributors
* http://safebooru.donmai.us/reports/janitor_trials

...due to stupidtable.js not loading.
2016-12-20 02:31:05 -06: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
aa5e65129b Merge pull request #2787 from evazion/fix-video_with_sound-blacklists
Prevent video_with_sound posts from autoplaying when blacklisted.
2016-12-19 13:10:23 -08:00
Albert Yi
66384d78a7 Merge pull request #2789 from evazion/fix-double-uploads
Prevent double uploading when hitting enter key in tag edit box more than once.
2016-12-19 13:09:59 -08:00
evazion
78ca92c981 Fix upload image resizer. (fixes #1375, #2471)
Polling the image height isn't reliable. Wait for the image to be fully
downloaded before resizing it instead.
2016-12-18 20:42:24 -06:00
evazion
b7246d335f Prevent double uploading when mashing enter key in tag edit box. 2016-12-18 18:45:02 -06:00
evazion
5d0e950cdb Prevent video_with_sound posts from autoplaying when blacklisted. 2016-12-17 18:33:03 -06:00
Albert Yi
2af622e7a7 add ban to post mode menu 2016-12-09 11:56:25 -08:00
evazion
b2a6cf070c Use raw note body instead of sanitized body for note edit box. 2016-11-19 21:33:26 -06:00
Albert Yi
8d0781c27f fixes #2740: random mod queue autoredirects after 5 actions 2016-10-27 13:22:28 -07:00
Albert Yi
2a5343b8cf add more intelligent js for artist forms 2016-10-18 14:56:40 -07:00
r888888888
de34c7fca3 fixes #2650: Add random mode to mod queue 2016-09-08 15:55:06 -07:00
Type-kun
d1674e4cbb Prevent JS mention autocomplete for e-mails (#2655) 2016-09-09 00:00:42 +05:00
r888888888
75b7e6d720 remove js console logging 2016-08-27 19:10:11 -07:00
r888888888
7b7a8cf423 support #2637 blacklisting post scores 2016-08-26 18:24:17 -07:00
r888888888
c0beca8e90 fixes #2631 artist urls in related tags should have option to open in new window 2016-07-25 14:25:09 -07:00
r888888888
ccd8c43718 fix image resizer on upload page 2016-04-27 16:21:40 -07:00
Moebius-Strip
74872c3cb6 Fix A & D shortcut JavaScript for post search nav
Replaced the operator with one for detecting a single space delimited value in an attribute.
2016-03-07 02:32:51 -05:00
r888888888
d66d4dcee4 fixes #2471: Bookmarklet: always show width/height 2016-02-17 16:49:44 -08:00
r888888888
403b918dab fixes #1375: The preview image on the upload page is sometimes displayed at full size 2016-02-17 16:47:14 -08:00
r888888888
fe4cb7f3ba track searches that return no results 2016-02-02 16:25:14 -08:00
Toks
af2167ea32 Fix bugs when anonymous uses member-only shortcuts 2016-01-13 11:48:25 -05:00
Toks
e9d79b7ae0 Fix approval notice not displaying if using shift+o shortcut 2016-01-13 11:43:54 -05:00
r888888888
c9c9d8fb15 stop persisting toggle of per-tag blacklist, black out blacklisted previews #2497 2016-01-04 16:34:29 -08:00
Toks
811a60bb9d Support R key shortcut on /favorites 2015-12-23 19:27:09 -05:00
r888888888
7637cfbad9 enable mentions for new forum topic 2015-12-17 15:39:02 -08:00
r888888888
8a63fb0f7c enable mention for comments #2466 2015-11-30 16:51:07 -08:00
Toks
a8f3a58a37 #2523 show null category as uncategorized 2015-11-18 18:55:38 -05:00
r888888888
156165a86f improved ui for saved searches #2523 2015-11-17 17:36:57 -08:00
Toks
fceba9fa8b #2523 Fix cancel button not canceling saving search 2015-11-13 00:18:40 -05:00
Toks
2d3b7182bc #2523 Enable categorized saved searches by default 2015-11-13 00:14:08 -05:00
Toks
250970a4b8 Fix images being scaled incorrectly at low screen widths
fixes #2548
2015-11-11 02:48:16 -05:00
r888888888
6514265ca7 support new listbooru changes #2523 2015-11-03 16:50:52 -08:00
r888888888
fafb881080 remove support for listbooru for tag subscriptions, enable for saved searches #2523 2015-10-27 17:47:07 -07:00
Toks
010008eab3 Fix being able to delete notes when post is note locked 2015-10-27 09:49:15 -04:00
Toks
f92cfe3b43 Disable all blacklists link: only create one cookie
#2518
2015-10-07 00:02:04 -04:00
r888888888
49b8f6ca43 addresses #2518: Rework disabled blacklist cookies 2015-10-06 15:20:50 -07:00
r888888888
5b04cd632d additional @mention autocomplete fixes 2015-10-01 12:13:28 -07:00
r888888888
f3029982bf fix js bugs #2466 2015-09-29 17:52:18 -07:00
r888888888
2babdbe68d support names with spaces #2466 2015-09-29 17:47:59 -07:00
r888888888
c9bd6fac5a add javascript for at mentioning usernames 2015-09-29 17:36:31 -07:00
r888888888
1ec7f85b75 fixes #2508: "Re-enable all" blacklist link doesn't affect all disabled entries 2015-09-04 15:12:19 -07:00
r888888888
6f4c460cff fixes #2487: Blacklist re-enable/disable all access for inline lists 2015-08-18 16:07:58 -07:00
r888888888
f93c3a827d alternative css for disabled blacklist tags 2015-08-18 15:52:11 -07:00
r888888888
6b96032a4e fixes #2486: Blacklist indication/display across the site 2015-08-18 15:47:31 -07:00
Moebius-Strip
d040f17c74 Fixes #2496: Blacklist entry counts only display zero when disabled 2015-08-16 23:24:36 -04:00
r888888888
d1b5d38521 fixes #2474: Make disabled blacklist entries persist across page loads and give option to disable / enable all 2015-08-10 16:15:31 -07:00
r888888888
86c2ae037b fixes #2467: Blacklists on mod queue 2015-08-10 15:25:03 -07:00
Moebius-Strip
6277bb2f61 Translate link toggle fix
In addition to preventing the event when starting translation mode, prevent it when stopping translation mode.
2015-08-09 02:08:15 -04:00
Toks
51254481e9 Add "disable all blacklists" link
#2474
2015-08-06 20:34:40 -04:00