Commit graph

924 commits

Author SHA1 Message Date
Jesse Wierzbinski 6ef3a854d9
feat(api): Allow animated media to be uploaded 2024-06-16 01:15:49 -10:00
Jesse Wierzbinski d33a61e713
fix(api): 🐛 Properly disable challenges when config option is set 2024-06-15 20:27:31 -10:00
Jesse Wierzbinski a0d56c044b
docs: 📝 Update some outdated documentation info 2024-06-14 00:02:33 -10:00
Jesse Wierzbinski 731fc9847c
fix(api): 🚚 Rename "id" to "hash" 2024-06-13 23:55:39 -10:00
Jesse Wierzbinski 2ec7e512e0
fix(api): 🐛 Fix local media endpoint not being correctly registered
Expected only a name, forgot about the file hash
2024-06-13 23:54:47 -10:00
Jesse Wierzbinski c764cc044d
fix: 🚑 Sleep process instead of exiting it on error
Avoids Docker's auto-restart policy from causing infinite reboots and hanging the system
2024-06-13 23:44:46 -10:00
Jesse Wierzbinski 7ba0eb82f1
docs: 📝 Add info about possible errors during installation 2024-06-13 23:42:24 -10:00
Jesse Wierzbinski afeffdbd13
fix(config): 🔥 Remove tos_url from example config (not used anymore) 2024-06-13 23:30:55 -10:00
Jesse Wierzbinski b7f8f6689e
fix(config): 🐛 Fix crashes with default config values 2024-06-13 23:29:41 -10:00
Jesse Wierzbinski edbe6e45b2
fix: 🐛 Fix incorrect docs, make exit code 0 instead of 1 2024-06-13 23:26:20 -10:00
Jesse Wierzbinski 641e712272
fix: 📝 Update docker-compose file 2024-06-13 23:11:01 -10:00
Jesse Wierzbinski 99f14ba114
feat(api): Automatically register user when connecting with OIDC profile not already existing 2024-06-13 23:05:04 -10:00
Jesse Wierzbinski 70a669a29c
docs(api): 📝 Document API parameter to change username 2024-06-13 22:19:15 -10:00
Jesse Wierzbinski cfa0ab4ac9
chore: ⬆️ Upgrade dependencies 2024-06-13 22:06:50 -10:00
Jesse Wierzbinski 279ccf078f
chore: 🚨 Disable linter cognitive complexity by default 2024-06-13 22:04:22 -10:00
Jesse Wierzbinski 8f9472b221
feat(api): Implement Challenges API 2024-06-13 22:03:51 -10:00
Jesse Wierzbinski 924ff9b2d4
refactor(api): 🚚 Change ApiRouteMetadata structure to be more consistent 2024-06-13 18:03:17 -10:00
Jesse Wierzbinski 00fd751c2a
fix(federation): 🐛 Fix mention URIs in Lysand Notes being empty string for local users 2024-06-13 11:53:41 -10:00
Jesse Wierzbinski 0359ba13c4
fix(api): 🛂 Don't automatically remove trailing slashes from OIDC issuer URLs 2024-06-13 11:33:07 -10:00
Jesse Wierzbinski c3271ba264
docs: 📝 More work on JSDoc 2024-06-12 22:52:03 -10:00
Jesse Wierzbinski 527137f279
chore: ⬆️ Upgrade dependencies 2024-06-12 20:39:53 -10:00
Jesse Wierzbinski 83275be536
refactor: ⚰️ Remove dead code and useless files 2024-06-12 20:34:17 -10:00
Jesse Wierzbinski 98f3ab23d8
refactor(api): 🎨 Simplify expressions 2024-06-12 20:20:49 -10:00
Jesse Wierzbinski 36d70fb612
refactor(api): 🎨 Simplify bait middleware 2024-06-12 19:38:57 -10:00
Jesse Wierzbinski d301d4da09
refactor(api): 🎨 Don't use node:crypto for random strings 2024-06-12 19:38:26 -10:00
Jesse Wierzbinski d8cb1d475b
refactor(api): 🎨 Refactor emojis into their own class 2024-06-12 18:52:01 -10:00
Jesse Wierzbinski c61f519a34
refactor(api): 🎨 Refactor complex functions into smaller ones 2024-06-12 18:16:59 -10:00
Jesse Wierzbinski a1e02d0d78
refactor: 🚨 Turn every linter rule on and fix issues (there were a LOT :3) 2024-06-12 16:26:43 -10:00
Jesse Wierzbinski 2e98859153
refactor(database): ♻️ Move Attachment into its own class 2024-06-12 15:03:57 -10:00
Jesse Wierzbinski 5565bf00de
refactor(database): 🎨 Improve database handlers to have more consistent naming and methods 2024-06-12 14:45:07 -10:00
Jesse Wierzbinski a6159b9d55
feat(api): Preliminary captcha support database tables 2024-06-12 13:48:58 -10:00
Jesse Wierzbinski 9d8c2e81e9
refactor(database): 🚚 Move drizzle migrations to their own folder 2024-06-12 13:10:40 -10:00
Jesse Wierzbinski b17b2be683
fix(api): 🔒 Properly proxy role icons through media proxy 2024-06-11 18:57:04 -10:00
Jesse Wierzbinski 3d1cc52d14
docs: ✏️ Fix typos in docs 2024-06-11 14:42:29 -10:00
Jesse Wierzbinski ddaaa38fce
chore: ⬆️ Update Bun to 1.1.13 2024-06-11 14:40:55 -10:00
Jesse Wierzbinski efe202ea27
feat(api): Add Lysand roles to user accounts 2024-06-11 14:29:59 -10:00
Jesse Wierzbinski 4f2c98390c
chore: 📦 Update dependencies 2024-06-11 13:43:33 -10:00
Jesse Wierzbinski c4da7e1484
fix(api): 🐛 Fix incorrect relationships being returned (small rewrite) 2024-06-11 13:42:36 -10:00
Jesse Wierzbinski 20d1a5f39e
feat(api): Add requested_by to relationships 2024-06-11 12:32:38 -10:00
Jesse Wierzbinski ffcf01e3cd
feat(api): Add TOS and Privacy Policy support 2024-06-11 09:55:40 -10:00
Jesse Wierzbinski e9e33432c2
fix: 🐛 Make sure reverse proxies don't tamper with URLs 2024-06-10 16:24:32 -10:00
Jesse Wierzbinski 9f262c12d6
fix: 🛂 Remove code parameter from redirect URI 2024-06-10 16:15:29 -10:00
Jesse Wierzbinski 876b0dcde8
fix: 🛂 Don't remove iss from current URL 2024-06-10 16:11:42 -10:00
Jesse Wierzbinski 5a7b3d0f25
fix: 🛂 Remove iss parameter from OIDC redirect URL 2024-06-10 16:08:57 -10:00
Jesse Wierzbinski 80c9b10c36
fix: 🛂 Remove uninitialized variable access 2024-06-10 16:04:47 -10:00
Jesse Wierzbinski f0c69cfb33
chore: 📦 Update packages 2024-06-10 16:00:52 -10:00
Jesse Wierzbinski b3bace4d53
fix(api): 🛂 Fix incorrect redirect URI passed to external OIDC providers, normalize issuer URL 2024-06-10 15:58:51 -10:00
Jesse Wierzbinski dae37d47a3
fix(api): Don't use markdown-it-anchor when rendering Markdown 2024-06-09 18:04:20 -10:00
Jesse Wierzbinski 8da4b07642
chore: 📦 Update packages 2024-06-09 16:16:21 -10:00
Jesse Wierzbinski d2f5aaf114
fix(api): 🐛 Add default role with default permissions in roles API 2024-06-09 16:14:36 -10:00