]> git.mxchange.org Git - friendica.git/commitdiff
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 69980b652bb8f4ec8b01344a6899ac30cdc910d0..1decacd5d09e74154b29837dffbf4a6c3147a96f 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 88cd386f82092cebd584e930457624ee62428956..cb7e2f73c2ebe716b057c78d3e45b9a1594b40b9 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 a068b4fe0e53385f1898873e1d0618bb11f0d63c..a198eef07f8373aeb1c48e814e17353e51bc945d 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 016b359c7ce8093abf33c0751fb7d3062a852406..eece784d64cdc54335b53fb96de047ec75d4d91a 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 464c7e06e1af84e015fab5f3a9f527d547157892..acc3630945827c0a78b4d74767bae40bdceac22a 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 d55e5098a28b89c96f9b6cb836ce0c4fbe412d05..a5c762d7d3e3f8b003b4f41151c47cc08fc709a4 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 05d13b0e5c5e0340b39ad59a95db11a5c1e01717..5108800f19dbe037f77c925334a64f483276defd 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 50d9a4947290e9cebc712ef10c6a4be3bf66b004..dbc99bc093f65bc5d7fdf7b971794f5bc30b3c86 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 ba6788ae402d9f9a423880ff93c9950393924042..3c16bac17c14e61a36a933b8debc96fc0c665bb0 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 00e3f4fa9f129ff26cdf1750301b665ccbc96b02..234d607ddeff82d3cd05255d4d89e56d83505f3d 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 214d7024c392bdd12d94342767834b66465d7805..c6584f8a2c7ddc8505b355870f3ddd58ca5e3aad 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 5168b581f1bd9ec40500fd2023d96ab9eaf84a6f..712c350604e942b9afc2033fe556d762ba776d5c 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 2e7160aafa9217b00f323911030c03da1e0c83ad..692a7057f4c07a9a45dab280d74bfbef33c29e84 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 312b31e8da402a6db6ea0e71a902c8d47ad4c311..96b47d405ba932c139f2cca7b59d24f21320fdea 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 6ce84b5e6ff9f122d86d962cb94713018a163ddd..52fec9469c0647eac7e74e379649f4fa03b251ba 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 1a2dec338a0bd6c237c542c1adca38281952f33b..7346c06d7ff51a79edde4f2adc3a88c618e1f068 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 56c7b0534bca314560b35f52da035fabc1f8277b..65af7692dcad60e1b0fbfdc05c6fc39712580e12 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"