Commit graph

687 commits

Author SHA1 Message Date
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 a1fc86761d
build(cli): 🐛 Add package.json into build to make oclif happy 2024-05-08 00:35:00 +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 6b17b91235
fix(build): 🐛 Modify CLI to properly bundle 2024-05-08 00:24:21 +00:00
Jesse Wierzbinski 0d278e4fa9
build(build): 🎨 Edit build script to look nicer and build CLI 2024-05-08 00:10:42 +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 68f16f9101
ci(build): 🔒 Add SBOM and provenance data to all automatic Docker builds 2024-05-07 23:49:47 +00:00
Jesse Wierzbinski a621ff7271
fix(build): 🐛 Fix a bug preventing building caused by an old build command being used in Dockerfile 2024-05-07 23:42:38 +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 592f7c0ac2
docs: 📝 Update docker-compose to make Lysand default to the latest tag 2024-05-06 19:23:32 +00:00
Jesse Wierzbinski af354a5fb8
docs: 📝 Update README to talk about Markdown support in Lysand 2024-05-06 19:20:41 +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 2f578de01a
docs: 📝 Update docs 2024-05-06 18:26:56 +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 ad4466a260
fix(api): 🐛 Fix proxy returning incorrect media due to compression 2024-05-06 17:50:50 +00:00
Jesse Wierzbinski 8557867ad8
fix(api): 🐛 Fix incorrect proxy behaviour 2024-05-06 17:31:12 +00:00
Jesse Wierzbinski afda1f1211
fix(api): 🐛 Fix incorrect boolean/string comparisons in status creation endpoint 2024-05-06 09:20:23 +00:00
Jesse Wierzbinski 2779b76f44
fix(api): 🐛 Fix various data encoding bugs 2024-05-06 09:14:43 +00:00
Jesse Wierzbinski de4381e151
fix(api): 🐛 Respond to OPTIONS requests with empty CORS response 2024-05-06 08:54:57 +00:00
Jesse Wierzbinski e6749d9b72
fix(api): 🔥 Correctly coerce limit to an int in account statuses endpoint 2024-05-06 08:47:26 +00:00
Jesse Wierzbinski 31ef6865d8
refactor: 🧑‍💻 Add cloc to devcontainer 2024-05-06 08:46:22 +00:00
Jesse Wierzbinski e249b61969
fix(api): 🐛 Add jsonOrForm to /oauth/token 2024-05-06 08:42:58 +00:00
Jesse Wierzbinski ddab167018
fix(api): 🐛 Fix incorrect OAuth changes 2024-05-06 08:40:26 +00:00
Jesse Wierzbinski d5076590c6
fix(api): 🐛 Fix incorrect providers being returned by oauth providers endpoint 2024-05-06 08:36:00 +00:00
Jesse Wierzbinski 516bfb72e7
fix(build): 🐛 Add bodyOrJson middleware to server/api/v1/apps 2024-05-06 08:31:12 +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 2237be3689
chore: 📝 Update README and License 2024-05-05 11:35:27 -10:00
Jesse Wierzbinski f006efbfb2
fix(api): 🔥 Remove pleroma attribute on users 2024-05-05 10:55:40 -10:00
Jesse Wierzbinski 5f785c391d
refactor(api): 🎨 Switch to base64url for proxy url encoding instead of plaintext 2024-05-04 21:02:25 -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 550e8977cf
fix(api): 🐛 Fix media proxy having incorrect headers 2024-05-04 19:17:57 -10:00
Jesse Wierzbinski ead34b818f
feat(api): 🔒 Make all media be proxied through an internal proxy 2024-05-04 19:13:23 -10:00
Jesse Wierzbinski 9547cd097a
fix(api): 🐛 Disable custom security headers on frontends 2024-05-05 02:30:29 +00:00
Jesse Wierzbinski d73ff674a1
feat: 🧑‍💻 Add Devcontainers support 2024-05-05 02:30:10 +00: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 c251853194
fix(build): 🐛 fuck youuu JSDom 2024-05-02 14:39:33 -10:00
Jesse Wierzbinski 4058ddc08e
fix(build): 🐛 Move JSDom to be external 2024-05-02 14:33:35 -10:00
Jesse Wierzbinski d884c8cff2
fix(build): 🐛 fuck you JSDom 2024-05-02 14:25:20 -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 a339b7fa94
fix(frontend): 🐛 Add unsafe-inline to CSP for frontend 2024-05-02 14:05:14 -10:00
Jesse Wierzbinski 74b9083551
fix(api): 🚑 Fix incorrect Content-Security-Policy on frontend 2024-05-02 13:57:36 -10:00