home » zplus/freepost.git
Author zPlus <--> 2016-09-06 13:19:06
Committer zPlus <--> 2016-09-06 13:19:06
Commit 90a3ff0 (patch)
Tree 55f6591
Parent(s)

LibreJS: move all license information from HTML templates to .js files


commits diff: 929bd7b..90a3ff0
5 files changed, 31 insertions, 85 deletionsdownload


Diffstat
?--------- LibreJS.html 19
-rw-r--r-- javascript/freepost.js 32
-rw-r--r-- template/footer.twig 1
-rw-r--r-- template/index.twig 32
-rw-r--r-- template/post.twig 32

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+0/-19 D   LibreJS.html
index f217ea0..0000000
old size: 510B - new size: 0B
deleted file mode: -rw-r--r--
@@ -1,19 +0,0 @@
1 - <!--
2 - <table id="jslicense-labels1">
3 - (one <tr> per js file)
4 - <tr>
5 - <td>link to file</td>
6 - <td>link to one or more licenses</td>
7 - <td>link to source</td>
8 - </tr>
9 - </table>
10 -
11 - -->
12 -
13 - <table id="jslicense-labels1">
14 - <tr>
15 - <td><a href="javascript/freepost.js">freepost.js</a></td>
16 - <td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td>
17 - <td><a href="javascript/freepost.js">freepost.js</a></td>
18 - </tr>
19 - </table>

+31/-1 M   javascript/freepost.js
index 5091789..8237968
old size: 2K - new size: 3K
@@ -1,4 +1,34 @@
1 - /* This is a small script to hide the "up" arrow when users upvote
1 + /*
2 + @licstart The following is the entire license notice for the JavaScript code in this page.
3 +
4 + This is the code powering <http://freepo.st>.
5 + Copyright © 2014-2016 zPlus
6 + Copyright © 2016 Adonay "adfeno" Felipe Nogueira <adfeno@openmailbox.org> <https://libreplanet.org/wiki/User:Adfeno>
7 +
8 + This program is free software: you can redistribute it and/or modify
9 + it under the terms of the GNU Affero General Public License as published by
10 + the Free Software Foundation, either version 3 of the License, or
11 + (at your option) any later version.
12 +
13 + This program is distributed in the hope that it will be useful,
14 + but WITHOUT ANY WARRANTY; without even the implied warranty of
15 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 + GNU Affero General Public License for more details.
17 +
18 + You should have received a copy of the GNU Affero General Public License
19 + along with this program. If not, see <http://www.gnu.org/licenses/>.
20 +
21 + As additional permission under GNU GPL version 3 section 7, you may
22 + distribute non-source (e.g., minimized or compacted) forms of that code
23 + without the copy of the GNU GPL normally required by section 4, provided
24 + you include this license notice and a URL through which recipients can
25 + access the Corresponding Source.
26 +
27 + @licend The above is the entire license notice for the JavaScript code in this page.
28 + */
29 +
30 +
31 + /* This is a small script to hide the "up/down" arrow when users upvote
2 32 * posts and comments. The only reason for this is to give some feedback
3 33 * to the user after clicks.
4 34 */

+0/-1 M   template/footer.twig
index 7a7d2e7..cc83745
old size: 2K - new size: 2K
@@ -4,7 +4,6 @@
4 4 <div class="footer">
5 5 <p>
6 6 Text is available under a <a href="http://creativecommons.org/licenses/by/4.0">Creative Commons Attribution 4.0 International License</a>.
7 - <a href="{{ ''|docroot }}LibreJS.html" data-jslicense="1">JavaScript license information</a>.
8 7 </p>
9 8
10 9 <ul>

+0/-32 M   template/index.twig
index ad19ac3..ad14a57
old size: 3K - new size: 2K
@@ -1,37 +1,5 @@
1 1 {% include 'header.twig' %}
2 2
3 - <script>
4 - /*
5 - @licstart The following is the entire license notice for the JavaScript code in this page.
6 -
7 - This is the code powering <http://freepo.st>.
8 - Copyright © 2014-2016 zPlus
9 - Copyright © 2016 Adonay "adfeno" Felipe Nogueira <adfeno@openmailbox.org> <https://libreplanet.org/wiki/User:Adfeno>
10 -
11 - This program is free software: you can redistribute it and/or modify
12 - it under the terms of the GNU Affero General Public License as published by
13 - the Free Software Foundation, either version 3 of the License, or
14 - (at your option) any later version.
15 -
16 - This program is distributed in the hope that it will be useful,
17 - but WITHOUT ANY WARRANTY; without even the implied warranty of
18 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 - GNU Affero General Public License for more details.
20 -
21 - You should have received a copy of the GNU Affero General Public License
22 - along with this program. If not, see <http://www.gnu.org/licenses/>.
23 -
24 - As additional permission under GNU GPL version 3 section 7, you may
25 - distribute non-source (e.g., minimized or compacted) forms of that code
26 - without the copy of the GNU GPL normally required by section 4, provided
27 - you include this license notice and a URL through which recipients can
28 - access the Corresponding Source.
29 -
30 - @licend The above is the entire license notice for the JavaScript code
31 - in this page.
32 - */
33 - </script>
34 -
35 3 <div class="posts">
36 4
37 5 {# banner

+0/-32 M   template/post.twig
index 8bdbe91..63bb243
old size: 3K - new size: 2K
@@ -1,37 +1,5 @@
1 1 {% include 'header.twig' %}
2 2
3 - <script>
4 - /*
5 - @ licstart The following is the entire license notice for the JavaScript code in this page.*
6 -
7 - This is the code powering <http://freepo.st>.
8 - Copyright © 2014-2016 zPlus
9 - Copyright © 2016 Adonay "adfeno" Felipe Nogueira <adfeno@openmailbox.org> <https://libreplanet.org/wiki/User:Adfeno>
10 -
11 - This program is free software: you can redistribute it and/or modify
12 - it under the terms of the GNU Affero General Public License as published by
13 - the Free Software Foundation, either version 3 of the License, or
14 - (at your option) any later version.
15 -
16 - This program is distributed in the hope that it will be useful,
17 - but WITHOUT ANY WARRANTY; without even the implied warranty of
18 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 - GNU Affero General Public License for more details.
20 -
21 - You should have received a copy of the GNU Affero General Public License
22 - along with this program. If not, see <http://www.gnu.org/licenses/>.
23 -
24 - As additional permission under GNU GPL version 3 section 7, you may
25 - distribute non-source (e.g., minimized or compacted) forms of that code
26 - without the copy of the GNU GPL normally required by section 4, provided
27 - you include this license notice and a URL through which recipients can
28 - access the Corresponding Source.
29 -
30 - @licend The above is the entire license notice for the JavaScript code
31 - in this page.
32 - */
33 - </script>
34 -
35 3 <div class="post">
36 4
37 5 <div class="title">