Prechádzať zdrojové kódy

LibreJS support (#1001)

* Update jslicenses-inverse.html

* Update inverse.html

* Update index.html

* Update mobile.html

* Update anonymous.html

* Update CHANGES.md
gnunicode 7 rokov pred
rodič
commit
23c5312642
6 zmenil súbory, kde vykonal 193 pridanie a 0 odobranie
  1. 3 0
      CHANGES.md
  2. 28 0
      demo/anonymous.html
  3. 31 0
      index.html
  4. 29 0
      inverse.html
  5. 74 0
      jslicenses.html
  6. 28 0
      mobile.html

+ 3 - 0
CHANGES.md

@@ -43,6 +43,9 @@
 - New configuration setting [root](https://conversejs.org/docs/html/configurations.html#root)
 - The [view_mode](https://conversejs.org/docs/html/configurations.html#view-mode) setting now has a new possible value: `embedded`
 
+### LibreJS
+- Add LibreJS support
+
 ### Translation updates
 - Chinese (Traditional), French, German, Portuguese (Brazil), Russian, Ukrainian
 

+ 28 - 0
demo/anonymous.html

@@ -50,6 +50,34 @@
 </body>
 
 <script>
+    /* 
+    @licstart
+    This is free and unencumbered software released into the public domain.
+
+    Anyone is free to copy, modify, publish, use, compile, sell, or
+    distribute this software, either in source code form or as a compiled
+    binary, for any purpose, commercial or non-commercial, and by any
+    means.
+
+    In jurisdictions that recognize copyright laws, the author or authors
+    of this software dedicate any and all copyright interest in the
+    software to the public domain. We make this dedication for the benefit
+    of the public at large and to the detriment of our heirs and
+    successors. We intend this dedication to be an overt act of
+    relinquishment in perpetuity of all present and future rights to this
+    software under copyright law.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+    IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+    OTHER DEALINGS IN THE SOFTWARE.
+
+    For more information, please refer to <http://unlicense.org/>
+    @licend
+	*/
         converse.initialize({
             allow_logout: false, // No point in logging out when we have auto_login as true.
             allow_muc_invitations: false, // Doesn't make sense to allow because only

+ 31 - 0
index.html

@@ -58,6 +58,9 @@
                     <li>
                         <a href="/docs/html/index.html">Documentation</a>
                     </li>
+                    <li>
+                        <a href="jslicenses-converse.html" rel="jslicense">Page JS Licences</a>
+                    </li>
                     <li>
                         <a href="https://github.com/jcbrand/converse.js/releases" class="button" target="_blank" rel="noopener">Download</a>
                     </li>
@@ -248,6 +251,34 @@
 </body>
 
 <script>
+    /*
+    @licstart
+    This is free and unencumbered software released into the public domain.
+
+    Anyone is free to copy, modify, publish, use, compile, sell, or
+    distribute this software, either in source code form or as a compiled
+    binary, for any purpose, commercial or non-commercial, and by any
+    means.
+
+    In jurisdictions that recognize copyright laws, the author or authors
+    of this software dedicate any and all copyright interest in the
+    software to the public domain. We make this dedication for the benefit
+    of the public at large and to the detriment of our heirs and
+    successors. We intend this dedication to be an overt act of
+    relinquishment in perpetuity of all present and future rights to this
+    software under copyright law.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+    IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+    OTHER DEALINGS IN THE SOFTWARE.
+
+    For more information, please refer to <http://unlicense.org/>
+    @licend
+    */
     converse.initialize({
         // Please use this connection manager only for testing purposes
         bosh_service_url: 'https://conversejs.org/http-bind/',

+ 29 - 0
inverse.html

@@ -17,6 +17,35 @@
         </div>
     </div>
 <script>
+    /*
+    @licstart
+    This is free and unencumbered software released into the public domain.
+
+    Anyone is free to copy, modify, publish, use, compile, sell, or
+    distribute this software, either in source code form or as a compiled
+    binary, for any purpose, commercial or non-commercial, and by any
+    means.
+
+    In jurisdictions that recognize copyright laws, the author or authors
+    of this software dedicate any and all copyright interest in the
+    software to the public domain. We make this dedication for the benefit
+    of the public at large and to the detriment of our heirs and
+    successors. We intend this dedication to be an overt act of
+    relinquishment in perpetuity of all present and future rights to this
+    software under copyright law.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+    IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+    OTHER DEALINGS IN THE SOFTWARE.
+
+    For more information, please refer to <http://unlicense.org/>
+    @licend
+
+    */
     converse.initialize({
         authentication: 'login',
         auto_away: 300,

+ 74 - 0
jslicenses.html

@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<html lang=en>
+    <head>
+    </head>
+    <body>
+        <table id="jslicense-labels1">
+            <tr>
+                <td>
+                    <a href="https://cdn.conversejs.org/3.3.1/dist/converse.min.js">converse.min.js</a>
+                </td>
+                <td>
+                    <a href="https://www.mozilla.org/en-US/MPL/2.0/">MPL-2.0</a>
+                    <br />
+                    <a href="magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&amp;dn=public-domain.txt">Public-Domain</a>
+                    <br />
+                    <a href="http://www.jclark.com/xml/copying.txt">Expat</a>
+                </td>
+                <td>
+                    <a href="https://github.com/jcbrand/converse.js/blob/master/src/converse.js">converse.js</a>
+                    <br />
+                    <a href="https://github.com/jcbrand/converse.js/blob/master/3rdparty/bigint.js">bigint.js</a>
+                    <br />
+                    <a href="https://github.com/jcbrand/converse.js/blob/master/3rdparty/lodash.fp.js">lodash.fp.js</a>
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    <a href="https://stats.opkode.com/piwik.js">piwik.js</a>
+                </td>
+                <td>
+                    <a href="http://opensource.org/licenses/BSD-3-Clause">BSD-3-Clause</a>
+                    <a href="http://www.jclark.com/xml/copying.txt">Expat</a>
+                </td>
+                <td>
+                    <a href="https://stats.opkode.com/piwik.js">piwik.js</a>
+                    <a href="https://github.com/bestiejs/json3">json3</a>
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    <a href="https://conversejs.org/analytics.js">analytics.js</a>
+                </td>
+                <td>
+                    <a href="http://www.mozilla.org/MPL/2.0">MPL-2.0</a>
+                </td>
+                <td>
+                    <a href="https://conversejs.org/analytics.js">analytics.js</a>
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    <a href="https://inverse.chat/inverse-analytics.js">inverse-analytics.js</a>
+                </td>
+                <td>
+                    <a href="http://www.mozilla.org/MPL/2.0">MPL-2.0</a>
+                </td>
+                <td>
+                    <a href="https://inverse.chat/inverse-analytics.js">inverse-analytics.js</a>
+                </td>
+            <tr/>
+            <tr>
+                <td>
+                    <a href="https://conversejs.org/src/website.js">website.js</a>
+                </td>
+                <td>
+                    <a href="http://www.mozilla.org/MPL/2.0">MPL-2.0</a>
+                </td>
+                <td>
+                    <a href="https://github.com/jcbrand/converse.js/blob/master/src/website.js">website.js</a>
+                </td>
+            </tr>
+        </table>
+    </body>
+</html>

+ 28 - 0
mobile.html

@@ -123,6 +123,34 @@
 </body>
 
 <script>
+    /* 
+    @licstart
+    This is free and unencumbered software released into the public domain.
+
+    Anyone is free to copy, modify, publish, use, compile, sell, or
+    distribute this software, either in source code form or as a compiled
+    binary, for any purpose, commercial or non-commercial, and by any
+    means.
+
+    In jurisdictions that recognize copyright laws, the author or authors
+    of this software dedicate any and all copyright interest in the
+    software to the public domain. We make this dedication for the benefit
+    of the public at large and to the detriment of our heirs and
+    successors. We intend this dedication to be an overt act of
+    relinquishment in perpetuity of all present and future rights to this
+    software under copyright law.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+    IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+    OTHER DEALINGS IN THE SOFTWARE.
+
+    For more information, please refer to <http://unlicense.org/>
+    @licend
+    */
     converse.initialize({
         bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
         show_controlbox_by_default: false,