68 Commits

Author SHA1 Message Date
developomp
99f6da9762 prettier formatted /api 2021-10-20 09:13:22 +09:00
Flam3rboy
2a85285e63 🐛 fix bulk delete 2021-10-18 22:55:36 +02:00
Flam3rboy
d504cdf0ee message performance 2021-10-18 18:34:48 +02:00
Samuel
508fbce94e fix default cdn endpoint for message attachments 2021-10-18 11:02:08 +02:00
Flam3rboy
78778c8eee 🐛 fix typing 2021-10-17 01:53:29 +02:00
Flam3rboy
f272a11230 🐛 fix message sending 2021-10-15 18:55:26 +02:00
Flam3rboy
e1b991dfd1 Merge branch 'master' into sticker 2021-10-15 13:32:26 +02:00
Flam3rboy
85592a980e speed up message query 2021-10-15 00:35:01 +02:00
Flam3rboy
d8f77c687e 🐛 fix message sticker sending 2021-10-15 00:03:05 +02:00
Maddy
d3853a3d7a added route /guilds/:id/prune GET count and POST prune.
Edited Member entity to include last_message_id to avoid searching for every members last message when pruning
When a message is sent through /channels/:id/messages last_message_id of sending Member is updated.
2021-10-13 19:19:46 +11:00
Flam3rboy
a61cbbe40c 🐛 convert bigint literal to object 2021-10-10 11:08:55 +02:00
Flam3rboy
dc85a79498 🎨 clean up imports + classes 2021-10-10 11:03:32 +02:00
Flam3rboy
d6bc17a8c7 added read state 2021-10-09 17:33:28 +02:00
Flam3rboy
d5cdc9198c 🎨 cdn now also works without setting a public endpoint 2021-10-09 14:46:59 +02:00
Flam3rboy
83332fab42 🐛 fix typing 2021-10-09 14:00:28 +02:00
Flam3rboy
41a193dff0 🎨 fix imports with new build script 2021-10-09 01:45:02 +02:00
Flam3rboy
2f7182ca3d 🐛 fix message reactions 2021-10-03 22:53:01 +02:00
uurgothat
d23f4bbe98 hotfix for misc routes 2021-09-30 18:57:53 +03:00
uurgothat
d4a216ab2e Add misc routes 2021-09-30 17:57:51 +03:00
Flam3rboy
81923a0729 🐛 fix channel permission overwrites 2021-09-26 11:34:06 +02:00
Flam3rboy
1c49d82400 🐛 message attachment url 2021-09-25 23:54:52 +02:00
Flam3rboy
2a094c603a generate openapi documentation 2021-09-21 22:52:30 +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
2d183f4c45 Update index.ts 2021-09-20 18:33:33 +02:00
Chris Chrome
a4811d86ce oRdEr Of OpErAtIoNs 2021-09-20 12:16:17 -04:00
Chris Chrome
013a4b8bc8 Fix one thing, another problem pops up
Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2021-09-20 11:29:37 -04:00
Flam3rboy
ce09e01c21 🚧 auto delete relations 2021-09-20 17:11:22 +02:00
Chris Chrome
12a151eb2d 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
3c8b0f43c4 Merge branch 'master' into auto-delete-relations 2021-09-19 19:09:13 +02:00
Flam3rboy
e6839719a6 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-19 18:59:54 +02:00
Flam3rboy
994406e5ce 🎨 remove deleteMessageAttachments and move to entity 2021-09-19 18:46:22 +02:00
Flam3rboy
c50648ddcc 🚚 move handleFile to cdn 2021-09-19 18:44:49 +02:00
AlTech98
ada95b6c39 Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
AlTech98
5d6fa7697a Merge branch 'fosscord:master' into fix-dm 2021-09-18 08:03:52 +02:00
Flam3rboy
859fdd679b 🐛 fix body parse treating null not as undefined (except for icons/avatars) 2021-09-17 23:42:40 +02:00
AlTech98
50ab5e7d49 Fix icon, owner_id change and channel deletion for group DMs 2021-09-17 18:29:02 +02:00
AlTech98
d630f09f80 Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
Flam3rboy
60ee234891 Revert "fix #128"
This reverts commit 8893fd16d90ad599538ccb62f8f77711aa891bbd.
2021-09-16 20:49:17 +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
AlTech98
8f68c4abcf Fix invites creation 2021-09-14 09:38:21 +02:00
Flam3rboy
dcc3ae6a14 🎨 remove unused imports 2021-09-13 17:51:16 +02:00
AlTech98
aa1f1a22a4 Delete attachments of deleted messages, fix #273 2021-09-13 17:32:31 +02:00
Flam3rboy
4f1b926d09 🐛 fix dm #321 2021-09-13 01:11:03 +02:00
Flam3rboy
e32bb24fa8 🐛 fix invites: ajv doesn't treat null as undefined 2021-09-13 00:00:11 +02:00
Flam3rboy
6ba9c834bd #307 done 2021-09-12 23:28:56 +02:00
Flam3rboy
60535f5159 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
AlTech98
a3c8ab163a Added missing permissions and channel types 2021-09-04 11:43:09 +02:00
Flam3rboy
e9a8885282 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +02:00
Flam3rboy
4de2140058 🐛 fix invites 2021-09-04 11:25:10 +02:00