Commit graph

171 commits

Author SHA1 Message Date
Jesse Wierzbinski fbc0c2c586
chore: 📦 Replace bun-types with @types/bun 2024-05-28 13:58:38 -10:00
Jesse Wierzbinski a87a474a62
chore: 📦 Update Bun to 1.1.10 2024-05-28 13:50:38 -10:00
Jesse Wierzbinski 75043bae15
feat(federation): Log signed string to debug as well 2024-05-23 19:46:22 -10:00
Jesse Wierzbinski fd59d9ebae
chore: 📦 Update all packages 2024-05-23 19:05:26 -10:00
Jesse Wierzbinski 14851fa93e
chore: 📦 Update all packages to their latest version 2024-05-21 15:33:36 -10:00
Jesse Wierzbinski a603b602e6
fix(federation): 🐛 Fix multiple incorrect outputs in federation routes 2024-05-17 07:39:59 -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 119f9ea97b
fix(build): 💚 Update Lockfile 2024-05-15 17:29:46 -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 093337dd4f
refactor(federation): 🔥 Remove old types and federation code 2024-05-14 14:38:30 -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 77cab0962d
chore: 📦 Update all packages to latest version 2024-05-11 15:36:47 -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 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 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 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 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 972bd4f4a2
chore(build): 📦 Update Bun and packages 2024-05-04 19:19:07 -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 035d90c763
chore: 📦 Update packages and Bun version 2024-05-01 18:59:39 -10:00
Jesse Wierzbinski 48f2fa1b94
chore: 📦 Update dependencies and Bun 2024-04-27 21:38:42 -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 9804180123
fix(api): 🐛 Fix /api/v1/instance wrong SQL query causing 500s 2024-04-17 15:55:53 -10:00
Jesse Wierzbinski a37e8e92c5
feat(api): Implement filters API v2 (with some routes missing) 2024-04-17 13:47:03 -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 9081036c6d
refactor(database): 🎨 Refactor note handling into its own class instead of separate functions 2024-04-16 18:09:21 -10:00
Jesse Wierzbinski ff6a91f916
feat(frontend): Allow usage of glitch-soc as frontend (alpha) 2024-04-15 00:46:19 -10:00
Jesse Wierzbinski a7969f6ebd
refactor(frontend): 🔥 Move frontend out of this repository, allow any frontend to be used
Adds a new configuration option to put your frontend's URL
2024-04-14 15:35:56 -10:00
Jesse Wierzbinski 0b1c1ba128
Switch all routes to use Zod for strict validation 2024-04-14 00:36:25 -10:00
Jesse Wierzbinski 53fa9ca545
Code cleanup, refresh lockfile 2024-04-13 22:16:03 -10:00
Jesse Wierzbinski 327a716b12
Add new ServerHandler package which handles requests 2024-04-13 21:51:00 -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 a65249b79d
Remove Prisma once and for all 2024-04-13 14:46:33 -10:00
Jesse Wierzbinski 0469187876
Begin work on sending emails 2024-04-11 11:50:05 -10:00
Jesse Wierzbinski f7abe06a60
Begin moving project to use Drizzle instead of prisma 2024-04-11 01:39:07 -10:00
Jesse Wierzbinski a58c81c8e9
Implement federation of statuses 2024-04-09 16:05:02 -10:00
Jesse Wierzbinski 6d0a8a6478
Add Lysand types as package 2024-04-09 04:16:09 -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 39a365e15a
Work on prettier UI and more errors 2024-04-08 20:51:52 -10:00
Jesse Wierzbinski db37510370
Add interface to view post and user JSON data 2024-04-08 18:33:59 -10:00
Jesse Wierzbinski 958ede4074
Update lockfile 2024-04-08 13:27:07 -10:00
Jesse Wierzbinski 41d8ed4eea
Put old Sharp version back 2024-04-07 18:41:15 -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 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 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 1c295b4d8d
chore: Update Lockfile 2023-12-08 17:34:02 -10:00
Jesse Wierzbinski 1138e7be06
feat: Use custom importer to import config 2023-12-08 17:32:45 -10:00
Jesse Wierzbinski ecf1139081
feat: Improve build system to reduce Docker image to 312 MB 2023-12-08 13:00:47 -10:00
Jesse Wierzbinski df47fa4750
feat: Add working building and bundling system 2023-12-07 22:25:31 -10:00
Jesse Wierzbinski 5e42784d6d
Update lockfile and Dockerfile 2023-12-07 07:42:11 -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 43d9be5440
Update Lockfile 2023-12-02 20:57:55 -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 d7398e1f5f
chore: Update Lockfile 2023-12-01 13:04:29 -10:00
Jesse Wierzbinski a17b52b2c5
feat: Add new Redis caching to queries 2023-12-01 13:00:00 -10:00
Jesse Wierzbinski 15ef1851fc
Update lockfile 2023-11-29 16:45:58 -10:00
Jesse Wierzbinski 91838e7aec
Add new CLI command: Search 2023-11-29 08:46:34 -10:00
Jesse Wierzbinski d110e42ad8
Update packages 2023-11-28 12:04:18 -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