Commit graph

1441 commits

Author SHA1 Message Date
Jesse Wierzbinski bff1c5f734
refactor(api): 🏷️ Begin porting all code over to new schemas 2025-02-12 23:25:22 +01:00
Jesse Wierzbinski fda1167234
feat(api): 🏷️ Finish porting full Mastodon API to OpenAPI 2025-02-12 23:04:44 +01:00
Jesse Wierzbinski 6ff27ede73
feat(cli): Add token generation command to CLI
Some checks failed
CodeQL Scan / Analyze (javascript-typescript) (push) Failing after 51s
Build Docker Images / lint (push) Successful in 28s
Build Docker Images / check (push) Successful in 54s
Build Docker Images / tests (push) Failing after 6s
Build Docker Images / build (server, Dockerfile, ${{ github.repository_owner }}/server) (push) Has been skipped
Build Docker Images / build (worker, Worker.Dockerfile, ${{ github.repository_owner }}/worker) (push) Has been skipped
Deploy Docs to GitHub Pages / build (push) Failing after 12s
Deploy Docs to GitHub Pages / Deploy (push) Has been skipped
Mirror to Codeberg / Mirror (push) Failing after 0s
Nix Build / check (push) Failing after 32m24s
2025-02-11 18:51:28 +01:00
Jesse Wierzbinski 03d3a2d3d4
feat(cli): Implement note recalculation command 2025-02-11 18:39:38 +01:00
Jesse Wierzbinski 264e2fe8ac
feat(api): 🏷️ Port Role and CustomEmoji OpenAPI schemas
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 1s
2025-02-11 18:22:39 +01:00
Jesse Wierzbinski e5f222c529
chore: Remove unused dependencies
Some checks failed
CodeQL Scan / Analyze (javascript-typescript) (push) Failing after 2m19s
Build Docker Images / lint (push) Successful in 51s
Build Docker Images / check (push) Successful in 1m9s
Build Docker Images / tests (push) Failing after 10s
Build Docker Images / build (server, Dockerfile, ${{ github.repository_owner }}/server) (push) Has been skipped
Build Docker Images / build (worker, Worker.Dockerfile, ${{ github.repository_owner }}/worker) (push) Has been skipped
Deploy Docs to GitHub Pages / build (push) Failing after 22s
Deploy Docs to GitHub Pages / Deploy (push) Has been skipped
Mirror to Codeberg / Mirror (push) Failing after 1s
Nix Build / check (push) Failing after 3m32s
2025-02-05 22:57:05 +01:00
Jesse Wierzbinski 546b7446b9
chore: ⬆️ Upgrade dependencies
Some checks failed
CodeQL Scan / Analyze (javascript-typescript) (push) Failing after 5m26s
Build Docker Images / lint (push) Successful in 50s
Build Docker Images / check (push) Successful in 1m13s
Build Docker Images / tests (push) Failing after 40s
Build Docker Images / build (server, Dockerfile, ${{ github.repository_owner }}/server) (push) Has been skipped
Build Docker Images / build (worker, Worker.Dockerfile, ${{ github.repository_owner }}/worker) (push) Has been skipped
Deploy Docs to GitHub Pages / build (push) Failing after 25s
Deploy Docs to GitHub Pages / Deploy (push) Has been skipped
Mirror to Codeberg / Mirror (push) Failing after 0s
Nix Build / check (push) Failing after 3m49s
2025-02-05 22:50:47 +01:00
Jesse Wierzbinski 7c622730dc
feat(api): 🏷️ Port Status OpenAPI schemas from Mastodon API docs 2025-02-05 22:49:07 +01:00
Jesse Wierzbinski 2aeada4904
feat(api): 🏷️ Port Account OpenAPI schemas from Mastodon API docs 2025-02-05 21:49:39 +01:00
Jesse Wierzbinski 76d1ccc859
refactor(api): ♻️ Use URL literal instead of strings 2025-02-01 16:32:18 +01:00
Jesse Wierzbinski 99fac323c8
chore: ⬆️ Upgrade Bun to 1.2.2 2025-02-01 11:10:57 +01:00
Jesse Wierzbinski ff7b11440d
chore: ⬆️ Upgrade dependencies 2025-02-01 11:07:36 +01:00
Gaspard Wierzbinski 450058213d
Merge pull request #32 from versia-pub/refactor/media
Refactor and simplify the media pipeline
2025-02-01 11:02:28 +01:00
Jesse Wierzbinski 1d2ea36fac
refactor: 🔥 Remove old pre Bun 1.2 compile error check
Bun 1.2 now default to actually throwing an error instead of always succeeding
2025-01-29 17:25:04 +01:00
Jesse Wierzbinski bf071c1b27
chore: 🔥 Remove old S3 client dependency 2025-01-29 17:23:32 +01:00
Jesse Wierzbinski 9ba6237f13
refactor(media): ♻️ Massively simplify media pipeline with Bun.S3 2025-01-29 17:21:40 +01:00
Jesse Wierzbinski f60663506a
fix(api): 🐛 Add missing attributes to /api/v1/instance 2025-01-29 16:05:04 +01:00
Jesse Wierzbinski 29cbe7d293
chore: ⬆️ Upgrade Bun to 1.2.1 2025-01-28 19:32:03 +01:00
Jesse Wierzbinski ba431e2b11
refactor(database): ♻️ Make user avatar and header into a Media instead of plaintext 2025-01-28 19:07:55 +01:00
Jesse Wierzbinski bc961b70bb
refactor(database): 🔥 Simplify media management code 2025-01-28 18:06:33 +01:00
Jesse Wierzbinski cf1104d762
refactor(database): ♻️ Make emojis use a Media instead of just rawdogging the URI 2025-01-28 17:43:43 +01:00
Jesse Wierzbinski c7aae24d42
style(database): 🚚 Reorder declarations of db tables
Putting relations next to the tables makes it easier to not break everything
2025-01-28 17:06:28 +01:00
Jesse Wierzbinski 8ac476fe66
chore: ⬆️ Upgrade dependencies 2025-01-28 16:55:43 +01:00
Jesse Wierzbinski 3216fc339a
refactor(database): ♻️ Move Note <-> Media relations to a many-to-many model instead of one-to-many 2025-01-23 20:36:09 +01:00
Jesse Wierzbinski 9c30dacda7
refactor(database): ♻️ Use ContentFormat to store media data 2025-01-23 19:37:17 +01:00
Jesse Wierzbinski 2f61cd8f0a
refactor(database): 🚚 Rename "Attachment" to "Media" 2025-01-23 16:08:42 +01:00
Jesse Wierzbinski bbd56b600d
refactor: 👷 Switch to Bun's text lockfile 2025-01-23 15:48:12 +01:00
Jesse Wierzbinski c4339e64bd
chore: ⬆️ Upgrade Bun to 1.2.0 2025-01-23 15:28:16 +01:00
Jesse Wierzbinski e32b6f9f8e
chore: ⬆️ Upgrade dependencies 2025-01-23 15:15:34 +01:00
Jesse Wierzbinski 88bb724ae0
chore: ⬆️ Upgrade dependencies 2025-01-17 14:18:31 +01:00
Jesse Wierzbinski 24efc77770
fix: 🚑 Put Sharp back into the API worker
The Attachment processor needs it for metadata
2025-01-07 15:16:51 +01:00
Jesse Wierzbinski 11ba1ab5c8
fix(api): 🐛 Fix failing build
The node_modules directory didn't exist, so cp threw an error
2025-01-07 14:10:54 +01:00
Jesse Wierzbinski b086e65404
refactor(worker): Move blurhash processing to worker 2025-01-06 19:45:32 +01:00
Jesse Wierzbinski 8188a6ffc7
refactor: 🔥 Remove sharp from api worker output 2025-01-06 19:31:42 +01:00
Jesse Wierzbinski ded8799a9c
fix: 🚑 Bundle Sharp into worker 2025-01-06 19:30:51 +01:00
Jesse Wierzbinski 80b874e5fb
refactor(api): Move media processing to background job 2025-01-06 19:21:57 +01:00
Jesse Wierzbinski dcdc8c7365
fix(api): 🐛 Fix user registration incorrectly counting remote users as local 2025-01-06 18:14:09 +01:00
Jesse Wierzbinski 0e9db83279
style: 🚨 Run Biome 2025-01-02 04:52:30 +01:00
Jesse Wierzbinski 3484b1e1a1
fix(api): 🐛 Improve notification text 2025-01-02 04:49:36 +01:00
Jesse Wierzbinski 1c543723fb
fix(api): 🐛 Use aesgcm, not aes128gcm during push notifications
Mastodon's server hates aes128gcm
2025-01-02 04:36:28 +01:00
Jesse Wierzbinski bedc25bacf
fix(api): 🐛 Properly await notification result 2025-01-02 04:27:52 +01:00
Jesse Wierzbinski cde2836982
fix(api): 👽 Ignore what the Mastodon docs say, they're wrong 2025-01-02 04:13:12 +01:00
Jesse Wierzbinski 5d64ecd04f
fix(api): 🐛 Switch base64 version to base64url in subscriptions 2025-01-02 04:02:29 +01:00
Jesse Wierzbinski ea0afdaf22
fix(api): 🐛 Make validation on push subscription more lax 2025-01-02 03:53:38 +01:00
Jesse Wierzbinski 59cf4e384a
fix(api): 🐛 Correctly calculate user based on token 2025-01-02 03:36:54 +01:00
Jesse Wierzbinski 8706c7b405
feat(federation): Add Push Queue to Bull Board 2025-01-02 03:27:26 +01:00
Jesse Wierzbinski 85de7b8ddc
ci: 🐛 Fix bug causing worker Docker image to be a copy of Server 2025-01-02 03:22:18 +01:00
Jesse Wierzbinski c58c8c6cc8
fix(api): 🐛 Correctly start push worker 2025-01-02 03:12:59 +01:00
Jesse Wierzbinski 7b3158c102
fix(api): 🚑 Fix incorrect builds
Everything under api/ should be a route, or it messes up bundling
2025-01-02 02:55:56 +01:00
Jesse Wierzbinski d839c274b1
feat(api): Finish push notification delivery 2025-01-02 02:45:40 +01:00