28 Commits

Author SHA1 Message Date
Puyodead1
34cde14f75 config: require account verification 2023-02-23 22:40:05 -05:00
Puyodead1
bf55ebc81f Add mailjet transport 2023-02-23 22:38:02 -05:00
Puyodead1
4383fcd449 Add Mailgun transport 2023-02-23 22:35:07 -05:00
Puyodead1
01103268c3 rename SMTPConfigurations to EmailConfiguration 2023-02-23 21:35:54 -05:00
Puyodead1
cc6bf066b1 add missing copyright headers 2023-02-23 21:35:50 -05:00
Puyodead1
ed6c1cbd15 Start implementing smtp 2023-02-23 21:35:49 -05:00
Madeline
9aa31d24ab remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default rights 2023-02-03 16:26:50 +11:00
Madeline
af6b5a6594 Merge pull request from GHSA-r7h4-76f7-6264
* Actually use maxUsername config value.

* Change maxUsername default to discord.com default
2023-02-02 22:15:03 +11:00
Madeline
1dcaa9f5f9 Don't set default cdn endpoints. Null endpoints means to not update them in GLOBAL_ENV. TODO: Don't use private endpoint locations in global env if public is not set, as this limits infra config 2023-01-26 01:10:05 +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
Chris Chrome
fbac5c7cd7 Merge pull request #952 from fosscord/dev/endpoints-in-ping
Merge /dev/endpoints-in-ping to master
2023-01-18 12:14:05 -07: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
TheArcaneBrony
754d8dbf64 Add basic info in ping
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-14 19:55:19 +01:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
7a725bab50 Profile themes and pronouns 2022-12-31 17:51:57 +11:00
Madeline
ec1c340369 Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_hideOfflineMember 2022-12-22 21:01:29 +11:00
Madeline
9b8f26c512 Fix redirect when test client disabled 2022-12-22 12:13:13 +11:00
Madeline
92b1c5b800 Disable test client by default 2022-12-21 19:52:08 +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
ddd3c86043 Registration tokens 2022-12-19 22:04:52 +11:00
TheArcaneBrony
3227933f28 Add register ratelimit 2022-12-19 20:57:43 +11:00
Erkin Alp Güney
8eff4de19d flags related rights and stats api 2022-12-19 20:49:38 +11:00
TheArcaneBrony
5e289fea77 Configurable MFA backup token length 2022-12-19 19:52:23 +11:00
TheArcaneBrony
da2fe81a8b case insensitive header for rate limits, fix rate limit default settings
Also disabled rate limit bypass right as it doesn't work...
2022-12-19 19:51:14 +11:00
TheArcaneBrony
803ab38fad Move UserSettings to own entity 2022-12-19 17:52:44 +11:00
Madeline
d407d8ebe7 Add additional config 2022-12-19 16:51:24 +11:00
TheArcaneBrony
bc669ea9e1 Make ConfigValue a directory, move defaults to those classes instead of a separate object 2022-12-19 16:14:21 +11:00