Commit Graph

91 Commits

Author SHA1 Message Date
c0bbe687f9 Added timeout for acquiring global lock 2025-02-18 19:57:30 +11:00
38d47cdf63 Added check for attempting to acquire global lock 2025-02-18 10:37:57 +11:00
c2de8d254a Added proper debug logging to safeconn methods 2025-02-18 10:03:28 +11:00
b4b57c14cb Removed debugging stdout prints 2025-02-17 23:32:48 +11:00
9ea58b0961 Made auth middleware turn skip timeout if maintenance mode is on 2025-02-17 23:31:09 +11:00
556c93fc49 Changed to using atomics as mutex was causing deadlock 2025-02-17 23:14:13 +11:00
19f26d62a3 Removed OldConnectToDatabase 2025-02-17 21:51:09 +11:00
a8d112fdd5 Updated all code to use SafeConn and SafeTX 2025-02-17 21:39:12 +11:00
6faf168a6d Updated all code to use new SafeConn and SafeTX 2025-02-17 21:38:29 +11:00
2c61cec55c Update authentication, reauth, logout to use new transactions 2025-02-17 18:58:34 +11:00
417daf0028 Added close method to SafeConn 2025-02-17 11:53:20 +11:00
1edff49425 Made new safe connection and transaction structs to enable db locking 2025-02-17 11:44:55 +11:00
4e5a5cb33e Removed test message from index page 2025-02-17 00:27:51 +11:00
049698100f Added hook to prevent pushing to staging and master 2025-02-17 00:24:14 +11:00
675138fcc5 Update deploy_production.yaml 2025-02-17 00:04:08 +11:00
02a78f1284 Merge pull request #9 from Haelnorr/staging
CI/CD pipeline complete - hopefully...
2025-02-16 23:59:28 +11:00
0aa0228c63 Added deploy scripts for master/production 2025-02-16 23:55:02 +11:00
694f568275 Made an update to the index page to test staging rolling release 2025-02-16 23:28:42 +11:00
66daa33f22 Fixed tailwind not generated on build 2025-02-16 23:27:07 +11:00
4cb704e95c Fixed wrong path to deploy script 2025-02-16 23:06:26 +11:00
0ff2f22b27 Fixed branch not in scp command 2025-02-16 23:03:22 +11:00
dddf49bd24 Merge pull request #8 from Haelnorr/development
Fixes to deployment
2025-02-16 22:59:56 +11:00
ad2f09457c Fixes to deployment 2025-02-16 22:58:57 +11:00
2be0e68646 Update Makefile 2025-02-16 22:51:07 +11:00
9a657bc390 Merge pull request #7 from Haelnorr/development
Changed default port to 3010
2025-02-16 22:42:57 +11:00
8ca99bca67 Changed default port to 3010 2025-02-16 22:42:21 +11:00
d2bdb9e2d6 Merge pull request #6 from Haelnorr/development
Fixed makefile test command
2025-02-16 22:38:50 +11:00
5014052973 Fixed makefile test command 2025-02-16 22:37:26 +11:00
414dcbe248 Merge pull request #5 from Haelnorr/revert-4-development
Revert "Fixed deployment scripts"
2025-02-16 22:30:49 +11:00
9da261aae2 Revert "Fixed deployment scripts" 2025-02-16 22:30:34 +11:00
357b4251ad Merge pull request #4 from Haelnorr/development
Fixed deployment scripts
2025-02-16 22:28:58 +11:00
9b0c41c34b Fixed deployment scripts 2025-02-16 22:27:13 +11:00
6da2bafbb3 Merge pull request #3 from Haelnorr/development
Deployment scripts
2025-02-16 22:25:01 +11:00
5892d6a7e6 Added deployment scripts 2025-02-16 22:23:54 +11:00
fb1168a7cc Updated service files 2025-02-16 21:07:13 +11:00
93e9f4ef01 Added envfile to service file 2025-02-16 18:48:45 +11:00
a39776b526 Added service file for deployment 2025-02-16 18:30:48 +11:00
fafb9b436f Fixed static file embedding 2025-02-16 17:59:20 +11:00
f9e17211ce Merge pull request #2 from Haelnorr/tests
Updated tests to middleware modules
2025-02-16 15:17:44 +11:00
31f1b83da4 Added page protection and reauthentication tests 2025-02-16 15:15:52 +11:00
deaeddb533 Made authentication test more robust 2025-02-16 14:18:36 +11:00
9994bed47e Fixed nil pointer derefence due accessing account page if cookie not set 2025-02-16 13:54:44 +11:00
1dca9215d3 Merge pull request #1 from Haelnorr/accountpage
Basic account page completed
2025-02-16 12:51:08 +11:00
840c595cf5 Made bio charcount darker 2025-02-16 12:40:31 +11:00
97404fff1b Added change password functionality 2025-02-16 12:38:07 +11:00
ec3d34b86e Made account page remember what subpage user was on using cookies 2025-02-16 12:30:34 +11:00
cb6f4184f8 Added SetCookie method to cookies package 2025-02-16 12:30:19 +11:00
fa64b05415 Refactored alpinejs in forms for better maintainability 2025-02-16 11:26:57 +11:00
07453b0f02 Added ability for user to change their bio 2025-02-16 10:44:04 +11:00
42ea74fd63 Added reauthentication (token freshness) and protected username change 2025-02-15 20:12:30 +11:00