From 1ad106d05da99081b7323505176c3d3c6cf3f73c Mon Sep 17 00:00:00 2001 From: Matthias Portzel Date: Tue, 11 Jan 2022 19:14:39 -0500 Subject: [PATCH] License * Add Unlicense * Color tweak for About page * Whitespace and code linting --- LICENSE | 24 ++++++++++++++++++++++++ README | 4 ++++ main/static/main/main.css | 2 +- main/templates/whispermaphone/index.html | 1 - main/views.py | 1 - whispermaphone/settings.py | 1 + 6 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8e3b9c2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to https://unlicense.org diff --git a/README b/README index dea203f..653dc12 100644 --- a/README +++ b/README @@ -1,5 +1,9 @@ # WhisperMaPhone +## Copyright + +This code (but not the name or text) for this project is released into the public domain (as specified in the file LICENSE). + ## Installing ```sh diff --git a/main/static/main/main.css b/main/static/main/main.css index 73be404..77d4b31 100644 --- a/main/static/main/main.css +++ b/main/static/main/main.css @@ -127,7 +127,7 @@ a { display: block; } /* Emphasis blocks on the About page */ -em.text, .text.quote { +em.text, .text.quote, .text em { color: var(--accent-color); } h1 { diff --git a/main/templates/whispermaphone/index.html b/main/templates/whispermaphone/index.html index 6af8249..d9a37a6 100644 --- a/main/templates/whispermaphone/index.html +++ b/main/templates/whispermaphone/index.html @@ -125,7 +125,6 @@ //Hydrate Show transcription button const transcriptButton = el.querySelector(".transcript-button"); - console.log(transcriptButton); if (transcriptButton) { const transcriptTitle = el.querySelector(".transcript-label"); const transcript = el.querySelector(".transcript"); diff --git a/main/views.py b/main/views.py index 1121535..f099b82 100644 --- a/main/views.py +++ b/main/views.py @@ -7,7 +7,6 @@ import magic from django.shortcuts import render, redirect from django.utils.crypto import constant_time_compare -from django.http import HttpResponse, HttpResponseRedirect from whispermaphone import settings from .models import Thought, ThoughtForm, ALLOWED_MEDIA_TYPES diff --git a/whispermaphone/settings.py b/whispermaphone/settings.py index fcb8b4a..f479555 100644 --- a/whispermaphone/settings.py +++ b/whispermaphone/settings.py @@ -122,3 +122,4 @@ STATIC_ROOT = BASE_DIR / "static/" MEDIA_ROOT = BASE_DIR / "media/" MEDIA_URL = "/media/" +