Commit graph

94 commits

Author SHA1 Message Date
Jesse Wierzbinski eab61b38f1
feat(federation): Add bridge tokens, federation request debugging 2024-05-21 14:59:03 -10:00
Jesse Wierzbinski c28628ebb3
feat(api): Add safeguard for incorrectly configured proxies 2024-05-17 09:38:38 -10:00
Jesse Wierzbinski b1216a43f2
refactor(api): ♻️ Change route names, improve API endpoints to be more consistent with Mastodon API 2024-05-16 15:49:59 -10:00
Jesse Wierzbinski 6b83336fa3
fix(api): Fix a test sending a body with a GET request 2024-05-13 11:48:58 -10:00
Jesse Wierzbinski 6c3fcf699e
feat(api): Add support for multithreaded API servers 2024-05-13 11:36:46 -10:00
Jesse Wierzbinski da2520e60e
feat(api): Add user emoji upload capabilities 2024-05-12 16:09:57 -10:00
Jesse Wierzbinski 9566387273
fix(api): 🐛 Fix oauth token endpoint returning an ISO-8601 string instead of a unix timestamp 2024-05-12 14:01:37 -10:00
Jesse Wierzbinski 67bee695e6
feat(api): Add safeguard when using formdata without a boundary 2024-05-12 13:21:06 -10:00
Jesse Wierzbinski e48f57a3d8
perf(database): Improve performance when fetching timelines by fetching all data in a single SQL query 2024-05-08 13:19:53 -10:00
Jesse Wierzbinski f9c9a7d527
feat(api): 🎨 Allow login with either username or email 2024-05-08 08:02:05 +00:00
Jesse Wierzbinski ad4466a260
fix(api): 🐛 Fix proxy returning incorrect media due to compression 2024-05-06 17:50:50 +00:00
Jesse Wierzbinski ddab167018
fix(api): 🐛 Fix incorrect OAuth changes 2024-05-06 08:40:26 +00:00
Jesse Wierzbinski 516bfb72e7
fix(build): 🐛 Add bodyOrJson middleware to server/api/v1/apps 2024-05-06 08:31:12 +00:00
Jesse Wierzbinski 959dd27ad6
refactor(api): 🎨 Finish Hono refactor 2024-05-06 08:19:42 +00:00
Jesse Wierzbinski 826a260e90
refactor(api): ♻️ Move to Hono for HTTP 2024-05-06 07:16:33 +00:00
Jesse Wierzbinski f006efbfb2
fix(api): 🔥 Remove pleroma attribute on users 2024-05-05 10:55:40 -10:00
Jesse Wierzbinski d2d8151f35
test(api): Fix failing OAuth test (bug) 2024-05-01 18:58:07 -10:00
Jesse Wierzbinski 1b7b71eaec
refactor(api): 🎨 Refactor request parser 2024-04-25 08:50:30 -10:00
Jesse Wierzbinski 9e9998ea82
refactor(api): 🎨 Move createLocalUser to a static method of User 2024-04-24 17:48:39 -10:00
Jesse Wierzbinski 9d70778abd
refactor(api): 🎨 Move User methods into their own class similar to Note 2024-04-24 17:40:27 -10:00
Jesse Wierzbinski 9834825184
feat(api): 🐛 Change consent route from /oauth/redirect to /oauth/consent 2024-04-21 21:36:45 -10:00
Jesse Wierzbinski 5cb48b2f3b
feat(api): Make Lysand a full OAuth2/OpenID Connect provider as well as still Mastodon compatible 2024-04-17 22:42:12 -10:00
Jesse Wierzbinski 88b3ec7b43
refactor(database): 🎨 Update database and schema names to be clearer 2024-04-16 20:36:01 -10:00
Jesse Wierzbinski 9081036c6d
refactor(database): 🎨 Refactor note handling into its own class instead of separate functions 2024-04-16 18:09:21 -10:00
Jesse Wierzbinski 245d4844f5
test(api): 🔥 Clean up old duplicated tests 2024-04-15 20:04:13 -10:00
Jesse Wierzbinski 06bcbbe451
fix(api): 🐛 Fix statuses not saving the user's applicationId 2024-04-15 16:09:16 -10:00
Jesse Wierzbinski 96a2fbf178
feat(api): Implement /v1/instance/rules and /v1/instance/extended_description 2024-04-14 19:08:16 -10:00
Jesse Wierzbinski 82c6dc17a8
Update Mastodon API types 2024-04-14 00:53:21 -10:00
Jesse Wierzbinski 0b1c1ba128
Switch all routes to use Zod for strict validation 2024-04-14 00:36:25 -10:00
Jesse Wierzbinski 3cdd685035
Clean up old console.log statements 2024-04-13 19:27:19 -10:00
Jesse Wierzbinski 0ca77e9dcc
Clean up database with new schema 2024-04-13 15:21:38 -10:00
Jesse Wierzbinski a65249b79d
Remove Prisma once and for all 2024-04-13 14:46:33 -10:00
Jesse Wierzbinski ad0bf1a350
More work on converting old Prisma calls to Drizzle 2024-04-13 02:20:12 -10:00
Jesse Wierzbinski 6b3c604c33
Add new tests to server routes 2024-04-11 03:52:44 -10:00
Jesse Wierzbinski df939a6a7a
Fix not working routes 2024-04-11 02:12:16 -10:00
Jesse Wierzbinski f7abe06a60
Begin moving project to use Drizzle instead of prisma 2024-04-11 01:39:07 -10:00
Jesse Wierzbinski db37510370
Add interface to view post and user JSON data 2024-04-08 18:33:59 -10:00
Jesse Wierzbinski 8bda61e099
Fixes for wrong follows 2024-04-08 16:26:48 -10:00
Jesse Wierzbinski e26d604a54
Refactors, bugfixing 2024-04-07 17:28:18 -10:00
Jesse Wierzbinski 0c720956a1
More bugfixes 2024-04-07 03:03:33 -10:00
Jesse Wierzbinski af0d627f19
Replace eslint and prettier with Biome 2024-04-06 19:30:49 -10:00
Jesse Wierzbinski 6a54c5b805
Replace config manager with unjs/c12 2024-04-06 18:16:54 -10:00
Jesse Wierzbinski d6f1cd1347
Fix build errors and testing errors 2024-03-13 17:39:32 -10:00
Jesse Wierzbinski 0541776d3d
Finish full rewrite of server and testing systems 2024-03-10 16:04:14 -10:00
Jesse Wierzbinski 64629754ca
Update all packages, fix critical bugs 2024-03-03 17:29:44 -10:00
Jesse Wierzbinski 2bc9ff51ea
Slight refactoring, begin work on major moderation overhaul 2024-03-03 15:27:08 -10:00
Jesse Wierzbinski f51476e810
Add status pinning and unpinning, fix bugs 2023-11-26 14:56:16 -10:00
Jesse Wierzbinski be9b2e3376
Enable verbatim module syntax + more API routes 2023-11-22 18:10:37 -10:00
Jesse Wierzbinski 158f86c475
Add new oauth matching function with tests for it 2023-11-21 18:16:31 -10:00
Jesse Wierzbinski 930b84826b
Add more routes for media upload 2023-11-21 17:00:14 -10:00