Commit Graph

89 Commits

Author SHA1 Message Date
lllusion3469
0502f3ece1 Make dropzone accept mp4, webm, and swf files
to match the rest of the code base

For flash files I've used the file extension because the mime type is browser
specific and I've found at least 2 different variations for .swf:
1. `application/vnd.adobe.flash-movie`: wikipedia
2. `application/vnd.adobe.flash.movie`: mailcap, firefox
some other browser may not even know the .swf extension in the first place
2018-07-03 18:53:34 +02:00
Albert Yi
9f33b14fa8 adjust styling 2018-06-14 17:52:41 -07:00
Albert Yi
b0c2ddba8b update tests 2018-06-14 17:52:41 -07:00
Albert Yi
0e6c358701 add drag and drop file uploads w/async processing
[skip ci]
2018-06-14 17:52:41 -07:00
evazion
ff4616e7b2 uploads: add upload-specific secondary links. 2018-04-20 15:51:56 -05:00
Albert Yi
cd88a8df9f fixes #3620 2018-04-12 13:00:48 -07:00
r888888888
a8c4179083 fix html class in uploads/new 2018-01-02 15:34:43 -08:00
r888888888
659eb62402 css tweaks 2017-12-26 16:06:16 -08:00
BrokenEagle
d54b26c61d Convert tag category Javascript/CSS assets to ERB 2017-12-24 17:01:17 -08:00
Albert Yi
4d6dc895d6 Merge pull request #3362 from BrokenEagle/feat-client-input-validation
Moved input existence validations to client (#3352)
2017-11-21 10:56:14 -08:00
BrokenEagle
f91e11bb41 Moved input existence validations to client 2017-11-13 14:08:34 -08:00
BrokenEagle
6838901aac Moved non-config tag category info to its own class 2017-11-07 16:21:29 -08:00
BrokenEagle
1de8fd2bd6 Moved tag logic for Javascript to config file 2017-11-07 10:58:40 -08:00
r888888888
8874b274ad remove ccs integration 2017-10-17 17:59:26 -07:00
r888888888
0985f929cc style buttons for upload/post edit pages 2017-09-14 16:56:40 -07:00
evazion
6797f8564d upload limits: show full upload limits on upload page. 2017-08-10 23:58:58 -05:00
r888888888
d32e1a51ab expand access of ccs to builders 2017-08-02 17:15:16 -07:00
Albert Yi
9b982b3379 Merge pull request #3228 from r888888888/ccs
integrate with ccs
2017-07-21 18:00:05 -07:00
r888888888
c5a40628e6 integrate with ccs 2017-07-20 15:25:19 -07:00
evazion
7cb7c2fbab Remove ruby DText implementation (#3206). 2017-07-19 16:48:42 -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
c68e68f3c2 /uploads/new: add show/hide commentary toggle button. 2017-05-13 00:18:52 -05:00
evazion
b2f62482a1 Remove artist commentary handling from download rewrite strategies. 2017-05-10 18:01:51 -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
Albert Yi
87bcc07fae enable ragel parser for remaining dtext endpoints 2017-01-10 15:12:37 -08:00
Albert Yi
7aab50f726 remove old iqdb code 2016-12-02 13:21:56 -08:00
evazion
1d3ec05348 Fix nil exception on if help:upload_notice doesn't exist. 2016-11-21 01:40:37 -06:00
evazion
5909e8501c Pull upload notice, bookmarklet notice from help:upload_notice wiki page. 2016-11-21 01:17:15 -06:00
evazion
13d4474818 Add self-uploading disclaimer to uploads page. 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
329553ea1c fixes #2462: An error on the upload page shouldn't wipe out the url/ref params 2015-12-28 14:57:47 -08:00
r888888888
6480864718 fixes #2469 2015-10-15 15:24:24 -07:00
r888888888
e1a28ef117 Revert "Revert "updated formula for #2492""
This reverts commit 6a02e4f3f3.
2015-08-14 13:56:25 -07:00
r888888888
6a02e4f3f3 Revert "updated formula for #2492"
This reverts commit 04ded35e75.
2015-08-14 13:17:03 -07:00
r888888888
04ded35e75 updated formula for #2492 2015-08-13 15:18:27 -07:00
Toks
50f28e780a fix #2425 2015-07-04 22:20:47 -04:00
Toks
462e1ed324 Implement #2395 for nijie twitter and tumblr 2015-06-13 11:26:47 -04:00
r888888888
fd74f860ee potential fix for #2404 2015-06-10 17:28:51 -07:00
r888888888
cdc86f7665 fixes #2401 2015-06-09 17:28:10 -07:00
r888888888
2ddc93723c fixes #2327 2015-06-02 19:20:09 -07:00
r888888888
43ee2875bf potential fix for #2328 2014-12-17 14:18:25 -08:00
evazion
58f0ec3dec Use the normalized source in the upload form.
This makes it so you can use the bookmarklet to upload from any of these Pixiv pages:

* http://www.pixiv.net/member_illust.php?mode=medium&illust_id=45792845
* http://www.pixiv.net/member_illust.php?mode=big&illust_id=45792845
* http://www.pixiv.net/member_illust.php?mode=manga&illust_id=45792845
* http://www.pixiv.net/member_illust.php?mode=manga_big&illust_id=45792845&page=0

and the source field in the upload form will be filled in with the
actual image URL (e.g. http://i2.pixiv.net/img18/img/ringo78/45792845_big_p0.jpg),
and it will also be used for the "This post was already uploaded" check.
2014-10-04 12:45:37 -05:00
Toks
a2da2c1d44 #2130: Fix similar button on upload page 2014-06-08 21:55:38 -04:00
Toks
44c966e237 Fix rating: metatag on upload 2014-06-04 13:58:53 -04:00
Toks
c4fc3b0b2f #2176: Require rating in html 2014-06-02 17:51:04 -04:00
Toks
931559aa6b fixes #2167 2014-05-30 03:04:07 -04:00
Toks
f8cf941a7f Use normalized url for iqdb similar search 2014-04-30 21:44:03 -04:00
r888888888
3e5dd6ca20 enable iqdb previews in upload page 2014-03-27 15:34:05 -07:00
r888888888
16712b7d56 implement iqdb wrapper 2014-03-24 13:22:03 -07:00
Toks
3a9a6c6658 #1866: Normalize urls in artist finder 2013-12-25 12:43:54 -05:00