added license hints to the Frio javascript files
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 27 Sep 2020 16:36:33 +0000 (18:36 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 27 Sep 2020 16:36:33 +0000 (18:36 +0200)
17 files changed:
view/templates/head.tpl
view/theme/frio/js/compose.js
view/theme/frio/js/event_edit.js
view/theme/frio/js/filebrowser.js
view/theme/frio/js/hovercard.js
view/theme/frio/js/jot.js
view/theme/frio/js/mod_admin.js
view/theme/frio/js/mod_contacts.js
view/theme/frio/js/mod_display.js
view/theme/frio/js/mod_events.js
view/theme/frio/js/mod_group.js
view/theme/frio/js/mod_notifications.js
view/theme/frio/js/mod_photos.js
view/theme/frio/js/modal.js
view/theme/frio/js/textedit.js
view/theme/frio/js/theme.js
view/theme/frio/templates/head.tpl

index 69980b6..1decacd 100644 (file)
@@ -18,7 +18,7 @@
 <meta name="apple-mobile-web-app-capable" content="yes" />
 <link rel="manifest" href="{{$baseurl}}/manifest" />
 <script>
-// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
+// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
 // Prevents links to switch to Safari in a home screen app - see https://gist.github.com/irae/1042167
 (function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(chref=d.href).replace("{{$baseurl}}/", "").replace(e.href,"").indexOf("#")&&(!/^[a-z\+\.\-]+:/i.test(chref)||chref.indexOf(e.protocol+"//"+e.host)===0)&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone");
 // |license-end
index 88cd386..cb7e2f7 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 $(function() {
        // Jot attachment live preview.
        let $textarea = $('textarea[name=body]');
@@ -55,3 +56,4 @@ function updateLocationButtonDisplay(location_button, location_input)
                location_button.title = location_button.dataset.titleSet;
        }
 }
+// @license-end
index a068b4f..a198eef 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 $(document).ready(function() {
        // Go to the permissions tab if the checkbox is checked.
        $('body').on("click", "#id_share", function() {
@@ -107,3 +108,4 @@ function enableDisableFinishDate() {
        else
                $('#id_finish_text').prop("disabled", false);
 }
+// @license-end
index 016b359..eece784 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /**
  * Filebrowser - Friendica Communications Server
  *
@@ -251,3 +252,4 @@ var FileBrowser = {
                });
        }
 };
+// @license-end
index 464c7e0..acc3630 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /*
  * The javascript for friendicas hovercard. Bootstraps popover is needed.
  *
@@ -183,3 +184,4 @@ function getHoverCardContent(contact_url, callback) {
                },
        });
 }
+// @license-end
index d55e509..a5c762d 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 // We append the linkPreview to a global Variable to make linkPreview
 // accessable on other places. Note: search on other places before you
 // delete or move the variable.
@@ -37,3 +38,4 @@ function jotGetLink() {
                autosize.update($("#profile-jot-text"));
        }
 }
+// @license-end
index 05d13b0..5108800 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /**
  * Javascript for the admin module
  */
@@ -66,3 +67,4 @@ function details(uid) {
        $("#user-" + uid).toggleClass("opened");
        return false;
 }
+// @license-end
index 50d9a49..dbc99bc 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 
 var batchConfirmed = false;
 
@@ -42,3 +43,4 @@ function batch_submit_handler(name, value) {
                return false;
        }
 }
+// @license-end
index ba6788a..3c16bac 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /**
  * Javascript for the display module
  */
@@ -9,3 +10,4 @@ $(window).load(function(){
        // Scroll to the Item by its GUID
        scrollToItem('item-' + itemGuid);
 });
+// @license-end
\ No newline at end of file
index 00e3f4f..234d607 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /**
  * @file view/theme/frio/js/mod_events.js
  * Initialization of the fullCalendar and format the output.
@@ -256,3 +257,4 @@ function formatListViewEvent(event) {
 
        return formatted;
 }
+// @license-end
index 214d702..c6584f8 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 
 /**
  * @file view/theme/frio/js/mod_group.js
@@ -86,3 +87,4 @@ function filterList() {
                }
        }
 }
+// @license-end
index 5168b58..712c350 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 
 /**
  * Javascript for the notifications module
@@ -34,3 +35,4 @@ function isIntroID() {
        }
        return false;
 }
+// @license-end
index 2e7160a..692a705 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 
 $(document).ready(function() {
 
@@ -46,3 +47,4 @@ $(window).load(function() {
                "height": pheight
        });
 });
+// @license-end
index 312b31e..96b47d4 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /**
  * Contains functions for bootstrap modal handling.
  */
@@ -397,3 +398,4 @@ function eventEdit(url) {
                loadModalTitle();
        });
 }
+// @license-end
index 6ce84b5..52fec94 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 /*
  * The file contains functions for text editing and commenting
  */
@@ -225,3 +226,4 @@ function dropItem(url, elementId) {
                });
        }
 }
+// @license-end
\ No newline at end of file
index 1a2dec3..7346c06 100644 (file)
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
 
 var jotcache = ''; //The jot cache. We use it as cache to restore old/original jot content
 
@@ -799,3 +800,4 @@ function toggleDropdownText(elm) {
 function hasClass(elem, cls) {
        return (" " + elem.className + " " ).indexOf( " "+cls+" " ) > -1;
 }
+// @license-end
\ No newline at end of file
index 56c7b05..65af769 100644 (file)
 <meta name="apple-mobile-web-app-capable" content="yes" />
 <link rel="manifest" href="{{$baseurl}}/manifest" />
 <script type="text/javascript">
+// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
 // Prevents links to switch to Safari in a home screen app - see https://gist.github.com/irae/1042167
 (function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(chref=d.href).replace("{{$baseurl}}/", "").replace(e.href,"").indexOf("#")&&(!/^[a-z\+\.\-]+:/i.test(chref)||chref.indexOf(e.protocol+"//"+e.host)===0)&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone");
+// |license-end
 </script>
 
 <link rel="search"