Commit graph

284 commits

Author SHA1 Message Date
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
Jesse Wierzbinski 8b442c241c
Work on federation 2023-11-26 15:40:44 -10:00
Jesse Wierzbinski 63b13ca5e8
Fix SIGSEGV bug!! 2023-11-26 11:54:20 -10:00
Jesse Wierzbinski 795fcd3694
Lay out groundwork for plugins 2023-11-21 20:13:09 -10:00
Jesse Wierzbinski 580958a181
Begin work on media attachments 2023-11-21 14:56:58 -10:00
Jesse Wierzbinski 5287ceb99e
Add CLI and CLI tests 2023-11-20 13:58:39 -10:00
Jesse Wierzbinski cadceeb792 Update ESLint version and add new dev dependency 2023-11-19 16:29:32 -10:00
Jesse Wierzbinski 1ed3fb474e Fix ESLint errors 2023-11-19 16:25:41 -10:00
Jesse Wierzbinski b241e33cf9 Add new scripts and update README.md 2023-11-19 16:05:07 -10:00
Jesse Wierzbinski dc0ec47543
Finish rewrite of everything with Prisma 2023-11-11 15:37:14 -10:00
Jesse Wierzbinski 5eed8374cd
HUGE rewrite to use Prisma instead of TypeORM (not finished yet) 2023-11-10 16:36:06 -10:00
Jesse Wierzbinski 77a675afe6
More work on converting to the Lysand protocol 2023-11-03 17:34:31 -10:00
Jesse Wierzbinski ec0544c5ba
Prettier console output 2023-10-22 14:32:17 -10:00
Jesse Wierzbinski 460b68c381
Media upload for avatars and banners, more work, fix tests 2023-10-19 09:53:59 -10:00
Jesse Wierzbinski 16cfd5d900
Add more cases for media backend 2023-10-17 14:57:47 -10:00
Jesse Wierzbinski f677737fdd Add sanitization to HTML 2023-10-16 12:03:29 -10:00
Jesse Wierzbinski ca7d325cb1 New API route format to make code cleaner 2023-10-15 17:51:29 -10:00
Jesse Wierzbinski 768d1858dc
Rename project to Lysand 2023-09-14 19:08:59 -10:00
Jesse Wierzbinski aa1ffe5b9b
Make package.json better 2023-09-14 15:47:53 -10:00
Jesse Wierzbinski 9822508248
Add better README 2023-09-14 15:42:56 -10:00
Jesse Wierzbinski 8162a5050c
guh 2023-09-14 15:22:27 -10:00
Jesse Wierzbinski e618996936
Add stricter ESLint rules 2023-09-12 14:29:13 -10:00
Jesse Wierzbinski fa3ed293f4
Implement actor endpoint 2023-09-12 10:53:30 -10:00
Jesse Wierzbinski c573052450
Implement WebFinger, rework TS 2023-09-12 10:48:10 -10:00
Jesse Wierzbinski 636f2ffff8
Fix ESLint 2023-09-10 17:46:20 -10:00
Jesse Wierzbinski 436a79d99f
Initial commit 2023-09-10 17:31:08 -10:00