Commit Graph

364 Commits

Author SHA1 Message Date
r888888888
bda105c0e3 fix safebooru bug 2014-11-12 18:07:06 -08:00
r888888888
951ca8c4ee explicitly filter out unsafe tags 2014-11-06 17:19:39 -08:00
Toks
095d02414c Exempt deletions from dupe flag checking 2014-10-31 20:01:42 -04:00
Toks
9982f4333a fixes #2301 2014-10-29 21:19:51 -04:00
r888888888
3aa0ee2a75 hide ugoira preview/video link if it hasn't finished processing 2014-10-28 11:30:02 -07:00
evazion
bcef22aefe Add source redirection support for ugoira URLs. 2014-10-27 19:01:07 -05:00
Toks
4519d026d7 Merge pull request #2282 from evazion/feat-autotag-ugoira
Automatically add ugoira tag to ugoira posts.
2014-10-26 15:14:10 -04:00
Toks
32c0ee55fe Merge pull request #2286 from evazion/fix-ugoira-api
Include ugoira data in data attributes and JSON API
2014-10-26 15:10:05 -04:00
evazion
79395a8b2a Include ugoira data in post JSON API. 2014-10-26 13:15:59 -05:00
evazion
8844220c48 Ensure JSON API returns boolean for Post#has_large.
Currently the JSON API returns null for false and 0 for true for this
attribute. Cast it to a boolean instead.
2014-10-26 12:36:57 -05:00
evazion
9bbb272b34 Automatically add ugoira tag to ugoira posts.
Note that this only adds the ugoira tag to .zip posts. It does not
remove the ugoira tag for posts converted from ugoira, but that aren't
true ugoira.
2014-10-24 22:15:43 -05:00
r888888888
b6d4386949 fixes #2269 2014-10-23 16:42:04 -07:00
Toks
4ab58e841e Fix frame data record not being expunged along with post 2014-10-19 02:30:02 -07:00
r888888888
5f063d693a fully implement ugoira js player, upgrade jquery and jquery-ui 2014-10-19 02:30:02 -07:00
r888888888
4c73fb9f79 add ugoira support in view 2014-10-19 02:30:02 -07:00
r888888888
3bb06c2be4 integrate ugoiras into zip+webm+preview 2014-10-19 02:30:02 -07:00
Toks
1919bbf07e Update mod queue post previews for consistency with rest of site
Fixes display of borders on the previews and such. Also fix the yellow
duplicate background not always working because Post#has_dup_tag? didn't
return a boolean.
2014-10-14 13:14:36 -04:00
Toks
4fcf382ccf Fixminor bug with displaying parent border 2014-10-14 12:48:54 -04:00
Toks
3f6e03b726 Case-insensitive regex 2014-10-05 16:33:06 -04:00
Toks
6e80d77a89 #2261 source redirection and pixiv_id for thumbnails 2014-09-24 23:09:54 -04:00
Toks
ae49c7c016 #2261: fix source redirection, fix pixiv_id parsing 2014-09-24 12:25:14 -04:00
Toks
6d523153fa Change automatic tags to be added before aliases/implications
This allows aliases and implications to work on tags added automatically
2014-09-20 15:10:49 -04:00
Toks
fac385ffcb fix #2237 for webm and flash 2014-09-20 14:52:49 -04:00
Toks
87d3cc31b3 fixes #2257 2014-09-20 14:50:52 -04:00
ghostrigger
3d7e462f43 indentions
* alignment for 432ee05e98
2014-08-08 21:36:51 +08:00
ghostrigger
432ee05e98 o.twimg.com source redirection
* mainly twitpic, but it's possible there are others
* uses base64 and uri ruby modules
2014-08-08 21:29:24 +08:00
ghostrigger
a345dbdf00 #2235: partial nijie supported
* no mechanize used
* works when nijie post id is given in the url
2014-08-08 20:38:27 +08:00
Toks
993094edf1 Fix bugs when image width/height are null 2014-08-02 17:07:55 -04:00
ghostrigger
1599e17b04 update facebook redirection
* update for e2255d302d
* includes akamai
2014-07-24 21:59:39 +08:00
ghostrigger
c2ef708ce9 add minus.com source redirection
always points to the landing page regardless of the url if thumbnail or full size
2014-07-13 20:46:14 +08:00
ghostrigger
037967028f update #2216 for old urls
* follow-up to b194935bde
* doesn't solve the parentheses problem
2014-07-03 00:10:48 +08:00
ghostrigger
13a97d9b8c #1866: improved gelbooru support
* support for discontinued sha1 naming scheme
* all redirects to gelbooru will now use danbooru's md5 hashes
* update for aa7a91c98f
2014-07-02 19:04:58 +08:00
ghostrigger
42857cd552 fixes #2215 hopefully
* improved domain support
* renamed archived files will be redirected to the latest version; users still have to click 'File history' to view the old ones

note: it appears wikia doesn't support yet #filehistory and #mediaviewer from wikipedia
2014-07-02 08:23:18 +08:00
Albert Yi
7ab3764d0d Merge pull request #2214 from r888888888/webm
WebM support
2014-07-01 13:17:29 -07:00
ghostrigger
40fe8ab9b1 #2215: update to fix the first case 2014-07-01 09:14:50 +08:00
Toks
a84850c094 WebM support 2014-06-30 17:19:37 -04:00
ghostrigger
feb2362a49 #2213: limited support for diarypro
doesn't support the following:
* those with customized subdirectories
* those that replaced the default diary.cgi with other page
* those that moved to other domains
* deleted or reset entry numbers
* domains that switched to other blog service provider
2014-06-30 23:03:53 +08:00
ghostrigger
1a2517634a #2211: the mishimmie support
runs shimmie
2014-06-28 19:10:04 +08:00
ghostrigger
124495bd33 #1866 support rule34.xxx and img.ly
* included support for the old rule34 under the booru.org imageboard network
* img.ly uses base62 links e4146636af
2014-06-27 17:07:06 +08:00
ghostrigger
2041fd9325 #1866: support doujinantena source redirection
brings the user to the front/1st page of the doujin similar when viewing manga in pixiv
2014-06-27 16:37:42 +08:00
Toks
18ac8124ce indent 2014-06-24 21:18:32 -04:00
ghostrigger
d437f0cb71 #1866 support for rule34.paheal.net
note: rule34.paheal.net runs shimmie
2014-06-25 08:49:25 +08:00
ghostrigger
2049ffc6aa #1866: support nijigen-daiaru source redirection
* brings the user to the front/1st page of the doujin similar when viewing manga in pixiv
2014-06-24 17:07:12 +08:00
ghostrigger
141b50e15e #1866: support e-shuushuu source redirection
* currently, e-shuushuu already redirects some posts to their landing pages (http://e-shuushuu.net/image/?image_id=$id), particularly those ending in 'jpg'
* for some reason, e-shuushuu doesn't natively support other formats even the uppercased 'JPG'
* the following lines aim to address this issue to redirect to http://e-shuushuu.net/image/$id
* http://e-shuushuu.net/image.php?mode=view&image_id=$id is also a valid alternative but is not used
2014-06-23 19:43:28 +08:00
ghostrigger
bd1de1d434 update #1866 corrects first 3 octets
in the ip address
2014-06-23 08:12:02 +08:00
ghostrigger
e448e489e2 #1866: support e-hentai source redirection
* hopefully prevents error pages when the url during upload expires
* makes use of file sha-1 hash and filename in the url to query the e-hentai search page
* the file hash by itself is enough to generate a result but the filename is also added for completeness (the page displays the filename being searched)
* ip addresses, port numbers, and unix timestamps validation can also be added later
* a better solution maybe is to get the gallery ids and gallery tokens directly
2014-06-22 23:18:51 +08:00
ghostrigger
f9cc0f0c88 #1866: support wikia source redirection
included support for different image servers
2014-06-18 15:17:43 +08:00
ghostrigger
aa7a91c98f #1866: support gelbooru source redirection
doesn't support the discontinued sha1 naming scheme in some older files
2014-06-16 01:19:27 +08:00
ghostrigger
964be9a633 update #1866 escape
escape the dot in the url
2014-06-15 23:16:49 +08:00
ghostrigger
61c23c54b4 #1866: support for zerochan & minitokyo
redirect to full sizes in respective domains; users still need to register in these sites in order to view *some* posts; those tagged 'ecchi' in zerochan can't be used anonymously
2014-06-12 09:50:21 +08:00