Commit Graph

39 Commits

Author SHA1 Message Date
bagas 2c5de2b336 Add Redis support for session and user management 2024-09-08 00:03:43 +07:00
bagas fa2f4e8a87 refactor: call database functions from app.Server.Database instead of directly from db 2024-08-19 21:02:19 +07:00
bagas d64a4a587e refactor: update app instance structure to include both mailserver and logger 2024-08-18 13:35:07 +07:00
bagas 7df02c270b refactor: move client page view file to client folder and reorganize file structure 2024-08-18 12:59:19 +07:00
bagas 97a9e72d7b Add password reset functionality to user dashboard page 2024-07-08 23:08:45 +07:00
bagas f63c4f7928 Fix unauthorized session termination (#30) 2024-06-20 22:35:30 +07:00
bagas fd2a7d110a Improve 2FA verification page messaging 2024-06-20 18:46:53 +07:00
bagas 949099124e Add functionality for session termination 2024-06-20 18:15:49 +07:00
bagas c5185d5107 Finalize 2FA implementation 2024-06-20 08:49:49 +07:00
bagas 0e16d59df9 Improve 2FA security and user experience 2024-06-19 22:44:01 +07:00
bagas c1059072a6 Adding response to 2FA 2024-06-19 21:34:50 +07:00
bagas b890f5442c Improve 2FA setup page design 2024-06-19 18:43:33 +07:00
bagas cdc365e89b Implement Totp authentication 2024-06-19 16:23:28 +07:00
bagas fe6c3f7870 Improving pages title 2024-05-17 20:15:32 +07:00
bagas 43e16f1d79 Handle internal server error using new custom template 2024-05-14 11:35:15 +07:00
bagas 420140918c Add internal server error page 2024-05-13 22:52:00 +07:00
bagas 74aae18fee Remove Google OAuth2 token revocation logic; tokens expire naturally over time, eliminating the need for manual revocation 2024-05-13 16:56:19 +07:00
bagas 69c1f13f17 Optimized PostgreSQL initialization process for smoother deployment setup 2024-05-11 14:50:14 +07:00
bagas d166628345 Handle Google OAuth2 error on callback 2024-05-07 20:28:22 +07:00
bagas 3e3e95bef4 Implement file caching for faster retrieval and reduced database load 2024-05-06 21:27:26 +07:00
bagas f1d70fc74a Implement session cleanup 2024-05-05 15:27:02 +07:00
bagas dce11e3569 Refactor session code 2024-05-05 14:50:51 +07:00
bagas 22aa8227a4 Separate navbar and footer components for reusability 2024-05-03 10:40:54 +07:00
bagas 71c1f2c56f Improve view for better user accessibility 2024-05-02 23:22:01 +07:00
bagas bb2540a5c4 Optimize session retrieval and fix Docker timezone issue 2024-05-02 21:02:50 +07:00
bagas 0768348240 Invalidate user access token upon app login 2024-05-02 16:54:48 +07:00
bagas e8e5ce7bd5 Refactor session handling: Move session checking to session.go 2024-05-01 12:37:00 +07:00
bagas 9ce46b8967 Remove leftover Google credentials 2024-04-30 17:20:10 +07:00
bagas 65a6538b95 Implement user setup for Google OAuth2 unregistered users 2024-04-30 17:16:56 +07:00
bagas da31733dcc Implement Google OAuth2 2024-04-30 15:16:33 +07:00
bagas 36e03c6dca Move user caching functionality to dedicated package 2024-04-29 11:09:19 +07:00
bagas e6344743d5 Separate run command from main function 2024-04-28 22:26:53 +07:00
bagas 5ca6cdd129 Add PostgreSQL as a supported database 2024-04-28 21:52:33 +07:00
bagas b4f303463d Separate database initialization into NewMYSQLdb function 2024-04-28 20:49:41 +07:00
bagas 5cf1aacf23 Refactor codebase and removed leftover development code 2024-04-27 16:07:07 +07:00
bagas dfaf8e999f Move SMTP credentials to .env file 2024-04-27 15:43:11 +07:00
bagas c43fd0232e Refactor session package for better structure and naming conventions 2024-04-26 20:33:34 +07:00
bagas 769bffe6ff Added functionality to user page 2024-04-26 15:45:54 +07:00
bagas 2e2fbdf800 Add password validation 2024-04-25 22:51:37 +07:00