Commit Graph

44 Commits

Author SHA1 Message Date
Cipher Vance
f6029f4a66 fix: fixed syntax error 2025-11-17 08:37:42 -06:00
Cipher Vance
66300be495 chore: updated package versions 2025-11-17 08:37:27 -06:00
Cipher Vance
a92e836cc1 ci: golang to 1.25 2025-11-17 08:37:02 -06:00
Cipher Vance
1b91b72ffb set tls version to 1.2 2025-11-15 19:11:39 -06:00
Cipher Vance
85e49c9e9f some more email work for smtp errors 2025-11-15 18:48:14 -06:00
Cipher Vance
9444bab05f add support for better ssl/tls handling 2025-11-15 18:43:51 -06:00
Cipher Vance
ae3a484139 add gin_mode env 2025-11-15 15:41:28 -06:00
Cipher Vance
0918affe9a fixed call from , to . 2025-11-15 13:51:29 -06:00
Cipher Vance
1c4e86011f better support for HTML emails 2025-11-15 13:51:13 -06:00
Cipher Vance
a61373e5f4 fix the defer 2025-11-15 13:51:02 -06:00
Cipher Vance
e7bdc8ed91 from docker to container 2025-11-15 13:50:54 -06:00
Cipher Vance
51b1b9b2ac from dockerfile to containerfile 2025-11-15 13:50:46 -06:00
Cipher Vance
84e4919e59 update docstring 2025-11-15 13:29:53 -06:00
Cipher Vance
09a01c59f2 fix validation 2025-11-15 13:23:43 -06:00
Cipher Vance
268df9886e refactor(pr): Fixed some PR issues 2025-11-15 13:18:36 -06:00
Cipher Vance
b0301599c9 Remove stored secretkey value 2025-11-15 13:11:39 -06:00
Blake Ridgway
fbb871fdc3 Merge pull request #2 from RideAware/coderabbitai/docstrings/899313d
📝 Add docstrings to `feat/go-rewrite`
2025-11-13 08:12:57 -06:00
coderabbitai[bot]
2adb7e3605 📝 Add docstrings to feat/go-rewrite
Docstrings generation was requested by @blakeridgway.

* https://github.com/RideAware/admin-panel/pull/1#issuecomment-3528008426

The following files were modified:

* `cmd/admin-panel/main.go`
* `internal/config/config.go`
* `internal/database/database.go`
* `internal/email/email.go`
* `internal/handlers/auth.go`
* `internal/handlers/newsletter.go`
* `internal/handlers/subscribers.go`
* `internal/middleware/auth.go`
2025-11-13 14:11:06 +00:00
Blake Ridgway
899313dcac chore: removed temp go files 2025-11-12 19:19:08 -06:00
Blake Ridgway
cb3293c7b0 feat: complete go rewrite 2025-11-12 19:18:29 -06:00
Blake Ridgway
9d78f1fdb4 delete jetbrains info 2025-04-11 19:16:35 -05:00
blake
db4a293fe1 Merge pull request 'Update README: Enhance documentation with architecture, and setup details' (#3) from readme_update into main
Reviewed-on: https://brew.bsd.cafe/RideAware/admin-panel/pulls/3
2025-04-03 20:55:38 +02:00
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