Commit Graph

322 Commits

Author SHA1 Message Date
cyph3rasi 6796098e40 Restore the current Synapsis tree for republishing after the GitHop bare repository was deleted
Hop-State: A_06FP5Z1MTWP2T3MZNCDCFNG
Hop-Proposal: R_06FP5Z0XKFVHG8M8MEASRR8
Hop-Task: T_06FP5Y6JDB7B8FM5Q46M4YG
Hop-Attempt: AT_06FP5Y6JD9PDSQJHBV74QTG
2026-07-14 16:35:23 -07:00
Hop 11ddfdc1d1 Capture visible project changes
Hop-State: A_06FP5Z1HNEX21B2P87NTV2R
Hop-Captured-From: A_06FP5KEDBTB4A9ZT7QB498G
2026-07-14 16:35:22 -07:00
cyph3rasi a15fae2251 Remove obsolete project workflow docs 2026-07-14 15:57:46 -07:00
cyph3rasi 60f7dba46c Migrate Synapsis to embedded Turso
CI / smoke (push) Has been cancelled
2026-07-14 15:50:12 -07:00
cyph3rasi 21258edd95 Replace PostgreSQL and Docker deployment with embedded Turso, Drizzle relational queries v2, native systemd deployment on port 43821, and fresh SQLite migrations.
Hop-State: A_06FP5KEDBTB4A9ZT7QB498G
Hop-Proposal: R_06FP5KDWMCKVVMQZT4MVZ28
Hop-Task: T_06FP5DZ7T0G45FG93PT90B8
Hop-Attempt: AT_06FP5DZ7T0PKQW99V27JCV8
2026-07-14 15:44:42 -07:00
Hop 1416a8daab hop: initial project state 2026-07-14 14:38:56 -07:00
cyph3rasi b4a9d82d05 Add docker publish flow, node blocklist & API updates
Replace docker/metadata GH Action with a docker-publish.sh driven workflow (supports auto-versioning, extra tags, multi-arch builds and optional builder). Update docs and READMEs to use the updater and new publish flow. Add server-side swarm/node blocklist support and admin nodes API. Improve auth endpoints (me, logout, switch, session accounts) and support account switching. Extend bots API to support custom LLM provider and optional endpoint. Enforce node blocklist on chat send/receive, refactor link preview handling into dedicated preview modules, and enhance notifications and posts like/repost handlers to accept both signed actions and regular auth flows. Misc: remove admin update UI details, add helper libs (media previews, node-blocklist, reposts, notifications, etc.), and minor housekeeping (pyc, workflow tweaks).
2026-03-10 12:40:05 -07:00
cyph3rasi 044196cfa7 Add auto updates and tighten reply feeds 2026-03-08 19:22:18 -07:00
cyph3rasi 5f21ea8e5d Fix reply consistency and source validation 2026-03-08 18:29:42 -07:00
cyph3rasi a8f104ee14 Fix unread badge refresh and reply thread UI 2026-03-08 00:31:21 -08:00
cyph3rasi 98359886df Fix remote likes, notification reads, and profile tabs 2026-03-08 00:13:14 -08:00
cyph3rasi f46ac1cafa Normalize updater status after self-restart bug 2026-03-07 23:56:50 -08:00
cyph3rasi 1e13cf469d Stop updater service from restarting itself 2026-03-07 23:56:16 -08:00
cyph3rasi c5984145dc Fix swarm interaction and reply identity verification 2026-03-07 23:47:17 -08:00
cyph3rasi 11b0ebb34a Fix updater timeouts and default to amd64 publishes 2026-03-07 23:32:58 -08:00
cyph3rasi 35a495fc10 Slim Docker runtime image 2026-03-07 23:16:30 -08:00
cyph3rasi a3a5b83f04 Smooth admin-triggered updates 2026-03-07 22:29:49 -08:00
cyph3rasi 830c062fa1 Fix swarm replies and interaction verification 2026-03-07 22:18:16 -08:00
cyph3rasi 1b0b3d8d52 Fix federation flows and add versioned updater 2026-03-07 21:55:55 -08:00
cyph3rasi 5d524a0354 Fix federated interactions and reply threads 2026-03-07 21:27:22 -08:00
cyph3rasi 1e2da4f2da Fix swarm signature verification payloads 2026-03-07 21:03:47 -08:00
cyph3rasi 853c564755 Fix swarm bootstrap for logo-less nodes 2026-03-07 20:54:30 -08:00
cyph3rasi 2acebc15a5 Fix node asset cache busting 2026-03-07 20:32:30 -08:00
cyph3rasi 588307d21e Support www redirects in Docker install 2026-03-07 20:11:40 -08:00
cyph3rasi 17baf8e4f0 Fix repost state drift and document workflow 2026-03-07 19:47:49 -08:00
cyph3rasi 76ca21e14f Prompt for upload re-auth on demand 2026-03-07 18:29:18 -08:00
cyph3rasi 28eb46d653 Make user media uploads session-backed 2026-03-07 18:14:02 -08:00
cyph3rasi 7422e01a22 Auto-select proxyless localhost port 2026-03-07 17:48:14 -08:00
cyph3rasi 7faf536311 Use PORT as proxyless host port 2026-03-07 17:46:03 -08:00
cyph3rasi bc4bce950a Clarify proxyless installer port output 2026-03-07 17:40:54 -08:00
cyph3rasi cfc9718f0f Add proxyless install mode for existing reverse proxies 2026-03-07 17:36:41 -08:00
cyph3rasi 409d32127d Fix uninstall confirmation prompt 2026-03-07 17:17:26 -08:00
cyph3rasi 0a54a3229a Add Docker uninstall script 2026-03-07 17:16:25 -08:00
cyph3rasi afa732503c Fix Docker healthcheck port interpolation 2026-03-07 17:13:53 -08:00
cyph3rasi 70e6b6fdf6 Remove shared storage and restore user-owned uploads 2026-03-07 17:03:50 -08:00
cyph3rasi 180164f7d2 Align Docker install and publish workflow 2026-03-07 16:27:50 -08:00
cyph3rasi ae2c34df6c Add installer, CI, ARM build and test updates
Introduce a one‑line Docker installer and environment examples, add CI and docker validation workflows, and update docs and tests.

Key changes:
- Add docker/install.sh installer that bootstraps /opt/synapsis, downloads compose files, optionally installs Docker, and generates secrets.
- Add top-level .env.example and docker/.env.example entries for shared storage and local development.
- Add GitHub Actions CI (ci.yml) with type checks, targeted vitest runs, build and docker-compose validation.
- Update existing docker workflow to set up QEMU and build multi‑arch images (amd64, arm64).
- Update README and docker/README to use the installer, point to the new repo, adjust local setup instructions, and note shared S3 env vars.
- Update docker-compose comments and include shared S3 env variables and defaults.
- Update .gitignore to ignore site-work mirrors.
- Tests: expand supported bot source types (add brave_news, youtube), increase POST_MAX_LENGTH from 400 to 600, add minimal user handle in mention handler tests, and add mocks & test adjustments in scheduler tests to keep them unit-scoped.

These changes simplify installation, add CI coverage (including Docker config validation), enable multi‑arch builds, and align tests with expanded bot source/validation behavior.
2026-03-07 16:11:37 -08:00
Christomatt a686db38b0 Docker hardening + first-run fixes 2026-02-05 02:49:34 +01:00
Christomatt 38ddbf8bc1 feat: Introduce runtime configuration for domain and enhance S3 storage settings with public base URL and Contabo support. 2026-02-03 01:27:46 +01:00
Christomatt 91d122ca3a fix: update docker-compose.yml for flat directory structure
- Change Caddyfile mount from ./docker/Caddyfile to ./Caddyfile
- Change caddy-entrypoint.sh mount from ./scripts/ to ./
- Update quick start instructions to download all files to root
- Matches the actual curl commands in install docs
2026-02-01 18:52:56 +01:00
Christomatt bdb05a95f6 chore: consolidate .env.example to docker folder only
- Remove root .env.example (now only in docker/ folder)
- Update .gitignore to not track root .env.example
- Keep docker/.env.example as single source of truth
2026-02-01 18:37:32 +01:00
Christomatt 2a4748441b Updated .env.example 2026-02-01 18:24:22 +01:00
Christomatt 90dfd62434 feat: store node logo/favicon in postgres instead of S3
- Add logoData and faviconData columns to nodes table
- Create /api/admin/node/upload endpoint for direct DB storage
- Create /api/node/logo and /api/node/favicon endpoints to serve images
- Update admin page to use new upload endpoint
- Remove dependency on admin's personal S3 storage for node assets
2026-02-01 16:29:39 +01:00
Christomatt 0cea2e9e1f fix: type cast for storageEndpoint 2026-02-01 05:04:30 +01:00
Christomatt 78798732d9 chore: disable docker cache for fresh build 2026-02-01 04:54:08 +01:00
Christomatt 7bbf3df194 chore: trigger fresh docker build 2026-02-01 04:35:25 +01:00
Christomatt c0d077e587 fix: use nullish coalescing for storageEndpoint 2026-02-01 04:33:02 +01:00
Christomatt 265d7dba66 fix: update generateAndUploadAvatarToUserStorage signature to accept undefined 2026-02-01 04:28:15 +01:00
Christomatt 88a46ea441 chore: remove unused ipfs.ts file (conflicting function names) 2026-02-01 04:24:00 +01:00
Christomatt 13b38f0a7b fix: bot avatar generation - decrypt credentials before passing to S3 2026-02-01 04:16:42 +01:00