Commit Graph
100 Commits
Author SHA1 Message Date
Madeline 7555a496b4 Merge branch 'feat/offlineMembers' into slowcord 2022-07-03 16:07:08 +10:00
Madeline e085b365be Better implementation of offline member group in lazy request 2022-07-03 16:03:57 +10:00
Madeline e5b0e10cc7 Send offline member group in LazyRequest 2022-07-03 15:48:13 +10:00
Madeline c9a33ce173 Handle offline members group in LazyRequest 2022-07-03 15:39:00 +10:00
Madeline 13a399cb59 Use 1:1 dms instead of group dms 2022-07-03 15:01:51 +10:00
Madeline 117d431685 Disable compact mode 2022-07-03 14:59:19 +10:00
Madeline fcf879980d Merge branch 'fix/nicknames' into slowcord 2022-07-03 01:51:23 +10:00
Madeline 28510f23bd Revert "Perhaps a better nickname change implementation"
This reverts commit b3ec0ccba3.
2022-07-03 01:51:02 +10:00
Madeline 209e5c33df Merge branch 'fix/nicknames' into slowcord 2022-07-03 01:47:57 +10:00
Madeline b3ec0ccba3 Perhaps a better nickname change implementation 2022-07-03 01:47:43 +10:00
Madeline 0ee023b2bd Whoops, syntax error 2022-07-03 01:40:01 +10:00
Madeline a340e1a25d Merge branch 'fix/nicknames' into slowcord 2022-07-03 01:37:04 +10:00
Madeline effd158319 Allow nicknames through MemberChangeSchema 2022-07-03 01:36:18 +10:00
Madeline e6ffc7c13c Merge branch 'fix/nicknames' into slowcord 2022-07-03 01:35:11 +10:00
Madeline 02e55d22ad Allow nicknames through MemberChangeSchema 2022-07-03 01:33:18 +10:00
Madeline 79b7b025d4 Mass invite perm 2022-07-03 01:04:12 +10:00
Madeline 5737720589 Add consent to register 2022-07-03 00:13:47 +10:00
Madeline 6e333f9696 Prevent demo user from editing their profile 2022-07-03 00:02:01 +10:00
Madeline 5edbdb8998 Revert RateLimit.ts 2022-07-02 23:48:52 +10:00
Madeline b95cfbee19 type longtext does not support length 2022-07-02 22:59:50 +10:00
Madeline bc253efb50 Slowcord custom register page 2022-07-02 22:59:02 +10:00
Madeline bcf9207089 Attempt to fix messages being deleted 2022-07-02 22:57:24 +10:00
Madeline c1fab4043a set message max length manually 2022-07-02 22:09:16 +10:00
Madeline bbc615150c show how long a user was timed out for in logs 2022-07-02 22:01:52 +10:00
Madeline 39fe1dc184 Apparently headers are always lower case, nice 2022-07-02 21:58:52 +10:00
Madeline 284d8b72ab Remove whitelist for discord oauth login, add rate limit 2022-07-02 21:46:11 +10:00
Madeline 60ef362251 Merge branch 'fix/channelPermissionOverwriteSchema' into slowcord 2022-07-02 20:43:18 +10:00
Madeline ef1ce8d340 Filter out schemas that block generation instead, and also include util in files 2022-07-02 20:41:40 +10:00
Madeline fc255ca89a Merge branch 'fix/channelPermissionOverwriteSchema' into slowcord 2022-07-02 19:29:15 +10:00
Madeline 14aa1e7913 Typescript-json-schema does not crawl extends 2022-07-02 19:28:35 +10:00
Madeline bb9317d811 Update oauth url 2022-07-02 19:10:14 +10:00
Madeline 15f701d539 Merge branch 'fix/rate_limits' into slowcord 2022-07-02 18:57:21 +10:00
Madeline 9f783ec96e Skip check for rate limit bypass if no user id is provided 2022-07-02 18:55:18 +10:00
Madeline ae6e346cb3 Update default rights 2022-07-02 18:37:20 +10:00
Madeline 845d932e83 ( bad ) lil error message on failed login 2022-06-27 16:40:40 +10:00
Madeline 83ed84c4de removed build dir 2022-06-27 16:40:19 +10:00
Madeline 792f3c53d4 update readme 2022-06-27 16:18:14 +10:00
Madeline ce41dd741d alright signed cookies aren't worth it, nice 2022-06-27 16:13:40 +10:00
Madeline 2d73c53ddf clearing cookies is weird? 2022-06-27 16:12:55 +10:00
Madeline 6e1eb28078 the cookie name is being a bitch? 2022-06-27 16:09:38 +10:00
Madeline 3ac4953a0b Token in localStorage must be JSON 2022-06-27 16:04:17 +10:00
Madeline 6ead04def1 who tf calls the start script run? npm run run, bruh 2022-06-27 16:01:38 +10:00
Madeline 0cadc8611f Forgot an await 2022-06-27 16:00:28 +10:00
Madeline 212301c62c Styling, login whitelists 2022-06-27 15:50:47 +10:00
Madeline 48d286d44d Merge branch 'master' into slowcord 2022-06-27 15:09:30 +10:00
Madeline 01f5850b37 Merge pull request #776 from MaddyUnderStars/fix/member_id
Fix compile errors in latest
2022-06-26 23:35:31 +10:00
Madeline 446ff62bfe Fix compile errors in latest 2022-06-26 23:33:51 +10:00
Madeline d138b2b842 Start of custom login and discord oauth flow 2022-06-26 23:14:10 +10:00
Madeline ee7431f0fa Merge branch 'master' into slowcord 2022-06-26 20:51:39 +10:00
Madeline 53fe9706c4 Merge branch 'feat/pingInformation' into slowcord 2022-06-08 17:01:47 +10:00
Madeline 7a991f3f3c Expose general instance information via api /ping route 2022-06-08 16:58:27 +10:00
Madeline 3ea721b4ba Merge remote-tracking branch 'origin/fix/claim_accounts' into slowcord 2022-05-31 20:03:41 +10:00
Madeline eb00351d87 Merge branch 'feat/defaultRights' into slowcord 2022-05-31 20:01:25 +10:00
Madeline 035a8ead46 Merge branch 'master' into slowcord 2022-05-31 20:01:16 +10:00
Madeline bbcb7b684d Added a configurable default rights value 2022-05-31 17:30:21 +10:00
Madeline f420cfd36c Respect register_dateOfBirth_required = false 2022-05-30 23:29:35 +10:00
Madeline 2e84840213 While backfilling, message ids must now be valid snowflakes, cannot be in the future, and cannot overwrite existing messages 2022-04-24 16:09:38 +10:00
Madeline 3183a3f1f5 Merge branch 'fix/categoryNames' into slowcord 2022-04-24 15:14:13 +10:00
Madeline 903fee9a16 Categories skip most of the ALLOW_INVALID_CHANNEL_NAMES checks on discord.com ( they also trim whitespace ) 2022-04-24 15:09:45 +10:00
Madeline 6e0040a8ca Fix not assigning new changes to input fields in users/@me 2022-04-23 01:48:41 +10:00
Madeline 2a32a481d2 Merge branch 'fix/sanitisation' into slowcord 2022-04-23 01:47:51 +10:00
Madeline 2846e970b4 Can no longer send messages to channel types that do not support it ( categories, voice etc ) 2022-04-23 01:28:03 +10:00
Madeline 7e7a2d3619 Fixed ability for user to edit any property of themselves, including rights, flags. Note to self: schemas.json is a GENERATED file. npm run generate:schema in api/ 2022-04-23 01:07:59 +10:00
Madeline dc2c104b25 Merge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into slowcord 2022-04-19 20:10:03 +10:00
Madeline b941560d48 Merge branch 'master' into slowcord 2022-04-19 20:09:22 +10:00
Madeline 12aed1db1f Fix compile errors in checkPassword's entropy check 2022-04-10 17:39:23 +03:00
Madeline 4304b77987 Merge branch 'master' into fix/claim_accounts 2022-04-11 00:26:33 +10:00
Madeline ba6c4bd4f2 Merge branch 'master' into slowcord 2022-04-10 22:05:07 +10:00
Madeline 9f2e9d5faf Resolves #715 2022-04-09 17:03:31 +03:00
Madeline ecf59d30c5 User Notes (#707)
* Notes implementation.
Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT?

* I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page

* Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
2022-04-05 12:58:34 +03:00
Madeline 54ffd87e8e Fix typo in table 'client_relase' -> 'client_release' ( and other of the same typo ) (#703)
* Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo.

* Fixed migration ( but dirty lol )
2022-03-30 17:21:40 +03:00
Madeline 73e48a3b2b fixed migration? 2022-03-31 00:30:15 +11:00
Madeline 91ca2efb7c Merge branch 'fix/relase_typo' into slowcord 2022-03-31 00:06:20 +11:00
Madeline 6972dac560 Merge branch 'master' into slowcord 2022-03-31 00:06:13 +11:00
Madeline c188e23cf6 Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo. 2022-03-31 00:01:21 +11:00
Madeline b455f4a181 Merge branch 'maddyrtc' into slowcord 2022-03-12 13:10:05 +11:00
Madeline 6ffe277f2f Merge branch 'master' into slowcord 2022-03-12 13:07:16 +11:00
Madeline 4059a00044 Changing Member.premium_since back from Date to number fixes an error in the Discord electron client related to rendering premium status. (#669)
Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
2022-03-08 18:10:23 +03:00
Madeline f5f007e81f Added preferred_region optional property of VoiceStateUpdateSchema to allow electron client to connect to voice without crashing 2022-03-08 21:57:20 +11:00
Madeline 3b439f74f1 Merge branch 'fix/electron_premium_since' into maddyrtc 2022-03-08 21:46:51 +11:00
Madeline c79d464186 Changing Member.premium_since back from Date to number fixes an error in the Discord electron client related to rendering premium status.
Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
2022-03-08 21:22:02 +11:00
Madeline e731a369e5 VOICE CONNECTS!!! Dtls stuck on "connecting" state + currently no way to edit/inspect packets received or use own packet format in mediasoup ( fork? ) 2022-03-07 22:57:37 +11:00
Madeline b529a37264 augh 2022-03-07 19:15:33 +11:00
Madeline ce9d7339d3 Merge branch 'master' into maddyrtc 2022-03-06 22:09:36 +11:00
Madeline 24ecf9133f Merge branch 'master' into slowcord 2022-03-06 18:59:14 +11:00
Madeline 4ede702657 Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2 2022-03-06 10:52:19 +03:00
MadelineandErkin Alp Güney 68f6fe58d5 Tsnode support (#580)
* ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet.

* apparently ts-node compilerOptions.path wasn't needed? on windows I could've sworn it was.

* Cleaned up tsconfig.json a bit ( moved tsnode config to own file ).
Fixed breakpoints for all modules under tsnode

* Removed Microsoft Corp advert
* Remove one more Microsoft Corp. ad

Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com>

* Added `tsnode` npm script

* Added `typescript-cached-transpile` package to help improve performance

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-03-06 09:18:35 +03:00
Madeline 44aa39515b Merge branch 'master' into slowcord 2022-03-06 15:34:42 +11:00
Madeline d2cae7a181 Merge branch 'fosscord:master' into slowcord 2022-02-19 11:48:21 +11:00
Madeline 416bdc56ee updated readme 2022-02-18 11:06:33 +11:00
Madeline 93e3f069b5 Merge branch 'fix/claim_accounts' into slowcord 2022-02-18 10:47:53 +11:00
Madeline face67392f Merge branch 'master' into slowcord 2022-02-18 10:47:18 +11:00
Madeline f4dbca6150 Added email sanitisation to /users/@me PATCH. Could previously have email as any string 2022-02-17 20:57:42 +11:00
Madeline dbbe0037d0 Fixed bug in /users/@me PATCH where username must be present in every request, breaking account claiming 2022-02-17 20:32:47 +11:00
Madeline d3f9fb63f3 Merge branch 'master' into maddyrtc 2022-02-17 18:57:04 +11:00
Madeline d491bcd8be Discord.js gateway connection when connecting to voice will close 4002 decode error due to not sending self_video field. temp solution: remove it from server.
this commit will probably be reverted later; I'm just trying to see if a proper ( not self signed ) SSL cert on slowcord.maddy.k.vu will fix this SSL error I'm receiving.
2022-02-17 18:54:16 +11:00
Madeline 204fe2aed1 Merge branch 'master' into maddyrtc 2022-02-13 22:29:14 +11:00
Madeline 7ccdccdcb3 added a absolutely terrible background image and name text to login/register page 2022-02-11 22:45:19 +11:00
Madeline 84b8173f80 Merge branch 'master' into slowcord 2022-02-11 22:03:21 +11:00
Madeline 204f39daaa Merge branch 'tsnode' into slowcord 2022-02-04 20:08:13 +11:00