Commit graph

275 commits

Author SHA1 Message Date
Jesse Wierzbinski 1368dac77e
chore: ⬆️ Upgrade dependencies (patch Hono until my PR merges) 2024-07-28 01:22:59 +02:00
Jesse Wierzbinski 5162000a1f
chore: ⬆️ Upgrade SDK version 2024-07-26 20:22:52 +02:00
Jesse Wierzbinski 385bdc13da
fix(federation): 🐛 Send correct headers in inbox requests 2024-07-26 19:51:08 +02:00
Jesse Wierzbinski ad9ed2598c
refactor(federation): ⬆️ Refactor code to use v2.2 of federation SDK 2024-07-26 18:07:11 +02:00
Jesse Wierzbinski 1216e278e8
fix(federation): 🐛 Fix some errors not being ignored properly 2024-07-26 17:20:37 +02:00
Jesse Wierzbinski db2d582295
chore: ⬆️ Upgrade dependencies 2024-07-26 00:58:56 +02:00
Jesse Wierzbinski bc25896ed8
feat(config): 🧑‍💻 Add custom tracing URL support to Sentry config 2024-07-26 00:02:48 +02:00
Jesse Wierzbinski 7d1522cc1e
feat(config): Add JSON schema for config 2024-07-25 23:51:00 +02:00
Jesse Wierzbinski daba8e8178
refactor(federation): ♻️ Refactor code to use less fetch calls and instead use FederationRequester 2024-07-24 18:52:30 +02:00
Jesse Wierzbinski 5061735da7
feat: Add Sentry support 2024-07-24 18:10:29 +02:00
Jesse Wierzbinski 98a2549a3d
chore: ⬆️ Upgrade dependencies 2024-07-24 16:39:12 +02:00
Jesse Wierzbinski 8213ca62e0
chore: ⬆️ Upgrade @lysand-org/federation to latest 2024-07-23 00:13:46 +02:00
Jesse Wierzbinski 0e054e7cba
fix(federation): 🐛 Put the ActivityPub link first in WebFinger to work around Misskey bug 2024-07-17 15:08:21 +02:00
Jesse Wierzbinski 896d22616d
chore: ⬆️ Upgrade dependencies 2024-07-17 14:49:36 +02:00
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
Jesse Wierzbinski 8473062c24
More Sharp fixes 2024-04-07 03:28:04 -10:00
Jesse Wierzbinski ea1d7b1510
More work on fixing Docker build 2024-04-06 22:56:15 -10:00
Jesse Wierzbinski e88c5f3fd0
Finally make the Docker build work 2024-04-06 20:13:09 -10:00
Jesse Wierzbinski af0d627f19
Replace eslint and prettier with Biome 2024-04-06 19:30:49 -10:00
Jesse Wierzbinski 4a5a2ea590
Add Biome 2024-04-06 18:45:05 -10:00
Jesse Wierzbinski 43cce22c07
Update packages 2024-04-06 18:19:55 -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 480fcb363f
Add bait mode, fix bugs 2024-03-12 22:10:32 -10:00
Jesse Wierzbinski d633116571
Fix failing tests, reorganize packages 2024-03-12 08:44:43 -10:00
Jesse Wierzbinski 1053972692
Include CLI in production builds 2024-03-11 20:44:05 -10:00
Jesse Wierzbinski 28c73bc62a
Full CLI rework and repair 2024-03-11 20:20:38 -10:00
Jesse Wierzbinski 4755451404
Fix some shenanigans with routes 2024-03-10 20:22:48 -10:00
Jesse Wierzbinski f282fcacae
Fix file pollution and some ESLint errors in github actions 2024-03-10 19:55:20 -10:00
Jesse Wierzbinski 0e4d6b401c
Fix media code, clean up old types 2024-03-10 13:57:26 -10:00
Jesse Wierzbinski 78f216092b
refactor: Rewrite functions into packages 2024-03-07 19:34:50 -10:00
Jesse Wierzbinski 64629754ca
Update all packages, fix critical bugs 2024-03-03 17:29:44 -10:00
Jesse Wierzbinski 96dea34f9a
Reorganize paths in pages 2023-12-12 11:34:14 -10:00
Jesse Wierzbinski 1138e7be06
feat: Use custom importer to import config 2023-12-08 17:32:45 -10:00
Jesse Wierzbinski dfb1cb1741
chore: Bump package version to 0.3.0 2023-12-08 16:50:35 -10:00
Jesse Wierzbinski 4924fa6d85
feat: Improve building, make Vite files served statically in prod 2023-12-08 15:51:48 -10:00
Jesse Wierzbinski df47fa4750
feat: Add working building and bundling system 2023-12-07 22:25:31 -10:00
Jesse Wierzbinski 2333bbead9
Move more packages to devDependencies 2023-12-07 07:51:50 -10:00
Jesse Wierzbinski d62e81977e
More work on bundling vite for production 2023-12-06 14:29:26 -10:00
Jesse Wierzbinski 947c1f4991
Add full OpenID connect provider support 2023-12-06 12:10:22 -10:00
Jesse Wierzbinski 14d96ac9e6
feat: Add a Vite server and proxy all non-route requests to it 2023-12-03 15:25:55 -10:00
Jesse Wierzbinski d1f9ff650f
chore: Add cloc script to count lines of code 2023-12-02 20:57:28 -10:00
Jesse Wierzbinski 38e390c418
feat: Add emoji importing and creation via CLI + support in posts 2023-12-02 20:50:20 -10:00
Jesse Wierzbinski aa0813fef8
feat: Add Meilisearch integration, begin work on search endpoint 2023-12-02 18:11:30 -10:00
Jesse Wierzbinski a17b52b2c5
feat: Add new Redis caching to queries 2023-12-01 13:00:00 -10:00
Jesse Wierzbinski df5e8f744b
feat: Add timeline benchmark 2023-11-29 18:16:58 -10:00
Jesse Wierzbinski 91838e7aec
Add new CLI command: Search 2023-11-29 08:46:34 -10:00
Jesse Wierzbinski e01e92c9ce
Fix various missing things and bugs 2023-11-28 17:57:35 -10:00
Jesse Wierzbinski d110e42ad8
Update packages 2023-11-28 12:04:18 -10:00
Jesse Wierzbinski 700681314d
Add prisma script to remove env files 2023-11-28 11:14:31 -10:00
Jesse Wierzbinski 2c82cffb58
Add working Dockerfile 2023-11-26 19:30:57 -10:00