Commit graph

650 commits

Author SHA1 Message Date
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 26dfd14aaf
test(api): Add tests for account registration endpoint 2024-05-08 12:54:44 -10:00
Jesse Wierzbinski 20629b1712
fix(api): 🐛 oh my god stop breaking 2024-05-08 12:41:27 -10:00
Jesse Wierzbinski f71c8a50d3
fix(api): 🐛 Fix incorrect zod types in registration 2024-05-08 12:37:28 -10:00
Jesse Wierzbinski 52e29e2dee
Fix megalodon accounts not registering 2024-05-08 12:34:01 -10:00
Jesse Wierzbinski 3c3814a3c1
fix(api): 🐛 Fix favourited attribute not being correct on serialized API notes 2024-05-08 11:51:47 -10:00
Jesse Wierzbinski 5fcbcd0f07
fix(api): 🐛 Fix bug where likes wouldn't appear on API notes 2024-05-08 10:57:42 -10:00
Jesse Wierzbinski a9629b825b
fix(api): 🎨 Do wizardry on qs middleware to also work on multipart formData 2024-05-08 01:16:16 -10:00
Jesse Wierzbinski 2acd281c76
fix(cli): 🐛 Disable pretty dates when outputting data as JSON or CSV 2024-05-08 00:41:59 -10:00
Jesse Wierzbinski f0f9c78cc6
fix(cli): 🐛 Don't skip password hash when a password is provided manually 2024-05-08 08:23:44 +00:00
Jesse Wierzbinski 4b51985149
chore: 📦 Update packages 2024-05-08 08:15:11 +00:00
Jesse Wierzbinski c7423d7421
fix(api): 🐛 Fix slightly incorrect error message when logging in with wrong credentials 2024-05-08 08:09:22 +00:00
Jesse Wierzbinski f9c9a7d527
feat(api): 🎨 Allow login with either username or email 2024-05-08 08:02:05 +00:00
Jesse Wierzbinski 47c88dd7dd
fix(cli): 🐛 Remove plugin-help from oclif as it was causing bundling errors 2024-05-08 07:26:17 +00:00
Jesse Wierzbinski 19c14ef3fc
fix(cli): 🐛 Remove file extension from oclif entrypoint config
Allows both .ts and .js to be used (in dev and when bundled)
2024-05-08 00:39:34 +00:00
Jesse Wierzbinski a1fc86761d
build(cli): 🐛 Add package.json into build to make oclif happy 2024-05-08 00:35:00 +00:00
Jesse Wierzbinski 04cd140f6d
fix(cli): 🐛 Fix CLI not working in build
Missing code in cli/index.ts does that to you
2024-05-08 00:30:45 +00:00
Jesse Wierzbinski 6b17b91235
fix(build): 🐛 Modify CLI to properly bundle 2024-05-08 00:24:21 +00:00
Jesse Wierzbinski 0d278e4fa9
build(build): 🎨 Edit build script to look nicer and build CLI 2024-05-08 00:10:42 +00:00
Jesse Wierzbinski fc06b35c09
feat(cli): Add new CLI commands, move to project root 2024-05-08 00:10:14 +00:00
Jesse Wierzbinski 68f16f9101
ci(build): 🔒 Add SBOM and provenance data to all automatic Docker builds 2024-05-07 23:49:47 +00:00
Jesse Wierzbinski a621ff7271
fix(build): 🐛 Fix a bug preventing building caused by an old build command being used in Dockerfile 2024-05-07 23:42:38 +00:00
Jesse Wierzbinski 06c30b8af2
feat(cli): ♻️ Begin new CLI rewrite with oclif 2024-05-07 07:41:02 +00:00
Jesse Wierzbinski 7b05a34cce
refactor: 🔥 Remove dead code 2024-05-07 03:13:37 +00:00
Jesse Wierzbinski 592f7c0ac2
docs: 📝 Update docker-compose to make Lysand default to the latest tag 2024-05-06 19:23:32 +00:00
Jesse Wierzbinski af354a5fb8
docs: 📝 Update README to talk about Markdown support in Lysand 2024-05-06 19:20:41 +00:00
Jesse Wierzbinski b244889fd2
docs: 📝 Update docker-compose to add api host env variable to frontend 2024-05-06 19:17:33 +00:00
Jesse Wierzbinski 2f578de01a
docs: 📝 Update docs 2024-05-06 18:26:56 +00:00
Jesse Wierzbinski c22158c687
chore(build): 🐛 Fix Dockerfile, update bun-node version 2024-05-06 17:57:35 +00:00
Jesse Wierzbinski 8822aae0d3
chore: 📦 Update dependencies 2024-05-06 17:52:03 +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 8557867ad8
fix(api): 🐛 Fix incorrect proxy behaviour 2024-05-06 17:31:12 +00:00
Jesse Wierzbinski afda1f1211
fix(api): 🐛 Fix incorrect boolean/string comparisons in status creation endpoint 2024-05-06 09:20:23 +00:00
Jesse Wierzbinski 2779b76f44
fix(api): 🐛 Fix various data encoding bugs 2024-05-06 09:14:43 +00:00
Jesse Wierzbinski de4381e151
fix(api): 🐛 Respond to OPTIONS requests with empty CORS response 2024-05-06 08:54:57 +00:00
Jesse Wierzbinski e6749d9b72
fix(api): 🔥 Correctly coerce limit to an int in account statuses endpoint 2024-05-06 08:47:26 +00:00
Jesse Wierzbinski 31ef6865d8
refactor: 🧑‍💻 Add cloc to devcontainer 2024-05-06 08:46:22 +00:00
Jesse Wierzbinski e249b61969
fix(api): 🐛 Add jsonOrForm to /oauth/token 2024-05-06 08:42:58 +00:00
Jesse Wierzbinski ddab167018
fix(api): 🐛 Fix incorrect OAuth changes 2024-05-06 08:40:26 +00:00
Jesse Wierzbinski d5076590c6
fix(api): 🐛 Fix incorrect providers being returned by oauth providers endpoint 2024-05-06 08:36:00 +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 2237be3689
chore: 📝 Update README and License 2024-05-05 11:35:27 -10:00
Jesse Wierzbinski f006efbfb2
fix(api): 🔥 Remove pleroma attribute on users 2024-05-05 10:55:40 -10:00
Jesse Wierzbinski 5f785c391d
refactor(api): 🎨 Switch to base64url for proxy url encoding instead of plaintext 2024-05-04 21:02:25 -10:00
Jesse Wierzbinski 3be9d1d6ce
fix(api): 🐛 Also wrap instance banner and thumbnail in proxy 2024-05-04 19:22:21 -10:00
Jesse Wierzbinski 972bd4f4a2
chore(build): 📦 Update Bun and packages 2024-05-04 19:19:07 -10:00
Jesse Wierzbinski 550e8977cf
fix(api): 🐛 Fix media proxy having incorrect headers 2024-05-04 19:17:57 -10:00
Jesse Wierzbinski ead34b818f
feat(api): 🔒 Make all media be proxied through an internal proxy 2024-05-04 19:13:23 -10:00