Commit Graph
100 Commits
Author SHA1 Message Date
Flam3rboy cc33e87a14 ✨ add option to disable all rate limits 2021-09-20 23:35:32 +02:00
Flam3rboy 8d611abe45 🐛 fix errror handler 2021-09-20 23:35:04 +02:00
Flam3rboy 912d1c31d8 🎨 rewrite imports 2021-09-20 23:34:54 +02:00
Flam3rboy 16a3d1b334 Merge branch 'master' into unittests 2021-09-20 21:49:42 +02:00
Flam3rboy 5b3ac6dadb 🐛 fix relationships 2021-09-20 21:34:33 +02:00
Flam3rboy fe34c5da87 Merge pull request #382 from fosscord/auto-delete-relations
Auto delete relations
2021-09-20 21:27:08 +02:00
Flam3rboy 62f9b35185 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy e463a7cc4f Merge pull request #386 from ChrisChrome/master
Delete messages before deleting channel
2021-09-20 18:34:13 +02:00
Flam3rboy 2d183f4c45 Update index.ts 2021-09-20 18:33:33 +02:00
Flam3rboy 0247df3e42 ✨ finish and fix .delete() for one-to-many relations 2021-09-20 18:02:57 +02:00
Flam3rboy 4637e9909a Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-20 17:38:18 +02:00
Flam3rboy dd9ec0c6a0 ✨ accept invite page 2021-09-20 17:38:16 +02:00
Flam3rboy 6c0a69d95b ⬆️ update test client 2021-09-20 17:15:47 +02:00
Flam3rboy ce09e01c21 🚧 auto delete relations 2021-09-20 17:11:22 +02:00
Flam3rboy 1633d9a9fe Update README.md 2021-09-19 22:15:30 +02:00
Flam3rboy 3c8b0f43c4 Merge branch 'master' into auto-delete-relations 2021-09-19 19:09:13 +02:00
Flam3rboy b862780990 🚚 move file handle to utility 2021-09-19 19:05:26 +02:00
Flam3rboy e6839719a6 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-19 18:59:54 +02:00
Flam3rboy 705206ec1b 🎨 add orphanedRowAction and cascade onDelete to entities 2021-09-19 18:47:38 +02:00
Flam3rboy 994406e5ce 🎨 remove deleteMessageAttachments and move to entity 2021-09-19 18:46:22 +02:00
Flam3rboy c220f27894 🐛 fix bundle debug 2021-09-19 18:45:09 +02:00
Flam3rboy c50648ddcc 🚚 move handleFile to cdn 2021-09-19 18:44:49 +02:00
Flam3rboy 75e948b62b 🎨 user is verified by default 2021-09-19 18:43:25 +02:00
Flam3rboy 3fcbbdc731 Merge pull request #377 from TheArcaneBrony/request-logging
Fix environment variable name to work on non-Windows platforms
2021-09-18 21:05:29 +02:00
Flam3rboy fa9f512c90 Merge pull request #375 from TheArcaneBrony/request-logging
Add request logging (with env var: log-requests)
2021-09-18 20:45:30 +02:00
Flam3rboy 03afedc627 Merge pull request #369 from AlTech98/fix-dm 2021-09-18 19:20:28 +02:00
Flam3rboy dab7544261 Merge pull request #374 from TheArcaneBrony/dummy-connections-endpoint
Add /users/@me/connections
2021-09-18 16:24:47 +02:00
Flam3rboy e628c92a44 Update connections.ts 2021-09-18 16:24:42 +02:00
Flam3rboy a3484e64e4 ✨ route middleware test option 2021-09-18 11:56:06 +02:00
Flam3rboy a7bf295591 ✨ jest automatic tests 2021-09-18 01:50:29 +02:00
Flam3rboy 1e331b7c9d 🎨 use typescript plugin that converts to relative paths 2021-09-18 01:50:20 +02:00
Flam3rboy 69550e535e ✨ generate test responses 2021-09-18 01:49:36 +02:00
Flam3rboy 54412a3364 📝 add default route description to all routes 2021-09-18 01:49:17 +02:00
Flam3rboy 181afe7e09 🐛 fix guild create icon 2021-09-18 00:19:53 +02:00
Flam3rboy 859fdd679b 🐛 fix body parse treating null not as undefined (except for icons/avatars) 2021-09-17 23:42:40 +02:00
Flam3rboy 5fa02e6b10 Update ChannelService.ts 2021-09-17 10:57:24 +02:00
Flam3rboy 4003fef534 🐛 fix vanity url 2021-09-16 22:03:30 +02:00
Flam3rboy b446a3110b ⬆️ update package 2021-09-16 20:55:50 +02:00
Flam3rboy 60ee234891 Revert "fix #128"
This reverts commit 8893fd16d9.
2021-09-16 20:49:17 +02:00
Flam3rboy 173f03c596 Revert "fix #129"
This reverts commit 8f862f0e5d.
2021-09-16 20:49:12 +02:00
Flam3rboy d2d7dd0561 Revert "🚧 webhook"
This reverts commit df2b83ac15.
2021-09-16 20:49:07 +02:00
Flam3rboy 94ee8fc386 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-16 20:46:24 +02:00
Flam3rboy bd9cc4c537 ⬆️ fix + update dependencies 2021-09-16 20:46:22 +02:00
Flam3rboy 706bc40602 Merge pull request #366 from erkinalp/patch-2 2021-09-14 22:52:08 +02:00
Flam3rboy df2b83ac15 🚧 webhook 2021-09-14 22:15:55 +02:00
Flam3rboy 8f862f0e5d fix #129 2021-09-14 21:16:15 +02:00
Flam3rboy 8893fd16d9 fix #128 2021-09-14 21:16:04 +02:00
Flam3rboy 37533e28fd Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-14 13:18:32 +02:00
Flam3rboy 8418498a97 Merge pull request #360 from AlTech98/invite
Invite fixes
2021-09-14 13:13:50 +02:00
Flam3rboy f6f56d0dbe Merge pull request #359 from Thesourtimes/master
add store endpoints
2021-09-14 13:08:02 +02:00
Flam3rboy 12fbba82ba Merge pull request #358 from AlTech98/fix-356
Fix #356
2021-09-13 19:28:17 +02:00
Flam3rboy a93c102044 Merge pull request #357 from AlTech98/user-update
Emit USER_UPDATE
2021-09-13 19:12:39 +02:00
Flam3rboy 68eae50a63 Update index.ts 2021-09-13 19:12:19 +02:00
Flam3rboy a00c87d8ba Merge pull request #355 from AlTech98/attachments
Attachments fixes
2021-09-13 17:59:21 +02:00
Flam3rboy 8568b3cdce 🐛 fix fosscord.js 2021-09-13 17:51:37 +02:00
Flam3rboy dcc3ae6a14 🎨 remove unused imports 2021-09-13 17:51:16 +02:00
Flam3rboy 9b4457424d 🐛 fix In() query 2021-09-13 12:22:59 +02:00
Flam3rboy 9e3bc94e9d 🐛 fix relationship 2021-09-13 12:22:41 +02:00
Flam3rboy 4f1b926d09 🐛 fix dm #321 2021-09-13 01:11:03 +02:00
Flam3rboy 6b21e107dd 🐛 fix channel events + message send 2021-09-13 00:17:56 +02:00
Flam3rboy e32bb24fa8 🐛 fix invites: ajv doesn't treat null as undefined 2021-09-13 00:00:11 +02:00
Flam3rboy 33533fc183 Merge branch 'typescript-interface-body-parser+autogenerate-unit-tests+documentation' 2021-09-12 23:32:55 +02:00
Flam3rboy 6ba9c834bd ✨ #307 done 2021-09-12 23:28:56 +02:00
Flam3rboy e2c66a1fe5 🚧 ✨ new body parser (bans route) 2021-09-12 21:21:08 +02:00
Flam3rboy 0a0a61565e 🐛 fix gateway 2021-09-12 21:20:47 +02:00
Flam3rboy 60535f5159 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
Flam3rboy aeb3ef5543 Merge pull request #353 from AlTech98/dummy-routes
Add dummy missing routes
2021-09-12 19:40:15 +02:00
Flam3rboy 7eea37d184 Merge pull request #348 from AlTech98/fix-cdn-upload
Increased CDN max upload to 10mb, fix #318
2021-09-12 15:32:58 +02:00
Flam3rboy 6f55e88ab7 Merge pull request #347 from AlTech98/fixrelationships
Fix relationships get query
2021-09-12 15:32:43 +02:00
Flam3rboy cb617981fa Merge pull request #343 from Stilic/patch-1 2021-09-08 13:36:14 +02:00
Flam3rboy 2d26241a82 Update User.ts 2021-09-07 22:54:31 +02:00
Flam3rboy 5fa3820d54 Merge pull request #338 from CyberL1/master
Add token authorization method to swagger openapi
2021-09-04 23:27:41 +02:00
Flam3rboy 0bf59ee28a ⬆️ update test client 2021-09-04 17:59:29 +02:00
Flam3rboy 56d9fa3334 🐛 fix release 2021-09-04 17:39:03 +02:00
Flam3rboy 8a50e2a2c9 🐛 fix release 2021-09-04 14:07:58 +02:00
Flam3rboy bfdd9c10d8 Merge pull request #320 from AlTech98/master
Added /guilds/:id/voice-states/ apis, VOICE_SERVER_UPDATE fix
2021-09-04 12:18:49 +02:00
Flam3rboy eea12afe0b 📝 added comments and updated type 2021-09-04 12:17:26 +02:00
Flam3rboy 673d6dee6e 🐛 fix ReadyEventData 2021-09-04 11:38:19 +02:00
Flam3rboy bb76b07f6d 🐛 fix patch-package 2021-09-04 11:32:11 +02:00
Flam3rboy e9a8885282 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +02:00
Flam3rboy cc9f43fb63 🐛 api member add roles -> make sure that roles exist 2021-09-04 11:26:25 +02:00
Flam3rboy 82341300fc 🐛 fix ready members payload 2021-09-04 11:25:40 +02:00
Flam3rboy 4de2140058 🐛 fix invites 2021-09-04 11:25:10 +02:00
Flam3rboy 8d69c9a871 🐛 fix permissions if user is only member of guild 2021-09-04 11:24:31 +02:00
Flam3rboy 85ef7410b2 ⬆️ update mpath because of a security vulnerability 2021-09-04 11:23:39 +02:00
Flam3rboy 0ef9af4a68 🐛 fix error handler and asset router 2021-09-04 11:23:12 +02:00
Flam3rboy ff4246204e Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-03 20:01:42 +02:00
Flam3rboy 4aa58b9256 Merge pull request #314 from AlTech98/master
Fix VoiceStateUpdate
2021-09-03 15:57:44 +02:00
Flam3rboy c45e1b0f10 🐛 only delete session id for authenticated connections 2021-09-03 15:57:29 +02:00
Flam3rboy 0be8c804b4 ⚡ improve invite generation 2021-09-03 15:48:24 +02:00
Flam3rboy b86f99c4a5 ⚡ improve invite generation 2021-09-03 15:48:09 +02:00
Flam3rboy d5fcb7f971 🐛 fix #311 2021-09-03 15:27:00 +02:00
Flam3rboy a446837679 🐛 fix member roles + list 2021-09-03 13:23:20 +02:00
Flam3rboy f83f4416b8 🐛 fix member has no roles in guild create 2021-09-03 13:10:24 +02:00
Flam3rboy ea4201c6f7 🐛 fix client connection crash on guild create 2021-09-03 12:53:25 +02:00
Flam3rboy d3179098bb fix #310 2021-09-03 05:17:49 +02:00
Flam3rboy 0c1fe5b068 ⚡ simplify permissions query 2021-09-03 05:04:13 +02:00
Flam3rboy 5dfff74881 🐛 fix#310 2021-09-03 05:03:46 +02:00
Flam3rboy e2ea701920 ✨ guild position update 2021-09-03 05:03:11 +02:00
Flam3rboy ba4e363279 🙈 add database.db to .gitignore 2021-09-03 04:05:28 +02:00