commit e358875a4534127596deacb65e90ce32be57e240
parent 71e1525d70480ac607a08b23dfb02440c71c9fc5
Author: Florian <flokx@users.noreply.github.com>
Date: Tue, 11 Feb 2020 17:26:58 +0100
Improve license notes
Diffstat:
7 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2019-2020 flokX
+Copyright (c) 2019-2020 flokX and devShort contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/admin-auth.php b/admin-auth.php
@@ -1,6 +1,6 @@
<?php
-// All relevant changes can be made in the data file. Please read the docs: https://github.com/flokX/devShort/wiki
+// This file is part of the devShort project under the MIT License. Visit https://github.com/flokX/devShort for more information.
session_start();
$incorrect_password = false;
diff --git a/admin.php b/admin.php
@@ -1,6 +1,6 @@
<?php
-// All relevant changes can be made in the data file. Please read the docs: https://github.com/flokX/devShort/wiki
+// This file is part of the devShort project under the MIT License. Visit https://github.com/flokX/devShort for more information.
$config_path = implode(DIRECTORY_SEPARATOR, array(__DIR__, "data", "config.json"));
$config_content = json_decode(file_get_contents($config_path), true);
diff --git a/assets/main.js b/assets/main.js
@@ -1,3 +1,5 @@
+// This file is part of the devShort project under the MIT License. Visit https://github.com/flokX/devShort for more information.
+
// Register variables
const currentDate = new Date();
const startDate = new Date(new Date().setFullYear(currentDate.getFullYear() - 1));
diff --git a/assets/vendor/frappe-charts/LICENSE b/assets/vendor/frappe-charts/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017 Prateeksha Singh
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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 OR COPYRIGHT HOLDERS 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.
diff --git a/index.php b/index.php
@@ -1,6 +1,6 @@
<?php
-// All relevant changes can be made in the data file. Please read the docs: https://github.com/flokX/devShort/wiki
+// This file is part of the devShort project under the MIT License. Visit https://github.com/flokX/devShort for more information.
$config_path = implode(DIRECTORY_SEPARATOR, array(__DIR__, "data", "config.json"));
$config_content = json_decode(file_get_contents($config_path), true);
diff --git a/redirect.php b/redirect.php
@@ -1,6 +1,6 @@
<?php
-// All relevant changes can be made in the data file. Please read the docs: https://github.com/flokX/devShort/wiki
+// This file is part of the devShort project under the MIT License. Visit https://github.com/flokX/devShort for more information.
$short = strtolower(htmlspecialchars($_GET["short"]));