Commit Graph
58 Commits
Author SHA1 Message Date
Rory& 6f031dbc93 WORKAROUND: Ignore client-requested file extension for role icons 2023-12-08 20:50:20 +00:00
Rory& 583d9ff407 Fix reacting with custom emojis from same guild requiring USE_EXTERNAL_EMOJIS 2023-12-08 19:48:04 +00:00
TheArcaneBrony 16f13616d2 Remove channel mentions from messages, in order to fix them in test client.
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-02-20 05:09:57 +01:00
TheArcaneBrony 352ad14e9a Rename postgresql to postgres -> fix silently failing migrations
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-31 23:33:07 +01:00
TheArcaneBrony 6b466ab654 Hotfix postgres connection string to not silently fail migrations 2023-01-31 23:27:19 +01:00
TheArcaneBrony c99deeb69b Fix missing capitalisation in database connected log 2023-01-31 23:15:10 +01:00
TheArcaneBrony 1b6bc94afc Add a tiny bit of extra logging to database connection 2023-01-31 23:13:23 +01:00
TheArcaneBrony 1d27e61029 Fix some default value
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-14 23:34:33 +01:00
TheArcaneBrony 754d8dbf64 Add basic info in ping
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-14 19:55:19 +01:00
TheArcaneBrony 1c4e6e6c91 Fix missed moveCursor call
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-13 13:12:12 +01:00
TheArcaneBrony aa8a6d6248 Fix console fuckery to allow running in a headless terminal, and to fix flickering of output.
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-13 13:09:09 +01:00
TheArcaneBronyandMadeline 6122374e4d 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
TheArcaneBrony bdda215005 Message rate limiting 2022-12-19 22:17:06 +11:00
TheArcaneBrony 3227933f28 Add register ratelimit 2022-12-19 20:57:43 +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 0ab0a6ff16 Replace deprecated property 2022-12-19 19:32:39 +11:00
TheArcaneBrony 803ab38fad Move UserSettings to own entity 2022-12-19 17:52:44 +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
TheArcaneBrony 655ea00ff4 Make fosscord read config from json if CONFIG_PATH is set 2022-12-19 00:01:33 +11:00
TheArcaneBrony 5e4bbc2e83 Do the funny thing (make user->invite cascade delet) 2022-12-18 23:58:17 +11:00
TheArcaneBrony 39f4aa6b70 Make teams nullable 2022-12-18 23:48:17 +11:00
TheArcaneBrony 974cae0332 Remove some old test logs that expose info to console 2022-12-18 22:26:06 +11:00
TheArcaneBrony 7d7567a1a0 Remove todo line that has been implemented. 2022-12-18 22:24:11 +11:00
TheArcaneBrony c160218fd2 Merge pull request #734 from MaddyUnderStars/fix/sanitisation
Fix users arbitrarily editing their own User object, and disallow sending messages to certain channels ( eg categories )
2022-04-22 18:12:18 +02:00
TheArcaneBrony 63d9baa186 Try catch cpu log 2022-04-19 01:43:46 +02:00
TheArcaneBrony 1cc159348a Use 1 thread on platform where fetching thread/core count fails 2022-04-19 00:57:58 +02:00
TheArcaneBrony 713b6d07b4 Add dummy endpoints to prevent client loading some settings panels indefinitely 2022-01-24 16:33:29 +03:00
TheArcaneBrony db0392d688 Speed up setup by not installing optional packages (#605)
Only downside is no db engines are included by default, removing compile time for packages like sqlite3.
2022-01-24 15:25:00 +03:00
TheArcaneBronyandErkin Alp Güney 4f6a1a8e12 Add erlpack warning (#587)
* Add warning if erlpack is missing

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-01-13 23:02:09 +03:00
TheArcaneBrony 69ad3f9f0f Fix game statusses
Timestamps isn't an array.
2021-12-31 19:39:54 +01:00
The Arcane Brony 07768ecb68 Add env name in sentry, set default sentry endpoint 2021-12-26 18:19:31 +01:00
The Arcane Brony 579515f67c Restore package locks 2021-12-26 16:41:22 +01:00
The Arcane Brony e042db33b6 Replace nanocolors with picocolors 2021-12-25 12:09:48 +01:00
The Arcane Brony a9a92ff2cb Add Sentry, fix compile errors 2021-12-22 18:43:39 +01:00
The Arcane Brony a12c372f04 Improve build scripts, strip more fs-extras 2021-12-21 21:49:58 +01:00
The Arcane Brony 02235067f9 Repo cleanup, remove fs-extras 2021-12-21 11:56:33 +01:00
The Arcane Brony 74d6290f33 Add user.css 2021-11-14 16:30:12 +01:00
The Arcane Brony 8146eb082e Fix dependencies 2021-11-11 22:32:46 +01:00
The Arcane Brony ce1e10620c Inline plugin support 2021-11-11 22:26:49 +01:00
The Arcane Brony 062fe07695 Fix autoregister, add inline plugins 2021-11-11 22:25:46 +01:00
The Arcane Brony ac8588f20f Attempt to fix auto register 2021-11-11 22:25:46 +01:00
The Arcane Brony 2941181430 Global prettierrc, format build.js 2021-11-11 22:24:44 +01:00
The Arcane Brony d57cd783ac Add plugin & css support, add styling to differentiate from discord.com 2021-11-11 22:24:03 +01:00
The Arcane Brony 496d7d2780 Put local types back 2021-10-10 21:30:46 +02:00
The Arcane Brony d7fa45771d Change enums to numbers 2021-10-10 20:34:45 +02:00
The Arcane Brony d38953439c forgot to fix primary columns on invites 2021-10-10 18:12:51 +02:00
The Arcane Brony c9e827b3e9 Fix duplicate key 2021-10-10 17:55:48 +02:00
The Arcane Brony 7db9086dd0 Compiler test 2021-10-06 18:20:22 +02:00
The Arcane Brony c99360be2a Add subscription plans so the client doesn't crash 2021-10-03 23:17:34 +02:00
The Arcane Brony 4901233d0f Merge branch 'master' of https://github.com/TheArcaneBrony/fosscord-server 2021-10-01 22:44:58 +02:00
The Arcane Brony 2cd210cb7c Add default value to guild discovery" 2021-10-01 22:43:58 +02:00
TheArcaneBrony 7768d09984 Merge branch 'fosscord:master' into master 2021-10-01 22:12:43 +02:00
The Arcane Brony 40f7e7b7d4 Add setting to show all guilds in discovery, fix query for guild discovery 2021-10-01 22:11:56 +02:00
The Arcane Brony 157f29536a Fix environment variable name to work on non-Windows platforms 2021-09-18 21:03:23 +02:00
The Arcane Brony 0d41e18065 Add response code white/blacklisting 2021-09-18 20:43:00 +02:00
The Arcane Brony 0d3562de76 Add request logging (with env var: log-requests)
Request logging is enabled when the log-request environment variable is set.
2021-09-18 18:13:15 +02:00
The Arcane Brony 55ae0d6ae9 Add /users/@me/connections 2021-09-18 16:11:03 +02:00