summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* don't allow editing @everyone roleMadeline2023-04-111-1/+4
|
* Merge pull request #1023 from Rainb0wCodes/masterMadeline2023-04-112-1/+22
|\ | | | | properly track reactions
| * send public member in message_reaction_add eventtMadeline2023-04-112-2/+20
| |
| * Update reactions.tsRainb0w :32023-04-101-1/+2
| |
| * properly track reactionsRainb0w :32023-04-081-0/+2
| |
* | Merge pull request #1026 from ochen1/patch-3Madeline2023-04-115-8/+149
|\ \ | | | | | | Add support for Discord's new endpoints to update roles
| * | Add erkins noteMadeline2023-04-111-0/+1
| | |
| * | Don't fetch the entire role relation when counting member idsMadeline2023-04-111-8/+10
| | |
| * | member-counts routeMadeline2023-04-111-0/+39
| | |
| * | Use partition func instead + use Promise.allMadeline2023-04-113-28/+24
| | |
| * | Remove Member.isInGuildOrFail, as it will always pass ( route permission check )Madeline2023-04-111-3/+7
| | |
| * | prettierMadeline2023-04-112-35/+43
| | |
| * | Add PATCH /guilds/#guild_id/roles/#role_id/member-ids APIochen12023-04-091-0/+38
| | |
| * | Fix indentationochen12023-04-091-1/+1
| | |
| * | Add PATCH /guilds/#guild_id/roles/#role_id/members APIochen12023-04-091-0/+53
| |/ | | | | Discord uses this in the Edit Role menu, Manage members tab to update the list of members with the role.
* | Merge pull request #1025 from ochen1/patch-2Madeline2023-04-101-0/+2
|\ \ | | | | | | Send guild name and icon of guild through Identify gateway opcode
| * | Send guild name and icon of guild through Identify gateway opcodeochen12023-04-091-0/+2
| |/ | | | | | | These properties are mandatory as per the documentation: https://discord.com/developers/docs/resources/guild#guild-object
* | Merge pull request #1027 from ochen1/patch-4Madeline2023-04-101-2/+2
|\ \ | |/ |/| Fix obvious bugs in Member removeRole function
| * Fix obvious bugs in Member removeRole functionochen12023-04-091-2/+2
|/
* License informationMadeline2023-04-0239-0/+702
|
* Merge pull request #1009 from Puyodead1/refactor/dev/connectionsMadeline2023-04-0257-321/+6331
|\ | | | | Connections Part 1
| * Less spammy user connection logsMadeline2023-04-022-11/+13
| |
| * Update connection metadata visibilityMadeline2023-04-023-5746/+5
| |
| * Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-02483-1573/+9682
| |\ | |/ |/|
* | Remove ALL fosscord mentionsMadeline2023-03-31236-431/+443
| |
* | Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-3151-3590/+2607
| | | | | | | | | | This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
* | fix: disable cache if multi threadedSamuel2023-03-301-2/+4
| |
* | Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-3051-2607/+3588
|\ \
| * | feat: add DB_LOGGING env dev/samuelSamuel2023-03-181-1/+1
| | |
| * | fix: local cacheSamuel2023-03-181-1/+4
| | |
| * | build: remove sqlite3 in favor of better-sqlite3Samuel2023-03-181-1/+1
| | |
| * | build: remove sqlite3 in favor of better-sqlite3Samuel2023-03-183-40/+121
| | |
| * | fix: remove proxySamuel2023-03-181-4/+0
| | |
| * | fix: use entity.save() instead of insert (needed for caching)Samuel2023-03-183-6/+6
| | |
| * | fix: missing id in select querySamuel2023-03-182-1/+2
| | |
| * | feat: Database Query CacheSamuel2023-03-1838-124/+442
| | |
| * | fix: package-lock.jsonSamuel2023-03-171-35/+617
| | |
| * | wip: cacheSamuel2023-03-172-1/+42
| | |
| * | fix: request language propertySamuel2023-03-171-5/+6
| | |
| * | perf: optimize getPermission()Samuel2023-03-171-15/+18
| | |
| * | feat: better-sqlite3 supportSamuel2023-03-172-2/+18
| | |
| * | perf: custom i18next middleware that only initializes when neededSamuel2023-03-172-19/+38
| | |
| * | perf: cache jwt secret as keySamuel2023-03-173-7/+21
| | |
| * | fix: types when using yarnSamuel2023-03-173-2/+6
| | |
| * | build: update dependenciesSamuel2023-03-173-2428/+2330
| | |
* | | SPACEBARMadeline2023-03-31444-444/+444
| | |
* | | SPACEBARMadeline2023-03-31428-427/+643
| | |
* | | SPACEBARMadeline2023-03-311-1/+1
| | |
* | | SPACEBARMadeline2023-03-3118-18/+18
| | |
* | | Ajv and openapi spec use different versions of typescript json schema??????Madeline2023-03-254-38/+74
| | |
* | | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-03-241-1/+1
|\ \ \
| * \ \ Merge pull request #1012 from Puyodead1/patch/totp-user-settingsMadeline2023-03-221-1/+1
| |\ \ \ | | | | | | | | | | fix totp using wrong settings key
| | * | | fix totp using wrong settings keyPuyodead12023-03-211-1/+1
| | |/ /
* | / / Work towards fixing openapi specMadeline2023-03-2414-261/+8029
|/ / /
* | | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-03-1919-30/+46
|\| |
* | | Add basic information page to /Madeline2023-03-192-0/+75
| | |
| | * prettierPuyodead12023-03-185-51/+58
| | |
| | * fix a few linting errorsPuyodead12023-03-182-4/+7
| | |
| | * Move redirect uri generation to getRedirectUri function of Connection class.Madeline2023-03-1815-138/+45
| | | | | | | | | | | | Use api_endpointPublic instead of cdn_endpointPublic
| | * Check visibility for connected accounts in /users/:id/profileMadeline2023-03-181-1/+3
| | |
| | * Add Youtube connectionPuyodead12023-03-182-0/+148
| | |
| | * replace node-fetch with wretchPuyodead12023-03-1813-549/+6032
| | |
| | * add Xbox connectionPuyodead12023-03-182-0/+229
| | |
| | * add Twitter connectionPuyodead12023-03-182-0/+227
| | |
| | * don't send token_data on connection updatePuyodead12023-03-181-1/+1
| | |
| | * use connection revoked errorPuyodead12023-03-181-2/+1
| | |
| | * Add Twitch, error handling, revokation changes, etcPuyodead12023-03-1819-49/+2278
| | |
| | * Fix connection update visibilty dying when given booleanMadeline2023-03-181-1/+7
| | |
| | * Update todo in access-token routePuyodead12023-03-181-1/+1
| | |
| | * Refreshable connections, refactoring, access-token endpointPuyodead12023-03-1818-111/+292
| | | | | | | | | | | | | | | | | | | | | | | | - Aded /users/@me/connections/:connection_name/:connection_id/access-token - Replaced `access_token` property on ConnectedAccount with `token_data` object for refreshing tokens - Made a common interface for connection things like ComonOAuthTokenResponse - Added `RefreshableConnection` class - Added token refresh to Spotify connection (disabled)
| | * Don't try to upload entire config for each connection loadedMadeline2023-03-181-1/+2
| | |
| | * Switch from Github real name to username for GH connectionMadeline2023-03-181-1/+1
| | |
| | * Add discriminator usernames for Discord connectionMadeline2023-03-181-1/+2
| | |
| | * Delete connectionsMadeline2023-03-181-1/+24
| | |
| | * fix discord connectionPuyodead12023-03-181-16/+24
| | |
| | * Add spotify connectionPuyodead12023-03-182-0/+153
| | |
| | * Add reddit connectionPuyodead12023-03-182-0/+145
| | |
| | * Add facebook connectionPuyodead12023-03-182-0/+147
| | |
| | * add epic games connectionPuyodead12023-03-184-10/+166
| | |
| | * WIP Discord connectionMadeline2023-03-183-1/+124
| | |
| | * Fix ConnectionLoader from throwing when uploading default config keysMadeline2023-03-181-10/+8
| | |
| | * Follow Discord docs for `visibility` and `metadata_visibility` fields in ↵Madeline2023-03-181-2/+2
| | | | | | | | | | | | ConnectedAccount
| | * entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchemaMadeline2023-03-185-14/+590
| | |
| | * Don't use mergeDeepMadeline2023-03-181-6/+2
| | |
| | * `handleCallback` returns connection if created for `USER_CONNECTIONS_UPDATE`Madeline2023-03-185-26/+25
| | |
| | * implement PATCH connectionPuyodead12023-03-188-4/+705
| | |
| | * adding connection now worksPuyodead12023-03-1813-41/+54
| | |
| | * add connectionsPuyodead12023-03-1824-9/+1297
| |/
| * Merge pull request #1005 from Xanderplayz18/patch-1Samuel (Flam3rboy)2023-03-171-15/+0
| |\ | | | | | | Grammar fix in env-vars.md
| | * Delete env-vars.mdSamuel (Flam3rboy)2023-03-171-15/+0
| | |
| | * Fix grammarXanderplayz182023-03-161-1/+1
| | |
| * | Merge pull request #1002 from fosscord/dependabot/npm_and_yarn/sqlite3-5.1.5Samuel (Flam3rboy)2023-03-172-8/+9
| |\ \ | | |/ | |/| Bump sqlite3 from 5.1.4 to 5.1.5
| | * Bump sqlite3 from 5.1.4 to 5.1.5dependabot[bot]2023-03-132-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.1.4 to 5.1.5. - [Release notes](https://github.com/TryGhost/node-sqlite3/releases) - [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.1.4...v5.1.5) --- updated-dependencies: - dependency-name: sqlite3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
| * | Merge pull request #997 from Puyodead1/dev/default-group-dm-avatarsMadeline2023-03-169-0/+28
| |\ \ | | | | | | | | Add default group dm icons
| | * | add default group dm avatarsPuyodead12023-03-079-0/+28
| | |/
| * | Merge pull request #996 from Puyodead1/patch/rename-default-avatarsMadeline2023-03-167-6/+6
|/| | | | | | | | Rename default avatar files
| * | use real md5 hashPuyodead12023-03-077-6/+6
| |/
* / Fix UserSettings relation being in `select` rather than `relations`Madeline2023-03-164-6/+7
|/
* Remove client_test folderMadeline2023-03-023-239/+0
|
* Remove Discord widget bannersMadeline2023-03-025-0/+0
|
* Remove test client and client patcherMadeline2023-03-016-294/+1
|
* Generate openapiMadeline2023-02-261-5/+254
|
* Rename password_reset config to passwordReset as it messes with config key ↵Madeline2023-02-252-2/+2
| | | | generation
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-242-3/+10
|\
| * Merge pull request #985 from Puyodead1/fix/emailMadeline2023-02-242-3/+10
| |\ | | | | | | fix a few issues with emails
| | * fix a few issues with emailsPuyodead12023-02-242-3/+10
| |/
* / send required_action in gateway for when email verification is requiredMadeline2023-02-242-11/+6
|/
* Merge pull request #984 from ↵Madeline2023-02-241-34/+85
|\ | | | | | | | | fosscord/dependabot/npm_and_yarn/http-cache-semantics-4.1.1 Bump http-cache-semantics from 4.1.0 to 4.1.1
| * Bump http-cache-semantics from 4.1.0 to 4.1.1dependabot[bot]2023-02-241-34/+85
|/ | | | | | | | | | | | | Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/kornelski/http-cache-semantics/releases) - [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: http-cache-semantics dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #965 from Puyodead1/dev/mailMadeline2023-02-2445-288/+10049
|\ | | | | Email Support
| * move transporters to their own filesPuyodead12023-02-247-147/+165
| |
| * simplify replacer functionPuyodead12023-02-241-34/+20
| |
| * first batch of requested changesPuyodead12023-02-243-49/+73
| |
| * don't return token on register if verification requiredPuyodead12023-02-241-0/+11
| |
| * implement password resetPuyodead12023-02-2418-714/+2198
| |
| * add SendGrid transportPuyodead12023-02-245-3/+180
| |
| * don't print anything if email send is successfulPuyodead12023-02-242-21/+16
| |
| * use a fixed mailjet transportPuyodead12023-02-242-90/+37
| |
| * error if correspondence email is not setPuyodead12023-02-231-0/+5
| |
| * fix for when secure is set to falsePuyodead12023-02-231-1/+1
| |
| * add right to resend verification emailsPuyodead12023-02-233-22/+27
| |
| * fix: email verificationPuyodead12023-02-233-15/+42
| |
| * fix: verification required for login not working correctlyPuyodead12023-02-231-0/+1
| |
| * config: require account verificationPuyodead12023-02-233-6/+14
| |
| * fix linting errorsPuyodead12023-02-234-64/+19
| |
| * Update package-lock.jsonPuyodead12023-02-231-61/+6085
| |
| * Add mailjet transportPuyodead12023-02-236-56/+402
| |
| * Add Mailgun transportPuyodead12023-02-237-11/+207
| |
| * rename SMTPConfigurations to EmailConfigurationPuyodead12023-02-235-7/+8
| |
| * Fix template rendering and use verify email templatePuyodead12023-02-238-321/+419
| | | | | | | | email html is weird, some stuff isn't supported.
| * Add other email templatesPuyodead12023-02-235-1/+359
| |
| * Update schemas.jsonPuyodead12023-02-231-1/+28
| |
| * update verify email template to add targetPuyodead12023-02-231-3/+9
| |
| * Add an email template for email verificationPuyodead12023-02-231-0/+89
| |
| * Update package-lock.jsonPuyodead12023-02-231-0/+19
| |
| * change verify.html titlePuyodead12023-02-231-1/+1
| |
| * Email verification worksPuyodead12023-02-237-24/+130
| | | | | | | | | | | | | | | | - Added /auth/verify to authenticated route whitelist - Updated /auth/verify to properly mark a user as verified, return a response, and fix expiration time check - Implemented /auth/verify/resend - Moved verification email sending to a helper method - Fixed VerifyEmailSchema requiring captcha_key
| * add missing copyright headersPuyodead12023-02-233-0/+54
| |
| * Send different app for /verifyMadeline2023-02-231-0/+58
| |
| * send email verificationPuyodead12023-02-235-3/+694
| |
| * Start implementing smtpPuyodead12023-02-236-10/+55
|/
* Fix gateway encoding Date objects as {} when using erlpack. Fixes ↵Madeline2023-02-214-21/+41
| | | | NaN/NaN/NaN timestamps in desktop client
* Close #954Madeline2023-02-211-0/+19
|
* Fix channel mentions #981Madeline2023-02-201-6/+10
|\
| * Remove channel mentions from messages, in order to fix them in test client.TheArcaneBrony2023-02-201-6/+10
|/ | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Implement default avatars #979Madeline2023-02-188-1/+67
|\
| * Update default avatar colour scheme and fix orderingMadeline2023-02-187-5/+6
| |
| * add support for desktop/webPuyodead12023-02-177-2/+11
| |
| * asyncPuyodead12023-02-171-6/+6
| |
| * Implement default avatarsPuyodead12023-02-176-0/+56
| |
* | Fix a bug prevent connections using erlpack (#977)Madeline2023-02-161-1/+1
|/
* Fix being unable to unset nicknamesMadeline2023-02-053-36/+18
| | | | | Remove unwanted guild profile handler in cdn Fix rights check for bio/avatars of your own user
* Don't use relative path for db entities. Closes #937Madeline2023-02-031-1/+1
|
* On db sync/first run, add all the current migrations to migrations table to ↵Madeline2023-02-032-2/+14
| | | | prevent running them on restarts
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-033-9/+21
|\
| * various fixes for webauthn (#973)Puyodead12023-02-033-9/+21
| |
* | remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from ↵Madeline2023-02-032-1/+5
|/ | | | default rights
* run add:licenseMadeline2023-02-035-0/+90
|
* Don't allow message types to be editedMadeline2023-02-034-6/+723
|
* Merge pull request from GHSA-9qvc-84ch-5p2xMadeline2023-02-021-1/+26
| | | | | * Check permissions and rights * Prevent editing message type unless MANAGE_MESSAGES right. Also don't send sensitive data in patch response.
* Merge pull request from GHSA-hqqp-gpqw-9w5cMadeline2023-02-025-22/+20
|
* Merge pull request from GHSA-9q7f-pv47-cxp9Madeline2023-02-021-1/+13
|
* Merge pull request from GHSA-r7h4-76f7-6264Madeline2023-02-022-1/+11
| | | | | * Actually use maxUsername config value. * Change maxUsername default to discord.com default
* Use erlpack instead of @yukikaze-bot/erlpack (#968)Madeline2023-02-018-49/+80
|
* use print instead of console.log in client cache so it doesn't output weirdnessMadeline2023-02-011-1/+1
|
* Rename postgresql to postgres -> fix silently failing migrationsTheArcaneBrony2023-01-313-2/+4
| | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Hotfix postgres connection string to not silently fail migrationsTheArcaneBrony2023-01-311-1/+1
|
* Fix missing capitalisation in database connected logTheArcaneBrony2023-01-311-1/+1
|
* Add a tiny bit of extra logging to database connectionTheArcaneBrony2023-01-311-4/+3
|
* Fix missing props in welcome message creation, which causes every client who ↵Madeline2023-02-011-1/+5
| | | | received the welcome message to disconnect.
* check pw and other auth before letting users undisableMadeline2023-01-311-19/+19
|
* subscribe clients to member events when they lazy request membersMadeline2023-01-301-8/+23
|
* question mark.Madeline2023-01-301-1/+1
|
* Impl member lazy request (#970)Madeline2023-01-302-21/+63
|
* read-states/ack-bulk (#969)Madeline2023-01-305-0/+209
|
* Implement WebAuthn (#967)Puyodead12023-01-3020-7066/+10028
| | | | | | | | | * implement webauthn * code review --------- Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-268-9/+9
|\
| * also don't use 3002 as default when gateway endpoints are nullMadeline2023-01-263-3/+3
| |
| * Use localhost:3001 as fallback when cdn endpoints are null rather than 3003Madeline2023-01-265-6/+6
| |
* | Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts ↵Madeline2023-01-262-2/+9
|/ | | | active
* Don't set default cdn endpoints. Null endpoints means to not update them in ↵Madeline2023-01-261-2/+2
| | | | GLOBAL_ENV. TODO: Don't use private endpoint locations in global env if public is not set, as this limits infra config
* Don't try to cache files like /assets/;var u,p={26700:0};l.fMadeline2023-01-241-4/+9
|
* Update client cacher to allow numbers in extensions ( for woff2 )Madeline2023-01-241-1/+3
|
* Update lintstagedrc to run on js files as wellMadeline2023-01-241-1/+1
|
* Refactor config utils (#963)Madeline2023-01-241-43/+38
|
* Rewrite client cacher (#962)Madeline2023-01-222-136/+48
|
* Add ESLint (#941)Madeline2023-01-20157-667/+1904
| | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
* fix: route file regex (#956)Puyodead12023-01-201-1/+1
|
* Merge pull request #955 from fosscord/dev/fix-bansChris Chrome2023-01-181-0/+1
|\ | | | | Fix banning users from the client
| * Apparently its still accepted, just depricatedChrisChrome2023-01-181-0/+1
| |
| * It's seconds, not daysChrisChrome2023-01-181-1/+1
|/
* Fix a funny security vulnChrisChrome2023-01-181-1/+1
|
* Merge pull request #952 from fosscord/dev/endpoints-in-pingChris Chrome2023-01-182-1/+4
|\ | | | | Merge /dev/endpoints-in-ping to master
| * Merge pull request #934 from fosscord/masterMadeline2023-01-164-20/+34
| |\ | | | | | | Merge master into dev/endpoints-in-ping
| * | Move endpoints from ping -> policies/instance/domains (#933)Chris Chrome2023-01-162-9/+4
| | |
| * | Fix some default valueTheArcaneBrony2023-01-141-1/+2
| | | | | | | | | | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
| * | Add basic info in pingTheArcaneBrony2023-01-142-1/+8
| | | | | | | | | | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* | | `npm run generate:client` downloads more assets now (Thanks Rory!). Also ↵Madeline2023-01-182-15/+35
| | | | | | | | | | | | `ONLY_CACHE_JS` env var (#948)
* | | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-181-1/+3
|\ \ \
| * | | Add youtu.be embed handler (#945)Chris Chrome2023-01-181-1/+3
| | | |
* | | | Don't fetch the emoji owner in identify, as this causes mass-disconnects ↵Madeline2023-01-181-1/+0
|/ / / | | | | | | | | | | | | | | | with large emoji counts. TODO: Remove some additional emoji props from being sent (user_id for example)
* | | Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-18418-33/+8090
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | send GUILD_CREATE after READY event (#938)V3L0C1T13S2023-01-171-9/+13
| | | | | | | | | | | | | | | * Fix lazy guilds being sent before READY event * Make casing consistent
* | | Fix deleting an application if it has a botMadeline2023-01-172-4/+2
| |/ |/|
* | Return embed proxy url even if imagor not set up. Also make warning nicerMadeline2023-01-161-5/+14
| |
* | Update dead linesMadeline2023-01-162-5/+3
| |
* | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-151-0/+1
|\ \
| * | Add an error log if embed handler fails, in addition to the existing sentry logMadeline2023-01-151-0/+1
| |/
* / Window name patch + fix overlapping text in client patcherMadeline2023-01-151-11/+17
|/
* Update openapiMadeline2023-01-141-0/+37
|
* Add /users/:id/delete (#926)Erkin Alp Güney2023-01-144-0/+53
|
* Merge pull request #929 from fosscord/dev/fix-client-scriptMadeline2023-01-131-14/+9
|\ | | | | Fix console fuckery to allow running in a headless terminal, and to fix flickering of output.
| * Fix missed moveCursor callTheArcaneBrony2023-01-131-1/+1
| | | | | | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
| * Fix console fuckery to allow running in a headless terminal, and to fix ↵TheArcaneBrony2023-01-131-13/+8
|/ | | | | | flickering of output. Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Merge pull request #928 from fosscord/fix/guildtemplatesMadeline2023-01-134-1/+70
|\ | | | | Fix guild delete failing when template exists
| * Fix guild delete failing when template existsMadeline2023-01-134-1/+70
|/
* Fix dumping incoming messagesMadeline2023-01-131-2/+2
|
* Fix setting user premium_type/etc (non-nullable) to null in db when null in ↵Madeline2023-01-131-3/+3
| | | | config
* Dont send sessions replace or presence update for unidentified usersMadeline2023-01-131-0/+3
|
* Dev/post refactor fixes (#927)TheArcaneBrony2023-01-129-9/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Temp fix for DMsMadeline2023-01-121-4/+5
|
* fix rights lolMadeline2023-01-111-1/+2
|
* If defaults_user_premium is false, don't give a user `premium_since: new Date`Madeline2023-01-111-9/+8
|
* https://discord.com/channels/806142446094385153/898197424340860928/106240434 ↵Madeline2023-01-111-1/+1
| | | | 0427534446
* Add sentry close to sigterm handlerMadeline2023-01-102-0/+5
|
* Add back include_url param to reg tokensMadeline2023-01-101-3/+11
|
* Move sentry init to util. use sentry in each module, not just bundleMadeline2023-01-107-80/+125
|
* Add error handler for individual gateway socketsMadeline2023-01-101-0/+3
|
* add back openapi generation. todo: find way to keep route text descriptions ↵Madeline2023-01-064-5999/+7050
| | | | in code, and find way to get usages of right/permission .hasThrow
* Don't allow BaseClass props through schemaMadeline2023-01-062-38/+18
|
* Prettier precommit hookMadeline2023-01-053-2/+372
|
* Don't send private user data in ready eventMadeline2023-01-051-3/+4
|
* migration stuff againMadeline2023-01-051-1/+13
|
* PrettierMadeline2023-01-05124-1729/+3671
|
* channel flags whoopsMadeline2023-01-051-0/+2
|
* Add migrations (#923)Madeline2023-01-0510-60/+893
| | | | * Fix typeorm migration cli and server migrations. * Add `migrate-from-staging` script
* Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatchMadeline2023-01-0211-50/+146
|\ | | | | Patch body-parser to use json-bigint, like gateway
| * Profile themes and pronounsMadeline2022-12-318-5/+71
| |
| * Merge branch 'maddy/refactor' into maddy/bodyParserPatchMadeline2022-12-314-3/+20
| |\
| * | Patch body-parser to use json-bigintMadeline2022-12-303-45/+75
| | |
* | | Use adjusted email in /auth/loginMadeline2023-01-021-1/+1
| | |
* | | Only send public user details in GUILD_MEMBER_LIST_UPDATEMadeline2023-01-021-1/+1
| | |
* | | Revert "Don't let users undisable their accounts"Madeline2023-01-011-6/+8
| | | | | | | | | | | | This reverts commit cd84412c92c447826ebb2668295d46956618d962.
* | | Don't let users undisable their accountsMadeline2023-01-011-8/+6
| |/ |/|
* | Allow Bearer tokens through, like BotMadeline2022-12-311-0/+1
| |
* | Add WS_LOGEVENTS and WS_VERBOSE env varsMadeline2022-12-312-1/+17
| |
* | Update build workflow to use v3 checkout and setup-nodeMadeline2022-12-301-2/+2
|/
* Fix new roles having duplicate positionsMadeline2022-12-302-6/+13
|
* Fix `npm ci`!!!Madeline2022-12-272-10/+112
|
* Update build workflow to use node 18, update lock file to v3Madeline2022-12-273-4480/+2
|