48 Commits

Author SHA1 Message Date
Madeline
e42c706e0a Skip check for rate limit bypass if no user id is provided 2022-07-02 12:05:45 +03:00
Erkin Alp Güney
f09daaa3de needs to be async 2022-04-28 21:38:39 +03:00
Erkin Alp Güney
2e451d8fd0 exempt users logic
resolves #396
2022-04-28 21:30:41 +03:00
Erkin Alp Güney
9bd5fce30c eventually fix those errors 2022-04-24 23:07:25 +03:00
Erkin Alp Güney
aacf99d82a Update RateLimit.ts 2022-04-24 23:04:55 +03:00
Erkin Alp Güney
ea1f188cce Update RateLimit.ts 2022-04-24 21:49:04 +03:00
Erkin Alp Güney
8769bb2868 fix the seconds rounding logic 2022-04-24 17:35:09 +03:00
Erkin Alp Güney
037bd43d16 Punitive rate limiting 2022-04-24 14:57:26 +03:00
Erkin Alp Güney
d0fea6be4b added the maintenance listing endpoint 2022-04-07 23:15:41 +03:00
Thesourtimes
442879e80a General work on API 2021-12-18 19:17:04 +03:00
Thesourtimes
98860e2eae Minor API work 2021-12-05 21:53:58 +03:00
Thesourtimes
7681ea6d8e Fix the minor issues on route 2021-11-18 22:15:05 +03:00
uurgothat
54ebf97e78 Add instance route 2021-11-17 22:28:22 +03:00
Flam3rboy
bbd6b0085e 🎨 exclude healthz/readyz from auth 2021-10-15 00:46:09 +02:00
Flam3rboy
214d6b821c 🎨 move field error to util 2021-10-05 19:34:13 +02:00
afeuerstein
e86935f2bf fix request failiure with error code 400 2021-10-03 20:06:03 +02:00
Flam3rboy
7268779dc3 add `right` option to route() 2021-10-03 01:55:57 +02:00
Flam3rboy
cc33e87a14 add option to disable all rate limits 2021-09-20 23:35:32 +02:00
Flam3rboy
8d611abe45 🐛 fix errror handler 2021-09-20 23:35:04 +02:00
Flam3rboy
d2d7dd0561 Revert "🚧 webhook"
This reverts commit df2b83ac158be1e7233d8edce59033c15c193599.
2021-09-16 20:49:07 +02:00
Flam3rboy
df2b83ac15 🚧 webhook 2021-09-14 22:15:55 +02:00
Flam3rboy
60535f5159 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
xnacly
419b0bbc80 Revert "added big todo list to Guild.ts (big chungus)"
This reverts commit 0f58995182e438e0655071c3f1b7ea66e31cb779.
2021-09-03 21:36:19 +02:00
xnacly
0f58995182 added big todo list to Guild.ts (big chungus) 2021-09-03 21:33:44 +02:00
xnacly
7db26b5952 moved Constants and Errorhandler from api to util 2021-09-03 21:29:17 +02:00
xnacly
787b830a09 fixed 'undefined not found' + error not showing in client 2021-09-03 20:00:19 +02:00
Flam3rboy
11b2176773 🐛 fix message sending 2021-09-03 04:04:34 +02:00
Flam3rboy
f654635d6a Merge branch 'typeorm' into typeorm 2021-08-31 18:10:36 +02:00
Flam3rboy
cc8c5359ce 🐛 db query fixes 2021-08-31 17:58:47 +02:00
AlTech98
7baa2fbe52 Created list of all possible api errors and made them throwable in routes code 2021-08-31 17:56:38 +02:00
Flam3rboy
e508282a55 typeorm error handler 2021-08-31 17:54:57 +02:00
xnacly
382fc62f5a fixed translation path to display correct error msg 2021-08-30 13:44:52 +02:00
Flam3rboy
eb6efd14c1 only local rate limit to prevent to much pressure on the database 2021-08-30 12:14:32 +02:00
Flam3rboy
bee6f71298 🐛 convert bigint -> string 2021-08-29 17:12:46 +02:00
Flam3rboy
7674149085 fix rate limit 2021-08-29 16:58:23 +02:00
Flam3rboy
e99008a1a5 typeorm api rewrite done 2021-08-29 00:03:40 +02:00
Flam3rboy
0ecc5d8c0e 🚧 api 2021-08-27 11:10:42 +02:00
Flam3rboy
cee7908def Merge branch 'master' into typeorm 2021-08-24 17:36:37 +02:00
Flam3rboy
a567551c8a 🚧 api 2021-08-24 16:35:04 +02:00
Lukas Does Dev
0c20d2dc15 Fix content security policy policy 2021-08-21 22:30:42 +03:00
Flam3rboy
d8b01058b3 🎨 clean up 2021-08-17 22:42:16 +02:00
Flam3rboy
65157aac9c 🔊 verbose error handler 2021-08-17 20:37:13 +02:00
Flam3rboy
cf00c4787d delete finished todos 2021-08-16 17:42:17 +02:00
Flam3rboy
45f89d4531 update auth middleware 2021-08-16 15:07:09 +02:00
Flam3rboy
8a197bbeaa update Rate Limit with new event transmission 2021-08-16 15:06:31 +02:00
Flam3rboy
213b5811c4 🐛 fix api middleware 2021-08-13 20:53:50 +02:00
Flam3rboy
90d5307a56 rename @fosscord/server-util to -> @fosscord/util 2021-08-13 12:59:59 +02:00
Flam3rboy
524b5df723 api 2021-08-12 20:09:35 +02:00