Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1700fcb
Initial project scaffold and CI/tooling
sonquer Aug 22, 2026
642a831
Add activity view, markdown help, and session control
sonquer Aug 22, 2026
8609d04
Add screens renderer and catalogue, refine activity UI
sonquer Aug 22, 2026
52e519e
Introduce dashboard beats and catalogue browsing
sonquer Aug 22, 2026
fe9754f
Add AI assistant backend, providers and UI
sonquer Aug 23, 2026
f5296dc
Add local AI dialect parser and embed libs
sonquer Aug 23, 2026
26aa05a
Add tabs, clipboard/export and query controls
sonquer Aug 23, 2026
f29b828
Persist assistant chats; dashboard & CI fixes
sonquer Aug 24, 2026
4dc895e
Fold model reasoning and add Surface color
sonquer Aug 24, 2026
01f7613
Add ARCHITECTURE, remove CHANGELOG, update docs
sonquer Aug 24, 2026
aea1fe3
Rename project from tui4db to opendba
sonquer Aug 24, 2026
d90f890
Modernize CI and add release/nightly workflows
sonquer Aug 24, 2026
69cbe74
Standardize in-app notification wording
sonquer Aug 24, 2026
0a83a96
Add catalog UI, Windows AI loader, and tests
sonquer Aug 25, 2026
9d921a0
Prompt before overwriting files; open row on click
sonquer Aug 25, 2026
262abc1
Add SQL Server driver, T-SQL parser and docs
sonquer Aug 25, 2026
7056b62
Use stable temp dir for library tests on Windows
sonquer Aug 25, 2026
ffe6ddd
Add Windows disk free and test portability fixes
sonquer Aug 25, 2026
1401556
Detect measurable systems via free()
sonquer Aug 25, 2026
4ce0d15
tests: use TempDir for full paths; add config tests
sonquer Aug 25, 2026
a1b9495
Split file mode checks into OS-specific files
sonquer Aug 25, 2026
6b23cd6
Windows: enforceDirMode checks directory exists
sonquer Aug 25, 2026
3bf2631
Add end-to-end terminal screen tests
sonquer Aug 25, 2026
26a1f1e
Pin key style for consistent e2e screenshots
sonquer Aug 26, 2026
702cf7e
Update e2e scenarios, fixtures, and masking rules
sonquer Aug 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.go]
indent_style = tab
indent_size = 4

[*.{yml,yaml,json,toml,md}]
indent_style = space
indent_size = 2

[*.g4]
indent_style = space
indent_size = 4

[Makefile]
indent_style = tab
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copy to .env and adjust. The file is never committed, and opendba itself does
# not read it: the development tooling loads it and hands the values to the
# program it starts. Relative XDG paths are resolved against the repository root.

# Keep connection profiles, settings and history inside the repository instead
# of your home directory, so local experiments leave nothing behind.
XDG_CONFIG_HOME=.local/config
XDG_STATE_HOME=.local/state

# Passwords belong in your keychain or in the encrypted vault, which is what the
# setup wizard uses. Only put one here for a throwaway local database, and only
# because a profile can point at it with secret = "env:OPENDBA_DEMO_PASSWORD".
# OPENDBA_DEMO_PASSWORD=hunter2
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* @sonquer

/src/cli/pkg/sqlguard/ @sonquer
/src/cli/pkg/sqldialect/ @sonquer
/src/cli/pkg/secretref/ @sonquer
/.github/ @sonquer
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Bug report
description: Something behaves differently than it should
labels: [bug]
body:
- type: markdown
attributes:
value: |
If the bug lets a write reach a READ ONLY connection, or exposes a secret,
please report it through a private security advisory instead.
- type: textarea
id: what
attributes:
label: What happened
description: What you did, what happened, what you expected instead.
validations:
required: true
- type: textarea
id: statement
attributes:
label: The statement, if SQL is involved
description: Paste the exact SQL and the verdict OPENDBA gave it.
render: sql
- type: input
id: driver
attributes:
label: Driver and server version
placeholder: PostgreSQL 16.3
- type: input
id: version
attributes:
label: OPENDBA version or commit
validations:
required: true
- type: input
id: environment
attributes:
label: Operating system and terminal
placeholder: macOS 15, Ghostty
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Security vulnerability
url: https://github.com/sonquer/opendba/security/advisories/new
about: Report privately, not in a public issue.
- name: Question or idea
url: https://github.com/sonquer/opendba/discussions
about: Ask and discuss before opening an issue.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature request
description: Suggest something OPENDBA should do
labels: [enhancement]
body:
- type: textarea
id: problem
attributes:
label: The problem
description: What are you trying to do that OPENDBA makes hard today?
validations:
required: true
- type: textarea
id: idea
attributes:
label: What you have in mind
- type: checkboxes
id: scope
attributes:
label: Scope
options:
- label: This does not require OPENDBA to write to a database on its own.
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## What and why

<!-- What changes, and what problem it solves. The diff already shows how. -->

## Checklist

- [ ] `go run ./src/tools/cmd/dev check --ci` passes
- [ ] No comment explains code; anything new that is exported is documented
- [ ] Tests were written with the code, not after it
- [ ] Changes to the SQL classifier come with new golden table cases
33 changes: 33 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /src/cli
schedule:
interval: weekly
cooldown:
default-days: 7
open-pull-requests-limit: 10
groups:
go-dependencies:
patterns: ["*"]

- package-ecosystem: gomod
directory: /src/tools
schedule:
interval: weekly
cooldown:
default-days: 7
open-pull-requests-limit: 10
groups:
go-dependencies:
patterns: ["*"]

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
actions:
patterns: ["*"]
Loading
Loading