db15307efd
Merge pull request #29 from ZTatman/feature/learn-public-links
...
Add Forgejo repository browsing and snapshot selection
2026-11-20 17:01:28 -05:00
ZTatman
92a55ef31b
fix: apply CodeRabbit auto-fixes
2026-11-20 16:56:32 -05:00
dependabot[bot]
24323c67c7
build(deps): bump the uv group across 1 directory with 2 updates
...
Bumps the uv group with 2 updates in the /web directory: [certifi](https://github.com/certifi/python-certifi ) and [dnspython](https://github.com/rthalley/dnspython ).
Updates `certifi` from 2026.7.22 to 2026.10.18
- [Commits](https://github.com/certifi/python-certifi/compare/2026.07.22...2026.10.18 )
Updates `dnspython` from 2.9.0 to 2.9.2
- [Release notes](https://github.com/rthalley/dnspython/releases )
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst )
- [Commits](https://github.com/rthalley/dnspython/compare/v2.9.0...v2.9.2 )
---
updated-dependencies:
- dependency-name: certifi
dependency-version: 2026.10.18
dependency-type: indirect
dependency-group: uv
- dependency-name: dnspython
dependency-version: 2.9.2
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-20 16:40:14 +00:00
ZTatman
d192fe8f4d
fix(web): secure Forgejo requests and pin picker branch tips
2026-11-20 11:26:01 -05:00
ZTatman
e4848c71ee
docs(web): clarify snapshot and share-link terminology
2026-11-20 10:58:54 -05:00
ZTatman
d04219a36c
feat(dashboard): add preview-only snapshot picker
2026-11-20 10:53:06 -05:00
ZTatman
c39385546e
fix(forgejo): encode repository paths and branch refs
2026-11-20 10:47:38 -05:00
dependabot[bot]
1767b05ec2
build(deps): bump dnspython in /web in the uv group across 1 directory
...
Bumps the uv group with 1 update in the /web directory: [dnspython](https://github.com/rthalley/dnspython ).
Updates `dnspython` from 2.8.0 to 2.9.0
- [Release notes](https://github.com/rthalley/dnspython/releases )
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst )
- [Commits](https://github.com/rthalley/dnspython/compare/v2.8.0...v2.9.0 )
---
updated-dependencies:
- dependency-name: dnspython
dependency-version: 2.9.0
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-03 07:04:22 +00:00
ZTatman
9f8c7fdfd0
feat(dashboard): display owned repositories with pagination
2026-10-16 15:08:00 -04:00
ZTatman
9d0e0b481a
feat(repositories): extract routes and paginate owned listings
2026-10-16 15:07:51 -04:00
ZTatman
394e68abeb
chore: just some formatting cleanup
2026-10-07 14:00:44 -04:00
ZTatman
e64315f68d
fix(setup): pre-fill public base URL and require it in the wizard
...
An empty firebreak_public_base_url only works while the person filling in
the wizard happens to be browsing the same origin Forgejo redirects back
to, so it can look fine during local setup and still be wrong in
production. It also leaves share URLs relative, since there is no
externally resolvable origin to build them from.
The setup page already derived the request's base URL to display the OAuth
callback hint, but persisted "" instead, so the field and the hint could
disagree. Pass the derived value through as the field's value and mark the
input required, dropping the hint that told users to leave it blank on
localhost.
2026-10-05 15:58:47 -04:00
ZTatman
82d50bff59
feat(links): add repository commit listing endpoint
...
Expose GET /links/repositories/{repo}/commits, resolving {owner}
server-side from the session's linked Forgejo identity like the sibling
branches route.
Take the ref as a query parameter instead of a path segment: branch names
contain slashes (docs/readme, feature/learn-public-links), which a single
path param cannot capture without a path converter. As a query param,
`ref` may also default to main.
Dropping the path default and declaring `repo` were both required for the
module to import: FastAPI asserts that path parameters have no defaults,
and an undeclared path param raised NameError at call time.
2026-10-05 15:45:26 -04:00
ZTatman
984b382758
fix(forgejo): query commits by sha and normalize Commit payload
...
Forgejo's commits endpoint filters on `sha`, not `branch`. Sending
`?branch=<name>` was silently ignored and the API returned the default
branch's commits for every ref, so branch resolution appeared to work
while always yielding the same list.
Rename the parameter to `ref` (a branch, tag, or sha) and send it as
`sha`, documenting that the slot name is Forgejo's choice while the value
is a caller-supplied git ref.
The flat commits payload is GitHub-shaped (`sha`, `commit.message`,
`html_url`, `created`) while the nested branch commit uses `id`,
`message`, `url`, and `timestamp`. Give each Commit field an
AliasChoices/AliasPath covering both shapes so one model serves the
/branches and /commits endpoints, then map commits through it instead of
returning raw dicts under a `list[Commit]` annotation.
Also annotate get_branches' limit/page to match get_commits.
2026-10-05 15:45:22 -04:00
ZTatman
5f839a47b6
refactor(auth): drop per-request session write, keep last_seen_at for sliding window
2026-10-05 15:09:02 -04:00
ZTatman
f00c25b7a0
feat(links): add repository and branch listing with Forgejo token dependency
2026-10-01 16:51:03 -04:00
ZTatman
3c3f47d20e
refactor(web): rename config module to settings, add shared Forgejo API client
2026-10-01 16:51:00 -04:00
ZTatman
de1b8c9bd8
build(deps): bump web and dev dependencies
2026-10-01 16:50:48 -04:00
ZTatman
9431a5c1b4
style(web): apply ruff formatting and tidy cruft
2026-10-01 16:50:42 -04:00
ZTatman
2123b434d9
chore(web): set ruff line-length to 88
2026-10-01 16:50:40 -04:00
ZTatman
1562eaa8a8
build(web): migrate tailwind build to pnpm-managed CLI
2026-10-01 16:50:31 -04:00
ZTatman
68abf52419
fix: use darker danger tokens, replace magic hex values, remove unused CSS tokens
...
- Set --color-danger to #d93f2d (dark theme), #b01c2a (light theme)
- Added --color-danger-hover with darkened values
- Replaced magic hex in error.html with var() references
- Updated JS glow animation to match new danger color
- Removed unused tokens: primary-foreground, primary-hover, primary-muted, border-subtle
2026-08-16 19:58:06 -04:00
ZTatman
b58750eb7b
fix(ui): make primary buttons red by default with darker hover
...
Changes .btn-primary from dark (#17191c) to red (#c62030) background
with darker red (#a81a27) on hover. Affects Open dashboard, Sign in,
Create share link, and other primary action buttons.
2026-08-16 19:44:16 -04:00
ZTatman
a2d59a9351
fix(ui): reset header borderless button background to transparent
...
The .app-header .btn-borderless override was missing background:transparent,
so the red bg-danger from the base .btn-borderless leaked into nav buttons.
2026-08-16 19:43:01 -04:00
ZTatman
d772879336
fix(ui): keep nav bar borderless buttons as transparent
...
Reverts header-specific .btn-borderless override so Dashboard and
Settings nav buttons remain transparent with accent hover. Only
non-header borderless buttons get the red default style.
2026-08-16 19:41:23 -04:00
ZTatman
aa91e1f163
fix(ui): make borderless buttons red by default with darker hover
...
Changes .btn-borderless from transparent to red (#c62030) background
with darker red (#a81a27) on hover. Updates header-specific overrides
to match the new default style.
2026-08-16 19:40:27 -04:00
ZTatman
7ea1b108cc
fix: upgrade dependencies to resolve 13 security alerts
...
Upgrades all Python dependencies via uv lock --upgrade:
- cryptography 48.0.1 → 50.0.0 (PKCS#7 oracle, vulnerable OpenSSL)
- starlette 1.3.1 → 1.6.0 (DoS, SSRF, path validation)
- python-multipart 0.0.31 → 0.0.32 (quatic parsing DoS)
- pydantic-settings 2.14.2 → 2.15.0 (symlink traversal)
- idna 3.15 → 3.18 (CVE-2024-3651 bypass)
2026-08-16 19:35:11 -04:00
ZTatman
7dae48697a
chore: clean up project structure and remove dead code
...
- Delete broken Dockerfile (referenced non-existent packages/service)
- Delete unused @firebreak/shared package
- Delete unused crypto.ts, aiofiles dependency, stale static assets
- Delete .tmp/embargo-test/ scaffold with hardcoded secrets
- Move packages/cli/ to cli/ (flat structure, no packages/ dir)
- Rename myst config example and UI design doc
- Update docs to fix stale path references (packages/service/*, Pico CSS, SQLModel)
- Remove stale agents.md entries (process.exit, ORM session leak)
- Clean up tsconfig references and pnpm workspace config
2026-08-16 19:32:41 -04:00
dependabot[bot]
c7fa921cee
build(deps): bump the uv group across 1 directory with 3 updates
...
Bumps the uv group with 3 updates in the /web directory: [cryptography](https://github.com/pyca/cryptography ), [pydantic-settings](https://github.com/pydantic/pydantic-settings ) and [starlette](https://github.com/Kludex/starlette ).
Updates `cryptography` from 48.0.0 to 48.0.1
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/48.0.0...48.0.1 )
Updates `pydantic-settings` from 2.13.1 to 2.14.2
- [Release notes](https://github.com/pydantic/pydantic-settings/releases )
- [Commits](https://github.com/pydantic/pydantic-settings/compare/v2.13.1...v2.14.2 )
Updates `starlette` from 1.0.1 to 1.3.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/1.0.1...1.3.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 48.0.1
dependency-type: direct:production
dependency-group: uv
- dependency-name: pydantic-settings
dependency-version: 2.14.2
dependency-type: direct:production
dependency-group: uv
- dependency-name: starlette
dependency-version: 1.3.1
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-07-18 18:08:23 +00:00
dependabot[bot]
edd182e091
build(deps): bump python-multipart
...
Bumps the uv group with 1 update in the /web directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Updates `python-multipart` from 0.0.28 to 0.0.31
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.28...0.0.31 )
---
updated-dependencies:
- dependency-name: python-multipart
dependency-version: 0.0.31
dependency-type: direct:production
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-17 00:46:14 +00:00
dependabot[bot]
499eafa0ac
build(deps): bump starlette from 1.0.0 to 1.0.1 in /web in the uv group across 1 directory ( #16 )
2026-06-08 14:57:06 -04:00
f3a0d2dd73
feat(web): setup wizard, settings page, Firebreak rename ( #15 )
2026-06-08 14:56:27 -04:00
dependabot[bot]
b04d7475ad
build(deps): bump idna in /web in the uv group across 1 directory ( #13 )
...
Bumps the uv group with 1 update in the /web directory: [idna](https://github.com/kjd/idna ).
Updates `idna` from 3.11 to 3.15
- [Release notes](https://github.com/kjd/idna/releases )
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md )
- [Commits](https://github.com/kjd/idna/compare/v3.11...v3.15 )
---
updated-dependencies:
- dependency-name: idna
dependency-version: '3.15'
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-26 22:50:49 -04:00
200226015e
[codex] Update boilerplate UI design system ( #12 )
...
* feat(web): Jinja2 + HTMX + Pico CSS boilerplate
- Add jinja2, aiofiles, jinja2-fragments, python-multipart deps
- Wire up Jinja2Blocks (jinja2-fragments) and static file serving
- Create base.html (Pico Jade theme, HTMX, nav with auth state)
- Create index.html (landing) and dashboard.html (user profile)
- Add get_optional_session dependency for anonymous template context
- Refactor get_current_session to share session lookup logic
* feat(web): replace Pico CSS with Tailwind standalone CLI (dark+pink theme)
- Download Tailwind v4.3.0 standalone CLI binary (gitignored)
- Define custom dark+pink theme tokens in input.css
- Add dev.sh for parallel Tailwind watcher + uvicorn
- Update Dockerfile to build Tailwind during image build
- Update templates with Tailwind utility classes
- Generate minified output.css at build time
* Update boilerplate UI design system
* Refine Forgejo sign-in button
* feat(ui): adjust starting ui template html structure and theme styling
* refactor(ui): normalize Tailwind design tokens
* refactor(ui): fix Forgejo token input styling and validation styling
* refactor(ui): move panel titles and sub titles outside panels
* refactor(ui): vendor forgejo logo svg from /web/static/img
2026-05-26 22:50:25 -04:00
74a0d0dbb7
feat(web): OAuth CSRF protection, refactor, and cleanup ( #11 )
2026-05-15 15:18:52 -04:00
e27a9d7e7d
Add FastAPI web service with async SQLAlchemy and Docker ( #10 )
2026-04-24 16:03:54 -04:00