mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 14:34:31 +08:00
1550 lines
119 KiB
Plaintext
1550 lines
119 KiB
Plaintext
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<link rel="dns-prefetch" href="https://github.githubassets.com">
|
||
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
|
||
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
|
||
<link rel="dns-prefetch" href="https://avatars2.githubusercontent.com">
|
||
<link rel="dns-prefetch" href="https://avatars3.githubusercontent.com">
|
||
<link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
|
||
<link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
|
||
|
||
|
||
|
||
<link crossorigin="anonymous" media="all" integrity="sha512-UzMqFF3u6q+PIf7vRROKCCcSAIYk0CGPD1MvMAnv0X7Pqxc6MTt+l1mXE6StaVvPg+m/XgXexi1uO8P/zszHgA==" rel="stylesheet" href="https://github.githubassets.com/assets/frameworks-53332a145deeeaaf8f21feef45138a08.css" />
|
||
<link crossorigin="anonymous" media="all" integrity="sha512-64lrKWJQDNfV0kiKLzdghJjhBJyD7/qXUKAmjXO+y4Xlnaav6upzJkp9hTlKJrul5SsSRIiX0aaCleQNyMdeZw==" rel="stylesheet" href="https://github.githubassets.com/assets/site-eb896b2962500cd7d5d2488a2f376084.css" />
|
||
<link crossorigin="anonymous" media="all" integrity="sha512-OjLzwi/p8mjjfWtWCrPLbeZem4jzl/IWUvdseQTXqLcLUjAnF7rGsfFxWUfDRURNW4YCSes9IpkKDcgJ7VTUfg==" rel="stylesheet" href="https://github.githubassets.com/assets/github-3a32f3c22fe9f268e37d6b560ab3cb6d.css" />
|
||
|
||
|
||
|
||
|
||
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-8K2vvwbW+6H27Nad5ydg8PA2/aMD/LKq+EiK9s0U0hhVZxCI2tWBsYk9beAtisRw2j+Or5k2/F+6dk02nmj/PA==" type="application/javascript" src="https://github.githubassets.com/assets/environment-f0adafbf.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-QS9QfK1IxTvdFnaP4mBeuBisppg+Ow9rrljCm+oBriKByY64ArshdcA79yrpFSHnm2Surz9uRoZTRBB4x3/2Yg==" type="application/javascript" src="https://github.githubassets.com/assets/chunk-frameworks-412f507c.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-hpGQ52clY/n4R9OsQLgOJzvbYuU227k2yXUQXuwh/PWoRqFFofLCKHsaJGVG7fZy5px2fqJFXwdxjZuhMqSgnQ==" type="application/javascript" src="https://github.githubassets.com/assets/chunk-vendor-869190e7.js"></script>
|
||
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-cceAQRiPoDQtc7zRrKT3NNwvSh6bCtjBslmEJiosWxw+xdU/61I0Dw9uPZz/VSGcEgCsExeMOtRZfQIRmjYYoA==" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-71c78041.js"></script>
|
||
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-P2YMkqfXJOOfxTTkNHbblY5ks3U+e9w9tiVyK9syrE5+JmlaCg1kUiuT1DfbyJXwaOLaRLT3zam2r+QrxTZ3iw==" type="application/javascript" data-module-id="./chunk-contributions-spider-graph.js" data-src="https://github.githubassets.com/assets/chunk-contributions-spider-graph-3f660c92.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-obMR8mPKx8OvqRe34LgnUcxeJ1qujiA4ND3H6UX13ExMlA/WfHLjEzXRmgGRcRvN/8J1nzc+Z+jgz/PLTFy6zg==" type="application/javascript" data-module-id="./chunk-drag-drop.js" data-src="https://github.githubassets.com/assets/chunk-drag-drop-a1b311f2.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-yGHlU15Ycv/1UkpPTVKgm9bDZRVbDJxx0n94pbIWequIXR3FYSskJerCSCPSzBAeXis2ZLtihPIP/keMFYwkDg==" type="application/javascript" data-module-id="./chunk-jump-to.js" data-src="https://github.githubassets.com/assets/chunk-jump-to-c861e553.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-tcH4xCRuMBAh1PruDaiwGnRIbHlF6bGLhxyCQ16uqok1cV5QFMguVPWJtN9KI0jGQOgN+Pha3+uOUXhXdfK/qw==" type="application/javascript" data-module-id="./chunk-profile-pins-element.js" data-src="https://github.githubassets.com/assets/chunk-profile-pins-element-b5c1f8c4.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-gPx3bYhTjyC83X5u5KlEDJpwGAHt3AC2p5s9iMuAfPTeSj7kHlKMW231C3K3c7+jvlpWpELk8DJsefrYdRzqjA==" type="application/javascript" data-module-id="./chunk-randomColor.js" data-src="https://github.githubassets.com/assets/chunk-randomColor-80fc776d.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-E+H+wAtjiqutBvn2cnXzDIvmasIhYiS7i7JzOfFUwo+Ej8zT54OrJtP//RhwixnypgOpCF4JvqzYy6zOtORDmg==" type="application/javascript" data-module-id="./chunk-runner-groups.js" data-src="https://github.githubassets.com/assets/chunk-runner-groups-13e1fec0.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-qdiCkJPPR4LxwUKftEmJe2v79E8xnTceYqylsWkMsGuARkiKkX9iFNwkvZJ3bDfS5YHSPD3+k+N2/I73tvlL1Q==" type="application/javascript" data-module-id="./chunk-sortable-behavior.js" data-src="https://github.githubassets.com/assets/chunk-sortable-behavior-a9d88290.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-NpURjBPyJ0JT8hWOMbLErYNeb0bTkKfmFX1hl1F8C/q6jckqWObeOzEAcs6TRlj+cqAR6GDohEBxDgkYBlx+QQ==" type="application/javascript" data-module-id="./chunk-tweetsodium.js" data-src="https://github.githubassets.com/assets/chunk-tweetsodium-3695118c.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-e+30BriXsBu+fb/LGEU9gAzSwn25wRYzDDPpr2AA8jZJI9034xzRHYXjA9XhF+7ncBIGJ/uTD11G25/H0XyuZg==" type="application/javascript" data-module-id="./chunk-user-status-submit.js" data-src="https://github.githubassets.com/assets/chunk-user-status-submit-7bedf406.js"></script>
|
||
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-qNDna0BX3we4VBg3HjAz/0cUYWHU+kQ2GnbPj+s6SwRs8Tyfb7GbdrLwjZ5CaOMjxsHvd1XOZM+cu+tAPkX4zA==" type="application/javascript" src="https://github.githubassets.com/assets/repositories-a8d0e76b.js"></script>
|
||
<script crossorigin="anonymous" defer="defer" integrity="sha512-aw5tciVT0IsECUmMuwp9ez60QReE2/yFNL1diLgZnOom6RhU8+0lG3RlAKto4JwbCoEP15E41Pksd7rK5BKfCQ==" type="application/javascript" src="https://github.githubassets.com/assets/topic-suggestions-6b0e6d72.js"></script>
|
||
|
||
<meta name="viewport" content="width=device-width">
|
||
|
||
<title>discourse/spec/fixtures at master · discourse/discourse · GitHub</title>
|
||
<meta name="description" content="A platform for community discussion. Free, open, simple. - discourse/discourse">
|
||
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
|
||
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
|
||
<meta property="fb:app_id" content="1401488693436528">
|
||
<meta name="apple-itunes-app" content="app-id=1477376905" />
|
||
<meta name="twitter:image:src" content="https://avatars3.githubusercontent.com/u/3220138?s=400&v=4" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary" /><meta name="twitter:title" content="discourse/discourse" /><meta name="twitter:description" content="A platform for community discussion. Free, open, simple. - discourse/discourse" />
|
||
<meta property="og:image" content="https://avatars3.githubusercontent.com/u/3220138?s=400&v=4" /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="discourse/discourse" /><meta property="og:url" content="https://github.com/discourse/discourse" /><meta property="og:description" content="A platform for community discussion. Free, open, simple. - discourse/discourse" />
|
||
|
||
|
||
|
||
|
||
|
||
<link rel="assets" href="https://github.githubassets.com/">
|
||
|
||
|
||
<meta name="request-id" content="EC7E:3D22:B93E5E:10B638A:5FB6B10D" data-pjax-transient="true"/><meta name="html-safe-nonce" content="159dfc9433bbba6a0120fb5feceb16f1099d92e4e997b0b03177398a94be58b6" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzdFOjNEMjI6QjkzRTVFOjEwQjYzOEE6NUZCNkIxMEQiLCJ2aXNpdG9yX2lkIjoiNzM0NTY2MTg3MDUwNzIwODk3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9" data-pjax-transient="true"/><meta name="visitor-hmac" content="f2ab15ae93211f9199a17522b5ae37f19a1920cb7e92d5bb3e41604a8dfe6b06" data-pjax-transient="true"/><meta name="cookie-consent-required" content="false" data-pjax-transient="true"/>
|
||
|
||
<meta name="hovercard-subject-tag" content="repository:7569578" data-pjax-transient>
|
||
|
||
|
||
<meta name="github-keyboard-shortcuts" content="repository,source-code" data-pjax-transient="true" />
|
||
|
||
|
||
|
||
<meta name="selected-link" value="repo_source" data-pjax-transient>
|
||
|
||
<meta name="google-site-verification" content="c1kuD-K2HIVF635lypcsWPoD4kilo5-jA_wBFyT4uMY">
|
||
<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
|
||
<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
|
||
<meta name="google-site-verification" content="GXs5KoUUkNCoaAZn7wPN-t01Pywp9M3sEjnt_3_ZWPc">
|
||
|
||
<meta name="octolytics-host" content="collector.githubapp.com" /><meta name="octolytics-app-id" content="github" /><meta name="octolytics-event-url" content="https://collector.githubapp.com/github-external/browser_event" />
|
||
|
||
<meta name="analytics-location" content="/<user-name>/<repo-name>/files/disambiguate" data-pjax-transient="true" />
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<meta name="hostname" content="github.com">
|
||
<meta name="user-login" content="">
|
||
|
||
|
||
<meta name="expected-hostname" content="github.com">
|
||
|
||
|
||
<meta name="enabled-features" content="MARKETPLACE_PENDING_INSTALLATIONS">
|
||
|
||
<meta http-equiv="x-pjax-version" content="54c2d4c4c03877e502ae56a38c2d98b6b0af19468dbeb53e4c171c0edc86d5fc">
|
||
|
||
|
||
<link href="https://github.com/discourse/discourse/commits/main.atom" rel="alternate" title="Recent Commits to discourse:master" type="application/atom+xml">
|
||
|
||
<meta name="go-import" content="github.com/discourse/discourse git https://github.com/discourse/discourse.git">
|
||
|
||
<meta name="octolytics-dimension-user_id" content="3220138" /><meta name="octolytics-dimension-user_login" content="discourse" /><meta name="octolytics-dimension-repository_id" content="7569578" /><meta name="octolytics-dimension-repository_nwo" content="discourse/discourse" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="false" /><meta name="octolytics-dimension-repository_network_root_id" content="7569578" /><meta name="octolytics-dimension-repository_network_root_nwo" content="discourse/discourse" /><meta name="octolytics-dimension-repository_explore_github_marketplace_ci_cta_shown" content="false" />
|
||
|
||
|
||
<link rel="canonical" href="https://github.com/discourse/discourse/tree/main/spec/fixtures" data-pjax-transient>
|
||
|
||
|
||
<meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
|
||
|
||
<meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
|
||
|
||
<meta name="browser-optimizely-client-errors-url" content="https://api.github.com/_private/browser/optimizely_client/errors">
|
||
|
||
<link rel="mask-icon" href="https://github.githubassets.com/pinned-octocat.svg" color="#000000">
|
||
<link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://github.githubassets.com/favicons/favicon.png">
|
||
<link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg">
|
||
|
||
<meta name="theme-color" content="#1e2327">
|
||
|
||
|
||
<link rel="manifest" href="/manifest.json" crossOrigin="use-credentials">
|
||
|
||
</head>
|
||
|
||
<body class="logged-out env-production page-responsive">
|
||
|
||
|
||
<div class="position-relative js-header-wrapper ">
|
||
<a href="#start-of-content" class="px-2 py-4 bg-blue text-white show-on-focus js-skip-to-content">Skip to content</a>
|
||
<span class="progress-pjax-loader width-full js-pjax-loader-bar Progress position-fixed">
|
||
<span style="background-color: #79b8ff;width: 0%;" class="Progress-item progress-pjax-loader-bar "></span>
|
||
</span>
|
||
|
||
|
||
|
||
<header class="Header-old header-logged-out js-details-container Details position-relative f4 py-2" role="banner">
|
||
<div class="container-xl d-lg-flex flex-items-center p-responsive">
|
||
<div class="d-flex flex-justify-between flex-items-center">
|
||
<a class="mr-4" href="https://github.com/" aria-label="Homepage" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
|
||
<svg height="32" class="octicon octicon-mark-github text-white" viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>
|
||
</a>
|
||
|
||
<div class="d-lg-none css-truncate css-truncate-target width-fit p-2">
|
||
|
||
|
||
</div>
|
||
|
||
<div class="d-flex flex-items-center">
|
||
<a href="/join?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Ffiles%2Fdisambiguate&source=header-repo"
|
||
class="d-inline-block d-lg-none f5 text-white no-underline border border-gray-dark rounded-2 px-2 py-1 mr-3 mr-sm-5"
|
||
data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="15792d7508105d8b3cf7a7682f1f9ff6ef0dcbe6ea0cd1122732d8bea435cb62"
|
||
data-ga-click="Sign up, click to sign up for account, ref_page:/<user-name>/<repo-name>/files/disambiguate;ref_cta:Sign up;ref_loc:header logged out">
|
||
Sign up
|
||
</a>
|
||
|
||
<button class="btn-link d-lg-none mt-1 js-details-target" type="button" aria-label="Toggle navigation" aria-expanded="false">
|
||
<svg height="24" class="octicon octicon-three-bars text-white" viewBox="0 0 16 16" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M1 2.75A.75.75 0 011.75 2h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 2.75zm0 5A.75.75 0 011.75 7h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 7.75zM1.75 12a.75.75 0 100 1.5h12.5a.75.75 0 100-1.5H1.75z"></path></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="HeaderMenu HeaderMenu--logged-out position-fixed top-0 right-0 bottom-0 height-fit position-lg-relative d-lg-flex flex-justify-between flex-items-center flex-auto">
|
||
<div class="d-flex d-lg-none flex-justify-end border-bottom bg-gray-light p-3">
|
||
<button class="btn-link js-details-target" type="button" aria-label="Toggle navigation" aria-expanded="false">
|
||
<svg height="24" class="octicon octicon-x text-gray" viewBox="0 0 24 24" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"></path></svg>
|
||
</button>
|
||
</div>
|
||
|
||
<nav class="mt-0 px-3 px-lg-0 mb-5 mb-lg-0" aria-label="Global">
|
||
<ul class="d-lg-flex list-style-none">
|
||
<li class="d-block d-lg-flex flex-lg-nowrap flex-lg-items-center border-bottom border-lg-bottom-0 mr-0 mr-lg-3 edge-item-fix position-relative flex-wrap flex-justify-between d-flex flex-items-center ">
|
||
<details class="HeaderMenu-details details-overlay details-reset width-full">
|
||
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-block d-lg-inline-block">
|
||
Why GitHub?
|
||
<svg x="0px" y="0px" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-absolute position-lg-relative">
|
||
<path d="M1,1l6.2,6L13,1"></path>
|
||
</svg>
|
||
</summary>
|
||
<div class="dropdown-menu flex-auto rounded-1 bg-white px-0 mt-0 pb-4 p-lg-4 position-relative position-lg-absolute left-0 left-lg-n4">
|
||
<a href="/features" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Features">Features <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a>
|
||
<ul class="list-style-none f5 pb-3">
|
||
<li class="edge-item-fix"><a href="/features/code-review/" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Code review">Code review</a></li>
|
||
<li class="edge-item-fix"><a href="/features/project-management/" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Project management">Project management</a></li>
|
||
<li class="edge-item-fix"><a href="/features/integrations" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Integrations">Integrations</a></li>
|
||
<li class="edge-item-fix"><a href="/features/actions" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Actions">Actions</a></li>
|
||
<li class="edge-item-fix"><a href="/features/packages" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to GitHub Packages">Packages</a></li>
|
||
<li class="edge-item-fix"><a href="/features/security" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Security">Security</a></li>
|
||
<li class="edge-item-fix"><a href="/features#team-management" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Team management">Team management</a></li>
|
||
<li class="edge-item-fix"><a href="/features#hosting" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Code hosting">Hosting</a></li>
|
||
<li class="edge-item-fix hide-xl"><a href="/mobile" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Mobile">Mobile</a></li>
|
||
</ul>
|
||
|
||
<ul class="list-style-none mb-0 border-lg-top pt-lg-3">
|
||
<li class="edge-item-fix"><a href="/customer-stories" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Customer stories">Customer stories <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
||
<li class="edge-item-fix"><a href="/security" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Security">Security <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
||
</ul>
|
||
</div>
|
||
</details>
|
||
</li>
|
||
<li class="border-bottom border-lg-bottom-0 mr-0 mr-lg-3">
|
||
<a href="/team" class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-ga-click="(Logged out) Header, go to Team">Team</a>
|
||
</li>
|
||
<li class="border-bottom border-lg-bottom-0 mr-0 mr-lg-3">
|
||
<a href="/enterprise" class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-ga-click="(Logged out) Header, go to Enterprise">Enterprise</a>
|
||
</li>
|
||
|
||
<li class="d-block d-lg-flex flex-lg-nowrap flex-lg-items-center border-bottom border-lg-bottom-0 mr-0 mr-lg-3 edge-item-fix position-relative flex-wrap flex-justify-between d-flex flex-items-center ">
|
||
<details class="HeaderMenu-details details-overlay details-reset width-full">
|
||
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-block d-lg-inline-block">
|
||
Explore
|
||
<svg x="0px" y="0px" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-absolute position-lg-relative">
|
||
<path d="M1,1l6.2,6L13,1"></path>
|
||
</svg>
|
||
</summary>
|
||
|
||
<div class="dropdown-menu flex-auto rounded-1 bg-white px-0 pt-2 pb-0 mt-0 pb-4 p-lg-4 position-relative position-lg-absolute left-0 left-lg-n4">
|
||
<ul class="list-style-none mb-3">
|
||
<li class="edge-item-fix"><a href="/explore" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Explore">Explore GitHub <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
||
</ul>
|
||
|
||
<h4 class="text-gray-light text-normal text-mono f5 mb-2 border-lg-top pt-lg-3">Learn & contribute</h4>
|
||
<ul class="list-style-none mb-3">
|
||
<li class="edge-item-fix"><a href="/topics" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Topics">Topics</a></li>
|
||
<li class="edge-item-fix"><a href="/collections" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Collections">Collections</a></li>
|
||
<li class="edge-item-fix"><a href="/trending" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Trending">Trending</a></li>
|
||
<li class="edge-item-fix"><a href="https://lab.github.com/" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Learning lab">Learning Lab</a></li>
|
||
<li class="edge-item-fix"><a href="https://opensource.guide" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Open source guides">Open source guides</a></li>
|
||
</ul>
|
||
|
||
<h4 class="text-gray-light text-normal text-mono f5 mb-2 border-lg-top pt-lg-3">Connect with others</h4>
|
||
<ul class="list-style-none mb-0">
|
||
<li class="edge-item-fix"><a href="https://github.com/events" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Events">Events</a></li>
|
||
<li class="edge-item-fix"><a href="https://github.community" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Community forum">Community forum</a></li>
|
||
<li class="edge-item-fix"><a href="https://education.github.com" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to GitHub Education">GitHub Education</a></li>
|
||
<li class="edge-item-fix"><a href="https://stars.github.com" class="py-2 pb-0 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to GitHub Stars Program">GitHub Stars program</a></li>
|
||
</ul>
|
||
</div>
|
||
</details>
|
||
</li>
|
||
|
||
<li class="border-bottom border-lg-bottom-0 mr-0 mr-lg-3">
|
||
<a href="/marketplace" class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-ga-click="(Logged out) Header, go to Marketplace">Marketplace</a>
|
||
</li>
|
||
|
||
<li class="d-block d-lg-flex flex-lg-nowrap flex-lg-items-center border-bottom border-lg-bottom-0 mr-0 mr-lg-3 edge-item-fix position-relative flex-wrap flex-justify-between d-flex flex-items-center ">
|
||
<details class="HeaderMenu-details details-overlay details-reset width-full">
|
||
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-block d-lg-inline-block">
|
||
Pricing
|
||
<svg x="0px" y="0px" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-absolute position-lg-relative">
|
||
<path d="M1,1l6.2,6L13,1"></path>
|
||
</svg>
|
||
</summary>
|
||
|
||
<div class="dropdown-menu flex-auto rounded-1 bg-white px-0 pt-2 pb-4 mt-0 p-lg-4 position-relative position-lg-absolute left-0 left-lg-n4">
|
||
<a href="/pricing" class="pb-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Pricing">Plans <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a>
|
||
|
||
<ul class="list-style-none mb-3">
|
||
<li class="edge-item-fix"><a href="/pricing#feature-comparison" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Compare plans">Compare plans</a></li>
|
||
<li class="edge-item-fix"><a href="https://enterprise.github.com/contact" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Contact Sales">Contact Sales</a></li>
|
||
</ul>
|
||
|
||
<ul class="list-style-none mb-0 border-lg-top pt-lg-3">
|
||
<li class="edge-item-fix"><a href="/nonprofit" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Nonprofits">Nonprofit <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
||
<li class="edge-item-fix"><a href="https://education.github.com" class="py-2 pb-0 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Education">Education <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
||
</ul>
|
||
</div>
|
||
</details>
|
||
</li>
|
||
</ul>
|
||
</nav>
|
||
|
||
<div class="d-lg-flex flex-items-center px-3 px-lg-0 text-center text-lg-left">
|
||
<div class="d-lg-flex mb-3 mb-lg-0">
|
||
<div class="header-search flex-auto js-site-search position-relative flex-self-stretch flex-md-self-auto mb-3 mb-md-0 mr-0 mr-md-3 scoped-search site-scoped-search js-jump-to"
|
||
role="combobox"
|
||
aria-owns="jump-to-results"
|
||
aria-label="Search or jump to"
|
||
aria-haspopup="listbox"
|
||
aria-expanded="false"
|
||
>
|
||
<div class="position-relative">
|
||
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="7569578" data-scoped-search-url="/discourse/discourse/search" data-unscoped-search-url="/search" action="/discourse/discourse/search" accept-charset="UTF-8" method="get">
|
||
<label class="form-control input-sm header-search-wrapper p-0 js-chromeless-input-container header-search-wrapper-jump-to position-relative d-flex flex-justify-between flex-items-center">
|
||
<input type="text"
|
||
class="form-control input-sm header-search-input jump-to-field js-jump-to-field js-site-search-focus js-site-search-field is-clearable"
|
||
data-hotkey="s,/"
|
||
name="q"
|
||
value=""
|
||
placeholder="Search"
|
||
data-unscoped-placeholder="Search GitHub"
|
||
data-scoped-placeholder="Search"
|
||
autocapitalize="off"
|
||
aria-autocomplete="list"
|
||
aria-controls="jump-to-results"
|
||
aria-label="Search"
|
||
data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations"
|
||
spellcheck="false"
|
||
autocomplete="off"
|
||
>
|
||
<input type="hidden" data-csrf="true" class="js-data-jump-to-suggestions-path-csrf" value="SuBNLqTIP2fV8kSesFEYgGJpZ8/fPlMsW91amioalBo2cEre3kg/sdy1eP+kC2YaXfKfRo2JxBrnOvwNt2b4hg==" />
|
||
<input type="hidden" class="js-site-search-type-field" name="type" >
|
||
<img src="https://github.githubassets.com/images/search-key-slash.svg" alt="" class="mr-2 header-search-key-slash">
|
||
|
||
<div class="Box position-absolute overflow-hidden d-none jump-to-suggestions js-jump-to-suggestions-container">
|
||
|
||
<ul class="d-none js-jump-to-suggestions-template-container">
|
||
|
||
|
||
<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item js-navigation-item js-jump-to-suggestion" role="option">
|
||
<a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" href="">
|
||
<div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 text-center d-none">
|
||
<svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"></path></svg>
|
||
<svg height="16" width="16" class="octicon octicon-project flex-shrink-0 js-jump-to-octicon-project d-none" title="Project" aria-label="Project" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 000 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0016 14.25V1.75A1.75 1.75 0 0014.25 0H1.75zM1.5 1.75a.25.25 0 01.25-.25h12.5a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25H1.75a.25.25 0 01-.25-.25V1.75zM11.75 3a.75.75 0 00-.75.75v7.5a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75zm-8.25.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5zM8 3a.75.75 0 00-.75.75v3.5a.75.75 0 001.5 0v-3.5A.75.75 0 008 3z"></path></svg>
|
||
<svg height="16" width="16" class="octicon octicon-search flex-shrink-0 js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M11.5 7a4.499 4.499 0 11-8.998 0A4.499 4.499 0 0111.5 7zm-.82 4.74a6 6 0 111.06-1.06l3.04 3.04a.75.75 0 11-1.06 1.06l-3.04-3.04z"></path></svg>
|
||
</div>
|
||
|
||
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28">
|
||
|
||
<div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target">
|
||
</div>
|
||
|
||
<div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none js-jump-to-badge-search">
|
||
<span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository">
|
||
In this repository
|
||
</span>
|
||
<span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub">
|
||
All GitHub
|
||
</span>
|
||
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
|
||
</div>
|
||
|
||
<div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
|
||
Jump to
|
||
<span class="d-inline-block ml-1 v-align-middle">↵</span>
|
||
</div>
|
||
</a>
|
||
</li>
|
||
|
||
</ul>
|
||
|
||
<ul class="d-none js-jump-to-no-results-template-container">
|
||
<li class="d-flex flex-justify-center flex-items-center f5 d-none js-jump-to-suggestion p-2">
|
||
<span class="text-gray">No suggested jump to results</span>
|
||
</li>
|
||
</ul>
|
||
|
||
<ul id="jump-to-results" role="listbox" class="p-0 m-0 js-navigation-container jump-to-suggestions-results-container js-jump-to-suggestions-results-container">
|
||
|
||
|
||
<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item js-navigation-item js-jump-to-scoped-search d-none" role="option">
|
||
<a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" href="">
|
||
<div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 text-center d-none">
|
||
<svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"></path></svg>
|
||
<svg height="16" width="16" class="octicon octicon-project flex-shrink-0 js-jump-to-octicon-project d-none" title="Project" aria-label="Project" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 000 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0016 14.25V1.75A1.75 1.75 0 0014.25 0H1.75zM1.5 1.75a.25.25 0 01.25-.25h12.5a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25H1.75a.25.25 0 01-.25-.25V1.75zM11.75 3a.75.75 0 00-.75.75v7.5a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75zm-8.25.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5zM8 3a.75.75 0 00-.75.75v3.5a.75.75 0 001.5 0v-3.5A.75.75 0 008 3z"></path></svg>
|
||
<svg height="16" width="16" class="octicon octicon-search flex-shrink-0 js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M11.5 7a4.499 4.499 0 11-8.998 0A4.499 4.499 0 0111.5 7zm-.82 4.74a6 6 0 111.06-1.06l3.04 3.04a.75.75 0 11-1.06 1.06l-3.04-3.04z"></path></svg>
|
||
</div>
|
||
|
||
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28">
|
||
|
||
<div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target">
|
||
</div>
|
||
|
||
<div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none js-jump-to-badge-search">
|
||
<span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository">
|
||
In this repository
|
||
</span>
|
||
<span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub">
|
||
All GitHub
|
||
</span>
|
||
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
|
||
</div>
|
||
|
||
<div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
|
||
Jump to
|
||
<span class="d-inline-block ml-1 v-align-middle">↵</span>
|
||
</div>
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item js-navigation-item js-jump-to-global-search d-none" role="option">
|
||
<a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" href="">
|
||
<div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 text-center d-none">
|
||
<svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"></path></svg>
|
||
<svg height="16" width="16" class="octicon octicon-project flex-shrink-0 js-jump-to-octicon-project d-none" title="Project" aria-label="Project" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 000 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0016 14.25V1.75A1.75 1.75 0 0014.25 0H1.75zM1.5 1.75a.25.25 0 01.25-.25h12.5a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25H1.75a.25.25 0 01-.25-.25V1.75zM11.75 3a.75.75 0 00-.75.75v7.5a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75zm-8.25.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5zM8 3a.75.75 0 00-.75.75v3.5a.75.75 0 001.5 0v-3.5A.75.75 0 008 3z"></path></svg>
|
||
<svg height="16" width="16" class="octicon octicon-search flex-shrink-0 js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M11.5 7a4.499 4.499 0 11-8.998 0A4.499 4.499 0 0111.5 7zm-.82 4.74a6 6 0 111.06-1.06l3.04 3.04a.75.75 0 11-1.06 1.06l-3.04-3.04z"></path></svg>
|
||
</div>
|
||
|
||
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28">
|
||
|
||
<div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target">
|
||
</div>
|
||
|
||
<div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none js-jump-to-badge-search">
|
||
<span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository">
|
||
In this repository
|
||
</span>
|
||
<span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub">
|
||
All GitHub
|
||
</span>
|
||
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
|
||
</div>
|
||
|
||
<div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
|
||
Jump to
|
||
<span class="d-inline-block ml-1 v-align-middle">↵</span>
|
||
</div>
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
|
||
</div>
|
||
</label>
|
||
</form> </div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<a href="/login?return_to=%2Fdiscourse%2Fdiscourse%2Ftree%2Fmaster%2Fspec%2Ffixtures"
|
||
class="HeaderMenu-link no-underline mr-3"
|
||
data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="cd2e5eaef831676675daf05be31d25cc5e281ff5a6ca138b4f785f0792646077"
|
||
data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">
|
||
Sign in
|
||
</a>
|
||
<a href="/join?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=discourse%2Fdiscourse"
|
||
class="HeaderMenu-link d-inline-block no-underline border border-gray-dark rounded-1 px-2 py-1"
|
||
data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="cd2e5eaef831676675daf05be31d25cc5e281ff5a6ca138b4f785f0792646077"
|
||
data-ga-click="Sign up, click to sign up for account, ref_page:/<user-name>/<repo-name>/files/disambiguate;ref_cta:Sign up;ref_loc:header logged out">
|
||
Sign up
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
|
||
</div>
|
||
|
||
<div id="start-of-content" class="show-on-focus"></div>
|
||
|
||
|
||
|
||
|
||
|
||
<div data-pjax-replace id="js-flash-container">
|
||
|
||
|
||
<template class="js-flash-template">
|
||
<div class="flash flash-full {{ className }}">
|
||
<div class=" px-2" >
|
||
<button class="flash-close js-flash-close" type="button" aria-label="Dismiss this message">
|
||
<svg class="octicon octicon-x" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path></svg>
|
||
</button>
|
||
|
||
<div>{{ message }}</div>
|
||
|
||
</div>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<include-fragment class="js-notification-shelf-include-fragment" data-base-src="https://github.com/notifications/beta/shelf"></include-fragment>
|
||
|
||
|
||
|
||
|
||
<div
|
||
class="application-main "
|
||
data-commit-hovercards-enabled
|
||
data-discussion-hovercards-enabled
|
||
data-issue-and-pr-hovercards-enabled
|
||
>
|
||
<div itemscope itemtype="http://schema.org/SoftwareSourceCode" class="">
|
||
<main id="js-repo-pjax-container" data-pjax-container >
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="bg-gray-light pt-3 hide-full-screen mb-5">
|
||
|
||
<div class="d-flex mb-3 px-3 px-md-4 px-lg-5">
|
||
|
||
<div class="flex-auto min-width-0 width-fit mr-3">
|
||
<h1 class=" d-flex flex-wrap flex-items-center break-word f3 text-normal">
|
||
<svg class="octicon octicon-repo text-gray mr-2" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"></path></svg>
|
||
<span class="author flex-self-stretch" itemprop="author">
|
||
<a class="url fn" rel="author" data-hovercard-type="organization" data-hovercard-url="/orgs/discourse/hovercard" href="/discourse">discourse</a>
|
||
</span>
|
||
<span class="mx-1 flex-self-stretch color-text-secondary">/</span>
|
||
<strong itemprop="name" class="mr-2 flex-self-stretch">
|
||
<a data-pjax="#js-repo-pjax-container" class="" href="/discourse/discourse">discourse</a>
|
||
</strong>
|
||
|
||
</h1>
|
||
|
||
|
||
</div>
|
||
|
||
<ul class="pagehead-actions flex-shrink-0 d-none d-md-inline" style="padding: 2px 0;">
|
||
|
||
<li>
|
||
<a class="tooltipped tooltipped-s btn btn-sm btn-with-count" aria-label="You must be signed in to watch a repository" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="405972d89d23ad57a208a6b762c908977e8632ed4412feebe6aabd8982c3dc67" href="/login?return_to=%2Fdiscourse%2Fdiscourse">
|
||
<svg class="octicon octicon-eye" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.679 7.932c.412-.621 1.242-1.75 2.366-2.717C5.175 4.242 6.527 3.5 8 3.5c1.473 0 2.824.742 3.955 1.715 1.124.967 1.954 2.096 2.366 2.717a.119.119 0 010 .136c-.412.621-1.242 1.75-2.366 2.717C10.825 11.758 9.473 12.5 8 12.5c-1.473 0-2.824-.742-3.955-1.715C2.92 9.818 2.09 8.69 1.679 8.068a.119.119 0 010-.136zM8 2c-1.981 0-3.67.992-4.933 2.078C1.797 5.169.88 6.423.43 7.1a1.619 1.619 0 000 1.798c.45.678 1.367 1.932 2.637 3.024C4.329 13.008 6.019 14 8 14c1.981 0 3.67-.992 4.933-2.078 1.27-1.091 2.187-2.345 2.637-3.023a1.619 1.619 0 000-1.798c-.45-.678-1.367-1.932-2.637-3.023C11.671 2.992 9.981 2 8 2zm0 8a2 2 0 100-4 2 2 0 000 4z"></path></svg>
|
||
Watch
|
||
</a> <a class="social-count" href="/discourse/discourse/watchers"
|
||
aria-label="922 users are watching this repository">
|
||
922
|
||
</a>
|
||
|
||
</li>
|
||
|
||
<li>
|
||
<a class="btn btn-sm btn-with-count tooltipped tooltipped-s" aria-label="You must be signed in to star a repository" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":7569578,"auth_type":"LOG_IN","originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="fa965363a7035432c2582ba60c32caf61b31df59e448228b4ef6d44280819124" href="/login?return_to=%2Fdiscourse%2Fdiscourse">
|
||
<svg class="octicon octicon-star v-align-text-bottom" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.75.75 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25zm0 2.445L6.615 5.5a.75.75 0 01-.564.41l-3.097.45 2.24 2.184a.75.75 0 01.216.664l-.528 3.084 2.769-1.456a.75.75 0 01.698 0l2.77 1.456-.53-3.084a.75.75 0 01.216-.664l2.24-2.183-3.096-.45a.75.75 0 01-.564-.41L8 2.694v.001z"></path></svg>
|
||
Star
|
||
</a>
|
||
<a class="social-count js-social-count" href="/discourse/discourse/stargazers"
|
||
aria-label="31946 users starred this repository">
|
||
31.9k
|
||
</a>
|
||
|
||
</li>
|
||
|
||
<li>
|
||
<a class="btn btn-sm btn-with-count tooltipped tooltipped-s" aria-label="You must be signed in to fork a repository" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":7569578,"auth_type":"LOG_IN","originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="f52817d4db9c640daaa9cbd6de77641556fcd6f08035601bdb7bab7cdec04960" href="/login?return_to=%2Fdiscourse%2Fdiscourse">
|
||
<svg class="octicon octicon-repo-forked" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M5 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm0 2.122a2.25 2.25 0 10-1.5 0v.878A2.25 2.25 0 005.75 8.5h1.5v2.128a2.251 2.251 0 101.5 0V8.5h1.5a2.25 2.25 0 002.25-2.25v-.878a2.25 2.25 0 10-1.5 0v.878a.75.75 0 01-.75.75h-4.5A.75.75 0 015 6.25v-.878zm3.75 7.378a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm3-8.75a.75.75 0 100-1.5.75.75 0 000 1.5z"></path></svg>
|
||
Fork
|
||
</a>
|
||
<a href="/discourse/discourse/network/members" class="social-count"
|
||
aria-label="7039 users forked this repository">
|
||
7k
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
|
||
</div>
|
||
|
||
<nav aria-label="Repository" data-pjax="#js-repo-pjax-container" class="js-repo-nav js-sidenav-container-pjax js-responsive-underlinenav overflow-hidden UnderlineNav px-3 px-md-4 px-lg-5 bg-gray-light">
|
||
<ul class="UnderlineNav-body list-style-none ">
|
||
<li class="d-flex">
|
||
<a class="js-selected-navigation-item selected UnderlineNav-item hx_underlinenav-item no-wrap js-responsive-underlinenav-item" data-tab-item="code-tab" data-hotkey="g c" data-ga-click="Repository, Navigation click, Code tab" aria-current="page" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages repo_deployments /discourse/discourse" href="/discourse/discourse">
|
||
<svg class="octicon octicon-code UnderlineNav-octicon d-none d-sm-inline" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M4.72 3.22a.75.75 0 011.06 1.06L2.06 8l3.72 3.72a.75.75 0 11-1.06 1.06L.47 8.53a.75.75 0 010-1.06l4.25-4.25zm6.56 0a.75.75 0 10-1.06 1.06L13.94 8l-3.72 3.72a.75.75 0 101.06 1.06l4.25-4.25a.75.75 0 000-1.06l-4.25-4.25z"></path></svg>
|
||
<span data-content="Code">Code</span>
|
||
<span title="Not available" class="Counter "></span>
|
||
</a> </li>
|
||
<li class="d-flex">
|
||
<a class="js-selected-navigation-item UnderlineNav-item hx_underlinenav-item no-wrap js-responsive-underlinenav-item" data-tab-item="pull-requests-tab" data-hotkey="g p" data-ga-click="Repository, Navigation click, Pull requests tab" data-selected-links="repo_pulls checks /discourse/discourse/pulls" href="/discourse/discourse/pulls">
|
||
<svg class="octicon octicon-git-pull-request UnderlineNav-octicon d-none d-sm-inline" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"></path></svg>
|
||
<span data-content="Pull requests">Pull requests</span>
|
||
<span title="28" class="Counter ">28</span>
|
||
</a> </li>
|
||
<li class="d-flex">
|
||
<a class="js-selected-navigation-item UnderlineNav-item hx_underlinenav-item no-wrap js-responsive-underlinenav-item" data-tab-item="actions-tab" data-hotkey="g a" data-ga-click="Repository, Navigation click, Actions tab" data-selected-links="repo_actions /discourse/discourse/actions" href="/discourse/discourse/actions">
|
||
<svg class="octicon octicon-play UnderlineNav-octicon d-none d-sm-inline" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM6.379 5.227A.25.25 0 006 5.442v5.117a.25.25 0 00.379.214l4.264-2.559a.25.25 0 000-.428L6.379 5.227z"></path></svg>
|
||
<span data-content="Actions">Actions</span>
|
||
<span title="Not available" class="Counter "></span>
|
||
</a> </li>
|
||
<li class="d-flex">
|
||
<a class="js-selected-navigation-item UnderlineNav-item hx_underlinenav-item no-wrap js-responsive-underlinenav-item" data-tab-item="security-tab" data-hotkey="g s" data-ga-click="Repository, Navigation click, Security tab" data-selected-links="security overview alerts policy token_scanning code_scanning /discourse/discourse/security" href="/discourse/discourse/security">
|
||
<svg class="octicon octicon-shield UnderlineNav-octicon d-none d-sm-inline" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.467.133a1.75 1.75 0 011.066 0l5.25 1.68A1.75 1.75 0 0115 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.7 1.7 0 01-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 011.217-1.667l5.25-1.68zm.61 1.429a.25.25 0 00-.153 0l-5.25 1.68a.25.25 0 00-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.2.2 0 00.154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.25.25 0 00-.174-.237l-5.25-1.68zM9 10.5a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.75a.75.75 0 10-1.5 0v3a.75.75 0 001.5 0v-3z"></path></svg>
|
||
<span data-content="Security">Security</span>
|
||
<include-fragment src="/discourse/discourse/security/overall-count" accept="text/fragment+html"></include-fragment>
|
||
</a> </li>
|
||
<li class="d-flex">
|
||
<a class="js-selected-navigation-item UnderlineNav-item hx_underlinenav-item no-wrap js-responsive-underlinenav-item" data-tab-item="insights-tab" data-ga-click="Repository, Navigation click, Insights tab" data-selected-links="repo_graphs repo_contributors dependency_graph dependabot_updates pulse people /discourse/discourse/pulse" href="/discourse/discourse/pulse">
|
||
<svg class="octicon octicon-graph UnderlineNav-octicon d-none d-sm-inline" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.5 1.75a.75.75 0 00-1.5 0v12.5c0 .414.336.75.75.75h14.5a.75.75 0 000-1.5H1.5V1.75zm14.28 2.53a.75.75 0 00-1.06-1.06L10 7.94 7.53 5.47a.75.75 0 00-1.06 0L3.22 8.72a.75.75 0 001.06 1.06L7 7.06l2.47 2.47a.75.75 0 001.06 0l5.25-5.25z"></path></svg>
|
||
<span data-content="Insights">Insights</span>
|
||
<span title="Not available" class="Counter "></span>
|
||
</a> </li>
|
||
|
||
</ul> <div class="position-absolute right-0 pr-3 pr-md-4 pr-lg-5 js-responsive-underlinenav-overflow" style="visibility:hidden;">
|
||
<details class="details-overlay details-reset position-relative">
|
||
<summary role="button">
|
||
<div class="UnderlineNav-item mr-0 border-0">
|
||
<svg class="octicon octicon-kebab-horizontal" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="M8 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM1.5 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm13 0a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path></svg>
|
||
<span class="sr-only">More</span>
|
||
</div>
|
||
</summary> <div>
|
||
<details-menu role="menu" class="dropdown-menu dropdown-menu-sw ">
|
||
|
||
<ul>
|
||
<li data-menu-item="code-tab" hidden>
|
||
<a role="menuitem" class="js-selected-navigation-item dropdown-item" data-selected-links=" /discourse/discourse" href="/discourse/discourse">
|
||
Code
|
||
</a> </li>
|
||
<li data-menu-item="pull-requests-tab" hidden>
|
||
<a role="menuitem" class="js-selected-navigation-item dropdown-item" data-selected-links=" /discourse/discourse/pulls" href="/discourse/discourse/pulls">
|
||
Pull requests
|
||
</a> </li>
|
||
<li data-menu-item="actions-tab" hidden>
|
||
<a role="menuitem" class="js-selected-navigation-item dropdown-item" data-selected-links=" /discourse/discourse/actions" href="/discourse/discourse/actions">
|
||
Actions
|
||
</a> </li>
|
||
<li data-menu-item="security-tab" hidden>
|
||
<a role="menuitem" class="js-selected-navigation-item dropdown-item" data-selected-links=" /discourse/discourse/security" href="/discourse/discourse/security">
|
||
Security
|
||
</a> </li>
|
||
<li data-menu-item="insights-tab" hidden>
|
||
<a role="menuitem" class="js-selected-navigation-item dropdown-item" data-selected-links=" /discourse/discourse/pulse" href="/discourse/discourse/pulse">
|
||
Insights
|
||
</a> </li>
|
||
</ul>
|
||
|
||
</details-menu>
|
||
</div></details> </div>
|
||
|
||
</nav>
|
||
</div>
|
||
|
||
|
||
<div class="container-xl clearfix new-discussion-timeline px-3 px-md-4 px-lg-5">
|
||
<div class="repository-content " >
|
||
|
||
|
||
|
||
<div class="file-navigation mb-3 d-flex flex-items-start">
|
||
|
||
<div class="position-relative">
|
||
<details class="details-reset details-overlay mr-0 mb-0 " id="branch-select-menu">
|
||
<summary class="btn css-truncate"
|
||
data-hotkey="w"
|
||
title="Switch branches or tags">
|
||
<svg class="octicon octicon-git-branch text-gray" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M11.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122V6A2.5 2.5 0 0110 8.5H6a1 1 0 00-1 1v1.128a2.251 2.251 0 11-1.5 0V5.372a2.25 2.25 0 111.5 0v1.836A2.492 2.492 0 016 7h4a1 1 0 001-1v-.628A2.25 2.25 0 019.5 3.25zM4.25 12a.75.75 0 100 1.5.75.75 0 000-1.5zM3.5 3.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z"></path></svg>
|
||
<span class="css-truncate-target" data-menu-button>master</span>
|
||
<span class="dropdown-caret"></span>
|
||
</summary>
|
||
|
||
<details-menu class="SelectMenu SelectMenu--hasFilter" src="/discourse/discourse/refs/main/spec/fixtures?source_action=disambiguate&source_controller=files" preload>
|
||
<div class="SelectMenu-modal">
|
||
<include-fragment class="SelectMenu-loading" aria-label="Menu is loading">
|
||
<svg class="octicon octicon-octoface anim-pulse" height="32" viewBox="0 0 24 24" version="1.1" width="32" aria-hidden="true"><path d="M7.75 11c-.69 0-1.25.56-1.25 1.25v1.5a1.25 1.25 0 102.5 0v-1.5C9 11.56 8.44 11 7.75 11zm1.27 4.5a.469.469 0 01.48-.5h5a.47.47 0 01.48.5c-.116 1.316-.759 2.5-2.98 2.5s-2.864-1.184-2.98-2.5zm7.23-4.5c-.69 0-1.25.56-1.25 1.25v1.5a1.25 1.25 0 102.5 0v-1.5c0-.69-.56-1.25-1.25-1.25z"></path><path fill-rule="evenodd" d="M21.255 3.82a1.725 1.725 0 00-2.141-1.195c-.557.16-1.406.44-2.264.866-.78.386-1.647.93-2.293 1.677A18.442 18.442 0 0012 5c-.93 0-1.784.059-2.569.17-.645-.74-1.505-1.28-2.28-1.664a13.876 13.876 0 00-2.265-.866 1.725 1.725 0 00-2.141 1.196 23.645 23.645 0 00-.69 3.292c-.125.97-.191 2.07-.066 3.112C1.254 11.882 1 13.734 1 15.527 1 19.915 3.13 23 12 23c8.87 0 11-3.053 11-7.473 0-1.794-.255-3.647-.99-5.29.127-1.046.06-2.15-.066-3.125a23.652 23.652 0 00-.689-3.292zM20.5 14c.5 3.5-1.5 6.5-8.5 6.5s-9-3-8.5-6.5c.583-4 3-6 8.5-6s7.928 2 8.5 6z"></path></svg>
|
||
</include-fragment>
|
||
</div>
|
||
</details-menu>
|
||
</details>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="flex-1 mx-2 flex-self-center f4">
|
||
<div class="d-none d-sm-block">
|
||
<span class="js-repo-root text-bold"><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="true" href="/discourse/discourse"><span>discourse</span></a></span></span><span class="mx-1">/</span><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="true" href="/discourse/discourse/tree/main/spec"><span>spec</span></a></span><span class="mx-1">/</span><strong class="final-path">fixtures</strong><span class="mx-1">/</span>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="d-flex">
|
||
<a class="btn mr-2 d-none d-md-block" data-hydro-click="{"event_type":"repository.click","payload":{"target":"FIND_FILE_BUTTON","repository_id":7569578,"originating_url":"https://github.com/discourse/discourse/tree/main/spec/fixtures","user_id":null}}" data-hydro-click-hmac="557e83be024a36d7baeb2ebfdab8c7caa1a4a09099ec10ecaa4a7d73fd957017" data-ga-click="Repository, find file, location:repo overview" data-hotkey="t" data-pjax="true" href="/discourse/discourse/find/master">
|
||
Go to file
|
||
</a>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="f4 mt-3 mb-3 d-sm-none"><span class="js-repo-root text-bold"><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="true" href="/discourse/discourse"><span>discourse</span></a></span></span><span class="mx-1">/</span><span class="js-path-segment d-inline-block wb-break-all"><a data-pjax="true" href="/discourse/discourse/tree/main/spec"><span>spec</span></a></span><span class="mx-1">/</span><strong class="final-path">fixtures</strong><span class="separator mx-1">/</span></div>
|
||
|
||
|
||
|
||
<div class="Box mb-3">
|
||
<div class="Box-header Box-header--blue position-relative">
|
||
<h2 class="sr-only">Latest commit</h2>
|
||
<div class="js-details-container Details d-flex rounded-top-1 flex-items-center flex-wrap" data-issue-and-pr-hovercards-enabled>
|
||
|
||
<div class="flex-shrink-0 ml-n1 mr-n1 mt-n1 mb-n1 hx_avatar_stack_commit">
|
||
|
||
<div class="AvatarStack flex-self-start ">
|
||
<div class="AvatarStack-body" aria-label="jbrw">
|
||
<a class="avatar avatar-user" data-skip-pjax="true" data-hovercard-type="user" data-hovercard-url="/users/jbrw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" style="width:24px;height:24px;" href="/jbrw">
|
||
<img height="24" width="24" alt="@jbrw" src="https://avatars1.githubusercontent.com/u/42120?s=60&u=a07e2ecc5ef532c1d00e41c998c363cb38fff0b5&v=4" class=" avatar-user" />
|
||
</a> </div>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="flex-1 d-flex flex-items-center ml-3 min-width-0">
|
||
<div class="css-truncate css-truncate-overflow text-gray">
|
||
|
||
<a href="/discourse/discourse/commits?author=jbrw"
|
||
class="commit-author user-mention"
|
||
title="View all commits by jbrw">jbrw</a>
|
||
|
||
|
||
|
||
|
||
<span class="d-none d-sm-inline">
|
||
<a data-pjax="true" title="Onebox improved error handling and support for Instagram Access Tokens (#11253)
|
||
|
||
* FEATURE: display error if Oneboxing fails due to HTTP error
|
||
|
||
- display warning if onebox URL is unresolvable
|
||
- display warning if attributes are missing
|
||
|
||
* FEATURE: Use new Instagram oEmbed endpoint if access token is configured
|
||
|
||
Instagram requires an Access Token to access their oEmbed endpoint. The requirements (from https://developers.facebook.com/docs/instagram/oembed/) are as follows:
|
||
|
||
- a Facebook Developer account, which you can create at developers.facebook.com
|
||
- a registered Facebook app
|
||
- the oEmbed Product added to the app
|
||
- an Access Token
|
||
- The Facebook app must be in Live Mode
|
||
|
||
The generated Access Token, once added to SiteSetting.facebook_app_access_token, will be passed to onebox. Onebox can then use this token to access the oEmbed endpoint to generate a onebox for Instagram.
|
||
|
||
* DEV: update user agent string
|
||
|
||
* DEV: don’t do HEAD requests against news.yahoo.com
|
||
|
||
* DEV: Bump onebox version from 2.1.5 to 2.1.6
|
||
|
||
* DEV: Avoid re-reading templates
|
||
|
||
* DEV: Tweaks to onebox mustache templates
|
||
|
||
* DEV: simplified error message for missing onebox data
|
||
|
||
* Apply suggestions from code review
|
||
Co-authored-by: Gerhard Schlager <mail@gerhard-schlager.at>" class="link-gray-dark" href="/discourse/discourse/commit/331236d6d790dd41538668469f16f853c5699884">Onebox improved error handling and support for Instagram Access Tokens (</a>
|
||
</span>
|
||
</div>
|
||
<span class="hidden-text-expander ml-2 d-inline-block ">
|
||
<button type="button" class="hx_bg-black-fade-15 text-gray-dark ellipsis-expander js-details-target" aria-expanded="false">…</button>
|
||
</span>
|
||
<div class="d-flex flex-auto flex-justify-end ml-3 flex-items-baseline">
|
||
<include-fragment accept="text/fragment+html" src="/discourse/discourse/commit/331236d6d790dd41538668469f16f853c5699884/rollup?direction=e" class="d-inline"></include-fragment>
|
||
<a href="/discourse/discourse/commit/331236d6d790dd41538668469f16f853c5699884" class="f6 link-gray text-mono ml-2 d-none d-lg-inline" data-pjax>331236d</a>
|
||
<a href="/discourse/discourse/commit/331236d6d790dd41538668469f16f853c5699884" class="link-gray ml-2" data-pjax>
|
||
<relative-time datetime="2020-11-18T17:55:16Z" class="no-wrap">Nov 18, 2020</relative-time>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
<div class="pl-0 pl-md-5 flex-order-1 width-full Details-content--hidden">
|
||
<div class="mt-2">
|
||
<a data-pjax="true" class="link-gray-dark text-bold" href="/discourse/discourse/commit/331236d6d790dd41538668469f16f853c5699884">Onebox improved error handling and support for Instagram Access Tokens (</a>
|
||
</div>
|
||
|
||
<pre class="mt-2 text-mono text-gray text-small ws-pre-wrap"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="744280521" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/11253" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/11253/hovercard" href="https://github.com/discourse/discourse/pull/11253">#11253</a>)
|
||
|
||
* FEATURE: display error if Oneboxing fails due to HTTP error
|
||
|
||
- display warning if onebox URL is unresolvable
|
||
- display warning if attributes are missing
|
||
|
||
* FEATURE: Use new Instagram oEmbed endpoint if access token is configured
|
||
|
||
Instagram requires an Access Token to access their oEmbed endpoint. The requirements (from <a href="https://developers.facebook.com/docs/instagram/oembed/" rel="nofollow">https://developers.facebook.com/docs/instagram/oembed/</a>) are as follows:
|
||
|
||
- a Facebook Developer account, which you can create at developers.facebook.com
|
||
- a registered Facebook app
|
||
- the oEmbed Product added to the app
|
||
- an Access Token
|
||
- The Facebook app must be in Live Mode
|
||
|
||
The generated Access Token, once added to SiteSetting.facebook_app_access_token, will be passed to onebox. Onebox can then use this token to access the oEmbed endpoint to generate a onebox for Instagram.
|
||
|
||
* DEV: update user agent string
|
||
|
||
* DEV: don’t do HEAD requests against news.yahoo.com
|
||
|
||
* DEV: Bump onebox version from 2.1.5 to 2.1.6
|
||
|
||
* DEV: Avoid re-reading templates
|
||
|
||
* DEV: Tweaks to onebox mustache templates
|
||
|
||
* DEV: simplified error message for missing onebox data
|
||
|
||
* Apply suggestions from code review
|
||
Co-authored-by: Gerhard Schlager <mail@gerhard-schlager.at></pre>
|
||
<div class="d-flex flex-items-center">
|
||
<span class="text-gray-dark text-mono d-lg-none hx_bg-black-fade-15 px-1 rounded-1 text-small mt-2">331236d</span>
|
||
</div>
|
||
</div>
|
||
<div class="flex-shrink-0">
|
||
<h2 class="sr-only">Git stats</h2>
|
||
<ul class="list-style-none d-flex">
|
||
<li class="ml-0 ml-md-3">
|
||
<a data-pjax href="/discourse/discourse/commits/main/spec/fixtures" class="pl-3 pr-3 py-3 p-md-0 mt-n3 mb-n3 mr-n3 m-md-0 link-gray-dark no-underline no-wrap">
|
||
<svg class="octicon octicon-history text-gray" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.643 3.143L.427 1.927A.25.25 0 000 2.104V5.75c0 .138.112.25.25.25h3.646a.25.25 0 00.177-.427L2.715 4.215a6.5 6.5 0 11-1.18 4.458.75.75 0 10-1.493.154 8.001 8.001 0 101.6-5.684zM7.75 4a.75.75 0 01.75.75v2.992l2.028.812a.75.75 0 01-.557 1.392l-2.5-1A.75.75 0 017 8.25v-3.5A.75.75 0 017.75 4z"></path></svg>
|
||
<span class="d-none d-sm-inline">
|
||
<strong>History</strong>
|
||
</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<h2 id="files" class="sr-only">Files</h2>
|
||
|
||
|
||
|
||
<a class="d-none js-permalink-shortcut" data-hotkey="y" href="/discourse/discourse/tree/0c878ef304d984b7f0c73a6aad44764d4210584f/spec/fixtures">Permalink</a>
|
||
|
||
<div class="include-fragment-error flash flash-error flash-full py-2">
|
||
<svg class="octicon octicon-alert" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path></svg>
|
||
|
||
Failed to load latest commit information.
|
||
|
||
</div> <div class="js-details-container Details">
|
||
<div role="grid" aria-labelledby="files" class="Details-content--hidden-not-important js-navigation-container js-active-navigation-container d-block" data-pjax>
|
||
<div class="sr-only" role="row">
|
||
<div role="columnheader">Type</div>
|
||
<div role="columnheader">Name</div>
|
||
<div role="columnheader" class="d-none d-md-block">Latest commit message</div>
|
||
<div role="columnheader">Commit time</div>
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray p-0 d-flex js-navigation-item" >
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2">
|
||
<a rel="nofollow" title="Go to parent directory" class="js-navigation-open d-block py-2 px-3" href="/discourse/discourse/tree/main/spec">
|
||
<span class="text-bold text-center d-inline-block" style="min-width: 16px;">. .</span>
|
||
</a> </div>
|
||
<div role="gridcell" class="d-none d-md-block"></div>
|
||
<div role="gridcell"></div>
|
||
</div>
|
||
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="backups" href="/discourse/discourse/tree/main/spec/fixtures/backups">backups</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Backups should use relative paths for local uploads
|
||
|
||
This also ensures that restoring a backup works when it was created with the wrong upload paths in the time between ab4c0a4970163506e2c72884ff2ba2d8845eb10c (shortly after v2.6.0.beta1) and this fix." class="link-gray" href="/discourse/discourse/commit/f51ccea02816c768863b1073977db219f4b66ff3">FIX: Backups should use relative paths for local uploads</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-08-21T13:22:28Z" class="no-wrap">Aug 21, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="csv" href="/discourse/discourse/tree/main/spec/fixtures/csv">csv</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="PERF: Preload S3 inventory data for multisite clusters" class="link-gray" href="/discourse/discourse/commit/16c65a94f726a8f4cb330c8742eff887ffaaed6c">PERF: Preload S3 inventory data for multisite clusters</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-07-29T09:31:55Z" class="no-wrap">Jul 29, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="db" href="/discourse/discourse/tree/main/spec/fixtures/db">db</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Restoring backup from PG12 could fail on PG10
|
||
|
||
The `EXECUTE FUNCTION` syntax for `CREATE TRIGGER` statements was introduced in PostgreSQL 11. We need to replace `EXECUTE FUNCTION` with `EXECUTE PROCEDURE` in order to be able to restore backups created with PG12 on PG10." class="link-gray" href="/discourse/discourse/commit/859d9b75a7c1cb080889c3b712e918506d15d0fe">FIX: Restoring backup from PG12 could fail on PG10</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-06-16T14:04:14Z" class="no-wrap">Jun 16, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="emails" href="/discourse/discourse/tree/main/spec/fixtures/emails">emails</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: use allowlist and blocklist terminology (#10209)
|
||
|
||
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist." class="link-gray" href="/discourse/discourse/commit/e0d9232259f6fb0f76bca471c4626178665ca24a">FIX: use allowlist and blocklist terminology (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="654419272" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/10209" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/10209/hovercard" href="https://github.com/discourse/discourse/pull/10209">#10209</a><a data-pjax="true" title="FIX: use allowlist and blocklist terminology (#10209)
|
||
|
||
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist." class="link-gray" href="/discourse/discourse/commit/e0d9232259f6fb0f76bca471c4626178665ca24a">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-07-27T00:23:54Z" class="no-wrap">Jul 27, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="encodings" href="/discourse/discourse/tree/main/spec/fixtures/encodings">encodings</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Try detecting encoding of RSS feed" class="link-gray" href="/discourse/discourse/commit/ff942ed2f3a33dd91dbb81e4194da3bb84487b1a">FIX: Try detecting encoding of RSS feed</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2018-08-01T08:41:20Z" class="no-wrap">Aug 1, 2018</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="feed" href="/discourse/discourse/tree/main/spec/fixtures/feed">feed</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Try respecting charset in HTTP header of RSS feed" class="link-gray" href="/discourse/discourse/commit/5d421fb946482204a08219d23db20e2384434a76">FIX: Try respecting charset in HTTP header of RSS feed</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2018-08-01T08:41:20Z" class="no-wrap">Aug 1, 2018</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="i18n" href="/discourse/discourse/tree/main/spec/fixtures/i18n">i18n</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Use correct locale when translating without cache
|
||
|
||
follow-up to 6d8eb9c1" class="link-gray" href="/discourse/discourse/commit/a77d8bee68219c8710bbe81e3860012c1a0e4b64">FIX: Use correct locale when translating without cache</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2019-06-05T12:19:56Z" class="no-wrap">Jun 5, 2019</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="images" href="/discourse/discourse/tree/main/spec/fixtures/images">images</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX - don't attempt to optimized animated images (#11031)
|
||
|
||
* FIX - don't attempt to optimized animated images
|
||
|
||
* ensure_safe_paths before calling ImageMagick" class="link-gray" href="/discourse/discourse/commit/aeb24bd4b5dcc991d028e1db626482a0bb593c72">FIX - don't attempt to optimized animated images (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="729810962" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/11031" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/11031/hovercard" href="https://github.com/discourse/discourse/pull/11031">#11031</a><a data-pjax="true" title="FIX - don't attempt to optimized animated images (#11031)
|
||
|
||
* FIX - don't attempt to optimized animated images
|
||
|
||
* ensure_safe_paths before calling ImageMagick" class="link-gray" href="/discourse/discourse/commit/aeb24bd4b5dcc991d028e1db626482a0bb593c72">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-10-26T19:10:19Z" class="no-wrap">Oct 26, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="json" href="/discourse/discourse/tree/main/spec/fixtures/json">json</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: improve Vanilla importing (#10478)
|
||
|
||
* ensure emails don't have spaces
|
||
* import banned users as suspended for 1k yrs
|
||
* upgrade users to TL2 if they have comments
|
||
* topic: import views, closed and pinned info
|
||
* import messages
|
||
* encode vanilla usernames for permalinks. Vanilla usernames can contain spaces and special characters.
|
||
* parse Vanilla's new rich body format" class="link-gray" href="/discourse/discourse/commit/812e0d6b5e0bbe20cd7857bb576207423ea56c6d">FIX: improve Vanilla importing (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="681977969" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/10478" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/10478/hovercard" href="https://github.com/discourse/discourse/pull/10478">#10478</a><a data-pjax="true" title="FIX: improve Vanilla importing (#10478)
|
||
|
||
* ensure emails don't have spaces
|
||
* import banned users as suspended for 1k yrs
|
||
* upgrade users to TL2 if they have comments
|
||
* topic: import views, closed and pinned info
|
||
* import messages
|
||
* encode vanilla usernames for permalinks. Vanilla usernames can contain spaces and special characters.
|
||
* parse Vanilla's new rich body format" class="link-gray" href="/discourse/discourse/commit/812e0d6b5e0bbe20cd7857bb576207423ea56c6d">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-08-24T20:19:57Z" class="no-wrap">Aug 24, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="md" href="/discourse/discourse/tree/main/spec/fixtures/md">md</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="DEV: Update markdown-it from 8.4.1 to 10.0.0 (#8164)" class="link-gray" href="/discourse/discourse/commit/20514f2e4495fb6c0855dfe237fdee1dbbcdd91b">DEV: Update markdown-it from 8.4.1 to 10.0.0 (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="503144402" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/8164" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/8164/hovercard" href="https://github.com/discourse/discourse/pull/8164">#8164</a><a data-pjax="true" title="DEV: Update markdown-it from 8.4.1 to 10.0.0 (#8164)" class="link-gray" href="/discourse/discourse/commit/20514f2e4495fb6c0855dfe237fdee1dbbcdd91b">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2019-10-08T11:00:22Z" class="no-wrap">Oct 8, 2019</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="media" href="/discourse/discourse/tree/main/spec/fixtures/media">media</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Add attachment content-disposition for all non-image files (#10058)
|
||
|
||
This will make it so the original filename is used when downloading all non-image files, bringing S3Store into line with the to_s3 migration and local storage. Video and audio files will still stream correctly in HTML players as well.
|
||
|
||
See https://meta.discourse.org/t/cannot-download-non-image-media-files-original-filenames-lost-when-uploaded-to-s3/152797 for a lot of extra context." class="link-gray" href="/discourse/discourse/commit/e5da2d24e543c86868768de235b8eedab1ee6ee1">FIX: Add attachment content-disposition for all non-image files (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="640061337" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/10058" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/10058/hovercard" href="https://github.com/discourse/discourse/pull/10058">#10058</a><a data-pjax="true" title="FIX: Add attachment content-disposition for all non-image files (#10058)
|
||
|
||
This will make it so the original filename is used when downloading all non-image files, bringing S3Store into line with the to_s3 migration and local storage. Video and audio files will still stream correctly in HTML players as well.
|
||
|
||
See https://meta.discourse.org/t/cannot-download-non-image-media-files-original-filenames-lost-when-uploaded-to-s3/152797 for a lot of extra context." class="link-gray" href="/discourse/discourse/commit/e5da2d24e543c86868768de235b8eedab1ee6ee1">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-06-17T01:16:37Z" class="no-wrap">Jun 17, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="mmdb" href="/discourse/discourse/tree/main/spec/fixtures/mmdb">mmdb</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="UX: Use user locale for locations. (#6527)
|
||
|
||
* UX: Use user locale for locations.
|
||
|
||
* DEV: Added MaxMindDB test data and fixed test." class="link-gray" href="/discourse/discourse/commit/effbef7d0b783f06bbbce9f93c6da37a0f0e06f5">UX: Use user locale for locations. (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="373532519" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/6527" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/6527/hovercard" href="https://github.com/discourse/discourse/pull/6527">#6527</a><a data-pjax="true" title="UX: Use user locale for locations. (#6527)
|
||
|
||
* UX: Use user locale for locations.
|
||
|
||
* DEV: Added MaxMindDB test data and fixed test." class="link-gray" href="/discourse/discourse/commit/effbef7d0b783f06bbbce9f93c6da37a0f0e06f5">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2018-10-25T10:54:01Z" class="no-wrap">Oct 25, 2018</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="multisite" href="/discourse/discourse/tree/main/spec/fixtures/multisite">multisite</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="Introduce multisite tests for better coverage." class="link-gray" href="/discourse/discourse/commit/2c39743d5d0d13c6cbf744b337370e37361176fd">Introduce multisite tests for better coverage.</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2017-08-08T03:58:22Z" class="no-wrap">Aug 8, 2017</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="onebox" href="/discourse/discourse/tree/main/spec/fixtures/onebox">onebox</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="Onebox improved error handling and support for Instagram Access Tokens (#11253)
|
||
|
||
* FEATURE: display error if Oneboxing fails due to HTTP error
|
||
|
||
- display warning if onebox URL is unresolvable
|
||
- display warning if attributes are missing
|
||
|
||
* FEATURE: Use new Instagram oEmbed endpoint if access token is configured
|
||
|
||
Instagram requires an Access Token to access their oEmbed endpoint. The requirements (from https://developers.facebook.com/docs/instagram/oembed/) are as follows:
|
||
|
||
- a Facebook Developer account, which you can create at developers.facebook.com
|
||
- a registered Facebook app
|
||
- the oEmbed Product added to the app
|
||
- an Access Token
|
||
- The Facebook app must be in Live Mode
|
||
|
||
The generated Access Token, once added to SiteSetting.facebook_app_access_token, will be passed to onebox. Onebox can then use this token to access the oEmbed endpoint to generate a onebox for Instagram.
|
||
|
||
* DEV: update user agent string
|
||
|
||
* DEV: don’t do HEAD requests against news.yahoo.com
|
||
|
||
* DEV: Bump onebox version from 2.1.5 to 2.1.6
|
||
|
||
* DEV: Avoid re-reading templates
|
||
|
||
* DEV: Tweaks to onebox mustache templates
|
||
|
||
* DEV: simplified error message for missing onebox data
|
||
|
||
* Apply suggestions from code review
|
||
Co-authored-by: Gerhard Schlager <mail@gerhard-schlager.at>" class="link-gray" href="/discourse/discourse/commit/331236d6d790dd41538668469f16f853c5699884">Onebox improved error handling and support for Instagram Access Tokens (</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-11-18T17:55:16Z" class="no-wrap">Nov 18, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="pdf" href="/discourse/discourse/tree/main/spec/fixtures/pdf">pdf</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FEATURE: Add attachments to outgoing emails
|
||
|
||
This feature is off by default and can can be configured with the `email_total_attachment_size_limit_kb` site setting.
|
||
|
||
Co-authored-by: Maja Komel <maja.komel@gmail.com>" class="link-gray" href="/discourse/discourse/commit/7e0eeed29219a2eacb769e955f7c1c94091e9ad6">FEATURE: Add attachments to outgoing emails</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2019-07-25T13:57:45Z" class="no-wrap">Jul 25, 2019</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="plugins" href="/discourse/discourse/tree/main/spec/fixtures/plugins">plugins</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="DEV: Update MomentJS and highlightJS
|
||
|
||
We updated version of moment and moment-timezone as our current versions are outdated making Discourse Dates broken on places where timezone had updates, like here in Brazil.
|
||
|
||
This also update highlightJS to the latest version and corrected a test that relied on a no longer supported locale in
|
||
moment." class="link-gray" href="/discourse/discourse/commit/cdb7ddc258c6a459bdf16ab197b67809826a3828">DEV: Update MomentJS and highlightJS</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-11-11T01:34:26Z" class="no-wrap">Nov 11, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="scss" href="/discourse/discourse/tree/main/spec/fixtures/scss">scss</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="DEV: Run prettier. (#6420)" class="link-gray" href="/discourse/discourse/commit/5407036ef98cfa0935b77988919d73167b84d436">DEV: Run prettier. (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="362525398" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/6420" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/6420/hovercard" href="https://github.com/discourse/discourse/pull/6420">#6420</a><a data-pjax="true" title="DEV: Run prettier. (#6420)" class="link-gray" href="/discourse/discourse/commit/5407036ef98cfa0935b77988919d73167b84d436">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2018-09-21T11:02:23Z" class="no-wrap">Sep 21, 2018</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="site_settings" href="/discourse/discourse/tree/main/spec/fixtures/site_settings">site_settings</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: fails loud if default setting is not set
|
||
|
||
Noted:
|
||
- `push_api_secret_key` is set in initializer. Shimed with ''
|
||
- `default_theme_key` is set in seeding. Shimed with ''" class="link-gray" href="/discourse/discourse/commit/1646bc00315ad307013506187ca664dc399e5f20">FIX: fails loud if default setting is not set</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2017-08-15T10:07:25Z" class="no-wrap">Aug 15, 2017</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="theme_settings" href="/discourse/discourse/tree/main/spec/fixtures/theme_settings">theme_settings</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FEATURE: add support for `upload` format in theme settings." class="link-gray" href="/discourse/discourse/commit/884eea7a8346cf1c0a2bb6ff3b852d3f1fb52684">FEATURE: add support for `upload` format in theme settings.</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2020-04-15T13:04:02Z" class="no-wrap">Apr 15, 2020</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="themes" href="/discourse/discourse/tree/main/spec/fixtures/themes">themes</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FIX: Allow themes to upload and serve js files (#8188)
|
||
|
||
If you set `config.public_file_server.enabled = false` when you try to get uploaded js file you will get an error:
|
||
`Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.`
|
||
|
||
The reason is that content type is `application/javascript` and in Rails 5 guard looked like that:
|
||
https://github.com/rails/rails/blob/5-2-stable/actionpack/lib/action_controller/metal/request_forgery_protection.rb#L278-L280
|
||
However, in Rails 6 `application` was added to regex:
|
||
https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/metal/request_forgery_protection.rb#L282-L284
|
||
|
||
This pull request is related to https://meta.discourse.org/t/uploaded-js-file-for-theme-causes-a-rejection/129753/8" class="link-gray" href="/discourse/discourse/commit/99086edf855df3fb8de5887785ddc687a6911810">FIX: Allow themes to upload and serve js files (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="506412969" data-permission-text="Title is private" data-url="https://github.com/discourse/discourse/issues/8188" data-hovercard-type="pull_request" data-hovercard-url="/discourse/discourse/pull/8188/hovercard" href="https://github.com/discourse/discourse/pull/8188">#8188</a><a data-pjax="true" title="FIX: Allow themes to upload and serve js files (#8188)
|
||
|
||
If you set `config.public_file_server.enabled = false` when you try to get uploaded js file you will get an error:
|
||
`Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.`
|
||
|
||
The reason is that content type is `application/javascript` and in Rails 5 guard looked like that:
|
||
https://github.com/rails/rails/blob/5-2-stable/actionpack/lib/action_controller/metal/request_forgery_protection.rb#L278-L280
|
||
However, in Rails 6 `application` was added to regex:
|
||
https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/metal/request_forgery_protection.rb#L282-L284
|
||
|
||
This pull request is related to https://meta.discourse.org/t/uploaded-js-file-for-theme-causes-a-rejection/129753/8" class="link-gray" href="/discourse/discourse/commit/99086edf855df3fb8de5887785ddc687a6911810">)</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2019-10-14T04:40:33Z" class="no-wrap">Oct 14, 2019</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
<div role="row" class="Box-row Box-row--focus-gray py-2 d-flex position-relative js-navigation-item ">
|
||
<div role="gridcell" class="mr-3 flex-shrink-0" style="width: 16px;">
|
||
<svg aria-label="Directory" class="octicon octicon-file-directory text-color-icon-directory" height="16" viewBox="0 0 16 16" version="1.1" width="16" role="img"><path fill-rule="evenodd" d="M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"></path></svg>
|
||
|
||
</div>
|
||
|
||
<div role="rowheader" class="flex-auto min-width-0 col-md-2 mr-3">
|
||
<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open link-gray-dark" title="woff2" href="/discourse/discourse/tree/main/spec/fixtures/woff2">woff2</a></span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="flex-auto min-width-0 d-none d-md-block col-5 mr-3" >
|
||
<span class="css-truncate css-truncate-target d-block width-fit">
|
||
<a data-pjax="true" title="FEATURE: support uploads for themes
|
||
|
||
This allows themes to bundle various assets" class="link-gray" href="/discourse/discourse/commit/bc0b9af576c7a99f4f89be0bf10aa3c9b3697c77">FEATURE: support uploads for themes</a>
|
||
</span>
|
||
</div>
|
||
|
||
<div role="gridcell" class="text-gray-light text-right" style="width:100px;">
|
||
<time-ago datetime="2017-05-10T19:47:11Z" class="no-wrap">May 10, 2017</time-ago>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</main>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="footer container-xl width-full p-responsive" role="contentinfo">
|
||
<div class="position-relative d-flex flex-row-reverse flex-lg-row flex-wrap flex-lg-nowrap flex-justify-center flex-lg-justify-between flex-sm-items-center pt-6 pb-2 mt-6 f6 text-gray border-top border-gray-light ">
|
||
<a aria-label="Homepage" title="GitHub" class="footer-octicon d-none d-lg-block mr-lg-4" href="https://github.com">
|
||
<svg height="24" class="octicon octicon-mark-github" viewBox="0 0 16 16" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>
|
||
</a>
|
||
<ul class="list-style-none d-flex flex-wrap col-12 flex-justify-center flex-lg-justify-between mb-2 mb-lg-0">
|
||
<li class="mr-3 mr-lg-0">© 2020 GitHub, Inc.</li>
|
||
<li class="mr-3 mr-lg-0"><a data-ga-click="Footer, go to terms, text:terms" href="https://github.com/site/terms">Terms</a></li>
|
||
<li class="mr-3 mr-lg-0"><a data-ga-click="Footer, go to privacy, text:privacy" href="https://github.com/site/privacy">Privacy</a></li>
|
||
<li class="js-cookie-consent-preferences-link-container mr-3 mr-lg-0" hidden="hidden">
|
||
<button data-ga-click="Footer, go to cookie preferences, text:cookie preferences" class="btn-link js-cookie-consent-preferences-link" type="button">Cookie Preferences</button>
|
||
</li>
|
||
<li class="mr-3 mr-lg-0"><a data-ga-click="Footer, go to security, text:security" href="https://github.com/security">Security</a></li>
|
||
<li class="mr-3 mr-lg-0"><a href="https://githubstatus.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
|
||
<li class="mr-3 mr-lg-0"><a data-ga-click="Footer, go to help, text:help" href="https://docs.github.com">Help</a></li>
|
||
<li class="mr-3 mr-lg-0"><a data-ga-click="Footer, go to contact, text:contact" href="https://github.com/contact">Contact GitHub</a></li>
|
||
<li class="mr-3 mr-lg-0"><a href="https://github.com/pricing" data-ga-click="Footer, go to Pricing, text:Pricing">Pricing</a></li>
|
||
<li class="mr-3 mr-lg-0"><a href="https://docs.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
|
||
<li class="mr-3 mr-lg-0"><a href="https://services.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
|
||
<li class="mr-3 mr-lg-0"><a href="https://github.blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
|
||
<li class="mr-3 mr-lg-0"><a data-ga-click="Footer, go to about, text:about" href="https://github.com/about">About</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="d-flex flex-justify-center pb-6">
|
||
<span class="f6 text-gray-light"></span>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<div id="ajax-error-message" class="ajax-error-message flash flash-error">
|
||
<svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path></svg>
|
||
<button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
|
||
<svg class="octicon octicon-x" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path></svg>
|
||
</button>
|
||
You can’t perform that action at this time.
|
||
</div>
|
||
|
||
|
||
<div class="js-stale-session-flash flash flash-warn flash-banner" hidden
|
||
>
|
||
<svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path></svg>
|
||
<span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
||
<span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
||
</div>
|
||
<template id="site-details-dialog">
|
||
<details class="details-reset details-overlay details-overlay-dark lh-default text-gray-dark hx_rsm" open>
|
||
<summary role="button" aria-label="Close dialog"></summary>
|
||
<details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal">
|
||
<button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog>
|
||
<svg class="octicon octicon-x" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path></svg>
|
||
</button>
|
||
<div class="octocat-spinner my-6 js-details-dialog-spinner"></div>
|
||
</details-dialog>
|
||
</details>
|
||
</template>
|
||
|
||
<div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;" tabindex="0">
|
||
<div class="Popover-message Popover-message--bottom-left Popover-message--large Box box-shadow-large" style="width:360px;">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="js-cookie-consent-banner" hidden>
|
||
<div class="hx_cookie-banner p-2 p-sm-3 p-md-4">
|
||
<div style="max-width: 1194px;" class="Box hx_cookie-banner-box box-shadow-medium mx-auto">
|
||
<div class="Box-body border-0 py-0 px-3 px-md-4">
|
||
<div class="js-main-cookie-banner hx_cookie-banner-main">
|
||
<div class="d-md-flex flex-items-center py-3">
|
||
<p class="f5 flex-1 mb-3 mb-md-0">
|
||
|
||
We use <span class="text-bold">optional</span> third-party analytics cookies to understand how you use GitHub.com so we can build better products.
|
||
|
||
<span class="btn-link js-cookie-consent-learn-more">Learn more</span>.
|
||
</p>
|
||
<div class="d-flex d-md-block flex-wrap flex-sm-nowrap">
|
||
<button class="btn btn-outline flex-1 mr-1 mx-sm-1 m-md-0 ml-md-2 js-cookie-consent-accept">Accept</button>
|
||
<button class="btn btn-outline flex-1 ml-1 m-md-0 ml-md-2 js-cookie-consent-reject">Reject</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="js-cookie-details hx_cookie-banner-details" hidden>
|
||
<div class="d-md-flex flex-items-center py-3">
|
||
<p class="f5 flex-1 mb-2 mb-md-0">
|
||
|
||
We use <span class="text-bold">optional</span> third-party analytics cookies to understand how you use GitHub.com so we can build better products.
|
||
|
||
<br>
|
||
You can always update your selection by clicking <span class="text-bold">Cookie Preferences</span> at the bottom of the page.
|
||
For more information, see our <a href="https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-privacy-statement">Privacy Statement</a>.
|
||
</p>
|
||
</div>
|
||
|
||
<div class="d-md-flex flex-items-center py-3 border-top">
|
||
<div class="f5 flex-1 mb-2 mb-md-0">
|
||
<h5 class="mb-1">Essential cookies</h5>
|
||
<p class="f6 mb-md-0">We use essential cookies to perform essential website functions, e.g. they're used to log you in.
|
||
<a href="https://docs.github.com/en/github/site-policy/github-subprocessors-and-cookies">Learn more</a>
|
||
</p>
|
||
</div>
|
||
<div class="text-right">
|
||
<h5 class="text-blue">Always active</h5>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="d-md-flex flex-items-center py-3 border-top">
|
||
<div class="f5 flex-1 mb-2 mb-md-0">
|
||
<h5 class="mb-1">Analytics cookies</h5>
|
||
<p class="f6 mb-md-0">We use analytics cookies to understand how you use our websites so we can make them better, e.g. they're used to gather information about the pages you visit and how many clicks you need to accomplish a task.
|
||
<a href="https://docs.github.com/en/github/site-policy/github-subprocessors-and-cookies">Learn more</a>
|
||
</p>
|
||
</div>
|
||
<div class="text-right">
|
||
<div class="BtnGroup mt-1 mt-md-0 ml-2">
|
||
<button class="btn btn-outline BtnGroup-item js-accept-analytics-cookies" type="button">Accept</button>
|
||
<button class="btn btn-outline BtnGroup-item js-reject-analytics-cookies" type="button">Reject</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="text-right py-3 border-top">
|
||
<button class="btn btn-primary js-save-cookie-preferences" type="button" disabled>Save preferences</button>
|
||
</div>
|
||
</div>
|
||
</div></div> </div>
|
||
</div>
|
||
|
||
|
||
</body>
|
||
</html>
|