166 Commits

Author SHA1 Message Date
ccd0
6ea2eadba1 Fix Mediacrush embedding bug.
Network latency could cause videos to be embedded in already closed
inlined quotes, which would play automatically and could not be
closed.
2014-08-31 17:15:31 -07:00
ccd0
d303ebdd9e embedding bugfixes 2014-08-30 00:13:29 -07:00
ccd0
b5d45575ca remove leftover 2014-08-24 14:10:35 -07:00
ccd0
7300414711 add Clyp embedding 2014-08-24 14:07:44 -07:00
ccd0
23290a5d6b add Loopvid embedding 2014-08-24 13:58:21 -07:00
ccd0
ebf2ae1999 linkify fixes 2014-08-24 12:43:18 -07:00
ccd0
3bc0fa4b32 improve InstallGentoo embedding 2014-08-24 12:21:53 -07:00
ccd0
67efff9dd1 clean up embedding regexps 2014-08-24 12:17:02 -07:00
ccd0
e252903b7d remove remnants of CachedTitles 2014-08-24 10:29:20 -07:00
ccd0
6302f4a6d8 don't try to embed iframes/objects from HTTP-only services 2014-08-16 22:12:29 -07:00
ccd0
7d7c6712f9 gist embedding: replace purplegene with sandboxed iframe with data: URI which will work on HTTPS 2014-08-09 09:08:45 -07:00
ccd0
cff287c9c3 HTML templates 2014-08-02 22:43:01 -07:00
ccd0
d4bea6380f embed strawpoll results page 2014-07-18 21:47:33 -07:00
ccd0
e6f058a136 update protocols (http/https) for embedded services 2014-07-18 21:07:29 -07:00
ccd0
246b43da74 make (embed) link point to the URL 2014-07-18 20:15:07 -07:00
ccd0
b22ea2b9cc don't embed inside [code] tags 2014-07-05 03:07:03 -07:00
ccd0
42468dd5c6 make pastebin embedding work when link is to raw version or other page using ?i= 2014-06-08 10:17:45 -07:00
ccd0
db15797639 youtube embedding: h-m-s start times need to be converted 2014-06-08 02:29:22 -07:00
ccd0
f708da1240 fix youtube start time, make youtube embedding more robust against garbage appended to URLs 2014-06-08 01:16:08 -07:00
ccd0
4f1fbeaf84 fix extra argument 2014-05-12 00:25:48 -07:00
ccd0
00b012b1db prefer vorbis over mp3 2014-05-10 00:49:12 -07:00
ccd0
a7f20420fe Set title in any clones already created
This fixes a bug where titles would sometimes not show up in posts
retrieved from another thread or the archive.
2014-05-10 00:34:18 -07:00
ccd0
989ed8e787 improve SoundCloud embed 2014-05-09 22:40:09 -07:00
ccd0
24db78a734 Support twitch archive links
Also drop <param name=movie> which should only be needed for IE.
2014-05-09 20:31:56 -07:00
ccd0
2e3aa93ef2 rewrite innerHTML for twitch.tv 2014-05-09 19:37:19 -07:00
ccd0
90149c3b9c Revert "twitch.tv URLs appear to be banned from 4chan, no point in maintaining this code"
This reverts commit 6002d118d6fe6cf21955a1ed16d56d2eaad40471.
2014-05-09 17:29:12 -07:00
ccd0
dd204d95f1 easier to see safety of innerHTML use from one line 2014-05-09 02:46:16 -07:00
ccd0
589b462f84 hide links on embed instead of recreating them on unembed 2014-05-09 02:39:58 -07:00
ccd0
c06a24742f one less innerHTML to check 2014-05-09 01:40:24 -07:00
ccd0
14138de371 fix stray quote mark 2014-05-09 01:21:20 -07:00
ccd0
546c5d3297 soundcloud doesn't need to inject their own HTML 2014-05-09 01:15:29 -07:00
ccd0
0110186caa update mediacru.sh filetypes 2014-05-09 00:51:09 -07:00
ccd0
2a9f2cc196 switch to template approach 2014-05-09 00:31:37 -07:00
ccd0
6002d118d6 twitch.tv URLs appear to be banned from 4chan, no point in maintaining this code 2014-05-08 23:35:03 -07:00
ccd0
ba9f2c65a3 remove semicolon 2014-05-08 23:15:57 -07:00
Zixaphir
40d550ab4e Fuck protocols. 2014-05-08 23:12:14 -07:00
Zixaphir
e767f77bce Clean reserved words 2014-05-08 23:05:05 -07:00
Zixaphir
a2e5d07976 Small Linkifier miss involving hostname.com:port 2014-05-08 22:37:08 -07:00
ccd0
9eabd7a4dc remove leftover cached title stuff 2014-05-08 22:31:25 -07:00
Zixaphir
af62b44df1 Eliminate title cacheing for the time being.
Causing too many problems.
Also attempt to optimize Linkify.
2014-05-08 22:22:04 -07:00
Zixaphir
83cfa3fea9 Lets not even bother linkifying a comment with no links.
ccd0: not committing this part for now:
Also switch out some loops.
2014-05-08 21:59:01 -07:00
ccd0
b149071d67 fix embedding in inline quotes 2014-05-08 21:36:22 -07:00
ccd0
191aee4a5d move regString definition 2014-05-08 19:57:08 -07:00
ccd0
abf8459325 small fixes to mediacrush embedding 2014-05-08 01:51:34 -07:00
ccd0
1ddca2a236 I don't think these are exploitable, but better to be safe 2014-05-08 01:44:36 -07:00
ccd0
d3c42c25cc this should be textContent 2014-05-08 01:31:51 -07:00
ccd0
8d9d230a60 don't execute SVG javascript 2014-05-08 00:59:06 -07:00
ccd0
3b3ec60dbe get rid of unwanted style on embeds 2014-04-13 00:39:34 -07:00
ccd0
c5733e47bc change vocaroo embed to HTML5 2014-04-13 00:29:37 -07:00
ccd0
568da4ba53 minor fix 2014-04-13 00:06:55 -07:00