summary refs log tree commit diff
path: root/src/util (follow)
Commit message (Expand)AuthorAgeFilesLines
* update invites endpoints to support latest apiMadeline2023-08-122-3/+7
* Implement community "create one for me"Madeline2023-08-101-12/+14
* set default role flags to 0Madeline2023-08-071-1/+1
* allow bot/bearer tokens through Authorization headerMadeline2023-08-071-0/+3
* goofMadeline2023-08-071-1/+1
* Fix linter warnings in connectionsPuyodead12023-08-062-5/+4
* Fix connection class importsPuyodead12023-08-064-6/+6
* Fix some linting warningsPuyodead12023-08-064-3/+4
* add back guild id to message tojsonMadeline2023-08-071-1/+0
* update proxy-agentMadeline2023-08-071-1/+1
* some abaddon compatMadeline2023-07-312-2/+26
* send empty READY_SUPPLEMENTAL for client compatibilityMadeline2023-07-311-0/+1
* * call toJSON of keys in gateway when using erlpackMadeline2023-07-295-3/+32
* refactor checkTokenMadeline2023-07-282-79/+55
* Merge branch 'master' into feat/refactorIdentifyMadeline2023-07-2861-116/+691
|\
| * Merge pull request #1066 from Zert3x/masterMadeline2023-06-141-1/+1
| |\
| | * forwaded -> forwardedZert3x2023-05-281-1/+1
| * | Fix docs for /users/:id/profileMadeline2023-06-113-32/+35
| * | Send user and roles id array in GET /guilds/:id/members/:idMadeline2023-06-111-0/+2
| |/
| * Merge pull request #1052 from spacebarchat/feat/auto-create-bot-usersPuyodead12023-05-073-0/+26
| |\
| | * fix build failurePuyodead12023-05-071-1/+1
| | * create util for app bot user creationPuyodead12023-05-072-0/+25
| | * add option to auto add bot users to new appsPuyodead12023-05-061-0/+1
| * | add initial_guild_id client state propertyPuyodead12023-05-071-0/+4
| |/
| * add flags property to voice state updatePuyodead12023-05-061-0/+2
| * Fix UserRelationsResponse schemaMadeline2023-04-192-36/+7
| * Enforce theme_colors to be intsMadeline2023-04-182-6/+4
| * Rewrite getRouteDescriptions, fix message route not appearing in openapi specMadeline2023-04-163-0/+50
| * move guild/user prop initialisations into create/register methodsMadeline2023-04-142-16/+30
| * fix typosMadeline2023-04-141-1/+3
| * fix some types not being generated correctlyPuyodead12023-04-131-2/+4
| * clusterfuckPuyodead12023-04-1325-93/+87
| * oapi: add missing 2fa types to loginPuyodead12023-04-131-0/+14
| * oapi: bug fixesPuyodead12023-04-136-18/+25
| * oapi: root level routesPuyodead12023-04-136-0/+41
| * oapi: finish usersPuyodead12023-04-134-10/+17
| * oapi: users progressPuyodead12023-04-139-6/+47
| * oapi: sticker packsPuyodead12023-04-132-0/+4
| * oapi: policiesPuyodead12023-04-136-2/+26
| * oapi: oauth2Puyodead12023-04-132-0/+4
| * oapi: fix guild discovery requirementsPuyodead12023-04-131-1/+1
| * guildsPuyodead12023-04-1322-11/+191
| * gifs and query paramsPuyodead12023-04-132-0/+73
| * fixing lots of openapi crapPuyodead12023-04-134-11/+9
| * AAAPuyodead12023-04-135-0/+34
| * channelsPuyodead12023-04-136-0/+22
| * applicationsPuyodead12023-04-135-0/+10
| * auth routesPuyodead12023-04-139-0/+49
* | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-1324-26/+700
|\|
| * Fix DC client throwing on GUILD_CREATEMadeline2023-04-122-13/+28
| * Merge pull request #1023 from Rainb0wCodes/masterMadeline2023-04-111-0/+9
| |\
| | * send public member in message_reaction_add eventtMadeline2023-04-111-0/+9
| * | Merge pull request #1026 from ochen1/patch-3Madeline2023-04-111-0/+8
| |\ \
| | * | Use partition func instead + use Promise.allMadeline2023-04-111-0/+8
| | |/
| * / Fix obvious bugs in Member removeRole functionochen12023-04-091-2/+2
| |/
| * License informationMadeline2023-04-0212-0/+216
| * Less spammy user connection logsMadeline2023-04-022-11/+13
| * Update connection metadata visibilityMadeline2023-04-021-0/+1
| * Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-02213-442/+655
| |\
| * | prettierPuyodead12023-03-181-1/+1
| * | fix a few linting errorsPuyodead12023-03-182-4/+7
| * | Move redirect uri generation to getRedirectUri function of Connection class.Madeline2023-03-182-2/+12
| * | Add Twitch, error handling, revokation changes, etcPuyodead12023-03-187-5/+18
| * | Refreshable connections, refactoring, access-token endpointPuyodead12023-03-189-13/+83
| * | Don't try to upload entire config for each connection loadedMadeline2023-03-181-1/+2
| * | WIP Discord connectionMadeline2023-03-181-1/+1
| * | Fix ConnectionLoader from throwing when uploading default config keysMadeline2023-03-181-10/+8
| * | Follow Discord docs for `visibility` and `metadata_visibility` fields in Conn...Madeline2023-03-181-2/+2
| * | entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchemaMadeline2023-03-183-1/+1
| * | `handleCallback` returns connection if created for `USER_CONNECTIONS_UPDATE`Madeline2023-03-181-3/+4
| * | implement PATCH connectionPuyodead12023-03-185-4/+11
| * | adding connection now worksPuyodead12023-03-188-27/+45
| * | add connectionsPuyodead12023-03-1813-4/+313
* | | prettier whoopsMadeline2023-04-051-9/+9
* | | Missing ready guild propertiesMadeline2023-04-041-0/+21
* | | Role flagsMadeline2023-04-042-0/+4
* | | Respect CLIENT_STATE_V2 capabilityMadeline2023-04-031-1/+2
* | | allow all role props through readyMadeline2023-04-011-0/+1
* | | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-01212-443/+634
|\ \ \ | | |/ | |/|
| * | Remove ALL fosscord mentionsMadeline2023-03-3126-37/+36
| * | Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-3142-482/+106
| * | fix: disable cache if multi threadedSamuel2023-03-301-2/+4
| * | Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-3042-106/+480
| |\ \
| | * | 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-181-10/+3
| | * | fix: use entity.save() instead of insert (needed for caching)Samuel2023-03-181-2/+2
| | * | fix: missing id in select querySamuel2023-03-181-1/+1
| | * | feat: Database Query CacheSamuel2023-03-1838-124/+442
| | * | wip: cacheSamuel2023-03-172-1/+42
| | * | perf: optimize getPermission()Samuel2023-03-171-15/+18
| | * | feat: better-sqlite3 supportSamuel2023-03-171-2/+17
| | * | perf: cache jwt secret as keySamuel2023-03-171-1/+2
| | * | fix: types when using yarnSamuel2023-03-172-2/+2
| | |/
| * | SPACEBARMadeline2023-03-31212-212/+212
| * | SPACEBARMadeline2023-03-31212-202/+382
| * | Work towards fixing openapi specMadeline2023-03-246-1/+35
| |/
* | gatewayresponse??Madeline2023-04-011-0/+21
* | Initial identify rewriteMadeline2023-03-134-17/+86
|/
* Remove test client and client patcherMadeline2023-03-013-27/+0
* Rename password_reset config to passwordReset as it messes with config key ge...Madeline2023-02-251-1/+1
* fix a few issues with emailsPuyodead12023-02-241-2/+9
* move transporters to their own filesPuyodead12023-02-247-147/+165
* simplify replacer functionPuyodead12023-02-241-34/+20
* first batch of requested changesPuyodead12023-02-241-5/+6
* implement password resetPuyodead12023-02-249-32/+174
* add SendGrid transportPuyodead12023-02-243-1/+56
* don't print anything if email send is successfulPuyodead12023-02-241-19/+15
* 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-232-1/+2
* fix: email verificationPuyodead12023-02-231-0/+27
* config: require account verificationPuyodead12023-02-231-0/+1
* fix linting errorsPuyodead12023-02-233-53/+15
* Add mailjet transportPuyodead12023-02-234-55/+133
* Add Mailgun transportPuyodead12023-02-235-10/+121
* rename SMTPConfigurations to EmailConfigurationPuyodead12023-02-235-7/+8
* Fix template rendering and use verify email templatePuyodead12023-02-232-11/+112
* Email verification worksPuyodead12023-02-234-19/+58
* add missing copyright headersPuyodead12023-02-232-0/+36
* send email verificationPuyodead12023-02-233-3/+52
* Start implementing smtpPuyodead12023-02-234-1/+42
* Fix gateway encoding Date objects as {} when using erlpack. Fixes NaN/NaN/NaN...Madeline2023-02-212-0/+16
* 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 p...Madeline2023-02-032-2/+14
* remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default...Madeline2023-02-031-1/+1
* run add:licenseMadeline2023-02-034-0/+72
* Don't allow message types to be editedMadeline2023-02-032-0/+22
* Merge pull request from GHSA-hqqp-gpqw-9w5cMadeline2023-02-023-16/+13
* Merge pull request from GHSA-r7h4-76f7-6264Madeline2023-02-021-1/+1
* Use erlpack instead of @yukikaze-bot/erlpack (#968)Madeline2023-02-012-0/+13
* Rename postgresql to postgres -> fix silently failing migrationsTheArcaneBrony2023-01-313-2/+4
* 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
* Impl member lazy request (#970)Madeline2023-01-301-2/+2
* read-states/ack-bulk (#969)Madeline2023-01-302-0/+24
* Implement WebAuthn (#967)Puyodead12023-01-3010-39/+274
* Use localhost:3001 as fallback when cdn endpoints are null rather than 3003Madeline2023-01-261-2/+2
* Don't set default cdn endpoints. Null endpoints means to not update them in G...Madeline2023-01-261-2/+2
* Refactor config utils (#963)Madeline2023-01-241-43/+38
* Add ESLint (#941)Madeline2023-01-2043-224/+208
* fix: route file regex (#956)Puyodead12023-01-201-1/+1
* Apparently its still accepted, just depricatedChrisChrome2023-01-181-0/+1
* It's seconds, not daysChrisChrome2023-01-181-1/+1
* Merge pull request #952 from fosscord/dev/endpoints-in-pingChris Chrome2023-01-181-0/+1
|\
| * Add basic info in pingTheArcaneBrony2023-01-141-0/+1
* | Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-18190-1/+3353
* | Fix deleting an application if it has a botMadeline2023-01-171-2/+2
|/
* Add /users/:id/delete (#926)Erkin Alp Güney2023-01-143-0/+14
* Fix guild delete failing when template existsMadeline2023-01-134-1/+70
* Fix setting user premium_type/etc (non-nullable) to null in db when null in c...Madeline2023-01-131-3/+3
* Dev/post refactor fixes (#927)TheArcaneBrony2023-01-122-5/+9
* 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
* Add sentry close to sigterm handlerMadeline2023-01-101-0/+4
* Move sentry init to util. use sentry in each module, not just bundleMadeline2023-01-102-0/+103
* PrettierMadeline2023-01-0575-374/+409
* Add migrations (#923)Madeline2023-01-055-59/+71
* Profile themes and pronounsMadeline2022-12-315-3/+30
* Allow Bearer tokens through, like BotMadeline2022-12-311-0/+1
* Move datasource to own file for typeorm cliMadeline2022-12-272-32/+46
* OAuth2 authorize bot flowMadeline2022-12-242-1/+9
* Fix creating bot accountsMadeline2022-12-241-4/+12
* Use config for some default guild propertiesMadeline2022-12-242-30/+27
* Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_h...Madeline2022-12-222-2/+1
* Allow BitField's to be passed as number strings. Pretty sure it fixes #722Madeline2022-12-221-2/+11
* Fix redirect when test client disabledMadeline2022-12-221-1/+0
* Disable test client by defaultMadeline2022-12-211-1/+1
* Merge branch 'maddy/refactor' of github.com:fosscord/fosscord-server into mad...Madeline2022-12-215-3/+168
|\
| * Client: update to canary 165341Puyodead12022-12-205-3/+168
* | Set default cdn endpoints so that local testing worksMadeline2022-12-211-0/+3
|/
* Fix guild features being undefined if not using defaultFeaturesMadeline2022-12-211-1/+1
* Message rate limitingTheArcaneBrony2022-12-191-1/+1
* Registration tokensMadeline2022-12-193-10/+25
* Add register ratelimitTheArcaneBrony2022-12-193-2/+14
* commentsMadeline2022-12-192-0/+2
* flags related rights and stats apiErkin Alp Güney2022-12-192-0/+5
* Fix config loadingMadeline2022-12-191-1/+5
* implement guild profiles and fix user profilesPuyodead12022-12-195-1/+36
* Configurable MFA backup token lengthTheArcaneBrony2022-12-191-0/+1
* case insensitive header for rate limits, fix rate limit default settingsTheArcaneBrony2022-12-192-30/+30
* Create webhooksMadeline2022-12-193-1/+8
* Don't override existing config valuesMadeline2022-12-191-1/+3
* Move UserSettings to own entityTheArcaneBrony2022-12-197-138/+174
* Add additional configMadeline2022-12-1913-22/+51
* Make ConfigValue a directory, move defaults to those classes instead of a sep...TheArcaneBrony2022-12-1951-422/+355
* removed char joiners as they are actually useful, added page breakErkin Alp Güney2022-12-191-3/+4
* make it configurable by guild feature flagErkin Alp Güney2022-12-191-5/+5
* Make fosscord read config from json if CONFIG_PATH is setTheArcaneBrony2022-12-191-8/+14
* Do the funny thing (make user->invite cascade delet)TheArcaneBrony2022-12-181-1/+3
* Made nitro stuff make some senseChrisChrome2022-12-181-1/+0
* Make teams nullableTheArcaneBrony2022-12-181-0/+1
* Refactor applicationsMadeline2022-12-186-1/+28
* Add basic developer panel functionality - doesn't work yetChrisChrome2022-12-183-38/+82
* Move to migrations. Use `npm run generate:db` for first database generation.Madeline2022-12-183-8/+2
* fix: not being able to enable communityPuyodead12022-12-181-1/+2
* Remove discord login configMadeline2022-12-171-10/+0
* comments and suchMadeline2022-12-171-39/+4
* user validation stuffMadeline2022-12-172-12/+5
* Remove bad banned words implementationMadeline2022-12-174-44/+2
* Remove use of `PRODUCTION` env varMadeline2022-12-171-4/+1
* murder migrationsMadeline2022-12-179-317/+0
* Only allow specific server features to be editedMadeline2022-12-051-0/+5
* Await some rabbitmq methods, don't reset some config values on startMadeline2022-11-061-8/+8
* Allow running api, cdn, gateway separatelyMadeline2022-10-311-11/+10
* Add `private_channels_version` to `client_state` in identity. also set sentry...Madeline2022-10-311-0/+2
* various typosMadeline2022-10-281-1/+1
* Fix user settings not saving properly and guild foldersMadeline2022-10-283-5/+6
* Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-ser...Madeline2022-10-282-22/+39
* fix bad user validationMadeline2022-10-271-8/+9
* Fix typo in user validationMadeline2022-10-261-3/+3
* handle a specific case with rtl characterMadeline2022-10-251-1/+4
* Remove whitespace characters in banned words detectionMadeline2022-10-251-0/+2
* Fix BannedWords breaking because windows line endingsMadeline2022-10-251-1/+1
* Move message auto mod to the api route instead of a @beforeinsert/update methodMadeline2022-10-252-16/+4
* Forgot some schemas + only generate schemas in util/schemas + add setup scriptMadeline2022-10-243-1/+13
* Change android and ios client downloads to use /download endpoint, update Rel...Madeline2022-10-241-6/+3
* remove self_edit_guilds, was dumbMadeline2022-10-072-2/+1
* Embed cacheMadeline2022-10-032-1/+14
* Twitter embedsMadeline2022-10-031-0/+6
* Make imagor optionalMadeline2022-10-021-0/+2
* Make `afk` optional in ActivitySchemaMadeline2022-10-011-2/+2
* Split MANAGE_GUILDS right into MANAGE_GUILDS for instance-wide control and SE...Madeline2022-09-301-1/+2
* Fix client crash on GUILD_CREATEMadeline2022-09-282-0/+2
* Discovery splashes + fix guild icons disappearing on settings changeMadeline2022-09-281-0/+1
* Missed some schemasMadeline2022-09-286-0/+45
* Use PrimaryIdColumn instead of PrimaryColumn in Invite and CategoryMadeline2022-09-282-6/+5
* Generate IDs for entities by defaultMadeline2022-09-281-1/+2
* Fix user validator preventing updateMadeline2022-09-271-40/+51
* Don't fetch all members in guild in Member.addToGuildMadeline2022-09-272-4/+18
* PrettierMadeline2022-09-26102-945/+1816
* Move schemas to /src/util/schemasMadeline2022-09-2645-70/+595
* Remove import to class-validator, fix listening on port message in bundleMadeline2022-09-261-1/+0
* 'Fix' distinct alias typeorm issueMadeline2022-09-263-10/+7
* Refactor to mono-repo + upgrade packagesMadeline2022-09-2583-0/+7266
* :sparkles: rtcFlam3rboy2021-08-1216-1198/+0
* :sparkles: config add rate limitFlam3rboy2021-08-121-13/+47
* fix rabbitmq exportFlam3rboy2021-08-121-11/+15
* :bug: fix config: don't use mongodb change streamsFlam3rboy2021-08-121-4/+4
* :sparkles: added .overwriteChannel function to permissionsFlam3rboy2021-08-121-2/+13
* :sparkles: rabbitmqFlam3rboy2021-08-113-18/+37
* added deleted and disabled check for checkTokenxnacly2021-08-101-1/+1
* :bug: fix MessageTypeFlam3rboy2021-08-091-22/+22
* :recycle: convert bigint literals to objects for backwards compatibilityFlam3rboy2021-08-094-66/+66
* :bug: fix bitfield resolveFlam3rboy2021-08-081-1/+1
* [Config] Make brokers null by defaultDiego Magdaleno2021-07-291-4/+2
* [Config] Handle kafkaDiego Magdaleno2021-07-291-2/+15