Commit Graph
13 Commits
Author SHA1 Message Date
Matthias G c1cfd41ad3 Only send what is new, and lead with a picture
The window now starts at the last dispatch, so pressing send twice does not
repeat a digest. Cards prefer entries that have a cover, the newest one of
them opens the message as a full width image, and the page says when the
last digest went out.
2026-08-03 13:24:46 +02:00
Matthias G 81d0489c78 Send through a bot token so messages can be deleted again
Incoming webhooks return no message id, so nothing can be removed later.
Settings now take a bot token plus channel, chat.postMessage records channel
and timestamp on the run, and the history carries a delete button per
message. The webhook stays as a fallback and is marked as not deletable.
2026-08-03 12:45:04 +02:00
Matthias G 6c78acdd6d Make the digest read like a newsletter
Each project leads with up to three cards: title, teaser and the cover
image as a thumbnail, the rest follows as a compact list. Entries sort by
number inside a project instead of jumping, and the project name links to
its archive.
2026-08-03 12:23:13 +02:00
Matthias G 0fd6da62d1 Manage the Slack digest in the admin
New settings area: the webhook lives in the database and is only shown
shortened afterwards, the environment variable stays as a fallback. A switch
decides whether internal entries travel, a button sends the digest right
away, and every run is recorded with period, count, projects, result and
who triggered it.
2026-08-03 12:13:57 +02:00
Matthias G 65346d0c09 Send a weekly digest to Slack
POST /api/v1/weekly-report collects everything published in the last seven
days, groups it by project and posts one message. dry=1 returns the message
instead of sending it, no publications means no message, a missing webhook
answers 501 instead of failing quietly. scripts/cron.mjs runs the due
publishing first, then the digest.
2026-08-03 11:39:54 +02:00
Matthias G 5072ff7249 Ship a Logbuch skill and record token use
- docs/skill.md teaches a Claude what Logbuch is for, how an entry sounds
  and in which order the calls go, served at GET /api/v1/skill and as a
  download next to the spec and the guide
- a test keeps the skill from drifting: frontmatter, only endpoints that
  exist, house rules
- resolveClient stamps last_used_at, the access list said never used even
  after eleven entries
2026-08-03 10:40:48 +02:00
Matthias G ed5be8dd93 Work on many entries at once
Rows carry a checkbox, the bar above publishes, withdraws, resets to draft,
sets the audience or deletes drafts for the whole selection and reports
what went through.
2026-08-01 18:16:05 +02:00
Matthias G cd3bf3f2b4 Manage entries at scale
- the admin uses the full window width, table cells stop wrapping
- columns sort by number, title, project, status, date and author
- filters sit in one row with search first and a page size next to them
- entries carry a real date: publish_at on create and change, publishing
  keeps that date, a date in the past publishes backdated
2026-08-01 15:43:05 +02:00
Matthias G f8bc2d6108 Choose any allowed status in the table, set the cover on create
- the status cell offers every transition the entry allows, scheduling
  asks for the date right there
- POST /api/v1/posts takes cover_media_id, no second call needed
- the row grid follows its content so long type names stop overlapping
2026-08-01 15:34:13 +02:00
Matthias G 35a572c037 Switch an entry status straight from the table
The list showed the status but only the editor could change it. Each row
now carries the next sensible step and names the blockers when publishing
is not possible. Also real umlauts in the API texts.
2026-08-01 13:49:34 +02:00
Matthias G a123e0bca2 Write text blocks with formatting
Tiptap replaces the plain textarea: bold, italic, subheading, lists and
links. Stored as Markdown so API clients keep reading and writing the
same field, rendered with react-markdown.
2026-08-01 12:46:34 +02:00
Matthias G 2fd71fd406 Number entries on publish, delete media, read the cover
- drafts stay unnumbered, the number is handed out when an entry goes live
- DELETE /api/v1/media/:id and a delete control in the media library
- cover_media_id in the draft read, coverMediaId and coverUrl in the archive read
2026-08-01 12:25:01 +02:00
Matthias Giesselmann b90ff252d1 Add Logbuch: project update blog with admin, media and API
Public archive with sidebar navigation, project pages, month archive,
search and entry pages with image blocks. Admin area for brands,
projects, post types, users, api clients, media and the entry editor
with drag and drop images, preview per audience, scheduling and
publish checks. Read and write API with bearer tokens, audience
scoping, idempotent creation, OpenAPI document and editorial guide.
Magic link login with configurable allowed domains, whole app behind
the session gate. 456 tests including design rule checks.
2026-07-31 21:33:42 +02:00