32 Commits

Author SHA1 Message Date
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
Madeline
ac74a2cec4 Create webhooks 2022-12-19 19:31:23 +11:00
Madeline
444e815690 Remove bad banned words implementation 2022-12-17 18:45:42 +11:00
Madeline
5b849749d5 Fix message patching sending old message rather than updated one 2022-10-31 15:09:52 +11:00
Madeline
f5b50ed3a8 Move message auto mod to the api route instead of a @beforeinsert/update method 2022-10-25 10:58:36 +11:00
Madeline
ca9d09bb22 Check nonce in Message send 2022-10-05 01:30:37 +11:00
Madeline
835a5ab3a3 Fix fetching members for roles in POST message 2022-09-29 21:29:54 +10:00
Madeline
357ec51f1c Update read state on message create 2022-09-29 15:30:11 +10:00
Madeline
7818e8dd3c Missed some schemas 2022-09-28 16:39:05 +10:00
Madeline
99ee7e9400 Prettier 2022-09-26 22:41:21 +10:00
Madeline
849b257db7 Move schemas to /src/util/schemas 2022-09-26 22:08:14 +10:00
Madeline
f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00