Commit graph

211 commits

Author SHA1 Message Date
Jesse Wierzbinski fea19eeb2e
feat(federation): Add WebFinger forwarding to bridge for ActivityPub requests 2024-07-17 14:46:43 +02:00
Jesse Wierzbinski be881f18cd
feat(api): Add new endpoint to get a user by its username 2024-07-17 14:02:29 +02:00
Jesse Wierzbinski ba56c98e35
chore(federation): ⬆️ Upgrade @lysand-org/federation to 2.1.1 2024-07-16 20:17:18 +02:00
Jesse Wierzbinski da16a5d4c2
chore: ⬆️ Upgrade dependencies 2024-07-16 20:10:04 +02:00
Jesse Wierzbinski 939815510c
refactor: ⬆️ Upgrade dependencies, use JSR for Hono 2024-07-11 12:56:28 +02:00
Jesse Wierzbinski b111a41f01
chore: ⬆️ Upgrade dependencies 2024-06-29 22:25:15 -10:00
Jesse Wierzbinski cea9452127
refactor(federation): ♻️ Replace WebFinger code with @lysand-org/federation logic, add new debug command 2024-06-29 22:24:10 -10:00
Jesse Wierzbinski 19c15f7e96
refactor: ♻️ Replace Meilisearch with Sonic 2024-06-28 23:40:44 -10:00
Jesse Wierzbinski e95cabb304
fix: 🐛 Properly install and import the S3 client 2024-06-28 20:49:17 -10:00
Jesse Wierzbinski 106e34848a
refactor(api): 🏷️ Replace API types with those from @lysand-org/client 2024-06-28 20:36:15 -10:00
Jesse Wierzbinski 99b8c35f7b
chore: ⬆️ Upgrade dependencies 2024-06-28 20:15:07 -10:00
Jesse Wierzbinski faf829437d
refactor: ♻️ Rewrite media management code 2024-06-28 20:10:02 -10:00
Jesse Wierzbinski 556ef83ecf
fix: 🐛 Fix LogTape expecting a Deno global to exist (patch) 2024-06-26 15:06:57 -10:00
Jesse Wierzbinski bc8220c8f9
refactor: ♻️ Replace logging system with @logtape/logtape 2024-06-26 13:11:39 -10:00
Jesse Wierzbinski 1b427cf225
chore: ⬆️ Upgrade dependencies 2024-06-20 19:15:18 -10:00
Jesse Wierzbinski 70cd00cfa8
refactor(federation): ⬆️ Use @lysand-org/federation v2.0.0 2024-06-19 13:21:02 -10:00
Jesse Wierzbinski 84f2312508
chore: ⬆️ Upgrade dependencies 2024-06-19 13:01:54 -10:00
Jesse Wierzbinski cfa0ab4ac9
chore: ⬆️ Upgrade dependencies 2024-06-13 22:06:50 -10:00
Jesse Wierzbinski 527137f279
chore: ⬆️ Upgrade dependencies 2024-06-12 20:39:53 -10:00
Jesse Wierzbinski a6159b9d55
feat(api): Preliminary captcha support database tables 2024-06-12 13:48:58 -10:00
Jesse Wierzbinski 4f2c98390c
chore: 📦 Update dependencies 2024-06-11 13:43:33 -10:00
Jesse Wierzbinski f0c69cfb33
chore: 📦 Update packages 2024-06-10 16:00:52 -10:00
Jesse Wierzbinski 8da4b07642
chore: 📦 Update packages 2024-06-09 16:16:21 -10:00
Jesse Wierzbinski c6c71bebb7
chore: 📦 Update packages 2024-06-08 15:36:50 -10:00
Jesse Wierzbinski deb532c970
chore: 📦 Update packages 2024-06-07 23:08:15 -10:00
Jesse Wierzbinski 46f41199ac
chore: 📦 Update packages 2024-06-07 15:36:17 -10:00
Jesse Wierzbinski e229c30a9f
chore: 📦 Use NPM version of @lysand-org/federation 2024-06-07 15:33:00 -10:00
Jesse Wierzbinski d2767b0862
chore: 📦 Update packages in package.json too 2024-06-03 21:11:56 -10:00
Jesse Wierzbinski 381094c12d
chore: 📦 Update all dependencies to latest version 2024-06-03 16:08:42 -10:00
Jesse Wierzbinski f904ad33ba
refactor: ♻️ Clean up Dockerfile to not require Node to build 2024-05-28 22:14:20 -10:00
Jesse Wierzbinski 3a37790315
chore: 🔖 Set version to 0.7.0 2024-05-28 15:03:20 -10:00
Jesse Wierzbinski fbc0c2c586
chore: 📦 Replace bun-types with @types/bun 2024-05-28 13:58:38 -10:00
Jesse Wierzbinski 14851fa93e
chore: 📦 Update all packages to their latest version 2024-05-21 15:33:36 -10:00
Jesse Wierzbinski b4b8f51a5a
chore: 🚨 Run format 2024-05-16 23:39:10 -10:00
Jesse Wierzbinski 36f7299a77
chore(build): ⬆️ Update federation lib to 1.1.5 2024-05-16 23:38:21 -10:00
Jesse Wierzbinski 606c7e290c
chore: 📦 Update all packages to latest version 2024-05-16 21:00:43 -10:00
Jesse Wierzbinski ec62906221
chore: 🔖 Update version to 0.6.0 2024-05-16 20:59:21 -10:00
Jesse Wierzbinski 060b3980ba
fix(build): 🐛 Make the prepare command use bunx 2024-05-15 17:28:37 -10:00
Jesse Wierzbinski 11460a83ad
refactor(build): 🐛 Promote Husky to dependency 2024-05-15 17:26:59 -10:00
Jesse Wierzbinski 075a23124b
feat: Add Husky 2024-05-15 17:19:45 -10:00
Jesse Wierzbinski 2b5b82b465
fix: 🐛 Fix all TypeScript issues 2024-05-15 17:07:34 -10:00
Jesse Wierzbinski fb31375b74
refactor(config): 🔥 Replace config validation with Zod 2024-05-15 16:37:25 -10:00
Jesse Wierzbinski 5fd6a4e43d
feat(federation): Replace old types and federation validators with @lysand-org/federation 2024-05-14 14:35:13 -10:00
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
Jesse Wierzbinski d5817e985d
Modify WebFinger behaviour, add user searching 2024-04-09 18:22:57 -10:00
Jesse Wierzbinski a58c81c8e9
Implement federation of statuses 2024-04-09 16:05:02 -10:00
Jesse Wierzbinski eab8b1ab63
Change Sharp versions 2024-04-09 02:51:03 -10:00
Jesse Wierzbinski dc17cffd75
Switch frontend server to Nuxt 2024-04-09 01:14:53 -10:00
Jesse Wierzbinski db37510370
Add interface to view post and user JSON data 2024-04-08 18:33:59 -10:00
Jesse Wierzbinski d6fda6bb28
Update version to 0.3.1 2024-04-07 18:24:22 -10:00
Jesse Wierzbinski 8eb6fba897
More Sharp fixes 2024-04-07 03:50:03 -10:00