Commit Graph

40 Commits

Author SHA1 Message Date
fa5be206cb Added migration mgmt with goose. 2025-06-04 02:36:09 -05:00
9e59d05efe Remove excess comments. 2025-06-03 20:27:03 -05:00
f557d6141f Add retry logic for database operations and enhance DBConfig with retry parameters 2025-06-03 20:20:17 -05:00
6ac0d5e256 Refactor database initialization to use a configuration struct for improved connection management 2025-06-03 19:32:26 -05:00
a7d3822f94 Implement database integration with SQLite and refactor user handling for OIDC authentication 2025-06-02 19:35:11 -05:00
77b2e6c24e Refactor SQL queries and schema to use OIDC subject instead of Keycloak ID for user identification 2025-06-01 18:10:17 -05:00
d2162067ab Add SQL queries and schema for users, sites, and payments 2025-05-31 23:40:33 -05:00
2d061ea0d0 Refactor navbar structure for better responsiveness and clarity 2025-05-19 00:06:38 -05:00
c54a1f8d9a Rename hostname to base-url for accuracy 2025-05-18 18:32:26 -05:00
ed00e1150f Refactor OIDC configuration keys for consistency and clarity 2025-05-18 17:48:51 -05:00
1dc68374e3 Show only things that work. 2025-05-17 08:56:30 -05:00
0c6b1cd6b5 Dynamic user data for dashboard and a link to manage their IDP account! 2025-05-16 02:00:02 -05:00
e304712923 Decompression notes. 2025-05-15 15:16:51 -05:00
adf3db4d72 Add low-fidelity wireframe. 2025-05-14 01:28:06 -05:00
c0bc02fed5 Use embedded filesystems properly. 2025-05-13 22:49:36 -05:00
27eb2e5f12 Server serves default content using go embed. Also add favicons/ 2025-05-13 00:52:52 -05:00
e5e9efd9b3 Refactor start.go to move server logic to internal server.go 2025-05-11 04:32:54 -05:00
0c446e244b Enhance security headers by adding Content-Security-Policy with environment-based upgrade-insecure-requests directive 2025-05-04 22:14:13 -05:00
300f41630f Add decompression middleware and tests for gzip handling 2025-05-01 01:34:25 -05:00
1362c2755d Add response compression middleware to enhance performance 2025-04-29 10:33:13 -05:00
83b38498c8 Refactor CSRF secret handling to validate key length and improve error messaging 2025-04-29 03:34:01 -05:00
1581fbca4b Refactor CORS and CSRF middleware to use options directly and remove default config functions 2025-04-29 03:19:47 -05:00
7dbde25bcf Remove unnecessary comments 2025-04-29 02:45:56 -05:00
b2ead348e5 Implement CSRF protection middleware with configurable secret and cookie options 2025-04-29 01:42:54 -05:00
8cf7841f20 Add CSRF middleware implementation and update go.mod/go.sum for dependencies 2025-04-28 20:26:17 -05:00
b0a8ec88b3 Add CORS middleware using rs/cors package for improved handling 2025-04-28 20:16:04 -05:00
c2265330dd CORS middleware. And fix middleware types for logging and securityheaders. 2025-04-28 02:47:22 -05:00
c83b0c50a0 Refactor security headers in SecureHeaders middleware for improved caching and CSP 2025-04-27 23:44:34 -05:00
78caaa1053 Rename timeout middleware 2025-04-27 22:27:24 -05:00
2e4b2aba45 Implement structured logging and enhance middleware with context-aware logging 2025-04-27 03:03:57 -05:00
bfdf7bf7d2 Add a timeout middleware to the server 2025-04-22 01:45:21 -05:00
d53afa4903 Add RequestID middleware for tracing and enhance logging with request IDs 2025-04-21 00:03:00 -05:00
9fd027fcda Add recovery middleware to handle panics and log errors 2025-04-20 23:45:44 -05:00
bd455f1782 Add MaxBodySize middleware and update .gitignore for config files 2025-04-20 01:29:13 -05:00
2d724763e1 Add registration handler and update routing for OIDC integration 2025-02-25 19:02:27 -06:00
0ba5eee981 Refactor authentication middleware and enhance security headers 2025-02-25 13:39:24 -06:00
d587e97dbe redirect-url not same for login and logout 2025-02-24 03:14:36 -06:00
e7f1e6ae92 Implement OIDC authentication middleware and session management 2025-02-22 02:28:57 -06:00
7d49e49de0 Logging middleware added. 2025-02-21 18:49:46 -06:00
0b4cc932b6 Start implementing middleware for logging and authentication in member-console application 2025-02-21 11:22:45 -06:00