emacsconf-org
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thelounge librejs patch


From: Sacha Chua
Subject: Re: Thelounge librejs patch
Date: Thu, 19 Aug 2021 01:16:43 -0400

Thanks for following up! Amin Bandali is probably buried in work at the moment and will also be unavailable next week,  but I'm sure he'll get back to you when he has a chance to try it out. I pinged him on IRC as well in case he missed the email. Thanks for your patience and your contribution!

Sacha


On Tue., Aug. 17, 2021, 07:48 Yuchen Pei, <hi@ypei.me> wrote:
Any updates on this?
Yuchen Pei <hi@ypei.me> writes:

> Yuchen Pei <hi@ypei.me> writes:
>
>> Hello,
>>
>> As discussed on IRC, I am sending some patches for librejs
>> compliance
>> of chat.emacsconf.org.
>>
>> Since I have no access to any of the servers, I have placed the
>> weblabel table in the emacsconf wiki.
>>
>> The other patch can be applied to
>> /usr/lib/node_modules/thelounge/client/index.html.tpl (or
>> wherever
>> the index template is located) by running
>>
>> patch p0 patch.txt
> patch -p0 patch.txt
>
> Also sorry, the url in patch.txt is wrong. See the attached
> corrected
> version.
>
> --- /usr/lib/node_modules/thelounge/client/index.html.tpl
> 2021-08-09 06:37:32.076102036 +0000
> +++ /usr/lib/node_modules/thelounge/client/index.html.tpl
> 2021-08-09 06:37:32.076102036 +0000
> @@ -65,5 +65,6 @@
>               <script src=""
> cacheBust %>"></script>
>               <script src="" cacheBust
> %>"></script>
>               <script src="" cacheBust
> %>"></script>
> +             <div style="display: none"><a
> href="" href="https://emacsconf.org/jslicenses.html" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://emacsconf.org/jslicenses.html"
> rel="jslicense">_javascript_ license information</a></div>
>       </body>
> </html>
>
>>
>> Let me know if there are any issues.
>>
>> Best,
>> Yuchen
>>
>> From 967976ddef021dad514b8f72dd24780ce982cf08 Mon Sep 17
>> 00:00:00
>> 2001
>> From: Yuchen Pei <me@ypei.me>
>> Date: Mon, 9 Aug 2021 16:54:30 +1000
>> Subject: [PATCH] Adding web label for thelounge
>>
>> ---
>> jslicenses.html | 41 +++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 41 insertions(+)
>> create mode 100644 jslicenses.html
>>
>> diff --git a/jslicenses.html b/jslicenses.html
>> new file mode 100644
>> index 0000000..2703720
>> --- /dev/null
>> +++ b/jslicenses.html
>> @@ -0,0 +1,41 @@
>> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
>> xml:lang="en">
>> +<head>
>> +<meta http-equiv="Content-Type" content="text/html;
>> charset=utf-8"/>
>> +<title>chat.emacsconf.org - _javascript_ License
>> Information</title>
>> +
>> +<style type="text/css">#jslicense-labels1 td,
>> #jslicense-labels1 th
>> { padding: 5px; border-style: solid; border-width: 1px;}
>> +#jslicense-labels1 { border-spacing: 0; border-collapse:
>> collapse;
>> }
>> +</style>
>> +
>> +</head>
>> +
>> +<body>
>> +
>> +<p>This page tells browsers with <a
>> href="" href="https://www.gnu.org/software/librejs/" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.gnu.org/software/librejs/">LibreJS</a>
>> installed about the licenses of _javascript_ files served by <a
>> href="" href="https://chat.emacsconf.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://chat.emacsconf.org">chat.emacsconf.org</a>.</p>
>> +
>> +<div>
>> +<table id="jslicense-labels1">
>> +    <tbody>
>> +            <tr>
>> +                    <td><a
>> href="" href="https://chat.emacsconf.org/js/loading-error-handlers.js" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://chat.emacsconf.org/js/loading-error-handlers.js"></a>loading-error-handlers.js</td>
>> +                    <td><a
>> href="" href="http://www.jclark.com/xml/copying.txt" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.jclark.com/xml/copying.txt">Expat</a></td>
>> +                    <td><a
>> href="" href="https://github.com/thelounge/thelounge" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/thelounge/thelounge">thelounge</a></td>
>> +            </tr>
>> +            <tr>
>> +                    <td><a
>> href="" href="https://chat.emacsconf.org/js/bundle.js" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://chat.emacsconf.org/js/bundle.js">bundle.js</a></td>
>> +                    <td><a
>> href="" href="http://www.jclark.com/xml/copying.txt" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.jclark.com/xml/copying.txt">Expat</a></td>
>> +                    <td><a
>> href="" href="https://github.com/thelounge/thelounge" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/thelounge/thelounge">thelounge</a></td>
>> +            </tr>
>> +            <tr>
>> +                    <td><a
>> href="" href="https://chat.emacsconf.org/js/bundle.vendor.js" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://chat.emacsconf.org/js/bundle.vendor.js">bundle.vendor.js</a></td>
>> +                    <td><a
>> href="" href="http://www.jclark.com/xml/copying.txt" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.jclark.com/xml/copying.txt">Expat</a></td>
>> +                    <td><a
>> href="" href="https://github.com/thelounge/thelounge" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/thelounge/thelounge">thelounge</a></td>
>> +            </tr>
>> +    </tbody>
>> +</table>
>> +</div>
>> +
>> +
>> +</body>
>> +</html>
>> -- 2.32.0
>>
>> --- /usr/lib/node_modules/thelounge/client/index.html.tpl
>> 2021-08-09
>> 06:37:32.076102036 +0000
>> +++ /usr/lib/node_modules/thelounge/client/index.html.tpl
>> 2021-08-09
>> 06:37:32.076102036 +0000
>> @@ -65,5 +65,6 @@
>>              <script src=""> >> cacheBust %>"></script>
>>              <script src="" cacheBust
>> %>"></script>
>>              <script src="" cacheBust
>> %>"></script>
>> +            <div style="display: none"><a
>> href="" href="https://libreau.org/jslicenses.html" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://libreau.org/jslicenses.html"
>> rel="jslicense">_javascript_ license information</a></div>
>>      </body>
>> </html>


--
Best,
Yuchen

PGP Key: 47F9 D050 1E11 8879 9040  4941 2126 7E93 EF86 DFD0
           <https://ypei.me/assets/ypei-pubkey.txt>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]