From d754e6c2797bb4a00710ae9b1d88d7521abf5bb4 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sun, 21 Apr 2024 11:37:05 +0800 Subject: [PATCH] Add Django license --- LICENSE.django | 36 ++++++++++++++++++++++++++++++ Whatsapp_Chat_Exporter/__main__.py | 3 ++- docs.html | 1 + 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 LICENSE.django diff --git a/LICENSE.django b/LICENSE.django new file mode 100644 index 0000000..7fd349d --- /dev/null +++ b/LICENSE.django @@ -0,0 +1,36 @@ +The Whatsapp Chat Exporter is licensed under the MIT license. For more information, +refer to the file LICENSE. + +Whatsapp Chat Exporter incorporates code from Django, governed by the three-clause +BSD license—a permissive open-source license. The copyright and license details are +provided below to adhere to Django's terms. + +------ + +Copyright (c) Django Software Foundation and individual contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of Django nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/Whatsapp_Chat_Exporter/__main__.py b/Whatsapp_Chat_Exporter/__main__.py index c40a168..9ffb23e 100644 --- a/Whatsapp_Chat_Exporter/__main__.py +++ b/Whatsapp_Chat_Exporter/__main__.py @@ -26,7 +26,8 @@ def main(): description = 'A customizable Android and iOS/iPadOS WhatsApp database parser that ' 'will give you the history of your WhatsApp conversations in HTML ' 'and JSON. Android Backup Crypt12, Crypt14 and Crypt15 supported.', - epilog = f'WhatsApp Chat Exporter: {__version__} Licensed with MIT' + epilog = f'WhatsApp Chat Exporter: {__version__} Licensed with MIT. See' + 'https://wts.knugi.dev/docs?dest=osl for all open source licenses.' ) parser.add_argument( '-a', diff --git a/docs.html b/docs.html index 634f9a8..7b2e841 100644 --- a/docs.html +++ b/docs.html @@ -7,6 +7,7 @@ "filter": "Filter", "date": "Filters#date-filters", "chat": "Filters#chat-filter", + "osl": "Open-Source-Licenses" null: "" }; const dest = new URLSearchParams(window.location.search).get('dest');