Commit Graph
100 Commits
Author SHA1 Message Date
63ed62a9a3 fix: Stupid logic error.
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -26m2s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -25m39s
Build , Vet Test, and Lint / Build (push) Successful in -25m47s
Build , Vet Test, and Lint / Lint Code (push) Successful in -25m6s
Tests / Unit Tests (push) Failing after -26m5s
Tests / Integration Tests (push) Failing after -26m5s
Co-authored-by: IvanX006 <ivan@bitechsystems.co.za>
Co-authored-by: Warkanum <HEIN.PUTH@GMAIL.COM>
Co-authored-by: Hein <hein@bitechsystems.co.za>
2025-12-19 16:52:34 +02:00
0525323a47 Fixed tests failing due to reponse header status
Co-authored-by: IvanX006 <ivan@bitechsystems.co.za>
Co-authored-by: Warkanum <HEIN.PUTH@GMAIL.COM>
Co-authored-by: Hein <hein@bitechsystems.co.za>
2025-12-19 16:50:16 +02:00
45c463c117 Fixed Attempt to Fix Docker / Podman
Co-authored-by: IvanX006 <ivan@bitechsystems.co.za>
Co-authored-by: Warkanum <HEIN.PUTH@GMAIL.COM>
Co-authored-by: Hein <hein@bitechsystems.co.za>
2025-12-19 16:42:01 +02:00
84d673ce14 Added OpenAPI UI Routes
Co-authored-by: IvanX006 <ivan@bitechsystems.co.za>
Co-authored-by: Warkanum <HEIN.PUTH@GMAIL.COM>
Co-authored-by: Hein <hein@bitechsystems.co.za>
2025-12-19 16:32:14 +02:00
Hein 02fbdbd651 Cache package is pure infrastructure. Cache invalidates on create/delete from the API
Tests / Integration Tests (push) Failing after 9s
Build , Vet Test, and Lint / Lint Code (push) Successful in 8m13s
Build , Vet Test, and Lint / Build (push) Successful in -24m36s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -25m6s
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -24m33s
Tests / Unit Tests (push) Failing after -25m39s
2025-12-18 16:30:38 +02:00
Hein 97988e3b5e Updated bun version 2025-12-18 15:54:00 +02:00
Hein c9838ad9d2 Bun bugfix 2025-12-18 15:22:58 +02:00
Hein c5c0608f63 StatusPartialContent is better since we need to result to see. 2025-12-18 14:48:14 +02:00
Hein 39c3f05d21 StatusNoContent for zero length data 2025-12-18 13:34:07 +02:00
Hein 4ecd1ac17e Fixed to StatusNoContent 2025-12-18 13:20:39 +02:00
Hein 2b1aea0338 Fix null interface issue and added partial content response when content is empty 2025-12-18 13:19:57 +02:00
Hein 1e749efeb3 Fixes for not found records 2025-12-18 13:08:26 +02:00
Hein 09be676096 Resolvespec delete returns deleted record 2025-12-18 12:52:47 +02:00
Hein e8350a70be Fixed delete record to return the record 2025-12-18 12:49:37 +02:00
Hein 5937b9eab5 Fixed the double table on update
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-18 12:14:39 +02:00
Hein 7c861c708e [breaking] Another breaking change datatypes -> spectypes 2025-12-18 11:49:35 +02:00
Hein 77f39af2f9 [breaking] Moved sql types to datatypes 2025-12-18 11:43:19 +02:00
Hein fbc1471581 Fixed panic caused by model type not being pointer in rest header spec. 2025-12-18 11:21:59 +02:00
Hein 9351093e2a Fixed order by. Added OrderExpr to database interface
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-17 16:50:33 +02:00
Hein 932f12ab0a Update handler fixes for Utils bug
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Has been cancelled
Build , Vet Test, and Lint / Lint Code (push) Has been cancelled
Build , Vet Test, and Lint / Build (push) Has been cancelled
Tests / Unit Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Has been cancelled
2025-12-12 17:01:37 +02:00
Hein b22792bad6 Optional check for bun 2025-12-12 14:49:52 +02:00
Hein e8111c01aa Fixed for relation preloading 2025-12-12 11:45:04 +02:00
Hein 5862016031 Added ModelRules
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-12 10:13:11 +02:00
Hein 2f18dde29c Added Tx common.Database to hooks 2025-12-12 09:45:44 +02:00
Hein 31ad217818 Event Broken Concept 2025-12-12 09:23:54 +02:00
Hein 7ef1d6424a Better handling for variables callback
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-11 15:57:01 +02:00
Hein c50eeac5bf Change the SqlQuery functions parameters on Function Spec 2025-12-11 15:42:00 +02:00
Hein 6d88f2668a Updated login interface with meta 2025-12-11 14:05:27 +02:00
Hein 8a9423df6d Fixed DatabaseAuthenticator JSON value. Added make tag 2025-12-11 13:59:41 +02:00
Hein 4cc943b9d3 Added row PgSQLAdapter
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
2025-12-10 15:28:09 +02:00
Hein 68dee78a34 Fixed filterExtendedOptions 2025-12-10 12:25:23 +02:00
Hein efb9e5d9d5 Removed the buggy filter expand columns 2025-12-10 12:15:18 +02:00
Hein 490ae37c6d Fixed bugs in extractTableAndColumn 2025-12-10 11:48:03 +02:00
Hein 99307e31e6 More debugging on bun for scan issues 2025-12-10 11:16:25 +02:00
Hein e3f7869c6d Bun scan debugging 2025-12-10 11:07:18 +02:00
Hein c696d502c5 extractTableAndColumn 2025-12-10 10:10:55 +02:00
Hein 4ed1fba6ad Fixed extractTableAndColumn 2025-12-10 10:10:43 +02:00
Hein 1d0407a16d Fixed linting
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
2025-12-10 10:00:01 +02:00
Hein 99001c749d Better sql where validation 2025-12-10 09:52:13 +02:00
Hein 1f7a57f8e3 Tracking provider 2025-12-10 09:31:55 +02:00
Hein a95c28a0bf Multi Token warning and handling 2025-12-10 08:44:37 +02:00
Hein e1abd5ebc1 Enhanced the SanitizeWhereClause function 2025-12-10 08:36:24 +02:00
Hein ca4e53969b Better tests
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-09 15:32:16 +02:00
Hein db2b7e878e Better handling of preloads 2025-12-09 15:12:17 +02:00
Hein 9572bfc7b8 Fix qualified column reference (like APIL.rid_hub) in a preload: 2025-12-09 14:46:33 +02:00
Hein f0962ea1ec Added EnableQueryDebug log 2025-12-09 14:37:09 +02:00
Hein 8fcb065b42 Better Query Debugging 2025-12-09 14:31:26 +02:00
Hein dc3b621380 Fixed test for session id changes 2025-12-09 14:07:00 +02:00
Hein a4dd2a7086 exposed types FromString 2025-12-09 14:03:55 +02:00
Hein 3ec2e5f15a Proper handling of fromString in the types 2025-12-09 13:55:51 +02:00
Hein c52afe2825 Updated sql types 2025-12-09 13:14:22 +02:00
Hein 76e98d02c3 Added modelregistry.GetDefaultRegistry 2025-12-09 12:12:10 +02:00
Hein 23e2db1496 Fixed linting 2025-12-09 12:02:44 +02:00
Hein d188f49126 Added openapi spec 2025-12-09 12:01:21 +02:00
Hein 0f05202438 Database Authenticator with cache 2025-12-09 11:32:44 +02:00
Hein b2115038f2 Fixed providers 2025-12-09 11:18:11 +02:00
Hein 229ee4fb28 Fixed DatabaseAuthenticator sq select 2025-12-09 11:05:48 +02:00
Hein 2cf760b979 Added a few auth shortcuts 2025-12-09 10:31:08 +02:00
Hein 0a9c107095 Fixed sqlquery bug in funcspec 2025-12-09 10:19:03 +02:00
Hein 4e2fe33b77 Fixed session_rid in funcspec 2025-12-09 10:04:39 +02:00
Hein 1baa0af0ac Config Package
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
2025-12-09 09:19:56 +02:00
Hein 659b2925e4 Cursor pagnation for resolvespec 2025-12-09 08:51:15 +02:00
Hein baca70cafc Split coverage reports
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-08 17:20:40 +02:00
Hein ed57978620 go-version 1.24 2025-12-08 17:14:04 +02:00
Hein 97b39de88a Broken linting 2025-12-08 17:12:44 +02:00
Hein bf955b7971 Updated version
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-08 17:08:23 +02:00
Hein 545856f8a0 Fixed linting issues 2025-12-08 17:07:13 +02:00
Hein 8d123e47bd Updated deps on workflow 2025-12-08 16:59:49 +02:00
Hein c9eaf84125 A lot more tests 2025-12-08 16:56:48 +02:00
Hein aeae9d7e0c Added blacklist middleware 2025-12-08 09:26:36 +02:00
Hein 2a84652dba Middleware enhancements 2025-12-08 08:47:13 +02:00
Hein b741958895 Code sanity fixes, added middlewares
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-08 08:28:43 +02:00
Hein 2442589982 Better headers
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-03 14:42:38 +02:00
Hein 7c1bae60c9 Added meta handlers 2025-12-03 13:52:06 +02:00
Hein 06b2404c0c Remove blank array if no args 2025-12-03 12:25:51 +02:00
Hein 32007480c6 Handle cql columns as text by default 2025-12-03 12:18:33 +02:00
Hein ab1ce869b6 Handling JSON responses in funcspec 2025-12-03 12:10:13 +02:00
Hein ff72e04428 Added meta operation. 2025-12-03 11:59:58 +02:00
Hein e35f8a4f14 Fix session id that is an integer. 2025-12-03 11:49:19 +02:00
Hein 5ff9a8a24e Fixed blank params on funcspec 2025-12-03 11:42:32 +02:00
Hein 81b87af6e4 Updated doc 2025-12-03 11:30:59 +02:00
Hein f3ba314640 Refectored the mux routers. 2025-12-03 10:42:26 +02:00
Hein 93df33e274 UnderlyingRequest and UnderlyingResponseWriter
Tests / Run Tests (1.24.x) (push) Waiting to run
Tests / Lint Code (push) Waiting to run
Tests / Build (push) Waiting to run
Tests / Run Tests (1.23.x) (push) Waiting to run
2025-12-02 17:40:44 +02:00
Hein abd045493a mux UnderlyingRequest 2025-12-02 17:34:18 +02:00
Hein a61556d857 Added FallbackHandler 2025-12-02 17:16:34 +02:00
Hein eaf1133575 Fixed security rules not loading 2025-12-02 16:55:12 +02:00
Hein 8172c0495d More generic security solution. 2025-12-02 16:35:08 +02:00
Hein 7a3c368121 Pass through to default handler 2025-12-02 16:09:36 +02:00
Hein 9c5c7689e9 More common handler interface 2025-12-02 15:45:24 +02:00
Hein 08050c960d Optional Authentication 2025-12-02 14:14:38 +02:00
Hein 78029fb34f Fixed formatting issues
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-01 14:56:30 +02:00
Hein 1643a5e920 Added cache, funcspec and implemented total cache 2025-12-01 14:40:54 +02:00
Hein 6bbe0ec8b0 Added function api prototype
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-11-24 17:00:15 +02:00
Hein e32ec9e17e Updated the security package 2025-11-24 17:00:05 +02:00
Hein 26c175e65e Added make release to vscode tasks
Tests / Run Tests (1.24.x) (push) Waiting to run
Tests / Lint Code (push) Waiting to run
Tests / Build (push) Waiting to run
Tests / Run Tests (1.23.x) (push) Waiting to run
2025-11-24 10:15:23 +02:00
Hein aa99e8e4bc Added WrapHTTPRequest 2025-11-24 10:13:48 +02:00
Hein 163593901f Huge preload chains causing errors, workaround to do seperate selects.
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-11-21 17:09:11 +02:00
Hein 1261960e97 Ability to handle multiple x-custom- headers
Tests / Run Tests (1.23.x) (push) Waiting to run
Tests / Run Tests (1.24.x) (push) Waiting to run
Tests / Lint Code (push) Waiting to run
Tests / Build (push) Waiting to run
2025-11-21 12:15:07 +02:00
Hein 76bbf33db2 Fixed SingleRecordAsObject true when handleRead with no id 2025-11-21 11:49:08 +02:00
Hein 02c9b96b0c Better SanitizeWhereClause 2025-11-21 11:42:01 +02:00