Jay Brown
2eff52877b
Merged in feature/download-pdf (pull request #216 )
...
retrieve document by id and tests
* working
* missing files
2026-03-17 17:06:57 +00:00
Jacob Mathison
8a4029058b
Merged in jmathison/demo-table (pull request #213 )
...
Add demo dashboard settings table and CRUD API
* Add demo dashboard settings table and CRUD API
- Migration 00000000000123: create demoDashboardSettings table (id, guid, key, value JSONB, isDeleted, timestamps)
- SQLC queries and repository for create, list, listByGuid, get, update, soft delete
- OpenAPI paths and schemas in queryAPI.yaml; regenerate api.gen.go (embedded spec)
- Handlers in api/queryAPI/demodashboardsettings.go; ConfigProvider GetDBQueries for repo access
- Unit tests for demo dashboard settings CRUD
* Fix sqlc-generated demo dashboard setting types
Align demo dashboard settings handlers with sqlc output (DemoDashboardSetting model + pointer slices) so CI codegen/build succeeds.
* Fix CI gosec and gofmt issues
- Suppress gosec G115 for TotalCount len->int32 cast (consistent with other list endpoints)
- gofmt mock GetDBQueries() in test helpers
* gofmt query API demo settings
* Tighten demo dashboard settings OpenAPI constraints
* Regenerate query API embedded spec
* refactor: generic UI settings (table, API, service) and three-layer architecture
- Replace demo-dashboard-settings with generic UI settings:
- Table uiSettings with namespace (was guid), key, value JSONB; UNIQUE(namespace, key)
- Migration 123: create_ui_settings (single migration, no rename)
- OpenAPI: /ui-settings, UISettingsService, UISetting schemas with namespace
- API types and handlers: CreateUISetting, ListUISettings, GetUISetting, UpdateUISetting, DeleteUISetting
- Add service layer (architecture fix):
- internal/uisettings: Service with Create, List, ListByNamespace, Get, Update, SoftDelete
- Controllers call s.svc.UISettings only; remove GetDBQueries from queryAPI ConfigProvider
- Wire UISettings in Services, main.go, and testutils
- Repository: uisettings.sql + uisettings.sql.go, UISetting model; remove demodashboardsettings
- Controller: uisettings.go (replaces demodashboardsettings.go), ErrNotFound from uisettings package
- Tests: uisettings_test.go with namespace-based list/cre…
* Add UISetting model and generated queries for uiSettings table
- models.go: add UISetting struct (sqlc 1.30.0)
- uisettings.sql.go: generated CRUD for ui_settings feature
Made-with: Cursor
* Use repository.UiSetting to match sqlc-generated type
- service and API use repository.UiSetting (sqlc struct name for uiSettings table)
- uisettings.sql.go: keep CreateUISetting/GetUISetting etc. from query names, return *UiSetting
- Fixes Docker/CI build undefined repository.UISetting
* Fix import formatting for golangci-lint
* Lint fix
* uisettings list test
* tests fixes
* Merge main: resolve api.gen.go conflicts (UI settings + DeleteDocument)
* Doc updates and elimination of index redundancy
Approved-by: Jay Brown
2026-03-04 23:00:50 +00:00
Jay Brown
c668485e6f
Merged in feature/cognito-shared-environments (pull request #211 )
...
cognito and permit shared prod environment support
* code complete
* user creattion tool
test harness
2026-02-26 12:33:35 +00:00
Jay Brown
63c12a2f44
Merged in feature/eula.part1 (pull request #206 )
...
eula support
* eula support
* docs
2026-01-22 18:17:27 +00:00
Jay Brown
0ddae4f91e
Merged in feature/remove-query (pull request #201 )
...
remove query from codebase part 1
* remove query
* fix localstack run
2026-01-14 17:59:04 +00:00
Jay Brown
c45e1dd427
Merged in feature/textExtractionsPart1 (pull request #192 )
...
all schema and rest apis for text extraction support
* in progress
* stage 8 complete
* phase 9 completed
* phase 9 complete
* ongoing - s3 path fix
* working
* optimize ci build
* e2e tests
* missing test
2025-11-26 19:23:42 +00:00
Jay Brown
a6e081e5cd
Merged in feature/log-version (pull request #185 )
...
inject and print version at startup for all services
* inject and print version
* coverage
2025-09-18 21:06:21 +00:00
Jay Brown
720a84be92
Merged in feature/doc_import (pull request #177 )
...
integration of background processor
* integration part 1
* feature working
* fix mimetype issue
2025-08-20 19:01:13 +00:00
jay brown
3de3d0a7b3
swagger part 1
2025-08-05 07:03:35 -07:00
Jay Brown
2ff6e05ffc
Merged in feature/permit-integration-1 (pull request #172 )
...
Permit integration - part 1
* WIP permit integration
* slim down build
* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/permit-integration-1
* omit swagger from auth
* clean build
* comment
* part 1 completed
this is the initial permitio parts and tests without integration. Also testing.md since we have a new test target `task test:permitio`
* feature flag for no jwt validation
* permit integration
* fix ci unit tests
* ci fix
* build fix
* fix home handler
* fix redirect
* test fix
* update docs for auth
2025-07-11 19:27:14 +00:00
Michael McGuinness
3028fe7eaa
Merged in feature/linting (pull request #168 )
...
Linting Updates
* precommit
* smallerchecks
* govuln
2025-06-23 15:58:20 +00:00
Michael McGuinness
cc2278086f
Merged in feature/import (pull request #157 )
...
Feature/import
* importstart
* pp
* tests
* importtests
* 100GB
* lint
* passtests
* utc
* awsprofile
* doublequotes
* host
2025-05-27 15:28:46 +00:00
parity-error
28211710cc
Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/cognito
2025-04-23 11:04:14 -07:00
Michael McGuinness
47fec079e5
Merged in feature/demo (pull request #116 )
...
Demo prep + Fix client sync
* firstversion
* clientsync
* configlint
* fixtests
2025-04-22 19:57:35 +00:00
jay brown
55c569baeb
pr cleanup
...
config consolidation
2025-04-17 15:59:14 -07:00
jay brown
61accd4dd4
partial working
2025-04-11 16:46:05 -07:00
jay brown
4f40a7e6ea
config integration
...
begin cognito config integration
2025-04-09 17:19:19 -07:00
jay brown
229f2b324d
fix conflict
2025-03-19 16:58:34 -07:00
jay brown
5232c6e5ac
Merge remote-tracking branch 'origin/main' into feature/cognito
2025-03-19 16:43:27 -07:00
Michael McGuinness
3dd0c718cd
Merged in feature/openapifixes (pull request #106 )
...
OpenAPI Middleware & Fixes
* updates
2025-03-18 13:06:42 +00:00
Michael McGuinness
555b6d420b
Merged in feature/docresult (pull request #105 )
...
Document Result Endpoint
* testing
* cleantesting
* progress
* query
* lint
* readme
* dockerclient
* api
* passtest
* tests
* test
2025-03-17 18:14:15 +00:00