summary refs log tree commit diff
path: root/src/api/routes (follow)
Commit message (Expand)AuthorAgeFilesLines
* initial progress for admin api github/feat/admin-api feat/admin-apiPuyodead12024-08-2715-41/+231
* Run prettierTomatoCake2024-08-241-10/+6
* Add method to NO_AUTHORIZATION_ROUTESTomatoCake2024-08-241-4/+4
* Listing & creation of Developer Portal teamsTomatoCake2024-08-241-7/+77
* Fix updating vanity URL & retrieving widget.jsonTomatoCake2024-08-232-14/+12
* Run prettierTomatoCake2024-08-221-1/+1
* Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server int...TomatoCake2024-08-227-90/+100
|\
| * Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channelsMadeline2024-08-224-67/+65
| |\
| | * Send 204 regardless of user existanceTomatoCake2024-08-211-53/+13
| | * Merge pull request #1185 from CyberL1/feat/message-pinned-messagePuyodead12024-08-181-0/+32
| | |\
| | | * feat: emit `MESSAGE_CREATE`Cyber2024-08-181-14/+31
| | | * fix: message timestampCyber2024-08-181-0/+1
| | | * fix: update the code with latest commitCyber2024-08-181-12/+7
| | | * feat: message pinned messageCyber2024-08-181-7/+26
| | * | Merge pull request #1186 from DEVTomatoCake/fix/consistent-widget-disabled-errorMadeline2024-08-182-8/+14
| | |\ \
| | | * | Consistent widget disabled errorTomatoCake2024-08-182-11/+17
| | | |/
| | * / Fix widget.png guild icon loadingTomatoCake2024-08-181-8/+8
| | |/
| * | Prettier, remove manual deletion of msgsTomatoCake2024-08-181-1/+1
| * | widget.json channel_ordering, fix channel deletionTomatoCake2024-08-182-5/+10
| |/
| * Send "pinned" as "true" in pins update eventTomatoCake2024-08-181-13/+10
| * Same error message if username too longTomatoCake2024-08-172-4/+4
| * Consistent username length requirementTomatoCake2024-08-171-3/+13
* | Trying to fix guild response schemasTomatoCake2024-08-171-5/+5
|/
* Send 204 statusTomatoCake2024-08-154-14/+22
* Merge branch 'master' into fix/reaction-removingCyber2024-08-143-11/+37
|\
| * Merge pull request #1161 from DEVTomatoCake/feat/bio-max-length-configMadeline2024-08-142-6/+32
| |\
| | * Make profile bio max length configurableTomatoCake2024-08-102-6/+32
| * | Icon for discovery categories & fix "primary_only"TomatoCake2024-08-131-5/+5
| |/
* | fix: make this a new routeCyber2024-08-101-0/+70
* | Merge branch 'master' into fix/reaction-removingCyber2024-08-104-17/+391
|\|
| * Merge branch 'master' into feat/webhooks-3TomatoCake2024-08-083-6/+24
| |\
| * | PrettierTomatoCake2024-07-183-9/+24
| * | Consistent relations, url property, src channelTomatoCake2024-07-184-14/+43
| * | Perms for GET webhook, url propertyTomatoCake2024-07-182-11/+32
| * | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server int...TomatoCake2024-07-1816-109/+297
| |\ \
| * | | Fix ESLint & prettierTomatoCake2024-07-182-1/+2
| * | | webhook fixes & username/avatar property for msgTomatoCake2024-07-181-1/+24
| * | | Start implementing webhooksPuyodead12023-12-104-11/+296
* | | | fix: reaction removingCyber2024-07-301-1/+1
| |_|/ |/| |
* | | Merge branch 'master' into fix/messages-before-paramTomatoCake2024-07-282-2/+13
|\ \ \
| * \ \ Merge branch 'master' into masterMadeline2024-07-282-5/+20
| |\ \ \
| | * | | fix: check for password only if `username` is present in bodyCyber2024-07-281-8/+8
| | * | | fix: return an error on username change with no passwordCyber2024-07-281-1/+10
| * | | | Refactored max limit for bulk-bans from AbsoluteRateLimits to GuildLimits as ...aintDatCap2024-07-241-2/+1
| * | | | Implemented proposal described in the issue #1122aintDatCap2024-07-241-1/+4
| | |_|/ | |/| |
* | | | Fix ?before messages fetch paramTomatoCake2024-07-281-0/+1
| |/ / |/| |
* | | Fix sort order when using ?aroundTomatoCake2024-07-281-4/+10
|/ /
* | Make channel ID optional when replyingTomatoCake2024-07-171-5/+4
* | feat: badgesCyber2024-07-171-0/+5
* | Support apng & webmTomatoCake2024-07-171-1/+5
* | Support proper "animated" property for emojisTomatoCake2024-07-171-4/+4
* | Move route to api/connectionsTomatoCake2024-07-171-0/+0
* | Update schema & add response typeTomatoCake2024-07-171-1/+1
* | Add /policies/instance/connectionsTomatoCake2024-07-171-0/+45
* | Merge pull request #1137 from DEVTomatoCake/fix/cdn-proxy-pathMadeline2024-07-091-6/+14
|\ \
| * \ Merge branch 'master' into fix/cdn-proxy-pathTomatoCake2024-07-091-1/+1
| |\ \
| * | | Increase minimum char countTomatoCake2024-07-061-1/+1
| * | | Fix msg attachment proxy_url when using pathsTomatoCake2024-07-061-6/+14
* | | | Merge branch 'master' into feat/new-msg-propsMadeline2024-07-091-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | fix incorrect error fieldPuyodead12024-07-081-1/+1
| |/ /
* / / Add new message flags once againTomatoCake2024-07-052-6/+8
|/ /
* | Sort /channels for gateway consistencyTomatoCake2024-07-041-0/+1
* | Add <Channel>.position to public endpointsTomatoCake2024-07-043-6/+30
* | Remove parent for childs on category deletionTomatoCake2024-06-051-3/+21
* | prettierMadeline2024-06-052-6/+12
* | Fix lint: let -> constTomatoCake2024-06-051-1/+1
* | Add Bulk Ban endpointTomatoCake2024-06-051-0/+124
* | API /:guild_id/bans compatTomatoCake2024-06-051-14/+17
* | Fix application icons (#1110)BoryaGames2024-02-112-1/+9
* | what the hell erkinsky2023-12-151-55/+0
* | add new right for creating registration tokensPuyodead12023-12-141-1/+1
* | GuildMemberPatch: remove a useless queryPuyodead12023-12-141-6/+2
|/
* ensure client_id is specified in authorize postPuyodead12023-12-091-0/+10
* ensure client_id is provided in authorizePuyodead12023-12-091-0/+14
* Fix reacting with custom emojis from same guild requiring USE_EXTERNAL_EMOJISRory&2023-12-081-1/+2
* 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-291-0/+59
* fucking postgresMadeline2023-10-041-3/+6
* refactor channel positions in guildMadeline2023-10-043-44/+59
* * allow limit=1Madeline2023-09-051-7/+25
* prevent put /guilds/id/members/id for others until we have oauth2 scopes impledMadeline2023-08-271-1/+4
* remove INVALID_PASSWORD error response. close #1090Madeline2023-08-131-2/+10
* Refactor email sending + remove email verification if mail sending is not set upMadeline2023-08-123-11/+4
* update invites endpoints to support latest apiMadeline2023-08-121-5/+13
* 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 to match discord.comErkin Alp Güney2023-04-271-1/+1
* | Implement community "create one for me"Madeline2023-08-101-0/+72
* | Allow enabling welcome screen and check if welcome screen channels exist with...Madeline2023-08-101-9/+24
* | fix reversed check in GET messagesMadeline2023-08-071-1/+1
* | Fix connection class importsPuyodead12023-08-061-1/+1
* | Fix some linting warningsPuyodead12023-08-062-2/+1
* | update proxy-agentMadeline2023-08-073-3/+3
* | some abaddon compatMadeline2023-07-311-32/+36
* | * call toJSON of keys in gateway when using erlpackMadeline2023-07-291-1/+1
* | 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-282-5/+2
|/ /
* | fix get channel messages around parameterVincent Junge2023-06-261-10/+11
* | made it prettierngn2023-06-111-9/+14
* | Make sure min password length is not nullngn2023-06-111-2/+3
* | Making the error message dynamicngn2023-06-101-1/+1
* | making min password length configurablengn132023-06-101-1/+1
* | Implemented password length checkngn2023-06-101-0/+8
* | Fix docs for /users/:id/profileMadeline2023-06-111-36/+2
* | Send user and roles id array in GET /guilds/:id/members/:idMadeline2023-06-111-2/+23
* | 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
|/ /
* | create util for app bot user creationPuyodead12023-05-072-35/+5
* | add option to auto add bot users to new appsPuyodead12023-05-061-0/+21
* | Fix UserRelationsResponse schemaMadeline2023-04-191-2/+3
* | Rewrite getRouteDescriptions, fix message route not appearing in openapi specMadeline2023-04-169-60/+12
* | fix typosMadeline2023-04-142-2/+2
* | spacebarPuyodead12023-04-131-4/+4
* | clusterfuckPuyodead12023-04-1325-25/+25
* | oapi: fix a few response types in authPuyodead12023-04-132-3/+7
* | oapi: add missing 2fa types to loginPuyodead12023-04-131-1/+1
* | oapi: root level routesPuyodead12023-04-138-134/+219
* | oapi: voice regionsPuyodead12023-04-131-6/+15
* | oapi: finish usersPuyodead12023-04-138-27/+90
* | oapi: users progressPuyodead12023-04-1314-258/+521
* | oapi: stickersPuyodead12023-04-131-6/+16
* | oapi: sticker packsPuyodead12023-04-131-5/+17
* | oapi: readstatesPuyodead12023-04-131-1/+9
* | oapi: policiesPuyodead12023-04-134-38/+84
* | oapi: oauth2Puyodead12023-04-131-91/+133
* | oapi: invitesPuyodead12023-04-131-35/+87
* | oapi: fix guild discovery requirementsPuyodead12023-04-131-1/+1
* | guildsPuyodead12023-04-1328-609/+1364
* | backfill missing query paramsPuyodead12023-04-132-0/+28
* | gifs and query paramsPuyodead12023-04-133-126/+152
* | fixing lots of openapi crapPuyodead12023-04-1351-186/+191
* | AAAPuyodead12023-04-134-25/+10
* | gatewayPuyodead12023-04-132-35/+54
* | channelsPuyodead12023-04-1314-249/+531
* | applicationsPuyodead12023-04-136-97/+215
* | auth routesPuyodead12023-04-1312-40/+141
|/
* 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-111-1/+13
|\
| * send public member in message_reaction_add eventtMadeline2023-04-111-2/+11
| * Update reactions.tsRainb0w :32023-04-101-1/+2
| * properly track reactionsRainb0w :32023-04-081-0/+2
* | 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-111-19/+14
* | 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
|/
* License informationMadeline2023-04-025-0/+90
* Update connection metadata visibilityMadeline2023-04-021-1/+4
* Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-02140-551/+553
|\
| * Remove ALL fosscord mentionsMadeline2023-03-31134-242/+242
| * Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-312-4/+3
| * Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-302-3/+4
| |\
| | * fix: use entity.save() instead of insert (needed for caching)Samuel2023-03-181-3/+3
| | * fix: missing id in select querySamuel2023-03-181-0/+1
| * | SPACEBARMadeline2023-03-31134-134/+134
| * | SPACEBARMadeline2023-03-31134-132/+168
| * | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-03-241-1/+1
| |\ \
| | * | fix totp using wrong settings keyPuyodead12023-03-211-1/+1
| | |/
| * / Work towards fixing openapi specMadeline2023-03-244-34/+0
| |/
* | Move redirect uri generation to getRedirectUri function of Connection class.Madeline2023-03-181-5/+7
* | Check visibility for connected accounts in /users/:id/profileMadeline2023-03-181-1/+3
* | 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-182-12/+17
* | 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-182-1/+85
* | Delete connectionsMadeline2023-03-181-1/+24
* | entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchemaMadeline2023-03-181-3/+2
* | Don't use mergeDeepMadeline2023-03-181-6/+2
* | `handleCallback` returns connection if created for `USER_CONNECTIONS_UPDATE`Madeline2023-03-181-7/+8
* | implement PATCH connectionPuyodead12023-03-182-0/+51
* | adding connection now worksPuyodead12023-03-182-2/+2
* | add connectionsPuyodead12023-03-184-3/+119
|/
* Fix UserSettings relation being in `select` rather than `relations`Madeline2023-03-164-6/+7
* Rename password_reset config to passwordReset as it messes with config key ge...Madeline2023-02-251-1/+1
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-241-1/+1
|\
| * fix a few issues with emailsPuyodead12023-02-241-1/+1
* | send required_action in gateway for when email verification is requiredMadeline2023-02-241-11/+0
|/
* first batch of requested changesPuyodead12023-02-242-42/+65
* don't return token on register if verification requiredPuyodead12023-02-241-0/+11
* implement password resetPuyodead12023-02-243-1/+150
* don't print anything if email send is successfulPuyodead12023-02-241-2/+1
* add right to resend verification emailsPuyodead12023-02-231-21/+25
* fix: email verificationPuyodead12023-02-232-15/+15
* fix: verification required for login not working correctlyPuyodead12023-02-231-0/+1
* config: require account verificationPuyodead12023-02-232-6/+13
* fix linting errorsPuyodead12023-02-231-11/+4
* Fix template rendering and use verify email templatePuyodead12023-02-231-1/+1
* Email verification worksPuyodead12023-02-232-3/+69
* add missing copyright headersPuyodead12023-02-231-0/+18
* send email verificationPuyodead12023-02-231-0/+45
* Fix being unable to unset nicknamesMadeline2023-02-051-1/+11
* various fixes for webauthn (#973)Puyodead12023-02-033-9/+21
* run add:licenseMadeline2023-02-031-0/+18
* Don't allow message types to be editedMadeline2023-02-031-6/+3
* Merge pull request from GHSA-9qvc-84ch-5p2xMadeline2023-02-021-1/+26
* Merge pull request from GHSA-hqqp-gpqw-9w5cMadeline2023-02-021-2/+2
* Merge pull request from GHSA-9q7f-pv47-cxp9Madeline2023-02-021-1/+13
* Merge pull request from GHSA-r7h4-76f7-6264Madeline2023-02-021-0/+10
* check pw and other auth before letting users undisableMadeline2023-01-311-19/+19
* read-states/ack-bulk (#969)Madeline2023-01-301-0/+41
* Implement WebAuthn (#967)Puyodead12023-01-304-7/+392
* also don't use 3002 as default when gateway endpoints are nullMadeline2023-01-263-3/+3
* Add ESLint (#941)Madeline2023-01-2067-229/+262
* Fix a funny security vulnChrisChrome2023-01-181-1/+1
* Merge pull request #952 from fosscord/dev/endpoints-in-pingChris Chrome2023-01-181-1/+3
|\
| * Move endpoints from ping -> policies/instance/domains (#933)Chris Chrome2023-01-162-9/+4
| * Fix some default valueTheArcaneBrony2023-01-141-1/+2
| * Add basic info in pingTheArcaneBrony2023-01-141-1/+7
* | Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-18126-1/+2268
* | Fix deleting an application if it has a botMadeline2023-01-171-2/+0
|/
* Add /users/:id/delete (#926)Erkin Alp Güney2023-01-141-0/+39
* Add back include_url param to reg tokensMadeline2023-01-101-3/+11
* PrettierMadeline2023-01-0527-387/+601
* Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatchMadeline2023-01-021-2/+8
|\
| * Profile themes and pronounsMadeline2022-12-311-2/+8
* | Use adjusted email in /auth/loginMadeline2023-01-021-1/+1
* | Revert "Don't let users undisable their accounts"Madeline2023-01-011-6/+8
* | Don't let users undisable their accountsMadeline2023-01-011-8/+6
|/
* Fix new roles having duplicate positionsMadeline2022-12-302-6/+13
* OAuth2 authorize bot flowMadeline2022-12-241-0/+146
* Fix creating bot accountsMadeline2022-12-241-1/+4
* Set default cdn endpoints so that local testing worksMadeline2022-12-211-1/+1
* Fix the roles bugMadeline2022-12-211-5/+8
* Reg tokens bypass other restrictionsMadeline2022-12-191-21/+22
* Message rate limitingTheArcaneBrony2022-12-191-1/+22
* Registration tokensMadeline2022-12-192-1/+47
* Add register ratelimitTheArcaneBrony2022-12-191-1/+15
* flags related rights and stats apiErkin Alp Güney2022-12-191-0/+22
* fix user profile not displaying correctlyPuyodead12022-12-191-2/+9
* implement guild profiles and fix user profilesPuyodead12022-12-193-70/+121
* Create webhooksMadeline2022-12-192-4/+26
* Move UserSettings to own entityTheArcaneBrony2022-12-191-4/+6
* Invalidate tokens on password changeChrisChrome2022-12-181-2/+10
* Make teams nullableTheArcaneBrony2022-12-181-1/+0