discourse/spec/fixtures/onebox/cloudapp-others.response
Arpit Jalan 283b08d45f
DEV: Absorb onebox gem into core (#12979)
* Move onebox gem in core library

* Update template file path

* Remove warning for onebox gem caching

* Remove onebox version file

* Remove onebox gem

* Add sanitize gem

* Require onebox library in lazy-yt plugin

* Remove onebox web specific code

This code was used in standalone onebox Sinatra application

* Merge Discourse specific AllowlistedGenericOnebox engine in core

* Fix onebox engine filenames to match class name casing

* Move onebox specs from gem into core

* DEV: Rename `response` helper to `onebox_response`

Fixes a naming collision.

* Require rails_helper

* Don't use `before/after(:all)`

* Whitespace

* Remove fakeweb

* Remove poor unit tests

* DEV: Re-add fakeweb, plugins are using it

* Move onebox helpers

* Stub Instagram API

* FIX: Follow additional redirect status codes (#476)

Don’t throw errors if we encounter 303, 307 or 308 HTTP status codes in responses

* Remove an empty file

* DEV: Update the license file

Using the copy from https://choosealicense.com/licenses/gpl-2.0/#

Hopefully this will enable GitHub to show the license UI?

* DEV: Update embedded copyrights

* DEV: Add Onebox copyright notice

* DEV: Add MIT license, convert COPYRIGHT.txt to md

* DEV: Remove an incorrect copyright claim

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: jbrw <jamie@goatforce5.org>
2021-05-26 15:11:35 +05:30

67 lines
3.4 KiB
Plaintext

<!doctype html>
<html ng-app="viewer">
<head>
<meta charset="utf-8">
<title>sample.pdf</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<base href="/">
<!-- Google Analytics -->
<style>.async-hide {opacity: 0 !important}</style>
<script>
(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
})(window,document.documentElement,'async-hide','dataLayer',4000,
{'GTM-K2FZ8RB':true});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-32600009-1', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('require', 'GTM-K2FZ8RB');
ga('linker:autolink', ['getcloudapp.com', 'cl.ly']);
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<link rel="stylesheet" href="//d1xpqvu40ore1n.cloudfront.net/8c6ea96f/vendor.css">
<link rel="stylesheet" href="//d1xpqvu40ore1n.cloudfront.net/8c6ea96f/app.css">
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=Om5KvRJpop" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-16x16.png?v=Om5KvRJpop" sizes="16x16">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KT2S3K4');</script>
<!-- End Google Tag Manager -->
<meta property="og:description" content="Shared with CloudApp" />
<meta property="og:title" content="sample.pdf" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://cl.ly/1x1f2g253l03" />
<meta name="twitter:card" value="summary" />
<meta name="twitter:site" value="@cloudapp" />
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KT2S3K4"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!--[if lt IE 10]>
<div class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.<div><a href="https://cl.ly/1x1f2g253l03/download/sample.pdf" class="button btn_primary">Download file</a></div></div>
<![endif]-->
<a href="https://cl.ly/1x1f2g253l03/download/sample.pdf" id="download_file_url" style="display: none;"></a>
<div ng-view=""></div>
<script src="//d1xpqvu40ore1n.cloudfront.net/8c6ea96f/vendor.js"></script>
<script src="//d1xpqvu40ore1n.cloudfront.net/8c6ea96f/app.js"></script>
</body>
</html>