The 'core' Forgejo user (hive-c0re's identity for commits in core/meta + agent-configs/*) was showing the default hash identicon. Adds a one-shot ensure_core_avatar in the ensure_all bootstrap that POSTs the branding PNG to the admin avatar API and writes a marker file (CORE_AVATAR_MARKER) so subsequent startups skip the call (delete the marker to re-upload). Best-effort: a non-2xx is logged and swallowed, doesn't gate startup. PNG bytes baked in via include_bytes! from branding/hyperhive.png. Base64 is hand-rolled (one small image in one cold path, not worth a new workspace dep) with RFC 4648 §10 test vectors. Closes #320. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| Cargo.toml | ||