Hein
987a2a7faf
fix(db): convert slices to PostgreSQL array literals in queries
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -32m17s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -31m49s
Build , Vet Test, and Lint / Build (push) Successful in -31m53s
Build , Vet Test, and Lint / Lint Code (push) Successful in -31m11s
Tests / Unit Tests (push) Successful in -32m31s
Tests / Integration Tests (push) Failing after -32m46s
v1.0.88
2026-05-07 14:33:35 +02:00
157788b73b
fix(todo): document issue with GormResult.LastInsertId() not returning correct ID
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -32m18s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -31m19s
Build , Vet Test, and Lint / Lint Code (push) Successful in -31m5s
Build , Vet Test, and Lint / Build (push) Successful in -31m53s
Tests / Integration Tests (push) Failing after -32m52s
Tests / Unit Tests (push) Successful in -32m36s
2026-05-05 09:52:31 +02:00
Hein
fb051b5577
fix(spectypes): correct quoting logic in formatPostgresStringArray
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Failing after -33m2s
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -28m38s
Build , Vet Test, and Lint / Lint Code (push) Successful in -27m26s
Build , Vet Test, and Lint / Build (push) Successful in -29m3s
Tests / Integration Tests (push) Failing after -33m9s
Tests / Unit Tests (push) Successful in -30m2s
v1.0.87
2026-04-30 15:38:21 +02:00
Hein
cc9c4337fd
feat(spectypes): add PostgreSQL array types and parsing functions
2026-04-30 15:37:33 +02:00
Hein
0aaeff63a2
fix(db): guard against non-existent relations in preload
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -33m2s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -32m35s
Build , Vet Test, and Lint / Lint Code (push) Successful in -32m33s
Build , Vet Test, and Lint / Build (push) Successful in -32m50s
Tests / Integration Tests (push) Failing after -33m35s
Tests / Unit Tests (push) Successful in -33m22s
2026-04-20 17:15:33 +02:00
Hein
325769be4e
feat(reflection): add support for nested struct mapping
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -33m9s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -32m37s
Build , Vet Test, and Lint / Build (push) Successful in -32m41s
Build , Vet Test, and Lint / Lint Code (push) Successful in -31m55s
Tests / Unit Tests (push) Successful in -33m29s
Tests / Integration Tests (push) Failing after -33m42s
v1.0.86
2026-04-16 13:45:46 +02:00
f79a400772
feat(security): add self-service password reset functionality
...
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -33m14s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -32m42s
Build , Vet Test, and Lint / Build (push) Successful in -32m59s
Build , Vet Test, and Lint / Lint Code (push) Successful in -32m26s
Tests / Integration Tests (push) Failing after -33m40s
Tests / Unit Tests (push) Successful in -33m35s
* Implement password reset request and completion procedures
* Update database schema for password reset tokens
* Add new request and response types for password reset
v1.0.85
2026-04-15 21:46:33 +02:00
Hein
aef1f96c10
fix(db): cast columns to text for LIKE/ILIKE queries
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m15s
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -29m7s
Build , Vet Test, and Lint / Build (push) Successful in -32m31s
Build , Vet Test, and Lint / Lint Code (push) Successful in -31m40s
Tests / Integration Tests (push) Failing after -33m31s
Tests / Unit Tests (push) Successful in -31m4s
v1.0.84
2026-04-13 14:05:17 +02:00
Hein
354ed2a8dc
feat(db): add fallback metric entity handling for unknown targets
...
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m5s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m35s
Build , Vet Test, and Lint / Lint Code (push) Successful in -29m19s
Build , Vet Test, and Lint / Build (push) Successful in -29m43s
Tests / Integration Tests (push) Failing after -30m34s
Tests / Unit Tests (push) Successful in -30m8s
* implement fallbackMetricEntityFromQuery for query sanitization
* add tests for fallback metric entity and sanitization logic
v1.0.83
2026-04-10 16:00:22 +02:00
Hein
dfb63c3328
refactor(db): remove metrics enabling methods from adapters
v1.0.82
2026-04-10 14:13:15 +02:00
Hein
e8d0ab28c3
feat(db): add query metrics tracking for database operations
...
* Introduced metrics tracking for SELECT, INSERT, UPDATE, and DELETE operations.
* Added methods to enable or disable metrics on the PgSQLAdapter.
* Created a new query_metrics.go file to handle metrics recording logic.
* Updated interfaces and implementations to support schema and entity tracking.
* Added tests to verify metrics recording functionality.
2026-04-10 13:51:46 +02:00
Hein
4fc25c60ae
fix(db): correct connection pool assignment in GORM adapter
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -29m43s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m6s
Build , Vet Test, and Lint / Lint Code (push) Successful in -29m11s
Build , Vet Test, and Lint / Build (push) Successful in -29m33s
Tests / Unit Tests (push) Successful in -30m4s
Tests / Integration Tests (push) Failing after -30m13s
v1.0.81
2026-04-10 11:20:44 +02:00
Hein
16a960d973
feat(db): add reconnect logic for database adapters
...
* Implement reconnect functionality in GormAdapter and other database adapters.
* Introduce a DBFactory to handle reconnections.
* Update health check logic to skip reconnects for transient failures.
* Add tests for reconnect behavior in DatabaseAuthenticator.
2026-04-10 11:18:39 +02:00
Hein
2afee9d238
fix(db): handle database reconnection in transactions
v1.0.80
v1.0.79
2026-04-10 08:42:41 +02:00
Hein Puth (Warkanum)
1e89124c97
Merge pull request #18 from bitechdev/feature-auth-mcp
...
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m1s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m29s
Build , Vet Test, and Lint / Build (push) Successful in -29m37s
Build , Vet Test, and Lint / Lint Code (push) Successful in -28m58s
Tests / Unit Tests (push) Successful in -30m23s
Tests / Integration Tests (push) Failing after -30m31s
feat(security): implement OAuth2 authorization server with database s…
v1.0.78
2026-04-09 16:18:18 +02:00
copilot-swe-agent[bot]
ca0545e144
fix(security): address validation review comments - mutex safety and issuer normalization
...
Agent-Logs-Url: https://github.com/bitechdev/ResolveSpec/sessions/e886b781-c910-425f-aa6f-06d13c46dcc7
Co-authored-by: warkanum <208308+warkanum@users.noreply.github.com >
2026-04-09 14:07:45 +00:00
copilot-swe-agent[bot]
850ad2b2ab
fix(security): address all OAuth2 PR review issues
...
Agent-Logs-Url: https://github.com/bitechdev/ResolveSpec/sessions/e886b781-c910-425f-aa6f-06d13c46dcc7
Co-authored-by: warkanum <208308+warkanum@users.noreply.github.com >
2026-04-09 14:04:53 +00:00
Hein
2a2e33da0c
Merge branch 'main' of https://github.com/bitechdev/ResolveSpec into feature-auth-mcp
2026-04-09 15:52:26 +02:00
Hein Puth (Warkanum)
17808a8121
Merge pull request #19 from bitechdev/feature-keystore
...
Feature keystore
2026-04-09 15:50:36 +02:00
Hein
134ff85c59
Merge branch 'main' of https://github.com/bitechdev/ResolveSpec into feature-keystore
2026-04-09 15:47:54 +02:00
Hein
bacddc58a6
style(recursive_crud): remove unnecessary blank line
2026-04-09 15:37:13 +02:00
Hein
f1ad83d966
feat(reflection): add JSON to DB column name mapping functions
...
* Implement BuildJSONToDBColumnMap for translating JSON keys to DB column names
* Enhance GetColumnName to extract column names with priority
* Update filterValidFields to utilize new mapping for improved data handling
* Fix TestToSnakeCase expected values for consistency
2026-04-09 15:36:52 +02:00
Hein
79a3912f93
fix(db): improve database connection handling and reconnection logic
...
* Added a database factory function to allow reconnection when the database is closed.
* Implemented mutex locks for safe concurrent access to the database connection.
* Updated all database query methods to handle reconnection attempts on closed connections.
* Enhanced error handling for database operations across multiple providers.
2026-04-09 09:19:28 +02:00
6502b55797
feat(security): implement OAuth2 authorization server with database support
...
- Add OAuthServer for handling OAuth2 flows including authorization, token exchange, and client registration.
- Introduce DatabaseAuthenticator for persisting clients and authorization codes.
- Implement SQL procedures for client registration, code saving, and token introspection.
- Support for external OAuth2 providers and PKCE (Proof Key for Code Exchange).
2026-04-07 22:56:05 +02:00
aa095d6bfd
fix(tests): replace panic with log.Fatal for better error handling
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m17s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m52s
Build , Vet Test, and Lint / Build (push) Successful in -29m52s
Build , Vet Test, and Lint / Lint Code (push) Failing after -29m23s
Tests / Integration Tests (push) Failing after -30m46s
Tests / Unit Tests (push) Successful in -28m51s
v1.0.77
2026-04-07 20:38:22 +02:00
ea5bb38ee4
feat(handler): update to use static base path for SSE server
v1.0.76
2026-04-07 20:03:43 +02:00
c2e2c9b873
feat(transport): add streamable HTTP transport for MCP
v1.0.75
2026-04-07 19:52:38 +02:00
4adf94fe37
feat(go.mod): add mcp-go dependency for enhanced functionality
v1.0.74
2026-04-07 19:09:51 +02:00
Hein
a9bf08f58b
feat(security): implement keystore for user authentication keys
...
* Add ConfigKeyStore for in-memory key management
* Introduce DatabaseKeyStore for PostgreSQL-backed key storage
* Create KeyStoreAuthenticator for API key validation
* Define SQL procedures for key management in PostgreSQL
* Document keystore functionality and usage in KEYSTORE.md
2026-04-07 17:09:17 +02:00
Hein
405a04a192
feat(security): integrate security hooks for access control
...
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m3s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m36s
Build , Vet Test, and Lint / Lint Code (push) Failing after -30m6s
Build , Vet Test, and Lint / Build (push) Successful in -29m58s
Tests / Unit Tests (push) Successful in -30m22s
Tests / Integration Tests (push) Failing after -30m41s
* Add security hooks for per-entity operation rules and row/column-level security.
* Implement annotation tool for storing and retrieving freeform annotations.
* Enhance handler to support model registration with access rules.
2026-04-07 15:53:12 +02:00
Hein
c1b16d363a
feat(db): add DB method to sqlConnection and mongoConnection
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m22s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m59s
Build , Vet Test, and Lint / Lint Code (push) Failing after -30m11s
Build , Vet Test, and Lint / Build (push) Successful in -30m12s
Tests / Unit Tests (push) Successful in -30m49s
Tests / Integration Tests (push) Failing after -30m59s
2026-04-01 15:34:09 +02:00
Hein
568df8c6d6
feat(security): add configurable SQL procedure names
...
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -25m9s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -24m29s
Build , Vet Test, and Lint / Build (push) Successful in -30m5s
Build , Vet Test, and Lint / Lint Code (push) Failing after -28m58s
Tests / Integration Tests (push) Failing after -30m26s
Tests / Unit Tests (push) Successful in -28m7s
* Introduce SQLNames struct to define stored procedure names.
* Update DatabaseAuthenticator, JWTAuthenticator, and other providers to use SQLNames for procedure calls.
* Remove hardcoded procedure names for better flexibility and customization.
* Implement validation for SQL names to ensure they are valid identifiers.
* Add tests for SQLNames functionality and merging behavior.
v1.0.73
2026-03-31 14:25:59 +02:00
Hein
aa362c77da
fix(cursor): trim parentheses from sort column names
v1.0.72
v1.0.71
2026-03-27 15:07:10 +02:00
Hein
1641eaf278
feat(resolvemcp): enhance handler with configuration support
...
* Introduce Config struct for BaseURL and BasePath settings
* Update handler creation functions to accept configuration
* Modify SSEServer to use dynamic base URL detection
* Adjust route setup functions to utilize BasePath from config
v1.0.70
2026-03-27 13:56:03 +02:00
Hein
200a03c225
feat(resolvemcp): add SSE server and bunrouter setup functions
...
* Introduce SSEServer method for creating an SSE server bound to the handler.
* Add SetupBunRouterRoutes function to mount MCP HTTP/SSE endpoints on bunrouter.
* Update README with usage examples for new features.
v1.0.69
2026-03-27 13:28:03 +02:00
Hein
7ef9cf39d3
style(tools): simplify string formatting in descriptions
v1.0.68
2026-03-27 13:10:50 +02:00
Hein
7f6410f665
feat(resolvemcp): add support for join-column sorting in cursor pagination
...
* Enhance getCursorFilter to accept join clauses for sorting
* Update resolveColumn to handle joined columns
* Modify tests to validate new join functionality
2026-03-27 13:10:42 +02:00
Hein
835bbb0727
style(hooks): reorder fields in HookContext for consistency
2026-03-27 12:57:30 +02:00
Hein
047a1cc187
feat(resolvemcp): add hook system for model operations
...
* Implement hooks for CRUD operations: before/after handle, read, create, update, delete.
* Introduce HookContext and HookRegistry for managing hooks.
* Allow registration and execution of multiple hooks per operation.
feat(resolvemcp): implement MCP tools for CRUD operations
* Register tools for reading, creating, updating, and deleting records.
* Define tool arguments and handle requests with appropriate responses.
* Support for resource registration with metadata.
fix(restheadspec): enhance cursor handling for joins
* Improve cursor filter generation to support lateral joins.
* Update join alias extraction to handle lateral joins correctly.
* Ensure cursor filters do not contain empty comparisons.
test(restheadspec): add tests for cursor filters and join alias extraction
* Create tests for lateral join scenarios in cursor filter generation.
* Validate join alias extraction for various join types, including lateral joins.
2026-03-27 12:57:08 +02:00
Hein
7a498edab7
fix(headers): enhance relation name resolution logic
...
* Allow resolution for both regular headers and X-Files.
* Introduce join-key-aware resolution for disambiguation.
* Add new function to handle multiple fields pointing to the same type.
v1.0.67
2026-03-25 12:09:03 +02:00
Hein
f10bb0827e
fix(sql_helpers): ensure case-insensitive matching for allowed prefixes
v1.0.66
v1.0.65
2026-03-25 10:57:42 +02:00
Hein
22a4ab345a
feat(security): add session cookie management functions
...
* Introduce SessionCookieOptions for configurable session cookies
* Implement SetSessionCookie, GetSessionCookie, and ClearSessionCookie functions
* Enhance cookie handling in DatabaseAuthenticator
v1.0.64
2026-03-24 17:11:53 +02:00
Hein
e289c2ed8f
fix(handler): restore JoinAliases for proper WHERE sanitization
v1.0.63
2026-03-24 12:00:02 +02:00
Hein
0d50bcfee6
fix(provider): enhance file opening logic with alternate path. Handling broken cases to be compatible with Bitech clients
...
* Implemented alternate path handling for file retrieval
* Improved error messaging for file not found scenarios
v1.0.62
2026-03-24 09:02:17 +02:00
4df626ea71
chore(license): update project notice and clarify licensing terms
2026-03-23 20:32:09 +02:00
Hein
7dd630dec2
fix(handler): set default sort to primary key if none provided
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -26m15s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -26m11s
Build , Vet Test, and Lint / Lint Code (push) Failing after -30m52s
Build , Vet Test, and Lint / Build (push) Successful in -30m44s
Tests / Integration Tests (push) Failing after -31m5s
Tests / Unit Tests (push) Successful in -29m6s
v1.0.61
2026-03-11 14:37:04 +02:00
Hein
613bf22cbd
fix(cursor): use full schema-qualified table name in filters
v1.0.60
2026-03-11 14:25:44 +02:00
d1ae4fe64e
refactor(handler): unify filter operator handling for consistency
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m26s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m58s
Build , Vet Test, and Lint / Lint Code (push) Successful in -29m48s
Build , Vet Test, and Lint / Build (push) Successful in -30m4s
Tests / Integration Tests (push) Failing after -30m39s
Tests / Unit Tests (push) Successful in -30m29s
v1.0.59
2026-03-01 13:21:38 +02:00
254102bfac
refactor(auth): simplify handler type assertions for middleware
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -30m2s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -29m31s
Build , Vet Test, and Lint / Lint Code (push) Successful in -29m19s
Build , Vet Test, and Lint / Build (push) Successful in -29m42s
Tests / Integration Tests (push) Failing after -30m35s
Tests / Unit Tests (push) Successful in -30m17s
v1.0.58
2026-03-01 12:08:36 +02:00
6c27419dbc
refactor(auth): enhance request handling with middleware-enriched context
2026-03-01 12:06:43 +02:00