Commit Graph

118 Commits

Author SHA1 Message Date
8769d76e60 Merge branch 'staging' into dbbackups 2025-02-22 12:55:04 +11:00
9864057f8d Fixed migration binary being referenced incorrectly 2025-02-22 12:53:24 +11:00
be02c88623 Merge pull request #14 from Haelnorr/dbbackups
Fixed migration binary being referenced incorrectly
2025-02-22 12:50:29 +11:00
238529b19c Fixed migration binary being referenced incorrectly 2025-02-22 12:50:09 +11:00
a342a31b51 Merge pull request #13 from Haelnorr/dbbackups
Fixed issue where tests will never fail if server fails to launch
2025-02-22 12:46:16 +11:00
ef48091906 Fixed issue where tests will never fail if server fails to launch 2025-02-22 12:42:49 +11:00
e4abb0bcf7 Merge pull request #12 from Haelnorr/dbbackups
Testing db migrations updates
2025-02-22 11:42:42 +11:00
9ee5aa7b8f Updated deployment scripts to use migration on deploy 2025-02-22 11:41:36 +11:00
489c684091 Finishing migration scripts 2025-02-22 11:03:32 +11:00
5d0a26579b Finished migrate script 2025-02-20 23:56:55 +11:00
79838b4aae Created a migration package to handle the migrations 2025-02-20 23:01:39 +11:00
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