61 Commits

Author SHA1 Message Date
TomatoCake
475aee372b Send 204 status 2024-08-15 10:14:44 +02:00
Cyber
cc63571d89 fix: make this a new route 2024-08-10 20:25:52 +02:00
Cyber
d9b4b569bd
Merge branch 'master' into fix/reaction-removing 2024-08-10 20:22:59 +02:00
TomatoCake
4ca79adcae Merge branch 'master' into feat/webhooks-3 2024-08-08 18:03:13 +02:00
Cyber
9ed53e228a fix: reaction removing 2024-07-30 18:56:57 +02:00
TomatoCake
81c44a0c77 Fix ?before messages fetch param 2024-07-28 21:40:06 +02:00
TomatoCake
481cf38373 Fix sort order when using ?around 2024-07-28 15:22:44 +10:00
TomatoCake
4b1e9ba851 Prettier 2024-07-18 15:36:00 +02:00
TomatoCake
adc3474216 Consistent relations, url property, src channel 2024-07-18 15:35:10 +02:00
TomatoCake
128b81bc6a Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/webhooks-3 2024-07-18 14:41:14 +02:00
TomatoCake
d3ece937e6 Make channel ID optional when replying 2024-07-17 20:34:09 +10:00
Madeline
4fb7ad9b37
Merge pull request #1137 from DEVTomatoCake/fix/cdn-proxy-path 2024-07-09 15:31:26 +10:00
TomatoCake
8358755eeb Increase minimum char count 2024-07-06 16:02:21 +02:00
TomatoCake
ba1ec9cab4 Fix msg attachment proxy_url when using paths 2024-07-06 15:57:56 +02:00
TomatoCake
c52d6c49a3 Add new message flags once again 2024-07-05 07:43:50 +02:00
TomatoCake
e116e93693 Add <Channel>.position to public endpoints 2024-07-04 09:41:23 +10:00
TomatoCake
aa412e0e60 Remove parent for childs on category deletion 2024-06-05 21:59:29 +02:00
Puyodead1
99d9bf563f
Start implementing webhooks 2023-12-10 17:02:27 -05:00
Rory&
583d9ff407 Fix reacting with custom emojis from same guild requiring USE_EXTERNAL_EMOJIS 2023-12-08 19:48:04 +00:00
Puyodead1
e54879e1fe
messageupdate: fix member not being correct format 2023-12-05 13:22:04 -05:00
Puyodead1
b7c4889c63
fix some message update fields being sent when null 2023-12-05 12:34:46 -05:00
Puyodead1
7cf8c68459
typingstart timestamp needs to be seconds 2023-12-05 11:10:12 -05:00
Madeline
add16ab26e
* allow limit=1
* fix GET messages?around order
2023-09-05 23:29:22 +10:00
Madeline
23e234a87b
update invites endpoints to support latest api 2023-08-12 00:43:00 +10:00
Madeline
6dc9dd5303
fix reversed check in GET messages 2023-08-07 20:31:36 +10:00
Madeline
496cfc8ea1
some abaddon compat 2023-07-31 21:00:03 +10:00
Madeline
4235dec54d
goof 2023-07-28 09:48:03 +10:00
Madeline
08f17f88e7
Fix regression of 5f22faa57b7104ba29a01889a1bafc35b3be4f02 2023-07-28 09:45:13 +10:00
Vincent Junge
e4a8517b93
fix get channel messages around parameter 2023-06-26 16:11:03 +02:00
Madeline
b438f2b071
Rewrite getRouteDescriptions, fix message route not appearing in openapi spec 2023-04-16 01:51:52 +10:00
Puyodead1
78d98f0244
spacebar 2023-04-13 15:48:27 -04:00
Puyodead1
866eb15d90
clusterfuck 2023-04-13 15:44:39 -04:00
Puyodead1
1ce7879ee8
oapi: users progress 2023-04-13 15:38:52 -04:00
Puyodead1
787de50140
backfill missing query params 2023-04-13 15:24:37 -04:00
Puyodead1
6b3a3b750f
fixing lots of openapi crap 2023-04-13 15:20:10 -04:00
Puyodead1
4a7811a25c
channels 2023-04-13 15:04:56 -04:00
Madeline
2d50adf151
Add missing route middleware to messages route 2023-04-12 11:45:51 +10:00
Madeline
ab07ad692c
send public member in message_reaction_add eventt 2023-04-11 13:47:26 +10:00
Rainb0w :3
88031fd0b7
Update reactions.ts 2023-04-10 20:26:00 -06:00
Rainb0w :3
2c067969a0
properly track reactions 2023-04-08 22:07:23 -06:00
Madeline
095cbf7b20
Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline
8b2faf0b18
SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline
64e747a4d2
SPACEBAR 2023-03-31 02:05:02 +11:00
Madeline
16a5cbac87 Don't allow message types to be edited 2023-02-03 14:39:42 +11:00
Madeline
6e04c92f07 Merge pull request from GHSA-9qvc-84ch-5p2x
* Check permissions and rights

* Prevent editing message type unless MANAGE_MESSAGES right. Also don't send sensitive data in patch response.
2023-02-02 22:26:22 +11:00
Madeline
084dc0be08 Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
Madeline
0e7f127ece Script to add license preamble to each file. Also, does that. (#935)
* Add script to automatically add license to each file

* Add license preamble to each file.

* Fix existing preamble detection breaking due to line endings. Git :(

* Prevent license from being added to code with other licenses
2023-01-18 13:05:49 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
92227cdf18 Set default cdn endpoints so that local testing works 2022-12-21 15:37:16 +11:00
TheArcaneBrony
bdda215005 Message rate limiting 2022-12-19 22:17:06 +11:00