Madeline
b58cea7c41
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
c0b12bc166
Fix deleting an application if it has a bot
2023-01-17 00:01:14 +11:00
Erkin Alp Güney
27dbeba821
Add /users/:id/delete ( #926 )
2023-01-14 19:15:35 +11:00
Madeline
a5bc0529ed
Fix guild delete failing when template exists
2023-01-13 22:38:55 +11:00
Madeline
68886cc932
Fix setting user premium_type/etc (non-nullable) to null in db when null in config
2023-01-13 13:44:58 +11:00
TheArcaneBrony
1e1ba96a3c
Dev/post refactor fixes ( #927 )
...
* Re-introduce outgoing message logging
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Websocket dumping
* Sentry user count on API
* Generate session ID upon opening websocket, fix gateway dumps
* Async file io in src/gateway/events/Message.ts
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Async file io in src/util/util/Config.ts
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Make pre-commit hook executable
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Fixed sync file io in src/util/util/Config.ts
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Fixed missing await call in src/util/util/AutoUpdate.ts
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Add comment to src/gateway/events/Connection.ts
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
* Clean up gateway dumping code
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com >
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com >
2023-01-12 23:46:36 +11:00
Madeline
91598123c9
fix rights lol
2023-01-11 20:56:11 +11:00
Madeline
ba52570b44
If defaults_user_premium is false, don't give a user premium_since: new Date
2023-01-11 16:32:16 +11:00
Madeline
efa4411f18
Add sentry close to sigterm handler
2023-01-10 18:31:36 +11:00
Madeline
6755f1392d
Move sentry init to util. use sentry in each module, not just bundle
2023-01-10 13:20:37 +11:00
Madeline
a3f2f997a3
Prettier
2023-01-05 17:16:55 +11:00
Madeline
f67375bf37
Add migrations ( #923 )
...
* Fix typeorm migration cli and server migrations.
* Add `migrate-from-staging` script
2023-01-05 17:04:15 +11:00
Madeline
0fe03771ce
Profile themes and pronouns
2022-12-31 17:51:57 +11:00
Madeline
4b518774b1
Allow Bearer tokens through, like Bot
2022-12-31 14:52:58 +11:00
Madeline
c25a2e5c5b
Move datasource to own file for typeorm cli
2022-12-27 15:23:56 +11:00
Madeline
91010235b9
OAuth2 authorize bot flow
2022-12-24 18:55:14 +11:00
Madeline
ac8ac9ada0
Fix creating bot accounts
2022-12-24 16:28:00 +11:00
Madeline
19ad9479cc
Use config for some default guild properties
2022-12-24 13:47:38 +11:00
Madeline
18c6d11fc1
Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_hideOfflineMember
2022-12-22 21:01:29 +11:00
Madeline
4591de5805
Allow BitField's to be passed as number strings. Pretty sure it fixes #722
2022-12-22 18:53:21 +11:00
Madeline
b47b6de102
Fix redirect when test client disabled
2022-12-22 12:13:13 +11:00
Madeline
22fb62673a
Disable test client by default
2022-12-21 19:52:08 +11:00
Madeline
b9f171d940
Merge branch 'maddy/refactor' of github.com:fosscord/fosscord-server into maddy/refactor
2022-12-21 16:10:26 +11:00
Madeline
30e65415e4
Set default cdn endpoints so that local testing works
2022-12-21 15:37:16 +11:00
Puyodead1
280a584aed
Client: update to canary 165341
2022-12-20 23:25:20 -05:00
Madeline
77bc92f6f2
Fix guild features being undefined if not using defaultFeatures
2022-12-21 14:55:23 +11:00
TheArcaneBrony
47b999efec
Message rate limiting
2022-12-19 22:17:06 +11:00
Madeline
9e36eff11d
Registration tokens
2022-12-19 22:04:52 +11:00
TheArcaneBrony
565e7885dc
Add register ratelimit
2022-12-19 20:57:43 +11:00
Madeline
39382bad65
comments
2022-12-19 20:50:36 +11:00
Erkin Alp Güney
3844d8a40b
flags related rights and stats api
2022-12-19 20:49:38 +11:00
Madeline
bee07a3104
Fix config loading
2022-12-19 20:39:43 +11:00
Puyodead1
2f70be7f83
implement guild profiles and fix user profiles
2022-12-19 20:37:59 +11:00
TheArcaneBrony
91c803c4d1
Configurable MFA backup token length
2022-12-19 19:52:23 +11:00
TheArcaneBrony
9fc4d4bd5e
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
Madeline
3c7efd6503
Create webhooks
2022-12-19 19:31:23 +11:00
Madeline
b67ded04ef
Don't override existing config values
2022-12-19 18:35:36 +11:00
TheArcaneBrony
20359e7b9f
Move UserSettings to own entity
2022-12-19 17:52:44 +11:00
Madeline
518fc966c9
Add additional config
2022-12-19 16:51:24 +11:00
TheArcaneBrony
fefcb31135
Make ConfigValue a directory, move defaults to those classes instead of a separate object
2022-12-19 16:14:21 +11:00
Erkin Alp Güney
127aa3a68d
removed char joiners as they are actually useful, added page break
2022-12-19 16:01:30 +11:00
Erkin Alp Güney
08e9f80e9a
make it configurable by guild feature flag
2022-12-19 15:59:58 +11:00
TheArcaneBrony
8a2d1547f5
Make fosscord read config from json if CONFIG_PATH is set
2022-12-19 00:01:33 +11:00
TheArcaneBrony
743035279f
Do the funny thing (make user->invite cascade delet)
2022-12-18 23:58:17 +11:00
ChrisChrome
e9bc95173b
Made nitro stuff make some sense
2022-12-18 23:54:48 +11:00
TheArcaneBrony
30d0c1bd21
Make teams nullable
2022-12-18 23:48:17 +11:00
Madeline
970e67fe65
Refactor applications
2022-12-18 23:45:29 +11:00
ChrisChrome
1cadcda249
Add basic developer panel functionality - doesn't work yet
...
>
>
> Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com >
2022-12-18 22:40:25 +11:00
Madeline
fe50800613
Move to migrations. Use npm run generate:db for first database generation.
2022-12-18 22:14:12 +11:00
Puyodead1
ff2043e07e
fix: not being able to enable community
2022-12-18 16:31:03 +11:00