Skip to content

Release: NATS stream fix, Drive imports, MCID host fix, Moola icons - #107

Merged
wailbentafat merged 5 commits into
mainfrom
develop
Nov 28, 2026
Merged

wailbentafat merged 5 commits into
mainfrom
develop

Conversation

@wailbentafat

Copy link
Copy Markdown
Collaborator

Release develop to main.

Included

Deploy notes

  • No database migrations.
  • New optional setting GOOGLE_API_KEY (Drive API key for folders shared as anyone with the link). Empty by default.
  • MCDI_BASE_URL default is now https://mcid-api.microclub.info/api. If the production .env sets it, check that value.
  • The production MCDI_API_KEY must be the rotated key, or staff sign-in fails.
  • Rollback: pin IMAGE_TAG and MULTAI_FRONT_TAG to the previous sha-<commit>.

wailbentafat and others added 5 commits November 28, 2026 01:16
Drop a Drive now reads folders shared as "anyone with the link" using a
server-side GOOGLE_API_KEY, so no staff member has to connect a Google
account. The key travels through the existing access_token plumbing as an
"apikey:" credential and is sent as the key query parameter. Set
use_my_drive on the request to read through the connected Drive instead.

Tested live against a 1460-photo public folder: recursive listing and a
download both work.
SUBJECT_TO_STREAM named streams that do not exist in production
(upload_group_stream, photo_process_stream, cleanup_stream) while the
workers create staff-upload-group-import, photo_processing and
ai-final-bucket-cleanup. js_publish then tried to create an overlapping
stream, the server rejected it, and _publish_event swallowed the error, so
folder imports were never queued and approved photos were never sent to
face processing. Point the mapping at the real stream names and add a test
that keeps publisher and worker names in sync.
… and examples (#93)

https://mcid.microclub.info/api has no authorize route (404); the API lives on https://mcid-api.microclub.info/api, which the mcid-cli profile also uses. The example server ID was a placeholder; the Micro Club server is 1282095800079351851.
Store the dark/light logo lockups and the standalone mark as assets, and generate the Android adaptive/legacy and iOS icon sets from the new mark on the navy brand background.

🤖 Generated with Codebuff

Co-authored-by: Codebuff <noreply@codebuff.com>
* feat(backend): add event creation service method

Expose EventService.create_event so callers can create draft events with a
generated join code, reusing the existing sqlc CreateEvent query.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>

* feat(backend): import Drive file URLs into a new event

Add POST /staff/drive/import-urls: validate individual Drive file links,
create a draft event, download the files into MinIO staging with the staff
Drive account, auto-approve them, and queue face processing.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>

* test(backend): cover Drive URL parsing and de-duplication

Verify supported Drive link forms, ordering and duplicate removal, plus
rejection of folder and unparseable links.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>

* feat(frontend): add Drive URL import card to upload page

Let staff paste individual Drive links, name the new event, and trigger the
import endpoint; refresh events and upload groups on success.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>

* docs: add project context handoff

Record the current backend/frontend architecture, API surface, run modes,
and known gaps discovered while tracing the codebase.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>

* fix(frontend): the Drive import card no longer points to the removed Drive settings page

---------

Co-authored-by: Codebuff <noreply@codebuff.com>
Co-authored-by: wailbentafat <wailbentafat@gmail.com>
@wailbentafat
wailbentafat merged commit 0336dcd into main Nov 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants