Add first test suite; fix Timer resume, scraper silent failure
Deploy with Docker Compose / deploy (push) Successful in 1m0s
Weekly Maintenance / maintenance (push) Successful in 19m9s

- backend/services/auth_test.go: token-version normalisation, the
  revocation rule, GenerateJWT/VerifyJWT claim handling. The happy path
  of AuthenticateTokenWithClaims still needs a DB driver we don't have.
- python/tests: travelodge.py's pure functions and the NDJSON event
  contract. pytest is a commented-out dev dep so the image stays slim.
- Timer.vue: the Paused screen now offers Resume, reaching pauseTimer's
  previously unreachable un-pause branch.
- travelodge.py: warn when upstream parses but yields nothing usable, so
  a field rename is distinguishable from sold-out inventory.
- CoverLetters.vue moved out of views/unused/ — it is live on /cv.

Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
2026-09-17 02:55:18 +01:00
co-authored by Claude Opus 5
parent 25ac1cde1c
commit 22c6229c42
10 changed files with 815 additions and 4 deletions
+6
View File
@@ -110,6 +110,12 @@ function playFinishedSound() {
</div>
<div v-if="state === 'paused'" class="flex flex-col">
<h1>Paused</h1>
<p>
{{ minutes.toString().padStart(2, "0") }}:{{
seconds.toString().padStart(2, "0")
}}
</p>
<Button @click="pauseTimer">Resume</Button>
<Button @click="resetTimer">Reset</Button>
</div>
<div v-if="state === 'running'" class="flex flex-col">
+1 -1
View File
@@ -15,7 +15,7 @@ import { ref, shallowRef } from "vue";
import { RouterLink } from "vue-router";
// import CVGeneral from "./CVGeneral.vue";
import CVProgramming from "./CVProgramming.vue";
import CoverLetters from "../unused/CoverLetters.vue";
import CoverLetters from "./CoverLetters.vue";
// import CVSecurity from "./CVSecurity.vue";
// import CVBackend from "./CVBackend.vue";
// import CVFrontend from "./CVFrontend.vue";
@@ -1,8 +1,7 @@
<script setup>
/**
* Editable cover-letter template (contenteditable paragraphs, print to PDF).
* Despite living in views/unused/, this IS live: CV.vue imports it as the
* "Cover Letter" tab on /cv.
* STATUS: live — CV.vue imports it as the "Cover Letter" tab on /cv.
*/
import { ref } from "vue";