From ee1da3399a17a56588a202a39717a9dfcb9e86fa Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 31 Mar 2024 19:37:43 -0600 Subject: [PATCH] commentarly like changelog update --- CHANGELOG.md | 7 ++++++- app.py | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38fcb17..a8be79b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.2.0] - 2024-03-31 +## [0.4.0] - 2024-03-31 ### Added - Different times for users to receive notifications - Ping endpoint ### Changed - Notification loop runs every 5 minutes. +- DB changes: + - `alter table subscription add column notify_time varchar(5);` + - `update subscription set notify_time = '13:13';` + - `create table settings (id integer primary key, prev_notify_end_time varchar(29) not null, running_notify_end_time varchar(29));` + - `insert into settings (id, prev_notify_end_time) values (0, '2024-01-01');` ## [0.1.0] diff --git a/app.py b/app.py index 66f6504..eab0cca 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,8 @@ """ Environment variables: -- SQLALCHEMY_DATABASE_URI: path to sqlite file, starting with "sqlite:////" - ADMIN_PASSWORD: password for admin user for sensitive endpoints, defaults to 'admin' +- PUSH_SERVER_VERSION: optional version of server +- SQLALCHEMY_DATABASE_URI: path to sqlite file, starting with "sqlite:////" """ from cryptography.hazmat.backends import default_backend