summary refs log tree commit diff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix message flags being nullPuyodead12024-04-144-2/+75
|
* Add nix flake to repo (#1111)Rory&2024-02-192-3/+19
|
* Fix application icons (#1110)BoryaGames2024-02-112-1/+9
| | | | Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Revert "fix merged_members roles having everyone id"Puyodead12023-12-231-4/+1
| | | | This reverts commit ae5c71f39bf61da5c1d7fb9d9c75f11d6ce11d85.
* fix merged_members roles having everyone idPuyodead12023-12-231-1/+4
|
* add missing license headersPuyodead12023-12-1735-3/+630
|
* what the hell erkinsky2023-12-151-55/+0
|
* add new right for creating registration tokensPuyodead12023-12-142-1/+2
|
* GuildMemberPatch: remove a useless queryPuyodead12023-12-141-6/+2
|
* member projection: select avatarPuyodead12023-12-091-2/+4
|
* ensure client_id is specified in authorize postPuyodead12023-12-091-0/+10
|
* ensure client_id is provided in authorizePuyodead12023-12-091-0/+14
|
* WORKAROUND: Ignore client-requested file extension for role iconsRory&2023-12-081-2/+19
|
* Fix reacting with custom emojis from same guild requiring USE_EXTERNAL_EMOJISRory&2023-12-081-1/+2
|
* add components to message create schemaPuyodead12023-12-061-0/+2
|
* handle possibly null activities in session sortPuyodead12023-12-051-1/+1
|
* messageupdate: fix member not being correct formatPuyodead12023-12-051-1/+6
|
* fix some message update fields being sent when nullPuyodead12023-12-051-5/+2
|
* typingstart timestamp needs to be secondsPuyodead12023-12-051-1/+1
|
* fix some issues with discord bot libsPuyodead12023-11-294-1/+68
|
* Proper error messages for invalid configMadeline2023-11-291-4/+35
|
* fucking postgresMadeline2023-10-047-24/+27
|
* refactor channel positions in guildMadeline2023-10-049-71/+320
|
* Add `mobile_network_type` to message create schemaCyberL12023-09-301-0/+1
|
* Embeds: handle og:sitenameMadeline2023-09-161-0/+7
|
* Fix regression where generic embed handler wouldn't properly send image resultsMadeline2023-09-161-5/+4
|
* * allow limit=1Madeline2023-09-051-7/+25
| | | | * fix GET messages?around order
* [fb] remove provider obj, add colorPuyodead12023-09-031-3/+1
|
* add facebook, and add steam fieldsPuyodead12023-09-031-3/+54
|
* Rewrite thumbnail/image generation for embedsMadeline2023-09-031-83/+65
|
* Fix bug in embed handler where getMeta would not return undefinedMadeline2023-09-031-3/+5
|
* xkcd embed handler and improved generic handlerMadeline2023-09-021-20/+53
|
* Fix identify throwing on invalid token instead of closing with auth failed ↵Madeline2023-09-021-1/+9
| | | | close code
* sentry db instrumentation for gateway eventsMadeline2023-09-021-30/+25
|
* update sentryMadeline2023-09-021-12/+23
|
* typeorm inverse relations of guild relationsMadeline2023-09-027-10/+12
|
* Merge branch 'master' of github.com:spacebarchat/serverMadeline2023-09-021-1/+1
|\
| * make guild voice a text based channelPuyodead12023-08-271-1/+1
| |
* | DB_LOGGING env varMadeline2023-09-021-6/+6
|/
* prevent put /guilds/id/members/id for others until we have oauth2 scopes impledMadeline2023-08-271-1/+4
|
* what the fuck is session_id: "all"???Madeline2023-08-211-2/+1
|
* Close #1091Madeline2023-08-211-26/+26
|
* remove INVALID_PASSWORD error response. close #1090Madeline2023-08-131-2/+10
|
* Fix OOM on large guild joinMadeline2023-08-121-10/+10
|
* Refactor email sending + remove email verification if mail sending is not set upMadeline2023-08-125-136/+51
|
* remove default welcome screen textMadeline2023-08-121-2/+2
|
* update invites endpoints to support latest apiMadeline2023-08-123-8/+20
|
* goofMadeline2023-08-121-4/+4
|
* fix min password length checkMadeline2023-08-121-3/+2
|
* set rules/updates in guild if we created themMadeline2023-08-121-2/+6
|
* Merge pull request #1045 from erkinalp/patch-2Madeline2023-08-111-1/+1
|\ | | | | Rename the guild feature `INVITES_CLOSED` to `INVITES_DISABLED`
| * Rename the guild feature to match discord.comErkin Alp Güney2023-04-271-1/+1
| | | | | | discord.com has this too, and it is called `INVITES_DISABLED`
| * start listening before starting components in bundleMadeline2023-04-241-1/+3
| |
* | Implement community "create one for me"Madeline2023-08-102-12/+86
| |
* | Allow enabling welcome screen and check if welcome screen channels exist ↵Madeline2023-08-101-9/+24
| | | | | | | | within the guild (close #998)
* | Send ratelimit headers regardless of if request was blocked (close #1022, ↵Madeline2023-08-101-6/+20
| | | | | | | | close #888)
* | Gateway close if user could not be fetched just send IDMadeline2023-08-081-1/+9
| |
* | fix reversed check in GET messagesMadeline2023-08-071-1/+1
| |
* | 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-0613-95/+178
| |
* | Fix connection class importsPuyodead12023-08-0616-30/+30
| |
* | Fix some linting warningsPuyodead12023-08-067-6/+6
| |
* | add back guild id to message tojsonMadeline2023-08-071-1/+0
| |
* | update proxy-agentMadeline2023-08-074-4/+4
| |
* | switch from il8next-node-fs-backend to il8next-fs-backendMadeline2023-08-071-1/+1
| |
* | remove pomelo disclose, to be added in pomelo impl prMadeline2023-08-011-1/+1
| |
* | some abaddon compatMadeline2023-07-313-34/+62
| |
* | lazyrequest dont crash when no members can be found in lazyrequestMadeline2023-07-311-1/+1
| |
* | send empty READY_SUPPLEMENTAL for client compatibilityMadeline2023-07-312-1/+21
| |
* | * call toJSON of keys in gateway when using erlpackMadeline2023-07-297-4/+35
| | | | | | | | | | | | * dont send bitrate/etc as null when should be undefined * set user flags to number instead of string * send empty 'threads' in identify when not using new state v2
* | Merge branch 'master' into feat/refactorIdentifyMadeline2023-07-281-17/+19
|\ \
| * | goofMadeline2023-07-281-1/+2
| | |
| * | Fix regression of 5f22faa57b7104ba29a01889a1bafc35b3be4f02Madeline2023-07-281-17/+18
| | |
* | | refactor checkTokenMadeline2023-07-286-130/+80
| | |
* | | Merge branch 'master' into feat/refactorIdentifyMadeline2023-07-28172-2175/+4671
|\| |
| * | fix get channel messages around parameterVincent Junge2023-06-261-10/+11
| | |
| * | Merge pull request #1066 from Zert3x/masterMadeline2023-06-143-3/+3
| |\ \ | | | | | | | | Fix a typo
| | * | Update Connection.tsZert3x2023-05-281-1/+1
| | | |
| | * | Update ipAddress.tsZert3x2023-05-281-1/+1
| | | |
| | * | forwaded -> forwardedZert3x2023-05-281-1/+1
| | | |
| * | | made it prettierngn2023-06-111-9/+14
| | | |
| * | | Make sure min password length is not nullngn2023-06-111-2/+3
| | | |
| * | | Merge branch 'spacebarchat:master' into pass_length_checkngn132023-06-111-1/+26
| |\ \ \
| | * \ \ Merge pull request #1068 from V3L0C1T13S/feat/gen_memberlist_idMadeline2023-06-111-1/+26
| | |\ \ \ | | | | | | | | | | | | Implement member list ids
| | | * | | feat: implement member list id generationV3L0C1T13S2023-05-241-1/+26
| | | |/ /
| * | | | Making the error message dynamicngn2023-06-101-1/+1
| | | | |
| * | | | making min password length configurablengn132023-06-101-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Puyodead1 <puyodead@proton.me>
| * | | | Implemented password length checkngn2023-06-101-0/+8
| |/ / /
| * | | Fix docs for /users/:id/profileMadeline2023-06-114-68/+37
| | | |
| * | | Send user and roles id array in GET /guilds/:id/members/:idMadeline2023-06-112-2/+25
| | | |
| * | | Return entire guild object in POST /guildsMadeline2023-05-301-1/+1
| |/ /
| * | fix: add return and run prettierCyberL12023-05-131-3/+8
| | |
| * | Merge branch 'spacebarchat:master' into masterCyber2023-05-131-0/+3
| |\ \
| | * | Prevent /invites/:code for botsMadeline2023-05-121-0/+3
| | | |
| * | | fix: don't create new vanity url when there's no ALIASABLE_NAMES flagCyberL12023-05-101-0/+6
| |/ /
| * | Merge pull request #1052 from spacebarchat/feat/auto-create-bot-usersPuyodead12023-05-075-18/+35
| |\ \ | | | | | | | | Feat: Auto add bot users to new apps
| | * | fix build failurePuyodead12023-05-071-1/+1
| | | |
| | * | create util for app bot user creationPuyodead12023-05-074-35/+30
| | | |
| | * | add option to auto add bot users to new appsPuyodead12023-05-062-0/+22
| | | |
| * | | add initial_guild_id client state propertyPuyodead12023-05-071-0/+4
| |/ /
| * | add flags property to voice state updatePuyodead12023-05-061-0/+2
| | |
| * | refactor SELECT_PROTOCOL_ACK (4) voice opcode to SESSION_DESCRIPTIONPete Pongpeauk2023-05-042-3/+3
| | | | | | | | | | | | Signed-off-by: Pete Pongpeauk <kurtsiberg@gmail.com>
| * | start listening before starting components in bundleMadeline2023-04-241-1/+3
| | |
| * | Merge branch 'master' into openapiMadeline2023-04-191-1/+6
| |\|
| * | Fix UserRelationsResponse schemaMadeline2023-04-193-38/+10
| | |
| * | Enforce theme_colors to be intsMadeline2023-04-182-6/+4
| | |
| * | Rewrite getRouteDescriptions, fix message route not appearing in openapi specMadeline2023-04-1612-60/+62
| | |
| * | move guild/user prop initialisations into create/register methodsMadeline2023-04-142-16/+30
| | |
| * | fix typosMadeline2023-04-143-3/+5
| | |
| * | fix some types not being generated correctlyPuyodead12023-04-131-2/+4
| | |
| * | spacebarPuyodead12023-04-131-4/+4
| | |
| * | clusterfuckPuyodead12023-04-1350-118/+112
| | |
| * | oapi: fix a few response types in authPuyodead12023-04-132-3/+7
| | |
| * | oapi: add missing 2fa types to loginPuyodead12023-04-132-1/+15
| | |
| * | oapi: bug fixesPuyodead12023-04-137-19/+28
| | |
| * | oapi: root level routesPuyodead12023-04-1314-134/+260
| | |
| * | oapi: voice regionsPuyodead12023-04-131-6/+15
| | |
| * | oapi: finish usersPuyodead12023-04-1312-37/+107
| | |
| * | oapi: users progressPuyodead12023-04-1324-265/+570
| | |
| * | oapi: stickersPuyodead12023-04-131-6/+16
| | |
| * | oapi: sticker packsPuyodead12023-04-133-5/+21
| | |
| * | oapi: readstatesPuyodead12023-04-131-1/+9
| | |
| * | oapi: policiesPuyodead12023-04-1310-40/+110
| | |
| * | oapi: oauth2Puyodead12023-04-133-94/+140
| | |
| * | oapi: invitesPuyodead12023-04-131-35/+87
| | |
| * | oapi: fix guild discovery requirementsPuyodead12023-04-132-2/+2
| | |
| * | guildsPuyodead12023-04-1350-640/+1575
| | |
| * | backfill missing query paramsPuyodead12023-04-132-0/+28
| | |
| * | gifs and query paramsPuyodead12023-04-136-129/+236
| | |
| * | fixing lots of openapi crapPuyodead12023-04-1356-208/+215
| | |
| * | AAAPuyodead12023-04-139-25/+44
| | |
| * | gatewayPuyodead12023-04-132-35/+54
| | |
| * | channelsPuyodead12023-04-1320-255/+559
| | |
| * | applicationsPuyodead12023-04-1312-98/+227
| | |
| * | auth routesPuyodead12023-04-1322-46/+201
| | |
* | | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-181-1/+6
|\ \ \ | | |/ | |/|
| * | Fix body-parser errors not being filtered in ErrorHandler middlewareMadeline2023-04-161-1/+6
| |/
* | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-1362-45/+3228
|\|
| * Fix DC client throwing on GUILD_CREATEMadeline2023-04-122-13/+28
| |
| * Add missing route middleware to messages routeMadeline2023-04-121-2/+4
| |
| * 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
| * / Fix obvious bugs in Member removeRole functionochen12023-04-091-2/+2
| |/
| * License informationMadeline2023-04-0239-0/+702
| |
| * Less spammy user connection logsMadeline2023-04-022-11/+13
| |
| * Update connection metadata visibilityMadeline2023-04-022-1/+5
| |
| * Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-02443-1261/+1489
| |\
| * | 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-1814-138/+40
| | | | | | | | | | | | 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-1810-549/+277
| | |
| * | 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-1818-46/+416
| | |
| * | 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-184-4/+3
| | |
| * | Don't use mergeDeepMadeline2023-03-181-6/+2
| | |
| * | `handleCallback` returns connection if created for `USER_CONNECTIONS_UPDATE`Madeline2023-03-184-25/+25
| | |
| * | implement PATCH connectionPuyodead12023-03-187-4/+62
| | |
| * | adding connection now worksPuyodead12023-03-1813-41/+54
| | |
| * | add connectionsPuyodead12023-03-1823-9/+695
| | |
* | | Close if already identifiedMadeline2023-04-051-2/+6
| | |
* | | prettier whoopsMadeline2023-04-051-9/+9
| | |
* | | Missing ready guild propertiesMadeline2023-04-041-0/+21
| | |
* | | Role flagsMadeline2023-04-042-0/+4
| | |
* | | Don't send random read state / guild settings version numbersMadeline2023-04-041-5/+2
| | |
* | | Send d: {} in heartbeat ackMadeline2023-04-041-1/+1
| | |
* | | Respect CLIENT_STATE_V2 capabilityMadeline2023-04-035-6/+46
| | |
* | | allow all role props through readyMadeline2023-04-012-11/+6
| | |
* | | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-01426-1249/+1488
|\ \ \ | | |/ | |/|
| * | Remove ALL fosscord mentionsMadeline2023-03-31213-379/+378
| | |
| * | Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-3148-542/+135
| | | | | | | | | | | | | | | 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-3048-135/+540
| |\ \
| | * | 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: 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
| | | |
| | * | 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-171-2/+17
| | | |
| | * | perf: custom i18next middleware that only initializes when neededSamuel2023-03-171-18/+38
| | | |
| | * | perf: cache jwt secret as keySamuel2023-03-173-7/+21
| | | |
| | * | fix: types when using yarnSamuel2023-03-172-2/+2
| | | |
| | * | build: update dependenciesSamuel2023-03-171-1/+1
| | |/
| * | SPACEBARMadeline2023-03-31425-425/+425
| | |
| * | SPACEBARMadeline2023-03-31425-413/+629
| | |
| * | 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-2410-35/+35
| |/ /
| * | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-03-192-7/+37
| |\|
| | * Merge pull request #997 from Puyodead1/dev/default-group-dm-avatarsMadeline2023-03-161-0/+28
| | |\ | | | | | | | | Add default group dm icons
| | | * add default group dm avatarsPuyodead12023-03-071-0/+28
| | | |
| | * | Merge pull request #996 from Puyodead1/patch/rename-default-avatarsMadeline2023-03-161-6/+6
| | |\ \ | | | | | | | | | | Rename default avatar files
| | | * | use real md5 hashPuyodead12023-03-071-6/+6
| | | |/
| * | / Add basic information page to /Madeline2023-03-191-0/+11
| |/ /
| * / Fix UserSettings relation being in `select` rather than `relations`Madeline2023-03-164-6/+7
| |/
* | gatewayresponse??Madeline2023-04-012-4/+21
| |
* | Initial identify rewriteMadeline2023-03-135-211/+382
|/
* Remove test client and client patcherMadeline2023-03-014-29/+0
|
* 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
|\
| * 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
|/
* 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-2413-33/+326
|