Commit graph

118 commits

Author SHA1 Message Date
Jesse Wierzbinski 9f0eab03f2
fix(api): 🐛 Add JSON support to /api/v1/statuses/:id 2024-05-11 15:47:25 -10:00
Jesse Wierzbinski 77cab0962d
chore: 📦 Update all packages to latest version 2024-05-11 15:36:47 -10:00
Jesse Wierzbinski 8fedd1a07d
feat(api): Add new admin emoji API 2024-05-11 15:27:28 -10:00
Jesse Wierzbinski 5bdb8360ea
feat(cli): Add more emoji commands to CLI (add, delete, list, import) 2024-05-08 16:07:33 -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 a9629b825b
fix(api): 🎨 Do wizardry on qs middleware to also work on multipart formData 2024-05-08 01:16:16 -10:00
Jesse Wierzbinski 4b51985149
chore: 📦 Update packages 2024-05-08 08:15:11 +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 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 fc06b35c09
feat(cli): Add new CLI commands, move to project root 2024-05-08 00:10:14 +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 b244889fd2
docs: 📝 Update docker-compose to add api host env variable to frontend 2024-05-06 19:17:33 +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 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 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 6a0188c93e
chore: 🔨 Add character count script 2024-05-02 19:20:32 -10:00
Jesse Wierzbinski 154f17ab12
refactor(api): 📦 Change sanitizer from DOMPurify to xss 2024-05-02 17:20:24 -10:00
Jesse Wierzbinski a430db5c30
fix(build): 🐛 Fix happy-dom 2024-05-02 15:29:36 -10:00
Jesse Wierzbinski 4f0db2dfba
chore: Remove jsdom and types 2024-05-02 14:55:29 -10:00
Jesse Wierzbinski 5ef7564ee8
fix(build): 🐛 aaa 2024-05-02 14:44:49 -10:00
Jesse Wierzbinski 74873fe924
fix(api): 🚑 Replace isomorphic-dompurify with plain jsdom and dompurify 2024-05-02 14:21:09 -10:00
Jesse Wierzbinski 7a90abeaec
fix: 🎨 Switch from happy-dom to jsdom for HTML sanitization 2024-05-02 13:53:10 -10:00
Jesse Wierzbinski 68badc5caa
chore: 📦 Remove old isomorphic-dompurify dependency 2024-05-02 13:26:17 -10:00
Jesse Wierzbinski febddc2a8b
feat(api): Reimplement HTML sanitization 2024-05-02 13:25:32 -10:00
Jesse Wierzbinski cac726ac1b
refactor(api): 🎨 Add better headers when serving API requests and client requests 2024-05-02 12:46:21 -10:00
Jesse Wierzbinski 035d90c763
chore: 📦 Update packages and Bun version 2024-05-01 18:59:39 -10:00
Jesse Wierzbinski aee47e6df4
fix(api): 🚑 Fix using an incorrect email or password giving weird errors 2024-04-28 13:47:14 -10:00
Jesse Wierzbinski 48f2fa1b94
chore: 📦 Update dependencies and Bun 2024-04-27 21:38:42 -10:00
Jesse Wierzbinski ce0cfb4152
chore: 🐛 Remove the -dev from package.json 2024-04-25 15:59:18 -10:00
Jesse Wierzbinski 761e81bd3f
chore: 🔖 Update Lysand version to 0.5-dev in package.json 2024-04-25 15:58:51 -10:00
Jesse Wierzbinski 3247e90131
chore: 🎨 Apply Biome format 2024-04-24 19:22:19 -10:00
Jesse Wierzbinski 3521dd5eb7
fix(api): 🐛 Properly sort users in account search by closeness to query 2024-04-24 19:21:44 -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 abc8f1ae16
refactor(api): 🎨 Improve Markdown parsing with markdown-it instead of marked 2024-04-22 11:02:09 -10:00
Jesse Wierzbinski 436e805789
chore: 📦 Update NPM dependencies 2024-04-22 09:56:31 -10:00
Jesse Wierzbinski d892ff68fd
chore: 📦 Update packages, scripts and run linting 2024-04-17 23:04:07 -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 0929683c51
chore: 📦 Update all dependencies to latest version and Bun to 1.1.4 2024-04-16 21:09:28 -10:00
Jesse Wierzbinski 0b1c1ba128
Switch all routes to use Zod for strict validation 2024-04-14 00:36:25 -10:00
Jesse Wierzbinski fe0cfa547b
Cleanup files and packages 2024-04-13 18:10:37 -10:00
Jesse Wierzbinski bc296194b6
Replaces regexes with magic-regexp, simplify code 2024-04-13 17:49:32 -10:00
Jesse Wierzbinski b1ee6e5684
Finish full migration to Drizzle 2024-04-13 15:26:19 -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 f7abe06a60
Begin moving project to use Drizzle instead of prisma 2024-04-11 01:39:07 -10:00