Commit graph

22 commits

Author SHA1 Message Date
Blake Ridgway
5a3dd86bf9 (docs): Update README for clarity, features, and deployment
Rewrite README for clarity, features, architecture, setup, contributing guide
2025-04-03 13:53:11 -05:00
blake
b64644cb21 Merge pull request 'Refactor and Enhance Admin Panel: Security, Logging, and Code Quality Improvements' (#2) from newsletter into main
Reviewed-on: https://brew.bsd.cafe/RideAware/admin-panel/pulls/2
2025-04-03 20:26:10 +02:00
Blake Ridgway
7a88a01e0b (refactor): Fixed format of the with/if blocks 2025-04-03 13:24:51 -05:00
Blake Ridgway
85c9ab1364 (style): Adjust order to fix formatting of flash messages
Adjusted order in admin_index.html to fix formatting for flash messages.
2025-04-03 13:22:13 -05:00
Blake Ridgway
abd2bef104 (style): Adjust order to fix formatting of flash messages
Adjusted order in send_update.html to fix formatting for flash messages.
2025-04-03 13:21:52 -05:00
Blake Ridgway
fd199c30dc (refactor): Simple deleted empty line 2025-04-03 13:20:59 -05:00
Blake Ridgway
9784c92503 (build): Add static folder
Modify Dockerfile to copy the static folder
2025-04-03 11:52:56 -05:00
Blake Ridgway
10fe98b5ca (refactor): Enhance database connection and initialization with error
handling and logging

Implemented robust logging using the logging module
Improved database connection with try...except...finally blocks for better error handling and resource management
Enhanced database initialization with proper error handling and logging
2025-04-03 11:51:54 -05:00
Blake Ridgway
145d426dc0 (refactor): Improve email sending and logging, enhance security
Implemented robust logging using the logging module
Improved error handling and resource management with
try...except..finally blocks
Seprareted email sending logic into smaller managable functions
Added SENDER_EMAIL configuration for sending emails
Fixed security vulnerabilities
2025-04-03 11:50:18 -05:00
Blake Ridgway
fe8e8c7e64 (style): Refactor HTML templates and add CSS
Refactored HTML templates for improved strucutre and clarity
Moved styles to a separate CSS file for better maintainablilty
2025-04-03 11:49:40 -05:00
blake
c0557396f4 Merge pull request 'feat(newsletter): add newsletters listing' (#1) from newsletter into main
Reviewed-on: https://brew.bsd.cafe/RideAware/admin-panel/pulls/1
2025-02-19 19:28:34 +01:00
Blake Ridgway
eb1e69ab3c feat(newsletter): add newsletters listing
* Created a newsletters table and added insertion logic during newsletter send.
2025-02-18 20:08:51 -06:00
Blake Ridgway
d23de908b5 (feat): Added unsub link in update emails 2025-02-13 13:27:37 -06:00
Blake Ridgway
11f51c94e0 (fix): Port 5000 > 5001 2025-02-13 13:18:16 -06:00
Blake Ridgway
0610bb7fdf (feat): Added production level deployment 2025-02-13 19:14:45 +00:00
Blake Ridgway
0628d45527 (feat): We've got a working admin panel 2025-02-12 21:42:32 -06:00
Blake Ridgway
a8d2f7b798 (feat): Created admin database.py 2025-02-12 13:00:01 -06:00
Blake Ridgway
9bc4d87938 (fix): Fixed url_for link 2025-02-12 12:59:44 -06:00
blake
d47f7ae67e (docs): Added TODO.md 2025-02-12 16:37:10 +01:00
blake
7f73ecdd5c (docs): Added README.md 2025-02-12 16:33:55 +01:00
Blake Ridgway
29bdd8649c (fix): Added .idea to ignore 2025-02-12 09:13:49 -06:00
Blake Ridgway
7ae9ef7478 (feat): Initial work of admin panel 2025-02-12 09:13:12 -06:00