summary refs log tree commit diff
path: root/src/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prettier u15 github/dev/emma-wip dev/emma-wipRory&2025-12-173-11/+12
|
* EnvConfig everywhereRory&2025-12-171-86/+86
|
* Use EnvConfig for portRory&2025-12-171-1/+1
|
* Use getter for EnvConfigRory&2025-12-175-7/+8
|
* Use EnvConfig for validation errorsRory&2025-12-171-86/+98
|
* Use EnvConfig for thread countRory&2025-12-171-22/+16
|
* Use EnvConfig for proto settings logging, unify settingRory&2025-12-172-252/+252
|
* Use EnvConfig for logging settingsRory&2025-12-171-119/+119
|
* Automod work (WIP)Rory&2025-12-171-404/+415
|
* lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-17205-12444/+12444
|
* Remove automod code in favor of dev/emma-wip stuffRory&2025-12-171-55/+0
|
* No more fallback URLsRory&2025-12-173-6/+3
|
* Remove GATEWAY/CDN env variables in favor of single source of truthRory&2025-12-172-2/+2
|
* Prettier u14Rory&2025-12-172-2/+2
|
* Prettier u9Rory&2025-12-175-211/+74
|
* Prettier u5Rory&2025-12-177-217/+50
|
* Prettier u4Rory&2025-12-1717-470/+127
|
* Prettier u3Rory&2025-12-1718-388/+134
|
* Prettier 8Rory&2025-12-173-19/+5
|
* Prettier 7Rory&2025-12-171-6/+1
|
* Prettier 6Rory&2025-12-172-9/+3
|
* Prettier 5Rory&2025-12-176-24/+6
|
* Prettier 4Rory&2025-12-174-10/+6
|
* Prettier 3Rory&2025-12-173-6/+3
|
* Prettier 2Rory&2025-12-175-5/+5
|
* Prettier 2Rory&2025-12-175-72/+15
|
* Prettier 1Rory&2025-12-1722-322/+102
|
* finally make eslint happyRory&2025-12-171-10/+13
|
* Centralise ip info logicRory&2025-12-171-1/+1
|
* Remove ugly hackRory&2025-12-171-2/+2
|
* Cast ephemeral flag to number because lmaoRory&2025-12-171-1/+1
|
* Rename PRIVATE_ROUTE -> EPHEMERAL, fix typoRory&2025-12-171-2/+3
|
* Remove device on logoutRory&2025-12-172-8/+10
|
* Fix sessions logoutRory&2025-12-171-0/+1
|
* Use query for sessions endpointRory&2025-12-161-1/+1
|
* Lower interval for cleaning up sessionsRory&2025-12-161-1/+1
|
* Device managementRory&2025-12-161-0/+75
|
* Fix bad importsRory&2025-12-163-3/+3
|
* Expire old sessions, update last seen on gateway heartbeatRory&2025-12-161-5/+15
|
* Less debug logging, more useful?Rory&2025-12-162-4/+3
|
* What does this even returnRory&2025-12-161-0/+4
|
* Session fixesRory&2025-12-161-1/+3
|
* More maybe un-blowing-upRory&2025-12-161-4/+13
|
* Allow opting out of persisting instance bans on user delete endpointRory&2025-12-161-1/+1
|
* Merge branch 'spacebarchat:master' into fix/gh-webhook-events-moreCyber2025-12-1518-199/+238
|\
| * fix corsRory&2025-12-151-1/+1
| |
| * remove testMathMan052025-12-141-1/+1
| |
| * fix minor bug breaking bot invitesMathMan052025-12-141-40/+9
| |
| * Try adjusting CORS rules to make cookies work?Rory&2025-12-132-10/+6
| |
| * Prevent duplicate instance ban entriesRory&2025-12-131-1/+2
| |
| * Delete user settings protos on account deletionRory&2025-12-131-1/+4
| |
| * not milliseconds lolRory&2025-12-131-1/+1
| |
| * Log elapsed time for user deleteRory&2025-12-131-1/+17
| |
| * Instance ban stuffRory&2025-12-133-2/+21
| |
| * Instance ban: clean up DMs and guild ownerships, track instance bansRory&2025-12-121-3/+121
| |
| * Fix IP tracking for bansRory&2025-12-121-1/+12
| |
| * Refactor: Replace getIpAddress with req.ipBrajamohanDas-afk2025-12-1212-142/+48
| |
| * Merge branch 'spacebarchat:master' into fix/gh-embeds-new-commits-title-linkCyber2025-12-121-1/+1
| |\
| | * fix read del bugMathMan052025-12-121-1/+1
| | |
* | | fix: check if event is "opened" or "closed"CyberL12025-12-151-0/+4
|/ /
* / fix: show compare url on multiple commitsCyberL12025-12-121-1/+1
|/
* Perhaps, dont IP ban moderatorsRory&2025-12-071-1/+0
|
* fix: check if `body` is not `null`CyberL12025-12-051-1/+3
|
* fix: include `user` object in `guild_member`CyberL12025-12-041-12/+2
|
* Clean up cloud attachment debug logsRory&2025-12-041-3/+2
|
* Remove fallback URIs, remove endpointClient, expose admin apiRory&2025-12-042-14/+11
|
* fix: show only the first line of commit messageCyberL12025-12-031-1/+1
|
* Always use req.ip when calling getIpAddressRory&2025-12-031-6/+1
|
* wtf is wrong with ipdataRory&2025-12-031-0/+3
|
* fix: github webhok username and avatar are now more in-line with discordCyberL12025-12-021-2/+2
|
* Fix registerRory&2025-12-021-1/+1
|
* Support deleting ACKs for type==channelRory&2025-12-021-2/+27
|
* Fix schema importRory&2025-12-021-1/+1
|
* Extended IP address scrutiny on registerRory&2025-12-021-63/+55
|
* Enforce bans on invites, enforce quarantine, enforce IP banRory&2025-12-021-33/+29
|
* Use IpDataClient in placesRory&2025-12-024-86/+11
|
* Always trim username updatesRory&2025-12-021-1/+1
|
* Template billing routesRory&2025-12-022-2/+84
|
* fix: send 204 even if event is invalid (discord does this, idk why)CyberL12025-12-021-3/+1
|
* chore: remove debug logCyberL12025-12-021-1/+0
|
* refactor: refactor github webhooks embeds to match discord'sCyberL12025-12-021-469/+321
|
* Fix base64 avatar stuff for webhooksRory&2025-12-011-1/+1
|
* Drop node-fetch-commonjs, proxy-agent as deprecatedRory&2025-12-0110-30/+9
|
* Merge branch 'master' into channelSearchCyber2025-12-014-32/+16
|\
| * Merge branch 'master' into dupedEventsCyber2025-12-013-11/+15
| |\
| | * Tell browsers to cache applications/games detectable response in accordance ↵Rory&2025-11-302-10/+14
| | | | | | | | | | | | of internal cache
| | * fix exposeMathMan052025-11-301-1/+1
| | |
| * | stop with the duped eventsMathMan052025-11-301-21/+1
| |/
* | fix other bugMathMan052025-11-302-38/+14
| |
* | Implement channel searchMathMan052025-11-301-0/+140
|/
* Cut down schemas by 90%Rory&2025-11-291-1/+7
|
* don't show invisMathMan052025-11-291-1/+1
|
* Fix merge issuesMathMan052025-11-298-160/+83
|\
| * Merge pull request #1408 from MathMan05/removeStupidPoliesMadeline2025-11-298-167/+87
| |\
| | * remove string proto fake polyfillMathMan052025-11-261-2/+3
| | |
| | * make mentions not use the pollyfillsMathMan052025-11-261-74/+26
| | |
| | * Merge branch 'removeStupidPolies' of https://github.com/MathMan05/server ↵MathMan052025-11-261-8/+12
| | |\ | | | | | | | | | | | | into removeStupidPolies
| | | * Merge branch 'spacebarchat:master' into removeStupidPoliesMathium052025-11-261-8/+12
| | | |\
| | * | | Merge branch 'removeStupidPolies' of https://github.com/MathMan05/server ↵MathMan052025-11-261-0/+206
| | |\| | | | | | | | | | | | | | | | | into removeStupidPolies
| | | * | Merge branch 'spacebarchat:master' into removeStupidPoliesMathium052025-11-261-0/+206
| | | |\ \
| | * | | | remove removeMathMan052025-11-261-3/+4
| | |/ / /
| | * | | change partitionMathMan052025-11-261-31/+16
| | | | |
| | * | | remove distinctMathMan052025-11-261-27/+5
| | | | |
| | * | | rid of forEachAsyncMathMan052025-11-262-20/+26
| | | | |
| | * | | rid of Math.clampMathMan052025-11-251-2/+2
| | | | |
| | * | | Delete Object.mapMathMan052025-11-251-8/+5
| | | | |
* | | | | status stuffMathMan052025-11-281-9/+28
|/ / / /
* | | / remove unneeded logMathMan052025-11-271-1/+0
| |_|/ |/| | | | | | | | The log was meant for testing only and shouldn't've been in the final pull
* | | Pagnation and guild scoping for mention inboxRory&2025-11-261-8/+12
| |/ |/|
* | Maybe?Rory&2025-11-261-9/+15
| |
* | Swap around toJSON and withSignedAttachments (oops)Rory&2025-11-261-2/+2
| |
* | Actually include messages in mentions resultRory&2025-11-261-10/+48
| |
* | Mentions inbox: use the right roles prop...Rory&2025-11-261-1/+2
| |
* | Mentions inbox: include channel guild idRory&2025-11-261-1/+1
| |
* | Mention inbox, hopefullyRory&2025-11-261-0/+161
|/
* Message handler: fix importsRory&2025-11-251-7/+5
|
* implement timeouts and quarantinesRory&2025-11-251-14/+15
|
* allow setting communication_disabled_untilRory&2025-11-251-0/+5
|
* slight fixMathMan052025-11-251-1/+2
|
* Implement SlowmodeMathMan052025-11-251-2/+17
|
* fix bot deletingMathMan052025-11-241-3/+1
|
* fix :3MathMan052025-11-231-2/+1
|
* is it a hack if it works?MathMan052025-11-232-2/+2
|
* fix for the comemntingMathMan052025-11-231-2/+2
|
* no, that doesn't workMathMan052025-11-231-0/+2
|
* maybe fix attachments?MathMan052025-11-231-3/+15
|
* workMathMan052025-11-231-1/+12
|
* use nonce?MathMan052025-11-231-0/+1
|
* make interactions more normalMathMan052025-11-232-52/+10
|
* Add well-known routesRory&2025-11-221-0/+36
|
* fixesMathMan052025-11-191-1/+6
|
* add missing awaitsMathMan052025-11-191-2/+2
|
* fix mentions issuesMathMan052025-11-191-6/+33
|
* Merge branch 'master' into webhookFixCyber2025-11-194-18/+42
|\
| * Merge branch 'master' into readStatesCyber2025-11-191-4/+7
| |\
| * | implement mention_countMathMan052025-11-184-18/+42
| | |
* | | correctly check queryMathMan052025-11-191-1/+1
| | |
* | | rearange errorsMathMan052025-11-191-8/+9
| | |
* | | fixesMathMan052025-11-191-44/+17
| | |
* | | Merge branch 'webhookFix' of https://github.com/MathMan05/server into webhookFixMathMan052025-11-191-4/+7
|\ \ \
| * \ \ Merge branch 'master' into webhookFixCyber2025-11-191-4/+7
| |\ \ \ | | | |/ | | |/|
| | * | more fixMathMan052025-11-181-1/+7
| | | |
| | * | I am an idiot, it wasn't backwardsMathMan052025-11-181-1/+1
| | | |
| | * | fixMathMan052025-11-181-5/+2
| | |/
* | | get rid of logMathMan052025-11-191-1/+0
| | |
* | | some fixesMathMan052025-11-191-10/+32
|/ /
* / make not wait work correctlyMathMan052025-11-181-46/+20
|/
* Merge branch 'master' into DecCyber2025-11-181-0/+1
|\
| * no bots for youMathMan052025-11-181-0/+1
| |
* | member count fixesMathMan052025-11-183-19/+7
|/
* Merge branch 'master' into pingFixCyber2025-11-181-1/+4
|\
| * update last message id in more placesMathMan052025-11-171-1/+4
| | | | | | | | This update should update the last message id in the greet message endpoint and the Member creation message.
* | rename varriableMathMan052025-11-171-1/+1
| |
* | add spacingMathMan052025-11-171-0/+1
| |
* | fix ping error bugMathMan052025-11-171-2/+17
|/
* fixes slight bug with joining guilds via IDMathMan052025-11-171-30/+10
|
* fix full user object being exposedMathMan052025-10-306-141/+53
|
* fix: check for duplicated component IDsCyberL12025-10-281-1/+22
|
* chore: remove solved TODO commentCyberL12025-10-281-1/+0
|
* fix: check if components are beetwen 1 to 5 in each rowCyberL12025-10-281-1/+21
|
* fix: send `options` only for type 1CyberL12025-10-231-2/+2
|
* fix: complete `applicationCommandSendable`CyberL12025-10-231-5/+17
|
* fix dming blocked usersPuyodead12025-10-221-0/+22
|
* reduce a littleMathMan052025-10-221-5/+4
|
* I think this fixes bugsMathMan052025-10-221-6/+7
|
* Revert "fix: no sense it doing it twice when it could be done in one query"Cyber2025-10-221-3/+9
|
* fix: no sense it doing it twice when it could be done in one queryCyberL12025-10-221-9/+3
|
* fix: trim moreCyberL12025-10-224-9/+12
|
* fix: add `author` to interaction messageCyberL12025-10-221-1/+1
|
* fix: add `BulkApplicationCommandCreateSchema`CyberL12025-10-222-2/+2
|
* fix: components on messageCyberL12025-10-221-0/+1
|
* fix: delete bot user when application is deletedCyberL12025-10-221-38/+14
|
* fix: get all application commandsCyberL12025-10-211-3/+12
|
* add fingerprint endpointdoesnm2025-10-202-0/+30
|
* fix: remove commands not present in arrayCyberL12025-10-202-0/+21
|
* fix: trim command `name` and `description` fieldsCyberL12025-10-204-24/+24
|
* fix: don't emit ephemeral interaction replies to channel, but only to user ↵CyberL12025-10-201-1/+1
| | | | instead
* fix: interaction type checkCyberL12025-10-191-1/+1
|
* fix: interaction `attachment_size_limit` fieldCyberL12025-10-191-2/+2
|
* fix: interaction `app_permissions` fieldCyberL12025-10-191-2/+3
|
* fix: interaction contextCyberL12025-10-191-1/+7
|
* fix: interaction callbackCyberL12025-10-193-19/+59
|
* Synchronously save automod messageRory&2025-10-191-39/+25
|
* Use message.createRory&2025-10-191-0/+1
|
* Use save operator rather than raw insert maybe?Rory&2025-10-191-1/+1
|
* More env settings to tune down log noiseRory&2025-10-192-8/+10
|
* Helper to create valid messagesRory&2025-10-191-1/+3
|
* fixRory&2025-10-181-1/+1
|
* Automod mayhaps?Rory&2025-10-181-7/+84
|
* fix: typo, additional `m` lolCyberL12025-10-181-1/+1
|
* feat: interaction repliesCyberL12025-10-181-4/+83
|
* fix: pass the command type to pending interactions mapCyberL12025-10-181-1/+2
|
* fix: comment out the route for interactions callbackCyberL12025-10-181-1/+1
|
* Fix relationshipsRory&2025-10-181-16/+7
|
* fix: move types to schemaCyberL12025-10-181-4/+3
|
* fix: add `user` object on `interaction` and `interaction_metadata` for messagesCyberL12025-10-181-8/+16
|
* Partial usersetting update schemaRory&2025-10-181-4/+5
|
* feat: interactions (incomplete)CyberL12025-10-173-7/+175
|
* fix: do the same for applicaiton_commandsCyberL12025-10-171-1/+17
|
* fix: send only needed fieldsCyberL12025-10-171-3/+17
|
* feat: add application command index route for guildsCyberL12025-10-171-0/+39
|
* fix: check if an application is in a guildCyberL12025-10-172-8/+38
|
* feat: add endpoints for managing application commandsCyberL12025-10-174-0/+610
|
* games/detectableRory&2025-10-171-0/+52
|
* Marshall ajverrorsRory&2025-10-171-1/+3
|
* Include full AJV error on apiRory&2025-10-171-1/+1
|
* Local changesRory&2025-10-161-2/+14
|
* Implement applications/@meRory&2025-10-161-0/+115
|
* More schema work, moved most stuff from entities to schemas, though messyRory&2025-10-1519-42/+22
|
* Reorganise schemas a little bitRory&2025-10-1579-127/+103
|
* Schema fixes, api bug fixRory&2025-10-141-2/+2
|
* app_id -> application_idRory&2025-10-141-0/+0
|
* Return defaults for missing {proto-,}settingsRory&2025-10-113-13/+15
|
* More path fixesRory&2025-10-112-2/+2
|
* Update more path variablesRory&2025-10-114-14/+14
|
* Update path variablesRory&2025-10-1113-39/+39
|
* fix pathRory&2025-10-071-2/+2
|
* API: expose schemas.json and openapi.jsonRory&2025-10-071-50/+18
|
* Try to fix sending messages with discord-goRory&2025-10-061-0/+1
|
* Merge remote-tracking branch 'origin/dev/admin-api'Rory&2025-10-051-0/+4
|\
| * Local changesEmma [it/its]@Rory&2025-10-051-0/+4
| |
* | Fix missing return statementRory&2025-10-041-1/+2
|/
* Fix importRory&2025-10-041-2/+2
|
* Templates, maybe?Rory&2025-10-041-99/+46
|
* Add sticker limitRory&2025-10-041-0/+12
|
* Unkown -> unkown (typo fix)Rory&2025-10-041-1/+1
|
* Clean up array extensionsRory&2025-10-044-10/+9
|
* Add dotnet-ish Random classRory&2025-10-041-2/+2
|
* Drop dependency on missing-native-js-functionsRory&2025-10-043-3/+0
|
* Move reporting menu to todoRory&2025-10-041-1/+2
|
* Fix ignored request schemasRory&2025-10-042-1/+47
|
* fix: getting invites for a channelCyberL12025-10-021-16/+3
|
* Log schema name on errorRory&2025-10-011-1/+1
|
* Safety hub workRory&2025-10-012-3/+61
|
* Implement fetching mutual friendsRory&2025-09-301-117/+124
|
* Pass mergeParams: true to new router calls due to express behavior changeRory&2025-09-30171-171/+171
|
* Clean up unused importsRory&2025-09-309-19/+3
|
* Silence, dotenv, we dont want your adsRory&2025-09-292-2/+3
|
* Drop @sentry/node (Sentry support) - untested and unusedRory&2025-09-293-14/+0
|
* No error when message not foundRory&2025-09-292-2/+2
|
* Also filter expired invites when returning invite listRory&2025-09-291-1/+1
|
* Delete expired invitesRory&2025-09-291-0/+6
|
* Add fetching guild profilesRory&2025-09-291-0/+65
|
* Maybe this tieRory&2025-09-292-1/+5
|
* Include attachmentsRory&2025-09-291-2/+5
|
* Polyfill referenced messageRory&2025-09-291-0/+12
|
* More relationsRory&2025-09-292-66/+20
|
* Add author and mentions relation to fetching messagesRory&2025-09-291-0/+2
|
* Actually set the referenced_message relation on new messagesRory&2025-09-291-1/+8
|
* Include referenced_message relation on GET /channel/.../messagesRory&2025-09-291-0/+1
|