Commit Graph

107 Commits

Author SHA1 Message Date
a575025f1f Renamed test file for safeconn and safetx to reflect new file structure 2025-02-20 22:31:20 +11:00
8bdeafee32 First version of migrate script (unfinished) 2025-02-20 22:09:35 +11:00
4b64dccbda Updated tests to use migrations for db init for consistency 2025-02-20 20:26:26 +11:00
b238a3efa7 Made the db connection check the migration version and fail on mismatch 2025-02-20 19:16:14 +11:00
f0f285301a Moved SafeTx and SafeConn to their own files 2025-02-20 19:06:41 +11:00
03519908c8 Added goose for migrations 2025-02-19 21:55:36 +11:00
6656f4ab8d Moved backup script 2025-02-19 21:29:47 +11:00
236b9654fe Created backup script 2025-02-19 20:29:20 +11:00
6018f08e74 Merge pull request #11 from Haelnorr/databaselocking
Fixed main_test never starting because of port misconfiguration
2025-02-18 23:50:43 +11:00
90821abcd6 Fixed main_test never starting because of port misconfiguration 2025-02-18 23:49:39 +11:00
ac40b67322 Merge pull request #10 from Haelnorr/databaselocking
Databaselocking
2025-02-18 23:21:24 +11:00
46dd86cdae Added tests to ensure SIGUSR1 and SIGUSR2 will toggle db lock 2025-02-18 23:18:02 +11:00
789d1e75a7 Added tests for SafeConn and SafeTx 2025-02-18 22:49:43 +11:00
90bf997578 Added 503 error page and streamlined error paging 2025-02-18 21:37:15 +11:00
1f7a9e08e6 Added error 503 popup 2025-02-18 20:53:11 +11:00
0ece08726d Added debug logging to run function 2025-02-18 20:05:41 +11:00
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