Commit Graph

179 Commits

Author SHA1 Message Date
Chris Chrome 494f69eeb4 Delete messages before deleting channel
Might need some testing, but seems pretty solid for one line of code lol
2021-09-20 08:58:06 -04:00
Flam3rboy 0272056c5c Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-19 18:59:54 +02:00
Flam3rboy f8b1d93e3f 🚚 move handleFile to cdn 2021-09-19 18:44:49 +02:00
Flam3rboy a87ea83a78 🎨 user is verified by default 2021-09-19 18:43:25 +02:00
The Arcane Brony 74e3a093a7 Fix environment variable name to work on non-Windows platforms 2021-09-18 21:03:23 +02:00
Flam3rboy 3269f62d62 Merge pull request #375 from TheArcaneBrony/request-logging
Add request logging (with env var: log-requests)
2021-09-18 20:45:30 +02:00
The Arcane Brony 76211281ab Add response code white/blacklisting 2021-09-18 20:43:00 +02:00
AlTech98 44e7282699 Merge branch 'fosscord:master' into fix-dm 2021-09-18 18:37:06 +02:00
AlTech98 ceb770fb5b Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
The Arcane Brony c3fca1c02f Add request logging (with env var: log-requests)
Request logging is enabled when the log-request environment variable is set.
2021-09-18 18:13:15 +02:00
Flam3rboy d36970e1e7 Update connections.ts 2021-09-18 16:24:42 +02:00
The Arcane Brony a00c5030b3 Add /users/@me/connections 2021-09-18 16:11:03 +02:00
AlTech98 2580f6b891 Merge branch 'fosscord:master' into fix-dm 2021-09-18 08:03:52 +02:00
Flam3rboy 24896d0c23 🐛 fix guild create icon 2021-09-18 00:19:53 +02:00
Flam3rboy c20f4b4ef5 🐛 fix body parse treating null not as undefined (except for icons/avatars) 2021-09-17 23:42:40 +02:00
AlTech98 6123f359b0 Fix icon, owner_id change and channel deletion for group DMs 2021-09-17 18:29:02 +02:00
AlTech98 987f765a28 Merge branch 'fosscord:master' into fix-dm 2021-09-17 18:13:02 +02:00
AlTech98 7cbb45f979 Fix GET /users/@me/channels 2021-09-17 13:59:21 +02:00
Flam3rboy dbcd6ec6f9 🐛 fix vanity url 2021-09-16 22:03:30 +02:00
AlTech98 4f87fd742f Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
AlTech98 e65e45d01d Dummy sticker-packs routes 2021-09-16 21:31:39 +02:00
Flam3rboy e575c42644 ⬆️ update package 2021-09-16 20:55:50 +02:00
Flam3rboy 55051d6cab Revert "fix #128"
This reverts commit a359375b77.
2021-09-16 20:49:17 +02:00
Flam3rboy bc89d40d09 Revert "fix #129"
This reverts commit ae140801c5.
2021-09-16 20:49:12 +02:00
Flam3rboy 1cd4b81917 Revert "🚧 webhook"
This reverts commit f691aa4c5a.
2021-09-16 20:49:07 +02:00
Flam3rboy fe8d9ca740 ⬆️ fix + update dependencies 2021-09-16 20:46:22 +02:00
Flam3rboy f691aa4c5a 🚧 webhook 2021-09-14 22:15:55 +02:00
Flam3rboy ae140801c5 fix #129 2021-09-14 21:16:15 +02:00
Flam3rboy a359375b77 fix #128 2021-09-14 21:16:04 +02:00
Flam3rboy 6c11224f69 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-14 13:18:32 +02:00
Flam3rboy a8943553f9 Merge pull request #360 from AlTech98/invite
Invite fixes
2021-09-14 13:13:50 +02:00
AlTech98 b5f2111d20 Emit INVITE_DELETE 2021-09-14 09:38:52 +02:00
AlTech98 c32bdf7526 Fix invites creation 2021-09-14 09:38:21 +02:00
uurgothat 662c78aae1 add store endpoints 2021-09-13 21:22:14 +03:00
AlTech98 5589c26b94 Fix #356 2021-09-13 19:25:44 +02:00
Flam3rboy ad5ec039af Update index.ts 2021-09-13 19:12:19 +02:00
AlTech98 5c13d6f1ef Emit USER_UPDATE, fix #214 2021-09-13 19:09:01 +02:00
Flam3rboy 324eb7f1dd 🐛 fix fosscord.js 2021-09-13 17:51:37 +02:00
Flam3rboy 0ddca07df0 🎨 remove unused imports 2021-09-13 17:51:16 +02:00
AlTech98 b438a21b9c Delete attachments of deleted messages, fix #273 2021-09-13 17:32:31 +02:00
Flam3rboy 9429c5c09a 🐛 fix In() query 2021-09-13 12:22:59 +02:00
Flam3rboy dbbed7cbba 🐛 fix relationship 2021-09-13 12:22:41 +02:00
Flam3rboy 07ba78d391 🐛 fix dm #321 2021-09-13 01:11:03 +02:00
Flam3rboy 9c3d9df05b 🐛 fix invites: ajv doesn't treat null as undefined 2021-09-13 00:00:11 +02:00
Flam3rboy f93bd1fd67 Merge branch 'typescript-interface-body-parser+autogenerate-unit-tests+documentation' 2021-09-12 23:32:55 +02:00
Flam3rboy 0b5534bc41 #307 done 2021-09-12 23:28:56 +02:00
Flam3rboy bffeb4af0d 🚧 new body parser (bans route) 2021-09-12 21:21:08 +02:00
Flam3rboy d50073fc41 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
AlTech98 f8932097b4 Add dummy missing routes 2021-09-12 19:27:29 +02:00
AlTech98 82235d10b7 Fix relationships get query 2021-09-09 18:32:36 +02:00