summary refs log tree commit diff
path: root/src/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* final pk fixesMathMan052026-03-182-140/+165
|
* merge the functionsMathMan052026-03-182-10/+17
|
* make some correctionsMathMan052026-03-181-16/+23
|
* make better errorMathMan052026-03-181-1/+1
|
* invert ifMathMan052026-03-181-7/+7
|
* fixesMathMan052026-03-182-2/+3
|
* remove logMathMan052026-03-181-1/+0
|
* inline constantMathMan052026-03-181-2/+1
|
* fix typoMathMan052026-03-181-1/+1
|
* enum for failureMathMan052026-03-181-1/+1
|
* remove logMathMan052026-03-181-1/+0
|
* correct commentMathMan052026-03-181-1/+1
|
* returnMathMan052026-03-181-1/+1
|
* keep it safeMathMan052026-03-181-1/+14
|
* remove logsMathMan052026-03-181-3/+0
|
* don't do thatMathMan052026-03-181-0/+3
|
* call to jsonMathMan052026-03-184-7/+7
|
* more pk fixesMathMan052026-03-183-4/+6
|
* fix moreMathMan052026-03-181-0/+1
|
* fixes for pluralkitMathMan052026-03-185-24/+121
|
* a lot of small fixesMathMan052026-03-182-1/+4
|
* remove some extrasMathMan052026-03-181-8/+0
|
* fix many bugsMathMan052026-03-182-25/+31
|
* sign hereMathMan052026-03-181-9/+5
|
* it ain't asyncMathMan052026-03-181-1/+1
|
* sign 'emMathMan052026-03-182-10/+18
|
* maybe processing media?MathMan052026-03-181-13/+89
|
* v2 init workMathMan052026-03-181-29/+117
|
* move the check to the right spotMathMan052026-03-182-41/+53
|
* Fix schemas for guild bansRory&2026-03-171-7/+7
|
* Schemas for emojisRory&2026-03-171-1/+1
|
* Schemas for stickersRory&2026-03-172-2/+2
|
* Fix errorneous logRory&2026-03-171-2/+1
|
* Fix some broken importsRory&2026-03-172-2/+2
|
* CORS: change max age from 5s to 60sRory&2026-03-151-1/+1
|
* added missing author to repliesLisa Marie Maginnis2026-03-151-1/+4
|
* Added user and roles to PublicMember response to fix reactionsLisa Marie Maginnis2026-03-151-1/+9
|
* give remove the same treatmentMathMan052026-03-151-2/+4
|
* Fix adding reactionsMathMan052026-03-151-9/+9
|
* Some minor workRory&2026-03-143-32/+8
|
* remove duplicate / in url regexRory&2026-03-141-1/+1
|
* Shorten importsRory&2026-03-143-3/+3
|
* Remove unused imports for non-entitiesRory&2026-03-1423-54/+23
|
* Remove unnessecary continue statementsRory&2026-03-142-3/+1
|
* Clean up some type guardsRory&2026-03-141-1/+1
|
* minor cleanupRory&2026-03-142-3/+1
|
* properly mark unused paramsRory&2026-03-147-8/+15
|
* Use plain assignment for permissions in message handlerRory&2026-03-141-2/+2
|
* Qodana: fix async warningsRory&2026-03-1414-25/+26
|
* fix: `around` parameter returning invalid sortCyberL12026-03-131-1/+1
|
* API: fire SB_SESSION_REMOVE upon logging out a sessionRory&2026-03-132-2/+14
|
* fix: fall back to undefined in message createRory&2026-03-071-0/+1
|
* sticker implMathMan052026-03-071-1/+16
|
* Fix guild settings not using .save, nor beign awaitedRory&2026-03-071-1/+1
|
* Fix indents in interactions copyright noticeRory&2026-03-071-3/+3
|
* [rel/1518] Interaction failure reason enum, add missing copyright headersRory&2026-03-071-2/+2
|
* [cherry/1518] Webhooks: respect thread_id parameterRory&2026-03-061-7/+18
|
* Option to disable logging route registrationsRory&2026-02-271-2/+2
|
* added clean_data to places after a member is created but not constructed to ↵whinis2026-02-262-0/+2
| | | | allow proper json creation.
* Add /_spacebar/api/version - resolves #1222Rory&2026-02-251-1/+8
|
* Try to inherit permissions from everyoen role on creation (may be wrong)Rory&2026-02-251-1/+3
|
* Create role for bots - fixes #1556Rory&2026-02-251-1/+11
|
* Fix message embeds not being nullableRory&2026-02-251-1/+1
|
* Lower missing route to WARN, add empty route middlewaresRory&2026-02-253-3/+3
|
* Merge remote-tracking branch 'mathium05/memberEditScrewUp'Rory&2026-02-252-7/+26
|\
| * updatesMathMan052025-12-172-7/+26
| |
* | Add support for attachment:// urlsPablo Stebler2026-02-251-0/+47
| | | | | | | | Closes #1551.
* | Merge remote-tracking branch 'mathium05/refineSearch'Rory&2026-02-251-37/+93
|\ \
| * | fix up searchingMathMan052026-02-231-37/+93
| | |
| * | fix post dataMathMan052026-02-171-1/+16
| | |
* | | Fix read state type field - fixes #1559Rory&2026-02-251-1/+1
| | |
* | | Faster pingsRory&2026-02-231-5/+3
| | |
* | | Discovery fixes, nix updatesRory&2026-02-231-1/+6
| | |
* | | The ChainingOperator didn't work as expected. This fixes that.whinis2026-02-181-10/+23
| | |
* | | fix post dataMathMan052026-02-181-1/+16
| | |
* | | Add some optional chaining to prevent issue with embedswhinis2026-02-181-6/+5
| | |
* | | Add Decorators to clean classes before json serialization and remove invalid ↵whinis2026-02-171-1/+1
| | | | | | | | | | | | states.
* | | API: request embeds in US english preferredRory&2026-02-171-1/+2
| | |
* | | API: fix youtube embedRory&2026-02-171-2/+3
| | |
* | | Fix user self delete not removing settings protosChrisChrome2026-02-161-1/+8
| | |
* | | Fix loading discord guild templatesChrisChrome2026-02-162-5/+26
| | |
* | | Separate IP check options during registrationChrisChrome2026-02-161-1/+3
|/ /
* | make i18next shut upCyberL12026-02-151-0/+1
| |
* | Try to enforce channel limts?Rory&2026-02-141-1/+27
| |
* | fix: wrong query for self member in mutual guildsCyberL12026-02-141-1/+1
| |
* | more pins fixesMathMan052026-02-132-2/+4
| |
* | dieMathMan052026-02-131-2/+0
| |
* | update other pinsMathMan052026-02-131-1/+15
| |
* | speed up fetching messagesMathMan052026-02-131-0/+2
| |
* | WHY???MathMan052026-02-131-2/+0
| |
* | fix it the other way arroundMathMan052026-02-131-1/+15
| |
* | speed up fetching messagesMathMan052026-02-131-0/+2
| |
* | thanks gitMathMan052026-02-131-2/+0
| |
* | speed up fetching messagesMathMan052026-02-131-0/+2
| |
* | left some logs in there, oopsMathMan052026-02-131-2/+0
| |
* | speed up fetching messagesMathMan052026-02-131-28/+4
| |
* | Fix splitting logic for .well-known base urlRory&2026-02-111-1/+1
| |
* | feat: Add limit query parameter when fetching reactionsYodozoh2026-02-111-0/+2
| |
* | save channelMathMan052026-02-111-0/+1
| |
* | Add discovery filteringRory&2026-02-101-25/+15
| |
* | properly update last message idMathMan052026-02-081-0/+1
| |
* | fix bug with removing tagsMathMan052026-02-081-0/+1
| |
* | correct tag change checkMathMan052026-02-081-1/+2
| |
* | allow tag modificationMathMan052026-02-081-0/+42
| |
* | have to include tags in the eventsMathMan052026-02-081-1/+1
| |
* | Save channel on message createRory&2026-02-081-0/+1
| |
* | API: always drop /api suffix in well known (hack)Rory&2026-02-071-1/+1
| |
* | grab author relationMathMan052026-02-051-0/+1
| |
* | no need to init, the sent message will incrementMathMan052026-02-051-2/+2
| |
* | oopsMathMan052026-02-051-1/+1
| |
* | implement tag_settingMathMan052026-02-051-4/+3
| |
* | better searchMathMan052026-02-051-2/+6
| |
* | edit tagsMathMan052026-02-051-0/+22
| |
* | post with tagsMathMan052026-02-051-1/+32
| |
* | fix responce typesMathMan052026-02-051-2/+6
| |
* | deleting tagsMathMan052026-02-052-0/+48
| |
* | so many type screw upsMathMan052026-02-052-3/+7
| |
* | create tagsMathMan052026-02-051-0/+66
| |
* | incorrect message countMathMan052026-02-041-2/+2
| |
* | no more name checks for threads!MathMan052026-02-042-2/+2
| |
* | more forum fixesMathMan052026-02-042-1/+184
| |
* | some search fixes while I'm hereMathMan052026-02-041-24/+24
| |
* | fix search while I'm at itMathMan052026-02-041-3/+1
| |
* | fix another forum bugMathMan052026-02-041-1/+1
| |
* | merge masterMathMan052026-02-041-2/+2
|\ \
| * | spread that message!MathMan052026-02-031-1/+1
| | |
| * | more thread improvementsMathMan052026-02-031-1/+1
| | |
* | | fix forum channelMathMan052026-02-041-0/+1
| | |
* | | thread improvementsMathMan052026-02-042-3/+30
|/ /
* | some fixesMathMan052026-02-044-19/+3
| |
* | unscrew upMathMan052026-02-042-4/+4
| |
* | Fix req.params for thread creationRory&2026-02-041-1/+1
| |
* | Merge remote-tracking branch 'mathium05/threadFixes'Rory&2026-02-045-45/+278
|\ \
| * | more changesMathMan052026-02-034-31/+216
| | |
| * | send message to join threadMathMan052026-02-031-0/+42
| | |
| * | add permision checkMathMan052026-02-031-0/+1
| | |
| * | correct thread typeMathMan052026-02-031-1/+1
| | |
| * | correct message sending permsMathMan052026-02-031-1/+5
| | |
| * | don't delete a public threadMathMan052026-02-031-11/+11
| | |
| * | some thread fixesMathMan052026-02-031-1/+2
| | |
* | | Merge remote-tracking branch 's074/add-rabbitmq-error-handling'Rory&2026-02-031-4/+16
|\ \ \
| * | | add rabbitmq reconnection logic with state recoverydank0742026-01-221-4/+16
| | | |
* | | | Guild discovery: option to hide already joined guildsRory&2026-02-031-3/+11
| | | |
* | | | Update schemas for profile customisationRory&2026-02-031-1/+25
| | | |
* | | | Actually save webhook apps - fixes #1474Rory&2026-02-031-1/+2
| | | |
* | | | fix: treat `guild_id=0` as no `guild_id` for discord mobile client (a.k.a. ↵CyberL12026-02-021-1/+1
| | | | | | | | | | | | | | | | the mobile fuckery)
* | | | Assert req.params type as solely string (express update)Rory&2026-02-0185-237/+246
| | | |
* | | | fix: find the user instead of creating it when replying to a messageCyberL12026-01-311-3/+2
| | | |
* | | | Enforce numeric-only discriminators in PATCH /users/@meRory&2026-01-301-0/+10
| | | |
* | | | fix: don't return default role for user profilesCyberL12026-01-301-0/+2
| |/ / |/| |
* | | Thread membership routesRory&2026-01-294-0/+227
| | |
* | | thread stuff ig github/tmp-rebase-threads tmp-rebase-threadsMathMan052026-01-281-0/+12
| | |
* | | initial recipients workMathMan052026-01-284-6/+27
| | |
* | | thread API startMathMan052026-01-283-5/+124
| | |
* | | Make bot invites configurableRory&2026-01-242-4/+4
| | |
* | | Forbid dashes in emoji namesRory&2026-01-231-0/+3
| | |
* | | Dummy warp endpointRory&2026-01-231-0/+39
| | |
* | | Port User.tag getter from pomelo as utilityRory&2026-01-232-2/+2
|/ /
* | Make openapi.js work offline - still needs conditionals fixed thoughRory&2026-01-2222-18/+61
| |
* | Move health endpoints to /, deprecate /api/-. Fixes #1089Rory&2026-01-223-3/+12
| |
* | fix validationsMathMan052026-01-201-3/+5
| |
* | Add stub POSt report endpointRory&2026-01-173-65/+203
| |
* | Add temp reporting menu responsesRory&2026-01-151-1/+3
| |
* | Enum for report menu typesRory&2026-01-141-13/+23
| |
* | Actually map all endpoints for getting report menusRory&2026-01-141-14/+27
| |
* | fest: throw an error if bot name is emptyCyberL12026-01-141-1/+10
| |
* | fest: throw an error if application name is emptyCyberL12026-01-141-1/+10
| |
* | Support API v10Rory&2026-01-131-0/+2
| |
* | Include request info in errorsRory&2026-01-132-4/+5
| |
* | Whoami endpoint in apiRory&2026-01-111-0/+57
| |
* | fix: relationshipsSelf are now actually selfCyberL12026-01-101-1/+1
| |
* | Fix profile APIMathMan052025-12-291-6/+7
| | | | | | | | It should no longer send a random user(Emma/Rory) and should now just send the correct user.
* | Persist uploader user id for new stickersRory&2025-12-281-0/+1
| |
* | fix endpoint crapRory&2025-12-272-3/+3
| |
* | Ignore empty ASN type/ID in registerRory&2025-12-261-2/+6
| |
* | Fix endpoint public splittingRory&2025-12-252-2/+2
| |
* | Set low cache-control headers for static pagesRory&2025-12-231-3/+14
| |
* | Merge pull request #1449 from MathMan05/inviteFixCyber2025-12-221-1/+1
|\ \
| * | fix invite API slightlyMathMan052025-12-221-1/+1
| | |
* | | ShieldsRory&2025-12-212-0/+101
| | |
* | | Widget: sort users by idRory&2025-12-211-16/+16
| | |
* | | Fix importRory&2025-12-211-1/+1
| | |
* | | Filter widget channels by type, implement rudimentary cache, mark cache as ↵Rory&2025-12-211-77/+98
| | | | | | | | | | | | immutable
* | | Bump widget idle time to 5 minutesRory&2025-12-201-1/+1
| | |
* | | Commit evil (set process names)Rory&2025-12-201-0/+4
|/ /
* | Merge remote-tracking branch 'mathium05/dmFix'Rory&2025-12-201-1/+1
|\ \
| * | DM bot FixMathMan052025-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Makes the API conform to https://docs.discord.food/resources/channel#create-private-channel This should help with bot compat which says to make DMs like this https://discord.com/developers/docs/resources/user#create-dm
* | | Fix online member countRory&2025-12-201-1/+2
|/ /
* | Fix widgetRory&2025-12-201-4/+6
| |
* | Widget improvementsRory&2025-12-191-1/+5
| |
* | Implement widgetRory&2025-12-192-5/+15
| |
* | Deprecation: Use object-based relations for typeormRory&2025-12-1945-114/+128
| |
* | more async ioRory&2025-12-191-1/+1
| |
* | Dont use promises for dummy endpointsRory&2025-12-1934-40/+39
| |
* | ESLint: warn for deprecated constructsRory&2025-12-191-1/+5
| |
* | DEPRECATION: Move most select queries to object instead of string[]Rory&2025-12-1931-36/+59
| |
* | refactor: adjust numbers for length limitsCyberL12025-12-191-1/+1
| |
* | refactor: adjust numbers for length limitsCyberL12025-12-191-2/+2
| |
* | refactor: adjust commit lenghts for `push` eventCyberL12025-12-191-1/+1
| |
* | fix: description length for `issue_comment` eventCyberL12025-12-191-1/+1
| |
* | fix: description length for `issue` eventCyberL12025-12-191-1/+1
| |
* | Send HTTP 401 on token errorsRory&2025-12-191-0/+3
| |
* | Drop isProxy alltogether, because wtf is this language (!![] === true ↵Rory&2025-12-181-5/+0
| | | | | | | | apparently) - Fixes #1444
* | add TODOCyberL12025-12-181-0/+2
| |
* | feat: add message forwards (normal messages only)CyberL12025-12-181-2/+38
| |
* | Avoid re-fetching user if not requesting extra fieldsRory&2025-12-1812-24/+21
| |
* | friend nicknamesMathMan052025-12-171-2/+40
|/
* Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults'Rory&2025-12-175-10/+15
|\
| * Stop returning defaults when using getPublicUser()TomatoCake2024-09-013-6/+11
| |
* | Merge remote-tracking branch 'mathium05/greetFix'Rory&2025-12-171-2/+2
|\ \
| * \ Merge branch 'master' into greetFixCyber2025-11-181-0/+3
| |\ \
| * | | fix greet APIMathMan052025-11-171-3/+3
| | | |
* | | | 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
| | | | |