14 Commits

Author SHA1 Message Date
Christopher Ahern
2758be8680 Fix/pylint cleanup (#8)
Some checks are pending
CI / build (3.10) (push) Waiting to run
CI / build (3.8) (push) Waiting to run
CI / build (3.9) (push) Waiting to run
* Fix pylint warnings across all 24 Python files in web_server

- Add module, class, and function docstrings (C0114, C0115, C0116)
- Fix import ordering: stdlib before third-party before local (C0411)
- Replace wildcard imports with explicit named imports (W0401)
- Remove trailing whitespace and add missing final newlines (C0303, C0304)
- Replace dict() with dict literals (R1735)
- Remove unused imports and variables (W0611, W0612)
- Narrow broad Exception catches to specific exceptions (W0718)
- Replace f-string logging with lazy % formatting (W1203)
- Fix variable naming: UPPER_CASE for constants, snake_case for locals (C0103)
- Add pylint disable comments for necessary global statements (W0603)
- Fix no-else-return, simplifiable-if-expression, singleton-comparison
- Fix bad indentation in stripe.py (W0311)
- Add encoding="utf-8" to open() calls (W1514)
- Add check=True to subprocess.run() calls (W1510)
- Register Celery task modules via conf.include

* Update `package-lock.json` add peer dependencies
2026-02-07 20:57:28 +00:00
JustIceO7
4b9c1196d4 BUGFIX: Reset password now only sends email to accounts which exist within the database 2025-03-07 01:18:05 +00:00
JustIceO7
5e9345463a CLEANUP: Tidied up backend code removed unused imports and debugging print statements 2025-03-06 17:26:41 +00:00
white
fd95b1b3bb FEAT: Improved backend for unsubscribing for newsletter 2025-03-03 15:30:52 +00:00
white
6f900b2fe6 UPDATE: Ensured primary key in newsletter cannot be duplicated 2025-03-03 11:43:15 +00:00
white
1225b6ada1 UPDATE: fixed newsletter subjects 2025-03-03 11:07:29 +00:00
white
bce119b0b3 UPDATE: Added functions for adding to newsletter 2025-02-28 11:53:42 +00:00
white
8620642214 UPDATE: Added ability to unsubscribe from the newsletter 2025-02-28 11:37:31 +00:00
white
c98f892e3e FEAT: Added newsletter 2025-02-26 14:33:19 +00:00
JustIceO7
c9455e3b72 FEAT: Email now also shows the username of the account whos password will be reset 2025-02-17 01:49:10 +00:00
JustIceO7
88c9b168fd UPDATE: Updated VideoPage UI
UPDATE: Added response to successful password reset redirect to homepage
2025-02-14 00:14:16 +00:00
JustIceO7
127ebfe7fa UPDATE: Changed email HTML 2025-02-09 01:43:04 +00:00
JustIceO7
a64c7c93dc FEAT: Added email body for create new account 2025-02-08 16:09:17 +00:00
JustIceO7
e6b8ad9b9e MAJOR: Restructured backend Flask application moved all non-routes into utils, renamed routes to not prefix get, created middleware.py to replace utils.py within blueprints 2025-02-08 14:35:46 +00:00