2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-04 01:15:08 +08:00
discourse/spec/fixtures/onebox/meetup_oembed.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

1 line
3.6 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"title":"February EmberTO Meet-up","height":397,"width":308,"html":"<style type=\"text\/css\">\n#meetup_oembed .mu_clearfix:after { visibility: hidden; display: block; font-size: 0; content: \" \"; clear: both; height: 0; }\n* html #meetup_oembed .mu_clearfix, *:first-child+html #meetup_oembed .mu_clearfix { zoom: 1; }\n#meetup_oembed { background:#eee;border:1px solid #ccc;padding:10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; }\n#meetup_oembed h3 { font-weight:normal; margin:0 0 10px; padding:0; line-height:26px; font-family:Georgia,Palatino,serif; font-size:24px }\n#meetup_oembed p { margin: 0 0 10px; padding:0; line-height:16px; }\n#meetup_oembed img { border:none; margin:0; padding:0; }\n#meetup_oembed a, #meetup_oembed a:visited, #meetup_oembed a:link { color: #1B76B3; text-decoration: none; cursor: hand; cursor: pointer; }\n#meetup_oembed a:hover { color: #1B76B3; text-decoration: underline; }\n#meetup_oembed a.mu_button { font-size:14px; -moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:2px solid #A7241D;color:white!important;text-decoration:none;background-color: #CA3E47; background-image: -moz-linear-gradient(top, #ca3e47, #a8252e); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #a8252e), color-stop(1, #ca3e47));disvplay:inline-block;padding:5px 10px; }\n#meetup_oembed a.mu_button:hover { color: #fff!important; text-decoration: none; }\n#meetup_oembed .photo { width:50px; height:50px; overflow:hidden;background:#ccc;float:left;margin:0 5px 0 0;text-align:center;padding:1px; }\n#meetup_oembed .photo img { height:50px }\n#meetup_oembed .number { font-size:18px; }\n#meetup_oembed .thing { text-transform: uppercase; color: #555; }\n<\/style>\n<div id=\"meetup_oembed\" style=\"height:372px\">\n <div style=\"max-height:332px;overflow:hidden\">\n <h3>February EmberTO Meet-up<\/h3>\n <p style=\"margin:5px 0;font-size:16px\">Thursday, Feb 5, 2015, 6:30 PM<\/p>\n <p>Location details are available to members only.<\/p>\n <span style=\"color:#4F8A10;font-size:16px;\">43 Emberists Attending<\/span> \n <div style=\"margin:5px 0 10px\" class=\"mu_clearfix\">\n <div class=\"photo\"><img src=\"http:\/\/photos4.meetupstatic.com\/photos\/member\/7\/2\/4\/4\/thumb_198989252.jpeg\" \/><\/div><div class=\"photo\"><img src=\"http:\/\/photos1.meetupstatic.com\/photos\/member\/5\/d\/8\/6\/thumb_202283942.jpeg\" \/><\/div><div class=\"photo\"><img src=\"http:\/\/photos2.meetupstatic.com\/photos\/member\/c\/d\/1\/7\/thumb_241912503.jpeg\" \/><\/div><div class=\"photo\"><img src=\"http:\/\/photos4.meetupstatic.com\/photos\/member\/8\/4\/a\/7\/thumb_243273959.jpeg\" \/><\/div><div class=\"photo\"><img src=\"http:\/\/photos2.meetupstatic.com\/photos\/member\/3\/b\/b\/c\/thumb_180255292.jpeg\" \/><\/div>\n <\/div>\n <p style=\"line-height:16px\">Hey Folks,\nWe're trying new (read: bigger) venues on for size in 2015, starting with the wonderful new ExChange space in the BrightLane building for our February meet-up.\nThis month we have our own Jorge Villalobos waxing on building faux-dynamic, SEO-friendly sites with Ember + Middleman, Precision Nutrition's Justin Giancola will be giving a ligh...<\/p>\n <\/div>\n <p style=\"margin:10px 0 0;\"><a href=\"http:\/\/www.meetup.com\/Toronto-Ember-JS-Meetup\/events\/219939537\/\" target=\"_blank\" class=\"mu_button\"><strong>Check out this Meetup &rarr;<\/strong><\/a><\/p>\n<\/div>\n","type":"rich","provider_url":"http:\/\/www.meetup.com\/","provider_name":"Meetup","version":"1.0"}