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
+142
View File
@@ -0,0 +1,142 @@
/*
* Global stylesheet: the tracker's whole look outside the components.
*
* Ported from the main site, where these pages ran inside CVLayout.vue, which
* re-pointed the site's dark design tokens to ink-on-paper values. This app is
* only ever light, so the paper palette is declared directly and the base
* element styles below are what that layout produced.
*
* Tailwind is here for its preflight reset, which the components were written
* against (box-sizing, zeroed margins, unstyled buttons). They use no utility
* classes; their own scoped <style> blocks do the layout.
*/
@import "tailwindcss";
@font-face {
font-family: "big_noodle_titling";
src: url("/jobs/fonts/big_noodle_titling.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CreatoDisplay";
src: url("/jobs/fonts/CreatoDisplay-Bold.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
/* `static` = always emit these variables, because component <style> blocks
reference them with var(). */
@theme static {
/* Paper palette */
--color-ink: #111;
--color-ink-soft: #333;
--color-ink-muted: #555;
--color-ink-faint: #999;
--color-ink-link: #0066cc;
--color-ink-danger: #c00;
--color-paper: #fff;
--color-paper-tint: #f5f5f5;
--color-paper-shade: #eee;
--color-line: #ccc;
--color-line-soft: #e0e0e0;
--font-heading: "big_noodle_titling", sans-serif;
--font-body: "CreatoDisplay", sans-serif;
--default-font-family: var(--font-body);
}
body {
margin: 0 auto;
width: 100%;
min-height: 100vh;
overflow-x: hidden;
background: var(--color-paper-tint);
color: var(--color-ink);
}
h1,
h2,
h3,
h4 {
margin: 0;
font-family: var(--font-heading);
color: var(--color-ink);
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.25rem;
}
h3,
h4 {
font-size: 1.125rem;
}
p,
small,
code,
ul,
li,
a {
color: var(--color-ink);
}
input,
textarea {
color: var(--color-ink);
background: var(--color-paper);
border: 1px solid var(--color-line);
}
input::placeholder,
textarea::placeholder {
color: var(--color-ink-faint);
opacity: 1;
}
/* Buttons shared by every page */
.cv-btn {
padding: 0.4rem 1rem;
border: 1px solid var(--color-ink-soft);
border-radius: 4px;
background: var(--color-paper);
color: var(--color-ink-soft);
cursor: pointer;
font-size: 0.9rem;
white-space: nowrap;
text-decoration: none;
transition:
background 0.15s,
color 0.15s;
}
.cv-btn:hover {
background: var(--color-paper-shade);
}
.cv-btn:disabled {
opacity: 0.5;
cursor: default;
}
.cv-btn-sm {
padding: 0.2rem 0.55rem;
font-size: 0.8rem;
}
.cv-btn-primary,
.cv-btn.active {
background: var(--color-ink-soft);
color: var(--color-paper);
}
.cv-btn-primary:hover {
background: var(--color-ink-muted);
}
.cv-btn-danger {
border-color: var(--color-ink-danger);
color: var(--color-ink-danger);
}
.cv-btn-danger:hover {
background: #fee;
}