summary refs log tree commit diff
path: root/src/api/util/handlers (follow)
Commit message (Expand)AuthorAgeFilesLines
* Clean up some imports to make API work againRory&2026-06-172-2/+21
* Move random string to Random class in extensionsRory&2026-06-161-3/+3
* Dont fetch roles if role id set is emptyRory&2026-06-161-1/+1
* Dont fetch roles for non-guild mesagesRory&2026-06-161-1/+1
* Move more extensions to extensionsRory&2026-06-122-4/+3
* Move entities to databaseRory&2026-06-123-17/+6
* Move database to toplevelRory&2026-06-121-3/+3
* Use subpath imports for lambert-server, fix openapi.jsRory&2026-06-122-2/+2
* Allow subpath imports, move extensions to separate moduleRory&2026-06-121-3/+1
* Use better permissions when handling webhook mentionsRory&2026-06-051-2/+9
* Log silent attachment failures for webhooksRory&2026-06-051-0/+1
* Break up bulk inserts for read states to avoid postgres parameter exhaustionRory&2026-05-261-10/+26
* Trace fillInMissingIDsRory&2026-05-261-28/+48
* Bulk insert missing ReadStatesRory&2026-05-261-14/+24
* No longer handle mention_count == null since its no longer nullableRory&2026-05-261-22/+20
* Use forEach rather than .map.forEachRory&2026-05-261-1/+1
* Add full traceRory&2026-05-261-5/+25
* Use sets for mention roles/usersRory&2026-05-261-20/+41
* Simplify some queries for handling mentionsRory&2026-05-261-11/+14
* User mentions: use `user_id IN (...)` rather than `user_id = ... OR user_id =...Rory&2026-05-261-1/+1
* Move message mention handling to separate functionRory&2026-05-261-132/+144
* eslint: arrow-body-style=as-neededRory&2026-04-191-35/+6
* eslint: array callback return, no restricted importsRory&2026-04-192-7/+2
* Split out attachment handling from message handlerRory&2026-04-181-83/+76
* Attempt to set channel/message id for attachments in more placesRory&2026-04-181-0/+2
* handleMessage: set message id for cloud attachmentsRory&2026-04-181-0/+4
* Fix attachmentsRory&2026-04-182-13/+13
* Embeds: factor out from postMessageRory&2026-03-261-133/+8
* make spacebar compile again dev/emma/as-to-satisfies-gwOh642026-03-212-5/+16
* Message*Event: as->satisfies (WIP)Rory&2026-03-212-5/+8
* final pk fixesMathMan052026-03-201-1/+17
* make some correctionsMathMan052026-03-201-16/+23
* make better errorMathMan052026-03-201-1/+1
* invert ifMathMan052026-03-201-7/+7
* fixesMathMan052026-03-201-0/+1
* remove logMathMan052026-03-201-1/+0
* inline constantMathMan052026-03-201-2/+1
* remove logMathMan052026-03-201-1/+0
* more pk fixesMathMan052026-03-202-4/+5
* fixes for pluralkitMathMan052026-03-202-16/+49
* a lot of small fixesMathMan052026-03-202-1/+4
* remove some extrasMathMan052026-03-201-8/+0
* fix many bugsMathMan052026-03-201-23/+29
* sign 'emMathMan052026-03-201-1/+13
* maybe processing media?MathMan052026-03-201-13/+89
* v2 init workMathMan052026-03-201-29/+117
* move the check to the right spotMathMan052026-03-201-1/+53
* remove duplicate / in url regexRory&2026-03-141-1/+1
* Remove unused imports for non-entitiesRory&2026-03-141-1/+0
* Remove unnessecary continue statementsRory&2026-03-141-2/+1
* properly mark unused paramsRory&2026-03-141-1/+2
* Use plain assignment for permissions in message handlerRory&2026-03-141-2/+2
* Qodana: fix async warningsRory&2026-03-141-1/+1
* fix: fall back to undefined in message createRory&2026-03-071-0/+1
* [cherry/1518] Webhooks: respect thread_id parameterRory&2026-03-061-7/+18
* added clean_data to places after a member is created but not constructed to a...whinis2026-02-261-0/+1
* Fix message embeds not being nullableRory&2026-02-251-1/+1
* Add support for attachment:// urlsPablo Stebler2026-02-251-0/+47
* Fix read state type field - fixes #1559Rory&2026-02-251-1/+1
* Faster pingsRory&2026-02-231-5/+3
* The ChainingOperator didn't work as expected. This fixes that.whinis2026-02-181-10/+23
* 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
* save channelMathMan052026-02-111-0/+1
* Save channel on message createRory&2026-02-081-0/+1
* some fixesMathMan052026-02-041-1/+1
* Merge remote-tracking branch 'mathium05/threadFixes'Rory&2026-02-041-28/+30
|\
| * more changesMathMan052026-02-031-28/+30
* | Assert req.params type as solely string (express update)Rory&2026-02-012-2/+3
* | fix: find the user instead of creating it when replying to a messageCyberL12026-01-311-3/+2
|/
* initial recipients workMathMan052026-01-281-0/+9
* thread API startMathMan052026-01-281-5/+15
* Make openapi.js work offline - still needs conditionals fixed thoughRory&2026-01-221-0/+1
* Deprecation: Use object-based relations for typeormRory&2025-12-192-3/+12
* add TODOCyberL12025-12-181-0/+2
* feat: add message forwards (normal messages only)CyberL12025-12-181-2/+38
* Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults'Rory&2025-12-171-1/+3
|\
| * Stop returning defaults when using getPublicUser()TomatoCake2024-09-011-1/+3
* | lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-175-696/+696
* | Prettier u9Rory&2025-12-171-41/+11
* | Prettier u5Rory&2025-12-171-7/+2
* | 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
* | Lower interval for cleaning up sessionsRory&2025-12-161-1/+1
* | Fix bad importsRory&2025-12-161-1/+1
* | Expire old sessions, update last seen on gateway heartbeatRory&2025-12-161-5/+15
* | Less debug logging, more useful?Rory&2025-12-161-3/+3
* | What does this even returnRory&2025-12-161-0/+4
* | Session fixesRory&2025-12-161-1/+3
* | Clean up cloud attachment debug logsRory&2025-12-041-3/+2
* | Use IpDataClient in placesRory&2025-12-021-5/+5
* | Fix base64 avatar stuff for webhooksRory&2025-12-011-1/+1
* | Drop node-fetch-commonjs, proxy-agent as deprecatedRory&2025-12-011-2/+1
* | Cut down schemas by 90%Rory&2025-11-291-1/+7
* | remove unneeded logMathMan052025-11-271-1/+0
* | Message handler: fix importsRory&2025-11-251-7/+5
* | slight fixMathMan052025-11-251-1/+2
* | Implement SlowmodeMathMan052025-11-251-2/+17
* | fix :3MathMan052025-11-231-2/+1
* | is it a hack if it works?MathMan052025-11-231-1/+1
* | workMathMan052025-11-231-1/+12
* | make interactions more normalMathMan052025-11-231-3/+5
* | 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-191-1/+30
|\ \
| * \ Merge branch 'master' into readStatesCyber2025-11-191-4/+7
| |\ \
| * | | implement mention_countMathMan052025-11-181-1/+30
* | | | 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
|/ /
* | rename varriableMathMan052025-11-171-1/+1
* | add spacingMathMan052025-11-171-0/+1
* | fix ping error bugMathMan052025-11-171-2/+17
* | fix full user object being exposedMathMan052025-10-301-8/+10
* | Include full AJV error on apiRory&2025-10-171-1/+1
* | Reorganise schemas a little bitRory&2025-10-153-8/+3
* | Try to fix sending messages with discord-goRory&2025-10-061-0/+1
* | Fix ignored request schemasRory&2025-10-041-1/+7
* | Log schema name on errorRory&2025-10-011-1/+1
* | Drop @sentry/node (Sentry support) - untested and unusedRory&2025-09-291-7/+0
* | Maybe this tieRory&2025-09-291-1/+1
* | Include attachmentsRory&2025-09-291-2/+5
* | More relationsRory&2025-09-291-0/+1
* | Actually set the referenced_message relation on new messagesRory&2025-09-291-1/+8
* | Make cloud uploads workRory&2025-09-291-129/+93
* | Logging of empty messagesRory&2025-09-291-1/+2
* | meow???Rory&2025-09-291-1/+1
* | Log validation errorsRory&2025-09-291-0/+5
* | Try to handle new attachment style in message handlerRory&2025-09-291-0/+31
* | Merge pull request #1305 from ZaneH/feat/handle-github-webhookPuyodead12025-07-121-0/+154
|\ \
| * | Refactor `/github` endpoint into it's own fileZane Helton2025-06-291-0/+154
* | | Fix typeorm queries no longer allowing empty where clausesEmma [it/its]@Rory&2025-07-061-1/+1
* | | Add OP to message.mentions when replied toZane Helton2025-06-291-1/+25
* | | Preserve reactions when a message is editedZane Helton2025-06-291-1/+3
|/ /
* | Properly filter existing embed linksZane Helton2025-06-291-8/+2
* | Start fresh when updating embeds for linksZane Helton2025-06-281-8/+3
* | Fix various issues with embeds on message updatesZane Helton2025-06-281-14/+92
* | delete the null eaterMathMan052025-05-281-2/+1
* | Update some patches, switch to node-fetch-commonjs, more updatesEmma [it/its]@Rory&2024-10-281-1/+1
|/
* Perms for GET webhook, url propertyTomatoCake2024-07-181-1/+0
* Prettier & fix merge util/handlers/MessageTomatoCake2024-07-181-27/+31
* Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server int...TomatoCake2024-07-182-45/+58
|\
| * Make channel ID optional when replyingTomatoCake2024-07-171-0/+8
| * 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
| * fix poll in msg create schemaMadeline2024-07-091-16/+17
| * Don't embed links in <>TomatoCake2024-07-041-1/+4
| * Ban API compat & Bulk Ban endpoint (#1120)TomatoCake2024-06-051-10/+14
* | Fix ESLint & prettierTomatoCake2024-07-181-8/+20
* | webhook fixes & username/avatar property for msgTomatoCake2024-07-181-34/+83
|/
* oapi: users progressPuyodead12023-04-131-0/+1
* gifs and query paramsPuyodead12023-04-131-0/+8
* fixing lots of openapi crapPuyodead12023-04-131-11/+15
* applicationsPuyodead12023-04-131-1/+2
* auth routesPuyodead12023-04-131-6/+11
* Remove ALL fosscord mentionsMadeline2023-03-314-7/+7
* Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-311-1/+1
* Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-301-1/+1
|\
| * fix: use entity.save() instead of insert (needed for caching)Samuel2023-03-181-1/+1
* | SPACEBARMadeline2023-03-314-4/+4
* | SPACEBARMadeline2023-03-314-4/+4
|/
* Remove channel mentions from messages, in order to fix them in test client.TheArcaneBrony2023-02-201-6/+10
* Add ESLint (#941)Madeline2023-01-204-28/+31
* Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-184-0/+72
* Add an error log if embed handler fails, in addition to the existing sentry logMadeline2023-01-151-0/+1
* PrettierMadeline2023-01-051-9/+12
* Remove Discord oauth login supportMadeline2022-12-171-83/+0
* Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-ser...Madeline2022-10-281-0/+83
* embed failMadeline2022-10-051-2/+2
* capture exception in sentry for embed processingMadeline2022-10-041-0/+6
* Embed cacheMadeline2022-10-031-6/+23
* Twitter embedsMadeline2022-10-031-5/+7
* Better embed handlingMadeline2022-10-011-128/+15
* Fix fetching members for roles in POST messageMadeline2022-09-291-5/+5
* Prevent URL embedding and mentions when in codeblockMadeline2022-09-291-3/+3
* Fix message editingMadeline2022-09-271-1/+1
* PrettierMadeline2022-09-263-64/+168
* Move schemas to /src/util/schemasMadeline2022-09-261-1/+1
* Refactor to mono-repo + upgrade packagesMadeline2022-09-254-0/+418