Commit Graph
88 Commits
Author SHA1 Message Date
Erkin Alp Güney 122abacf17 Backfilling privilege does not imply right to post messages 2022-04-24 09:23:52 +03:00
Madeline 2e84840213 While backfilling, message ids must now be valid snowflakes, cannot be in the future, and cannot overwrite existing messages 2022-04-24 16:09:38 +10:00
Erkin Alp Güney ccf4386d70 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2022-04-23 10:57:49 +03:00
Erkin Alp Güney b81017bc60 backfilling — first steps 2022-04-23 10:56:47 +03:00
Madeline 2846e970b4 Can no longer send messages to channel types that do not support it ( categories, voice etc ) 2022-04-23 01:28:03 +10:00
Erkin Alp Güney e7461aba3c Merge branch 'master' of https://github.com/fosscord/fosscord-server 2022-04-18 21:22:51 +03:00
Erkin Alp Güney e10f203c0b get single message && message rights enforcement 2022-04-18 21:21:40 +03:00
Erkin Alp Güney d58f567723 Unified ghost instead of separate ghosts 2022-04-18 19:17:43 +03:00
Erkin Alp Güney e2b27a8d2c reactions rights enforcement 2022-04-17 21:15:58 +03:00
binsky 969c99173a fix invite right enforcement 2022-04-09 08:30:29 +03:00
Erkin Alp Güney 4c3eec0b1a correct right name 2022-04-08 17:30:55 +03:00
Erkin Alp Güney a8c57a878d invite right enforced 2022-04-08 11:34:01 +03:00
Erkin Alp Güney 6482b112c4 fix the build mistakes from yesternight 2022-04-08 10:26:20 +03:00
Erkin Alp Güney a8bd754d0c Update index.ts 2022-04-08 00:00:22 +03:00
ImAaronFR 385bdfdff4 [Fix] Client bug (#623)
If you don't delete this property for some reasons after you send a message in a guild, your roles will be removed (client sided) for everyone, this fixes it.
2022-02-09 09:22:27 +03:00
Madeline b512fa49b0 Remove nulled properties from GET /channels/#id/messages for improved compatibility with some client ( discord.js ) 2022-02-04 19:59:13 +11:00
TheArcaneBrony 713b6d07b4 Add dummy endpoints to prevent client loading some settings panels indefinitely 2022-01-24 16:33:29 +03:00
Madeline d6f5a08cb5 Add unhandled channel types to IsTextChannel method 2022-01-23 23:29:14 +03:00
MadelineandErkin Alp Güney e275d2c77d Message fixes | Character limits and embed fixes (#581)
* Adds message character limits (#503)
* Fixed message `embeds` being ignored for `embed`
* Update Message.ts

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-01-11 17:27:55 +03:00
The Arcane Brony a9a92ff2cb Add Sentry, fix compile errors 2021-12-22 18:43:39 +01:00
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 ChromeandTheArcaneBrony 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