Browse Source

commentarly like changelog update

master
Trent Larson 7 months ago
parent
commit
ee1da3399a
  1. 7
      CHANGELOG.md
  2. 3
      app.py

7
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). 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 ### Added
- Different times for users to receive notifications - Different times for users to receive notifications
- Ping endpoint - Ping endpoint
### Changed ### Changed
- Notification loop runs every 5 minutes. - 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] ## [0.1.0]

3
app.py

@ -1,7 +1,8 @@
""" """
Environment variables: Environment variables:
- SQLALCHEMY_DATABASE_URI: path to sqlite file, starting with "sqlite:////"
- ADMIN_PASSWORD: password for admin user for sensitive endpoints, defaults to 'admin' - 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 from cryptography.hazmat.backends import default_backend

Loading…
Cancel
Save