Commit Graph
100 Commits
Author SHA1 Message Date
Madeline b65fa86ac6 Oauth login now copies avatar 2022-07-08 00:59:09 +10:00
Madeline aa3c3abcab Merge branch 'fix/claim_accounts' into slowcord 2022-07-07 23:37:05 +10:00
Madeline e1ebfe79d2 Merge branch 'master' into fix/claim_accounts 2022-07-07 23:34:43 +10:00
Madeline 806ca5f269 Ensure password was given if email is given in PATCH @me 2022-07-07 23:30:47 +10:00
Madeline bba8ae54d7 Somehow the ID of demo user changed. Use email of demo instead 2022-07-07 23:25:46 +10:00
Madeline 096b98d22f Fix role icons not deleting? 2022-07-07 16:32:55 +10:00
Madeline b85b156b33 Merge branch 'feat/latestWebClient' into slowcord 2022-07-06 23:52:37 +10:00
Madeline e5dfaf2d54 Fix types for welcome screen 2022-07-06 23:52:25 +10:00
Madeline 172c08eae7 Merge branch 'feat/latestWebClient' into slowcord 2022-07-06 23:48:55 +10:00
Madeline cc1dd05858 Merge branch 'master' into slowcord 2022-07-05 14:35:58 +10:00
Madeline ffc3811b1f Start of Slowcord bot 2022-07-05 01:42:19 +10:00
Madeline 3877a404a1 Moved slowcord login server to own dir 2022-07-05 01:13:05 +10:00
Madeline 316efa02e8 Welcome screen 2022-07-04 19:45:28 +10:00
Madeline a97bc5182d Placeholder member verification endpoint 2022-07-04 19:33:47 +10:00
Madeline 7111e8b1a5 Merge branch 'fix/channelPermissionOverwriteSchema' into feat/latestWebClient 2022-07-03 21:03:49 +10:00
Madeline 9aaa59bcc3 Merge branch 'fix/channelPermissionOverwriteSchema' into feat/latestWebClient 2022-07-03 20:58:44 +10:00
Madeline edcc5948ff Add premium_progress_bar_enabled to GuildUpdateSchema 2022-07-03 20:56:57 +10:00
Madeline aa80bad127 Add Nitro Lite Monthly SKU 2022-07-03 20:56:44 +10:00
Madeline fef27927fe Bump client version 2022-07-03 20:56:25 +10:00
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 e42c706e0a Skip check for rate limit bypass if no user id is provided 2022-07-02 12:05:45 +03: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