Commit Graph

307 Commits

Author SHA1 Message Date
Jamie Curnow
d121de808c
Fix SSE frontend auth 2024-09-15 21:51:51 +10:00
Jamie Curnow
0a18a565c7
Remove cache from filters, was duplicating incorrect data 2024-09-11 20:21:15 +10:00
Jamie Curnow
c4db4a2647
Fix quotes 2024-09-11 19:38:41 +10:00
Jamie Curnow
e78dd069f1
Quote filter fields 2024-09-11 15:22:10 +10:00
Jamie Curnow
9a2e5c92d5
Improvements to enforce middleware, linting, returning 404 properly 2024-09-11 15:03:00 +10:00
Jamie Curnow
833dd23dce
Support table names in filter tags 2024-09-11 15:01:28 +10:00
Jamie Curnow
514520ce1a
Linter hacks 2024-09-11 15:01:05 +10:00
Jamie Curnow
21e3bce95d
Adds tests for schema json 2024-09-11 15:00:49 +10:00
Jamie Curnow
5dd81c071f
Revert sqlite native update, gorm driver doesn't like it 2024-09-09 15:47:13 +10:00
Jamie Curnow
269d088a60
Updates to sqlite fork 2024-09-09 09:27:07 +10:00
Jamie Curnow
f73e09007a
Updated deps 2024-09-09 08:42:30 +10:00
Jamie Curnow
be0ce673ff
Adds compulsory test coverage, fix tests 2024-05-07 21:24:50 +10:00
Jamie Curnow
6da020aab1
Add goleak in unit tests 2023-11-08 09:57:15 +10:00
Jamie Curnow
fd041d9b3c
Add more unit tests 2023-08-03 16:35:06 +10:00
Jamie Curnow
9ac0e8c943
Add more unit tests 2023-08-02 15:32:16 +10:00
Jamie Curnow
155e09407f
Add more unit tests 2023-08-01 08:19:58 +10:00
Jamie Curnow
db95a465c8
Add more unit tests 2023-07-31 13:49:11 +10:00
Jamie Curnow
6584f87dd2
Add more unit tests 2023-07-31 11:27:10 +10:00
Jamie Curnow
b076f5b3b6
Add more unit tests 2023-07-28 16:10:44 +10:00
Jamie Curnow
e5ade3b4ea
Add more unit tests 2023-07-28 15:01:54 +10:00
Jamie Curnow
7f9a1f5a98
Add more backend unit tests 2023-07-27 21:17:08 +10:00
Jamie Curnow
9faa36315f
More unit tests and html coverage report
also fixes a limit bug on listquery
2023-07-27 12:38:35 +10:00
Jamie Curnow
e4e70ae6be
Added some db unit tests 2023-07-26 13:29:12 +10:00
Jamie Curnow
d555af68fe
Fix acme.sh ci test 2023-07-25 12:15:58 +10:00
Jamie Curnow
26f708d980
Fix acme.sh ci test 2023-07-25 12:12:27 +10:00
Jamie Curnow
2ffb54a720
Fix acme.sh ci test 2023-07-25 12:07:33 +10:00
Jamie Curnow
b123ca4fd0
Add backend unit tests 2023-07-25 11:59:02 +10:00
Jamie Curnow
72b071dbaa
Use govulncheck instead of nancy 2023-07-24 14:45:39 +10:00
Jamie Curnow
aae95798b2
Refactor some reflection 2023-07-24 13:42:50 +10:00
Jamie Curnow
a0e17f9678
Better checking for api sort param to prevent sql injection
And moved filters out and cached object reflection
2023-07-24 11:49:08 +10:00
Jamie Curnow
042a74cc21
Updated go deps 2023-07-20 15:25:05 +10:00
Jamie Curnow
fd7095ad88
Remove sentry and error reporting 2023-07-20 15:19:42 +10:00
Jamie Curnow
824a22efad
Small tweaks 2023-07-19 11:52:47 +10:00
Jamie Curnow
b437119535
Remove last use of v4 jwtauth 2023-06-01 11:37:25 +10:00
Jamie Curnow
d300095ab5
Ignore nancy 2023-05-31 21:51:06 +10:00
Jamie Curnow
adf0030b1c
Add missing json schema types 2023-05-31 16:34:20 +10:00
Jamie Curnow
63845377d9
Another tweak for postgres sigh 2023-05-31 15:11:25 +10:00
Jamie Curnow
4b4c7baea4
Updates 2023-05-31 13:52:58 +10:00
Jamie Curnow
0461689d65
Fix panic using wrong err object 2023-05-31 11:35:24 +10:00
Jamie Curnow
aec0a606af
Fix swagger bits 2023-05-31 11:35:09 +10:00
Jamie Curnow
f55a7a792f
Update testing packages, revert to nullable in swagger schema 2023-05-31 08:47:13 +10:00
Jamie Curnow
4b0d901c93
Schema updates 2023-05-31 00:08:50 +10:00
Jamie Curnow
4a57956093
More work to support nullable foreign keys
Adds nullable int/uint types
2023-05-30 22:26:44 +10:00
Jamie Curnow
88f3953f92
Use null for optional foreign keys 2023-05-30 21:18:12 +10:00
Jamie Curnow
0d3e152306
Add ON DELETE CASCADE for testing query 2023-05-30 18:11:48 +10:00
Jamie Curnow
9234c2c007
Fix validation 2023-05-30 16:02:02 +10:00
Jamie Curnow
98ff4a7dcc
Fix inconsistencies between int and bool in db 2023-05-30 15:51:57 +10:00
Jamie Curnow
3c1b4fdf34
Added migrations for mysql and postgres, added ci testing suites for them 2023-05-30 13:26:46 +10:00
Jamie Curnow
e0773b1c06
Fix change password function 2023-05-29 15:26:28 +10:00
Jamie Curnow
3301800f42
prevent panic when sse token is not found 2023-05-29 15:18:18 +10:00