Commit Graph

55 Commits

Author SHA1 Message Date
17e55a3e90 Add indication for file upload errors and corruption 2024-09-16 19:55:37 +07:00
dd8d0c0f4f Add responsiveness to file page and use correct file icons based on file type 2024-09-16 11:02:25 +07:00
b246d85fac feat: add file visibility toggle for files 2024-09-15 23:59:19 +07:00
dc330cc72f fix: prevent upload box from overlapping, ensuring progress is visible 2024-09-15 19:46:46 +07:00
db79d77d13 Add file download count tracking 2024-09-15 17:58:13 +07:00
4ee86d0fc4 Cancel file upload when session is terminated 2024-09-15 17:41:33 +07:00
eee047a9b0 feat: create new file page with improved UI, combine upload and download functionality 2024-09-15 17:24:18 +07:00
846db5fe0b Add hash check for file upload 2024-09-14 17:28:09 +07:00
0772d07fb8 Replace fmt.Println with server logger 2024-09-14 10:51:38 +07:00
54c10befb2 Add range-based partial download support 2024-09-13 21:36:26 +07:00
0dba5d6b3c Correct file size mismatch during download 2024-09-12 21:56:27 +07:00
16ae5f3bd7 Display user storage usage on the dashboard 2024-09-12 13:52:57 +07:00
b23bf8898b migrate to WebSocket for frontend and backend communication 2024-09-09 21:38:10 +07:00
e57b5a0060 Migrate old cache system to Redis 2024-09-08 20:04:35 +07:00
72cb594128 Implement new file upload and download mechanism 2024-09-08 16:43:50 +07:00
29ab28fd93 Fix session retrieval issue after migrating to Redis cache 2024-09-08 16:41:33 +07:00
2c5de2b336 Add Redis support for session and user management 2024-09-08 00:03:43 +07:00
fa2f4e8a87 refactor: call database functions from app.Server.Database instead of directly from db 2024-08-19 21:02:19 +07:00
d64a4a587e refactor: update app instance structure to include both mailserver and logger 2024-08-18 13:35:07 +07:00
7df02c270b refactor: move client page view file to client folder and reorganize file structure 2024-08-18 12:59:19 +07:00
97a9e72d7b Add password reset functionality to user dashboard page 2024-07-08 23:08:45 +07:00
f63c4f7928 Fix unauthorized session termination (#30) 2024-06-20 22:35:30 +07:00
fd2a7d110a Improve 2FA verification page messaging 2024-06-20 18:46:53 +07:00
949099124e Add functionality for session termination 2024-06-20 18:15:49 +07:00
c5185d5107 Finalize 2FA implementation 2024-06-20 08:49:49 +07:00
0e16d59df9 Improve 2FA security and user experience 2024-06-19 22:44:01 +07:00
c1059072a6 Adding response to 2FA 2024-06-19 21:34:50 +07:00
b890f5442c Improve 2FA setup page design 2024-06-19 18:43:33 +07:00
cdc365e89b Implement Totp authentication 2024-06-19 16:23:28 +07:00
fe6c3f7870 Improving pages title 2024-05-17 20:15:32 +07:00
43e16f1d79 Handle internal server error using new custom template 2024-05-14 11:35:15 +07:00
420140918c Add internal server error page 2024-05-13 22:52:00 +07:00
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
69c1f13f17 Optimized PostgreSQL initialization process for smoother deployment setup 2024-05-11 14:50:14 +07:00
d166628345 Handle Google OAuth2 error on callback 2024-05-07 20:28:22 +07:00
3e3e95bef4 Implement file caching for faster retrieval and reduced database load 2024-05-06 21:27:26 +07:00
f1d70fc74a Implement session cleanup 2024-05-05 15:27:02 +07:00
dce11e3569 Refactor session code 2024-05-05 14:50:51 +07:00
22aa8227a4 Separate navbar and footer components for reusability 2024-05-03 10:40:54 +07:00
71c1f2c56f Improve view for better user accessibility 2024-05-02 23:22:01 +07:00
bb2540a5c4 Optimize session retrieval and fix Docker timezone issue 2024-05-02 21:02:50 +07:00
0768348240 Invalidate user access token upon app login 2024-05-02 16:54:48 +07:00
e8e5ce7bd5 Refactor session handling: Move session checking to session.go 2024-05-01 12:37:00 +07:00
9ce46b8967 Remove leftover Google credentials 2024-04-30 17:20:10 +07:00
65a6538b95 Implement user setup for Google OAuth2 unregistered users 2024-04-30 17:16:56 +07:00
da31733dcc Implement Google OAuth2 2024-04-30 15:16:33 +07:00
36e03c6dca Move user caching functionality to dedicated package 2024-04-29 11:09:19 +07:00
e6344743d5 Separate run command from main function 2024-04-28 22:26:53 +07:00
5ca6cdd129 Add PostgreSQL as a supported database 2024-04-28 21:52:33 +07:00
b4f303463d Separate database initialization into NewMYSQLdb function 2024-04-28 20:49:41 +07:00