Split the job tracker out of web_server into its own app
Test and publish / test (push) Successful in 6m39s
Test and publish / publish (push) Failing after 0s

The applications tracker, leads inbox, email pipeline and capture userscript
move here from web_server's backend, Python service and Vue app, as one Go
binary that serves its own Vue SPA under /jobs/.

- The Go services, resolvers and tests move over almost unchanged.
- The three Claude calls are ported from Python to Go (internal/claude),
  with the same prompts, per-model request shaping and error messages.
- There is no login: internal/auth asks the site backend's
  /auth/validate-admin with the visitor's cookies, and relays refreshed
  cookies back.
- A Settings page replaces the admin-panel capture token card and adds the
  Microsoft sign-in link and a manual email sync.
- The userscript is 2.0.0, at /jobs/, and migrates a saved API base.
- Dockerfile, a standalone compose with Postgres, Makefile, and a Gitea CI
  workflow that tests and publishes the image.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 16:24:16 +01:00
co-authored by Claude Opus 5.5
commit 67cb8137f9
88 changed files with 22715 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
# gqlgen configuration. Regenerate with `make generate` after editing any
# internal/graph/schema/*.graphql file.
#
# GraphQL object types bind straight onto the GORM structs in
# internal/models, so internal/graph/model only holds generated input types.
schema:
- internal/graph/schema/*.graphql
exec:
filename: internal/graph/generated.go
package: graph
model:
filename: internal/graph/model/models_gen.go
package: model
resolver:
layout: follow-schema
dir: internal/graph
package: graph
filename_template: "{name}.resolvers.go"
models:
# ID binds to uint as well as int, so a model's `ID uint` needs no resolver.
ID:
model:
- github.com/99designs/gqlgen/graphql.IntID
- github.com/99designs/gqlgen/graphql.UintID
JobStatus:
model:
- adam-french.co.uk/job-tracker/internal/services.JobStatus
JobApplication:
model:
- adam-french.co.uk/job-tracker/internal/models.JobApplication
fields:
deletedAt:
resolver: false
JobAppReference:
model:
- adam-french.co.uk/job-tracker/internal/models.JobAppReference
fields:
deletedAt:
resolver: false
JobSource:
model:
- adam-french.co.uk/job-tracker/internal/models.JobSource
fields:
deletedAt:
resolver: false
JobLead:
model:
- adam-french.co.uk/job-tracker/internal/models.JobLead
JobSearchProfile:
model:
- adam-french.co.uk/job-tracker/internal/models.JobSearchProfile