| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | eslint: arrow-body-style=as-needed | Rory& | 2026-04-19 | 1 | -35/+6 |
| | | |||||
| * | eslint: array callback return, no restricted imports | Rory& | 2026-04-19 | 1 | -6/+1 |
| | | |||||
| * | Split out attachment handling from message handler | Rory& | 2026-04-18 | 1 | -83/+76 |
| | | |||||
| * | Attempt to set channel/message id for attachments in more places | Rory& | 2026-04-18 | 1 | -0/+2 |
| | | |||||
| * | handleMessage: set message id for cloud attachments | Rory& | 2026-04-18 | 1 | -0/+4 |
| | | |||||
| * | Fix attachments | Rory& | 2026-04-18 | 1 | -10/+8 |
| | | |||||
| * | Embeds: factor out from postMessage | Rory& | 2026-03-26 | 1 | -133/+8 |
| | | |||||
| * | make spacebar compile again github/dev/emma/as-to-satisfies-gw dev/emma/as-to-satisfies-gw | Oh64 | 2026-03-21 | 1 | -3/+5 |
| | | |||||
| * | Message*Event: as->satisfies (WIP) | Rory& | 2026-03-21 | 1 | -4/+7 |
| | | |||||
| * | make some corrections | MathMan05 | 2026-03-20 | 1 | -16/+23 |
| | | |||||
| * | make better error | MathMan05 | 2026-03-20 | 1 | -1/+1 |
| | | |||||
| * | invert if | MathMan05 | 2026-03-20 | 1 | -7/+7 |
| | | |||||
| * | fixes | MathMan05 | 2026-03-20 | 1 | -0/+1 |
| | | |||||
| * | remove log | MathMan05 | 2026-03-20 | 1 | -1/+0 |
| | | |||||
| * | inline constant | MathMan05 | 2026-03-20 | 1 | -2/+1 |
| | | |||||
| * | remove log | MathMan05 | 2026-03-20 | 1 | -1/+0 |
| | | |||||
| * | more pk fixes | MathMan05 | 2026-03-20 | 1 | -0/+1 |
| | | |||||
| * | fixes for pluralkit | MathMan05 | 2026-03-20 | 1 | -13/+18 |
| | | |||||
| * | a lot of small fixes | MathMan05 | 2026-03-20 | 1 | -1/+3 |
| | | |||||
| * | remove some extras | MathMan05 | 2026-03-20 | 1 | -8/+0 |
| | | |||||
| * | fix many bugs | MathMan05 | 2026-03-20 | 1 | -23/+29 |
| | | |||||
| * | sign 'em | MathMan05 | 2026-03-20 | 1 | -1/+13 |
| | | |||||
| * | maybe processing media? | MathMan05 | 2026-03-20 | 1 | -13/+89 |
| | | |||||
| * | v2 init work | MathMan05 | 2026-03-20 | 1 | -29/+117 |
| | | |||||
| * | move the check to the right spot | MathMan05 | 2026-03-20 | 1 | -1/+53 |
| | | |||||
| * | remove duplicate / in url regex | Rory& | 2026-03-14 | 1 | -1/+1 |
| | | |||||
| * | Remove unnessecary continue statements | Rory& | 2026-03-14 | 1 | -2/+1 |
| | | |||||
| * | properly mark unused params | Rory& | 2026-03-14 | 1 | -1/+2 |
| | | |||||
| * | Use plain assignment for permissions in message handler | Rory& | 2026-03-14 | 1 | -2/+2 |
| | | |||||
| * | Qodana: fix async warnings | Rory& | 2026-03-14 | 1 | -1/+1 |
| | | |||||
| * | fix: fall back to undefined in message create | Rory& | 2026-03-07 | 1 | -0/+1 |
| | | |||||
| * | added clean_data to places after a member is created but not constructed to ↵ | whinis | 2026-02-26 | 1 | -0/+1 |
| | | | | | allow proper json creation. | ||||
| * | Fix message embeds not being nullable | Rory& | 2026-02-25 | 1 | -1/+1 |
| | | |||||
| * | Add support for attachment:// urls | Pablo Stebler | 2026-02-25 | 1 | -0/+47 |
| | | | | | Closes #1551. | ||||
| * | Fix read state type field - fixes #1559 | Rory& | 2026-02-25 | 1 | -1/+1 |
| | | |||||
| * | Faster pings | Rory& | 2026-02-23 | 1 | -5/+3 |
| | | |||||
| * | The ChainingOperator didn't work as expected. This fixes that. | whinis | 2026-02-18 | 1 | -10/+23 |
| | | |||||
| * | Add some optional chaining to prevent issue with embeds | whinis | 2026-02-18 | 1 | -6/+5 |
| | | |||||
| * | Add Decorators to clean classes before json serialization and remove invalid ↵ | whinis | 2026-02-17 | 1 | -1/+1 |
| | | | | | states. | ||||
| * | save channel | MathMan05 | 2026-02-11 | 1 | -0/+1 |
| | | |||||
| * | Save channel on message create | Rory& | 2026-02-08 | 1 | -0/+1 |
| | | |||||
| * | some fixes | MathMan05 | 2026-02-04 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'mathium05/threadFixes' | Rory& | 2026-02-04 | 1 | -28/+30 |
| |\ | |||||
| | * | more changes | MathMan05 | 2026-02-03 | 1 | -28/+30 |
| | | | |||||
| * | | fix: find the user instead of creating it when replying to a message | CyberL1 | 2026-01-31 | 1 | -3/+2 |
| |/ | |||||
| * | initial recipients work | MathMan05 | 2026-01-28 | 1 | -0/+9 |
| | | |||||
| * | thread API start | MathMan05 | 2026-01-28 | 1 | -5/+15 |
| | | |||||
| * | Deprecation: Use object-based relations for typeorm | Rory& | 2025-12-19 | 1 | -2/+11 |
| | | |||||
| * | add TODO | CyberL1 | 2025-12-18 | 1 | -0/+2 |
| | | |||||
| * | feat: add message forwards (normal messages only) | CyberL1 | 2025-12-18 | 1 | -2/+38 |
| | | |||||
| * | Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults' | Rory& | 2025-12-17 | 1 | -1/+3 |
| |\ | |||||
| | * | Stop returning defaults when using getPublicUser() | TomatoCake | 2024-09-01 | 1 | -1/+3 |
| | | | |||||
| * | | lintstagedrc: regenerate schemas/openapi if schemas changed | Rory& | 2025-12-17 | 1 | -466/+466 |
| | | | |||||
| * | | Remove ugly hack | Rory& | 2025-12-17 | 1 | -2/+2 |
| | | | |||||
| * | | Cast ephemeral flag to number because lmao | Rory& | 2025-12-17 | 1 | -1/+1 |
| | | | |||||
| * | | Rename PRIVATE_ROUTE -> EPHEMERAL, fix typo | Rory& | 2025-12-17 | 1 | -2/+3 |
| | | | |||||
| * | | Clean up cloud attachment debug logs | Rory& | 2025-12-04 | 1 | -3/+2 |
| | | | |||||
| * | | Fix base64 avatar stuff for webhooks | Rory& | 2025-12-01 | 1 | -1/+1 |
| | | | |||||
| * | | Drop node-fetch-commonjs, proxy-agent as deprecated | Rory& | 2025-12-01 | 1 | -2/+1 |
| | | | |||||
| * | | remove unneeded log | MathMan05 | 2025-11-27 | 1 | -1/+0 |
| | | | | | | | | | The log was meant for testing only and shouldn't've been in the final pull | ||||
| * | | Message handler: fix imports | Rory& | 2025-11-25 | 1 | -7/+5 |
| | | | |||||
| * | | slight fix | MathMan05 | 2025-11-25 | 1 | -1/+2 |
| | | | |||||
| * | | Implement Slowmode | MathMan05 | 2025-11-25 | 1 | -2/+17 |
| | | | |||||
| * | | fix :3 | MathMan05 | 2025-11-23 | 1 | -2/+1 |
| | | | |||||
| * | | is it a hack if it works? | MathMan05 | 2025-11-23 | 1 | -1/+1 |
| | | | |||||
| * | | work | MathMan05 | 2025-11-23 | 1 | -1/+12 |
| | | | |||||
| * | | make interactions more normal | MathMan05 | 2025-11-23 | 1 | -3/+5 |
| | | | |||||
| * | | fixes | MathMan05 | 2025-11-19 | 1 | -1/+6 |
| | | | |||||
| * | | add missing awaits | MathMan05 | 2025-11-19 | 1 | -2/+2 |
| | | | |||||
| * | | fix mentions issues | MathMan05 | 2025-11-19 | 1 | -6/+33 |
| | | | |||||
| * | | Merge branch 'master' into readStates | Cyber | 2025-11-19 | 1 | -4/+7 |
| |\ \ | |||||
| | * | | more fix | MathMan05 | 2025-11-18 | 1 | -1/+7 |
| | | | | |||||
| | * | | I am an idiot, it wasn't backwards | MathMan05 | 2025-11-18 | 1 | -1/+1 |
| | | | | |||||
| | * | | fix | MathMan05 | 2025-11-18 | 1 | -5/+2 |
| | | | | |||||
| * | | | implement mention_count | MathMan05 | 2025-11-18 | 1 | -1/+30 |
| |/ / | |||||
| * | | rename varriable | MathMan05 | 2025-11-17 | 1 | -1/+1 |
| | | | |||||
| * | | add spacing | MathMan05 | 2025-11-17 | 1 | -0/+1 |
| | | | |||||
| * | | fix ping error bug | MathMan05 | 2025-11-17 | 1 | -2/+17 |
| | | | |||||
| * | | fix full user object being exposed | MathMan05 | 2025-10-30 | 1 | -8/+10 |
| | | | |||||
| * | | Reorganise schemas a little bit | Rory& | 2025-10-15 | 1 | -6/+1 |
| | | | |||||
| * | | Try to fix sending messages with discord-go | Rory& | 2025-10-06 | 1 | -0/+1 |
| | | | |||||
| * | | Drop @sentry/node (Sentry support) - untested and unused | Rory& | 2025-09-29 | 1 | -7/+0 |
| | | | |||||
| * | | Maybe this tie | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | | |||||
| * | | Include attachments | Rory& | 2025-09-29 | 1 | -2/+5 |
| | | | |||||
| * | | More relations | Rory& | 2025-09-29 | 1 | -0/+1 |
| | | | |||||
| * | | Actually set the referenced_message relation on new messages | Rory& | 2025-09-29 | 1 | -1/+8 |
| | | | |||||
| * | | Make cloud uploads work | Rory& | 2025-09-29 | 1 | -129/+93 |
| | | | |||||
| * | | Logging of empty messages | Rory& | 2025-09-29 | 1 | -1/+2 |
| | | | |||||
| * | | meow??? | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | | |||||
| * | | Try to handle new attachment style in message handler | Rory& | 2025-09-29 | 1 | -0/+31 |
| | | | |||||
| * | | Add OP to message.mentions when replied to | Zane Helton | 2025-06-29 | 1 | -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 edited | Zane Helton | 2025-06-29 | 1 | -1/+3 |
| | | | | | | | | | Resolves #1241 | ||||
| * | | Properly filter existing embed links | Zane Helton | 2025-06-29 | 1 | -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 links | Zane Helton | 2025-06-28 | 1 | -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 updates | Zane Helton | 2025-06-28 | 1 | -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 | ||||
| * | | Update some patches, switch to node-fetch-commonjs, more updates | Emma [it/its]@Rory& | 2024-10-28 | 1 | -1/+1 |
| |/ | |||||
| * | Perms for GET webhook, url property | TomatoCake | 2024-07-18 | 1 | -1/+0 |
| | | |||||
| * | Prettier & fix merge util/handlers/Message | TomatoCake | 2024-07-18 | 1 | -27/+31 |
| | | |||||
| * | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵ | TomatoCake | 2024-07-18 | 1 | -35/+44 |
| |\ | | | | | | | into feat/webhooks-3 | ||||
| | * | Make channel ID optional when replying | TomatoCake | 2024-07-17 | 1 | -0/+8 |
| | | | |||||
| | * | fix: check for message components | Cyber | 2024-07-09 | 1 | -1/+2 |
| | | | |||||
| | * | fix: poll message is not an empty message | Cyber | 2024-07-09 | 1 | -1/+2 |
| | | | |||||
| | * | Make poll a single object instead of an array | TomatoCake | 2024-07-09 | 1 | -4/+4 |
| | | | |||||
| | * | fix poll in msg create schema | Madeline | 2024-07-09 | 1 | -16/+17 |
| | | | |||||
| | * | Don't embed links in <> | TomatoCake | 2024-07-04 | 1 | -1/+4 |
| | | | |||||
| * | | Fix ESLint & prettier | TomatoCake | 2024-07-18 | 1 | -8/+20 |
| | | | |||||
| * | | webhook fixes & username/avatar property for msg | TomatoCake | 2024-07-18 | 1 | -34/+83 |
| |/ | |||||
| * | Remove ALL fosscord mentions | Madeline | 2023-03-31 | 1 | -2/+2 |
| | | |||||
| * | Revert "Merge pull request #1008 from spacebarchat/dev/samuel" | Madeline | 2023-03-31 | 1 | -1/+1 |
| | | | | | | This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88. | ||||
| * | Merge pull request #1008 from spacebarchat/dev/samuel | Samuel (Flam3rboy) | 2023-03-30 | 1 | -1/+1 |
| |\ | |||||
| | * | fix: use entity.save() instead of insert (needed for caching) | Samuel | 2023-03-18 | 1 | -1/+1 |
| | | | |||||
| * | | SPACEBAR | Madeline | 2023-03-31 | 1 | -1/+1 |
| | | | |||||
| * | | SPACEBAR | Madeline | 2023-03-31 | 1 | -1/+1 |
| |/ | |||||
| * | Remove channel mentions from messages, in order to fix them in test client. | TheArcaneBrony | 2023-02-20 | 1 | -6/+10 |
| | | | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> | ||||
| * | Add ESLint (#941) | Madeline | 2023-01-20 | 1 | -16/+18 |
| | | | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint | ||||
| * | Script to add license preamble to each file. Also, does that. (#935) | Madeline | 2023-01-18 | 1 | -0/+18 |
| | | | | | | | | | | * Add script to automatically add license to each file * Add license preamble to each file. * Fix existing preamble detection breaking due to line endings. Git :( * Prevent license from being added to code with other licenses | ||||
| * | Add an error log if embed handler fails, in addition to the existing sentry log | Madeline | 2023-01-15 | 1 | -0/+1 |
| | | |||||
| * | Prettier | Madeline | 2023-01-05 | 1 | -9/+12 |
| | | |||||
| * | embed fail | Madeline | 2022-10-05 | 1 | -2/+2 |
| | | |||||
| * | capture exception in sentry for embed processing | Madeline | 2022-10-04 | 1 | -0/+6 |
| | | |||||
| * | Embed cache | Madeline | 2022-10-03 | 1 | -6/+23 |
| | | |||||
| * | Twitter embeds | Madeline | 2022-10-03 | 1 | -5/+7 |
| | | |||||
| * | Better embed handling | Madeline | 2022-10-01 | 1 | -128/+15 |
| | | |||||
| * | Fix fetching members for roles in POST message | Madeline | 2022-09-29 | 1 | -5/+5 |
| | | |||||
| * | Prevent URL embedding and mentions when in codeblock | Madeline | 2022-09-29 | 1 | -3/+3 |
| | | |||||
| * | Fix message editing | Madeline | 2022-09-27 | 1 | -1/+1 |
| | | |||||
| * | Prettier | Madeline | 2022-09-26 | 1 | -54/+132 |
| | | |||||
| * | Move schemas to /src/util/schemas | Madeline | 2022-09-26 | 1 | -1/+1 |
| | | |||||
| * | Refactor to mono-repo + upgrade packages | Madeline | 2022-09-25 | 1 | -0/+287 |
