summary refs log tree commit diff
path: root/src/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Init plugin config rebased/dev/rory/legacy/pluginsRory&2025-09-081-2/+1
|
* Cherrypick fixupsRory&2025-07-2720-85/+35
|
* Cleanup, reformat, fix some todos, git hookTheArcaneBrony2025-07-2721-371/+38
| | | | fixup! Cleanup, reformat, fix some todos, git hook
* Fix config table, add plugin events, implement onPreMessageEvent, addTheArcaneBrony2025-07-274-7/+22
| | | | http error data field, migrations
* More cleanupRory&2025-07-272-6/+11
|
* WIP logo/terminal stuffEmma [it/its]@Rory&2025-07-271-2/+2
|
* Implement CRUD for automodEmma [it/its]@Rory&2025-07-271-0/+147
|
* add types to the ban api response objectsdank0742025-07-211-13/+24
|
* update guild bans apidank0742025-07-211-7/+74
|
* Merge pull request #1305 from ZaneH/feat/handle-github-webhookPuyodead12025-07-123-147/+714
|\ | | | | Implement GitHub-compatible webhook
| * Proxy avatar URL + adjust event logicZane Helton2025-06-291-17/+132
| | | | | | | | | | | | | | | | I've proxied the URLs with `getProxyUrl` specifying the size as 80x80. I've also adjusted the event logic so that unstarring doesn't trigger an alert and I've disabled the 'watch' event because Discord doesn't use it either.
| * Make tsc happy when using strings as Date in embedZane Helton2025-06-292-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | Validation on embeds has interesting behavior. Embeds have a `timestamp` property that is of type `Date`. However when providing a Date, `WebhookExecuteSchema` silently ends the operation. The resolution was to use strings and to annotate them with `// @ts-expect-error`. This was not my first choice, but it was the best option I saw. The other option is to allow `Embeds` to pass strings as a timestamp but I'd want a second opinion before making that change.
| * Refactor `/github` endpoint into it's own fileZane Helton2025-06-293-561/+577
| |
| * Capitalize `ref_type` when using in embedZane Helton2025-06-291-1/+2
| | | | | | | | | | | | | | | | | | The GitHub API provides `ref_type` as lowercase. For consistency, this adds a utility function and makes use of it when formatting the `create` event from GitHub. tag => Tag branch => Branch
| * Implement webhook handler for GitHubZane Helton2025-06-291-136/+551
| | | | | | | | | | | | I've created a middleware that runs when `/github` is appended to the webhook URL. The middleware parses the GitHub webhook and turns it into usable embeds.
* | Modern pins endpointsRory&2025-07-082-0/+195
| |
* | Add emoji source endpointRory&2025-07-071-0/+93
| |
* | Add endpoint to get account standingRory&2025-07-071-0/+58
| |
* | PrettierRory&2025-07-063-27/+54
| |
* | Fix forgotten function signature changesRory&2025-07-062-4/+10
| |
* | Make IP/user-agent validation in CDN workRory&2025-07-063-7/+22
| |
* | sign attachment on sending messageEmma [it/its]@Rory&2025-07-061-1/+1
| |
* | Sign media per userEmma [it/its]@Rory&2025-07-061-2/+3
| |
* | Add options to erquire IP or User Agent to access CDNEmma [it/its]@Rory&2025-07-062-3/+3
| |
* | Fix typeorm queries no longer allowing empty where clausesEmma [it/its]@Rory&2025-07-061-1/+1
| |
* | Update some dependencies, fix nixEmma [it/its]@Rory&2025-07-023-4/+7
| |
* | Fix the fixMathMan052025-07-021-1/+1
| | | | | | this should actually be what's intended
* | Check for old password when setting newMathMan052025-07-021-1/+1
| | | | | | Checks for password
* | Fix the creation of guilds from templatesZane Helton2025-06-293-23/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The biggest hold-up was missing fields (`premium_tier`, `welcome_screen`, etc.) but it looks like someone has provided a helpful function called `createGuild(...)` to provide sensible default values. This commit fixes the errors related to creating a guild from a template. I've also refactored the code to include roles and channels in the template. To make sure that the @everyone role is cloned correctly, when creating the guild from a template, we check if the role's ID matches the template's `source_guild_id`. If it does, we set the @everyone role to the new guild's ID.
* | Set `premium_tier` to 0 when creating guild from templateZane Helton2025-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think we'll need to discuss the proper way to provide default values here. `premium_tier` for example should never be provided from the template so it's fine going after the spread operator. This commit still doesn't allow guilds to be created from template because the next error is that `welcome_screen` doesn't exist. Our options: 1. Provide default values in the ORM 2. Provide default values in the guild creation process 3. Throw an error if the template is missing values Resolves: #1283 but creates a new issue
* | Await guild creation to fix a race conditionZane Helton2025-06-291-19/+18
| | | | | | | | | | | | | | `Promise.all(...)` runs these simultaneously, yet role depends on the guild to be created first. This can lead to a race condition. I've awaited role creation too because the call to `Member.addToGuild(...)` relies on the role to be created.
* | Fix PATCH Template route implementationZane Helton2025-06-291-6/+8
| | | | | | | | | | | | | | | | The previous PATCH implementation was creating a new template rather than editing the existing template. This resulted in all requests failing because it was missing more than one required field. Resolves: #1281
* | Add OP to message.mentions when replied toZane Helton2025-06-291-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `message.message_reference` stores: 1. `message_id` 2. `channel_id` 3. `guild_id` We use the `message_id` and `channel_id` to `.findOne(...)` Message, and find the author. If the author is the same as OP, we skip (so replying to yourself doesn't add you to the mentions array) otherwise, it adds the author_id to the mentions array. Resolves: #1247
* | Preserve reactions when a message is editedZane Helton2025-06-291-1/+3
|/ | | | Resolves #1241
* Properly filter existing embed linksZane Helton2025-06-291-8/+2
| | | | | | | | In a previous PR, I was checking if the `.url` property existed, the correct fix is to remove any embed that isn't a rich embed type (non-link). See also: #1296
* Start fresh when updating embeds for linksZane Helton2025-06-281-8/+3
| | | | | | | | | | In a previous commit I was attempting to be clever by only replacing/removing embeds if necessary. This not only made the logic more confusing but introduced a bug that would allow for orphaned embeds when updating the search params of a URL. This commit will remove all embeds that have a `.url` property and start fresh. This simplifies the code and eliminates the aforementioned bug.
* Fix various issues with embeds on message updatesZane Helton2025-06-281-14/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `postHandleMessage` function is parsing links and adding them to the EmbedCache table if necessary. In the previous implementation, message updates would push to the embeds unconditionally. This commit parses links from the message and: 1. Normalizes the URLs - Useful for deduplicating similar URLs 2. Remove embeds with matching normalized URLs - Leaves all embeds except for ones with a `.url` property matching the updated message - This allows embeds to be re-ordered if the URL is moved 3. If no normalized URLs are found, remove all embeds 4. Take the deduplicated + normalized URLs and add an embed to the message and insert into the EmbedCache table (if necessary) This enables: 1. Embeds to be re-ordered by re-ordering links 2. Embeds to be removed by removing links and fixes: 1. Duplicate embeds being attached to a message when edited
* Add validation to date_of_birth registration fieldZane Helton2025-06-281-2/+16
| | | | Resolves: #1020
* add webrtc support (#1284)dank0742025-06-221-1/+1
| | | | Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com>
* send the real indexMathMan052025-05-281-1/+1
|
* code relies on things done in a certain orderMathMan052025-05-281-54/+50
| | | | This makes sure that the code gets done in the order that is expected
* remove missed logMathMan052025-05-281-1/+0
|
* sort array to make algorithm happyMathMan052025-05-281-1/+20
|
* fix another stupid bugMathMan052025-05-281-1/+1
|
* don't set possition if sentMathMan052025-05-281-1/+1
|
* remove logsMathMan052025-05-281-2/+0
|
* delete the null eaterMathMan052025-05-281-2/+1
|
* channel is nullable fixesMathMan052025-05-281-12/+21
|
* forgot to test on rebuildMathMan052025-05-281-0/+2
|
* fix moving channelsMathMan052025-05-281-1/+1
|
* Implement signed cdn urlsPuyodead12025-05-032-8/+59
|
* add `author` to query in pins APIdank0742025-04-091-0/+2
|
* PrettierEmma [it/its]@Rory&2025-04-093-9/+11
|
* Fix dependenciesEmma [it/its]@Rory&2025-04-091-2/+4
|
* stupid fixMathMan052025-04-031-1/+1
|
* fix password reset bugMathMan052025-04-031-1/+1
| | | Not sure if this'll work, but made a pull so y'all could see the issue
* Validate Name for webhooks enforced moreroot2025-03-252-62/+3
|
* Added can_recover_account value to /api/policies/instance/configroot2025-03-251-0/+3
|
* Added better user configuration and removed extra loggingroot2025-03-251-10/+10
|
* Merge branch 'spacebarchat:master' into masterMunchy2025-03-241-0/+1
|\
| * acatually fix the embed issueMathMan052025-03-231-0/+1
| | | | | | This one added the line in the right spot, sorry about the previous one lol
* | Updated error message for empty webhook update bodyroot2025-03-242-2/+2
| |
* | Added Name Validation utility functionroot2025-03-243-32/+79
| |
* | Merge branch 'master' of https://github.com/spacebarchat/server into ↵root2025-03-232-4/+8
|\| | | | | | | update_webhooks
| * Merge pull request #1205 from DEVTomatoCake/feat/dont-send-x-powered-byPuyodead12025-03-231-3/+4
| |\ | | | | | | Stop sending X-Powered-By & use API CORS + BodyParser middlewares in CDN
| | * Stop sending X-Powered-By & share CORS/BodyParserTomatoCake2024-08-311-3/+4
| | |
| * | Update index.tsMathMan052025-03-231-1/+4
| | |
| * | fix minor bugMathMan052025-03-221-1/+1
| | |
* | | Fixed errors in authorization for webhooks with tokensroot2025-03-234-8/+341
|/ /
* | Added in date wrap on generate-registration-tokens.tsroot2025-03-191-2/+4
| |
* | implement hubs routesPuyodead12025-01-073-0/+198
| |
* | run prettierdank0742024-11-197-11/+10
| |
* | Merge branch 'master' into fix/user-profile-colorsCyber2024-11-142-2/+0
|\ \
| * | turn off eslint rules causing issuesdank0742024-11-132-2/+0
| | |
* | | fix: return user profile theme colors as numbersCyberL12024-11-121-2/+2
|/ /
* | Add express trustedProxy supportEmma [it/its]@Rory&2024-10-301-0/+4
| |
* | Fix the broken delete APIMathMan052024-10-291-1/+1
| |
* | Fix module resolution when $CWD != .Emma [it/its]@Rory&2024-10-281-1/+2
| |
* | Update some patches, switch to node-fetch-commonjs, more updatesEmma [it/its]@Rory&2024-10-289-18/+48
| |
* | fix: self nick change responseCyber2024-09-031-2/+10
| |
* | Fix uploading of emojisTomatoCake2024-09-021-2/+2
| |
* | Add more application propertiesTomatoCake2024-08-311-3/+22
|/
* Enforce RegEx no auth routes startTomatoCake2024-08-301-4/+4
|
* Fix HEAD requests for no authorization routesTomatoCake2024-08-301-4/+10
|
* fix: display pinned message authorCyber2024-08-281-0/+1
|
* Run prettierTomatoCake2024-08-252-2/+7
|
* Remove auth requirement & fix image pathTomatoCake2024-08-252-2/+4
|
* Run prettierTomatoCake2024-08-242-11/+8
|
* Add method to NO_AUTHORIZATION_ROUTESTomatoCake2024-08-242-32/+31
|
* 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 ↵TomatoCake2024-08-2211-93/+306
|\ | | | | | | into fix/guild-create-response-schema
| * Merge pull request #1189 from greysilly7/dev/bodyparserMadeline2024-08-221-2/+22
| |\
| | * feat (bodyparser): do proper errorsScott Gould2024-08-191-2/+22
| | |
| * | Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channelsMadeline2024-08-227-68/+249
| |\ \
| | * | Send 204 regardless of user existanceTomatoCake2024-08-211-53/+13
| | | |
| | * | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵TomatoCake2024-08-185-34/+79
| | |\| | | | | | | | | | | | | into feat/local-image-proxy
| | | * Merge pull request #1185 from CyberL1/feat/message-pinned-messagePuyodead12024-08-181-0/+32
| | | |\ | | | | | | | | | | feat: message pinned message
| | | | * 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 error
| | | | * | Consistent widget disabled errorTomatoCake2024-08-182-11/+17
| | | | |/
| | | * / Fix widget.png guild icon loadingTomatoCake2024-08-181-8/+8
| | | |/
| | * | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵TomatoCake2024-08-1515-87/+642
| | |\ \ | | | | | | | | | | | | | | | into feat/local-image-proxy
| | * \ \ Merge branch 'master' into feat/local-image-proxyTomatoCake2024-07-1813-54/+160
| | |\ \ \
| | * | | | Fix build by using ts-ignoreTomatoCake2024-06-281-1/+2
| | | | | |
| | * | | | Fix style + nix?TomatoCake2024-06-281-2/+6
| | | | | |
| | * | | | "Fix" jimp import typingsTomatoCake2024-06-281-6/+15
| | | | | |
| | * | | | Merge branch 'master' into feat/local-image-proxyTomatoCake2024-06-281-3/+21
| | |\ \ \ \
| | * | | | | Add config value for cache durationTomatoCake2024-06-281-4/+5
| | | | | | |
| | * | | | | Prettier stuff -.-TomatoCake2024-06-221-4/+6
| | | | | | |
| | * | | | | Fix @ts-expect-error comment after PrettierTomatoCake2024-06-221-1/+1
| | | | | | |
| | * | | | | Run Prettier (tabs -> spaces???)TomatoCake2024-06-221-21/+41
| | | | | | |
| | * | | | | Add local image proxy using sharp/jimp pkgsTomatoCake2024-06-223-1/+147
| | | | | | |
| | * | | | | Ban API compat & Bulk Ban endpoint (#1120)TomatoCake2024-06-053-25/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
| * | | | | | 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-106-56/+489
|\| | | |
| * | | | 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-183-12/+32
| | | | | |
| * | | | | Prettier & fix merge util/handlers/MessageTomatoCake2024-07-181-27/+31
| | | | | |
| * | | | | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵TomatoCake2024-07-1819-159/+364
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | into feat/webhooks-3
| * | | | | Fix ESLint & prettierTomatoCake2024-07-183-9/+22
| | | | | |
| * | | | | webhook fixes & username/avatar property for msgTomatoCake2024-07-182-35/+107
| | | | | |
| * | | | | Start implementing webhooksPuyodead12023-12-105-13/+298
| | | | | |
* | | | | | 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
| | | | | | | | | | | | | | | | | | | | | | | | | | | | suggested by @devtomatocake
| * | | | | | 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-172-5/+12
| | | |
* | | | 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
| | | |
* | | | fix: check for message componentsCyber2024-07-091-1/+2
| | | |
* | | | fix: poll message is not an empty messageCyber2024-07-091-1/+2
| | | |
* | | | Make poll a single object instead of an arrayTomatoCake2024-07-091-4/+4
| | | |
* | | | Merge pull request #1137 from DEVTomatoCake/fix/cdn-proxy-pathMadeline2024-07-091-6/+14
|\ \ \ \
| * \ \ \ Merge branch 'master' into fix/cdn-proxy-pathTomatoCake2024-07-092-6/+10
| |\ \ \ \
| * | | | | 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-092-6/+10
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | add email verification pagePuyodead12024-07-081-5/+9
| | | | | |
| * | | | | fix incorrect error fieldPuyodead12024-07-081-1/+1
| |/ / / /
* | | | | fix poll in msg create schemaMadeline2024-07-091-16/+17
| | | | |
* | | | | Add new message flags once againTomatoCake2024-07-052-6/+8
|/ / / /
* | | | Don't embed links in <>TomatoCake2024-07-041-1/+4
| | | |
* | | | 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-053-7/+15
| | |
* | | Fix lint: let -> constTomatoCake2024-06-051-1/+1
| | |
* | | Add Bulk Ban endpointTomatoCake2024-06-052-10/+136
| | | | | | | | | | | | | | | | | | - /:guild_id/bulk-ban endpoint - Support multiple required permissions for endpoints (untested as I don't know where those are set) - New API error BULK_BAN_FAILED
* | | API /:guild_id/bans compatTomatoCake2024-06-051-14/+17
| |/ |/| | | | | | | | | | | - Fix GET Ban using "ban"/"user" instead of "user_id" in params, making it unusable - Return a processed user object instead of the raw DB one - Silently ignore already banned users to prevent duplicate bans in the DB - Return HTTP 204 on successful bans instead of the raw DB ban object
* | Fix application icons (#1110)BoryaGames2024-02-112-1/+9
| | | | | | | | Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* | 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
|
* 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
|
* 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 `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`
* | Implement community "create one for me"Madeline2023-08-101-0/+72
| |
* | 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)
* | fix reversed check in GET messagesMadeline2023-08-071-1/+1
| |
* | Fix connection class importsPuyodead12023-08-061-1/+1
| |
* | Fix some linting warningsPuyodead12023-08-063-3/+2
| |
* | update proxy-agentMadeline2023-08-073-3/+3
| |
* | switch from il8next-node-fs-backend to il8next-fs-backendMadeline2023-08-071-1/+1
| |
* | some abaddon compatMadeline2023-07-311-32/+36
| |
* | * call toJSON of keys in gateway when using erlpackMadeline2023-07-291-1/+1
| | | | | | | | | | | | * 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-283-11/+3
|/ /
* | fix get channel messages around parameterVincent Junge2023-06-261-10/+11
| |
* | Merge pull request #1066 from Zert3x/masterMadeline2023-06-141-1/+1
|\ \ | | | | | | Fix a typo
| * | Update ipAddress.tsZert3x2023-05-281-1/+1
| | |
* | | 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
| | | | | | | | | Co-authored-by: Puyodead1 <puyodead@proton.me>
* | | 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
| |
* | Merge branch 'master' into openapiMadeline2023-04-191-1/+6
|\|
| * Fix body-parser errors not being filtered in ErrorHandler middlewareMadeline2023-04-161-1/+6
| |
* | 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-1315-258/+522
| |