From 5acc47946b0c36e6df3f40b4dc2a02d0fa4629c6 Mon Sep 17 00:00:00 2001 From: CasVT Date: Sat, 11 Feb 2023 17:43:35 +0100 Subject: [PATCH 1/2] Rebranding from Noted to MIND --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- CONTRIBUTING.md | 8 ++++---- Dockerfile | 2 +- Noted.py => MIND.py | 0 README.md | 22 +++++++++++----------- backend/db.py | 4 ++-- docker-compose.yml | 8 ++++---- frontend/templates/login.html | 6 +++--- frontend/templates/page_not_found.html | 6 +++--- frontend/templates/reminders.html | 8 ++++---- tests/Noted_test.py | 4 ++-- tests/db_test.py | 2 +- 12 files changed, 36 insertions(+), 36 deletions(-) rename Noted.py => MIND.py (100%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 60dceea..1b5c9bb 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -26,7 +26,7 @@ assignees: '' **Version info** - OS: [e.g. iOS] - Browser: [e.g. chrome, safari] - - Noted Version: [e.g. V1.0.0] + - MIND Version: [e.g. V1.0.0] - Python Version: [e.g. V3.7] **Additional context** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 082e749..434ded3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ -# Contributing to Noted +# Contributing to MIND ## General steps -Contributing to Noted consists of 5 steps, listed hereunder. +Contributing to MIND consists of 5 steps, listed hereunder. -1. Make a [contributing request](https://github.com/Casvt/Noted/issues/new?template=contribute-request.md), where you describe what you plan on doing. This request needs to get approved before you can start, or your pull request won't be accepted. This is to avoid multiple people from doing the same thing and to avoid you wasting your time if we do not wish the changes. This is also where discussions can be held about how something will be implemented. +1. Make a [contributing request](https://github.com/Casvt/MIND/issues/new?template=contribute-request.md), where you describe what you plan on doing. This request needs to get approved before you can start, or your pull request won't be accepted. This is to avoid multiple people from doing the same thing and to avoid you wasting your time if we do not wish the changes. This is also where discussions can be held about how something will be implemented. 2. When the request is accepted, start your local development (more info about this below). 3. When done, create a pull request to the Development branch, where you mention again what you've changed/added and give a link to the original contributing request issue. 4. The PR will be reviewed and if requested, changes will need to be made before it is accepted. @@ -22,7 +22,7 @@ python3 -m unittest discover -v -s './tests' -p '*_test.py' 6. Test your version thoroughly to catch as many bugs as possible (if any). ## Styling guide -The code of Noted is written in such way that it follows the following rules. Your code should too. +The code of MIND is written in such way that it follows the following rules. Your code should too. 1. Compatible with python 3.7 . 2. Tabs (4 space size) are used for indentation. diff --git a/Dockerfile b/Dockerfile index cd22d33..f699d48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ RUN pip3 install -r requirements.txt COPY . . -CMD [ "python3", "/app/Noted.py" ] +CMD [ "python3", "/app/MIND.py" ] diff --git a/Noted.py b/MIND.py similarity index 100% rename from Noted.py rename to MIND.py diff --git a/README.md b/README.md index 7cc545e..3c9bc2f 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ -# Noted Reminders +# MIND Reminders A simple self hosted reminder platform that uses push to send notifications to your device. Set the reminder and forget about it! 📢 -Noted is a simple self hosted application for creating reminders that get pushed to your device using the [Apprise](https://github.com/caronc/apprise) API. You can send messages to just about every platform, including scheduled emails! +Mind is a simple self hosted application for creating reminders that get pushed to your device using the [Apprise](https://github.com/caronc/apprise) API. You can send messages to just about every platform, including scheduled emails! ## Screenshots -![noted-reminders-home](https://user-images.githubusercontent.com/57927413/213593220-495aeb86-2bf8-4c43-895d-c7cba38c3cee.png) +![mind-reminders-home](https://user-images.githubusercontent.com/57927413/213593220-495aeb86-2bf8-4c43-895d-c7cba38c3cee.png) -![noted-reminders-add-notification-services](https://user-images.githubusercontent.com/57927413/212755314-1104531e-7feb-4e59-af1d-927576e47152.png) +![mind-reminders-add-notification-services](https://user-images.githubusercontent.com/57927413/212755314-1104531e-7feb-4e59-af1d-927576e47152.png) -![noted-reminders-edit](https://user-images.githubusercontent.com/57927413/213594471-ecc99a72-cf0f-4570-8e78-92ffbf37e59d.png) +![mind-reminders-edit](https://user-images.githubusercontent.com/57927413/213594471-ecc99a72-cf0f-4570-8e78-92ffbf37e59d.png) -![noted-reminders-settings](https://user-images.githubusercontent.com/57927413/212755327-b45da53c-72f7-480c-9a77-eaad28803fbb.png) +![mind-reminders-settings](https://user-images.githubusercontent.com/57927413/212755327-b45da53c-72f7-480c-9a77-eaad28803fbb.png) ## Core Features * Basic auth @@ -28,19 +28,19 @@ You can see our planned features in our [Project board](https://github.com/users Replace the timezone value (`TZ=`) to the [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of your timezone! ```bash docker run -d \ - --name noted \ - -v noted-db:/app/db \ + --name mind \ + -v mind-db:/app/db \ -e TZ=Europe/Amsterdam \ -p 8080:8080 \ - mrcas/noted:latest + mrcas/mind:latest ``` ## Getting Started - Create a new account - Click the bell icon on the left side to add an Apprise push option and save it (Here is an example using Pushover) -![noted-reminders-notification-service](https://user-images.githubusercontent.com/57927413/213593832-6c62307c-cf7c-4d11-b6ce-dea33676d477.png) +![mind-reminders-notification-service](https://user-images.githubusercontent.com/57927413/213593832-6c62307c-cf7c-4d11-b6ce-dea33676d477.png) - Click the home icon and create a reminder! -You can see the [wiki](https://github.com/Casvt/Noted/wiki) for instructions on how to install Noted on other OS'es. +You can see the [wiki](https://github.com/Casvt/MIND/wiki) for instructions on how to install MIND on other OS'es. diff --git a/backend/db.py b/backend/db.py index 6333578..bc1f550 100644 --- a/backend/db.py +++ b/backend/db.py @@ -64,8 +64,8 @@ def close_db(e=None) -> None: def migrate_db(current_db_version: int) -> None: """ - Migrate a Noted database from it's current version - to the newest version supported by the Noted version installed. + Migrate a MIND database from it's current version + to the newest version supported by the MIND version installed. """ print('Migrating database to newer version...') cursor = get_db() diff --git a/docker-compose.yml b/docker-compose.yml index afbf0cc..85c3cf5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,11 @@ version: '3.3' services: - noted: - container_name: noted + mind: + container_name: mind volumes: - - 'noted-db:/app/db' + - 'mind-db:/app/db' environment: - TZ=Europe/Amsterdam ports: - '8080:8080' - image: 'mrcas/noted:latest' + image: 'mrcas/mind:latest' diff --git a/frontend/templates/login.html b/frontend/templates/login.html index 610ace6..5b8da9b 100644 --- a/frontend/templates/login.html +++ b/frontend/templates/login.html @@ -9,17 +9,17 @@ - Login - Noted + Login - MIND
-

Noted Reminders

+

MIND Reminders

Login

- + diff --git a/frontend/templates/page_not_found.html b/frontend/templates/page_not_found.html index f8bebef..aa1c51f 100644 --- a/frontend/templates/page_not_found.html +++ b/frontend/templates/page_not_found.html @@ -8,14 +8,14 @@ - Page Not Found - Noted + Page Not Found - MIND
-

Noted Reminders

+

MIND Reminders

-

Noted

+

MIND

404 - Page not found :(

Go to home page
diff --git a/frontend/templates/reminders.html b/frontend/templates/reminders.html index 018ecf1..0d63ba1 100644 --- a/frontend/templates/reminders.html +++ b/frontend/templates/reminders.html @@ -18,7 +18,7 @@ - Reminders - Noted + Reminders - MIND
@@ -32,7 +32,7 @@ -

Noted Reminders

+

MIND Reminders

-
- +