| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix :3 interactionWork | MathMan05 | 2025-11-22 | 1 | -2/+1 |
| | | |||||
| * | is it a hack if it works? | MathMan05 | 2025-11-22 | 2 | -2/+2 |
| | | |||||
| * | fix for the comemnting | MathMan05 | 2025-11-20 | 1 | -2/+2 |
| | | |||||
| * | no, that doesn't work | MathMan05 | 2025-11-20 | 1 | -0/+2 |
| | | |||||
| * | maybe fix attachments? | MathMan05 | 2025-11-20 | 1 | -3/+15 |
| | | |||||
| * | work | MathMan05 | 2025-11-19 | 1 | -1/+12 |
| | | |||||
| * | use nonce? | MathMan05 | 2025-11-19 | 1 | -0/+1 |
| | | |||||
| * | make interactions more normal | MathMan05 | 2025-11-19 | 2 | -52/+10 |
| | | |||||
| * | Add well-known routes | Rory& | 2025-11-22 | 1 | -0/+36 |
| | | |||||
| * | 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 webhookFix | Cyber | 2025-11-19 | 4 | -18/+42 |
| |\ | |||||
| | * | Merge branch 'master' into readStates | Cyber | 2025-11-19 | 1 | -4/+7 |
| | |\ | |||||
| | * | | implement mention_count | MathMan05 | 2025-11-18 | 4 | -18/+42 |
| | | | | |||||
| * | | | correctly check query | MathMan05 | 2025-11-19 | 1 | -1/+1 |
| | | | | |||||
| * | | | rearange errors | MathMan05 | 2025-11-19 | 1 | -8/+9 |
| | | | | |||||
| * | | | fixes | MathMan05 | 2025-11-19 | 1 | -44/+17 |
| | | | | |||||
| * | | | Merge branch 'webhookFix' of https://github.com/MathMan05/server into webhookFix | MathMan05 | 2025-11-19 | 1 | -4/+7 |
| |\ \ \ | |||||
| | * \ \ | Merge branch 'master' into webhookFix | 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 |
| | | |/ | |||||
| * | | | get rid of log | MathMan05 | 2025-11-19 | 1 | -1/+0 |
| | | | | |||||
| * | | | some fixes | MathMan05 | 2025-11-19 | 1 | -10/+32 |
| |/ / | |||||
| * / | make not wait work correctly | MathMan05 | 2025-11-18 | 1 | -46/+20 |
| |/ | |||||
| * | Merge branch 'master' into Dec | Cyber | 2025-11-18 | 1 | -0/+1 |
| |\ | |||||
| | * | no bots for you | MathMan05 | 2025-11-18 | 1 | -0/+1 |
| | | | |||||
| * | | member count fixes | MathMan05 | 2025-11-18 | 3 | -19/+7 |
| |/ | |||||
| * | Merge branch 'master' into pingFix | Cyber | 2025-11-18 | 1 | -1/+4 |
| |\ | |||||
| | * | update last message id in more places | MathMan05 | 2025-11-17 | 1 | -1/+4 |
| | | | | | | | | | This update should update the last message id in the greet message endpoint and the Member creation message. | ||||
| * | | 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 |
| |/ | |||||
| * | fixes slight bug with joining guilds via ID | MathMan05 | 2025-11-17 | 1 | -30/+10 |
| | | |||||
| * | fix full user object being exposed | MathMan05 | 2025-10-30 | 6 | -141/+53 |
| | | |||||
| * | fix: check for duplicated component IDs | CyberL1 | 2025-10-28 | 1 | -1/+22 |
| | | |||||
| * | chore: remove solved TODO comment | CyberL1 | 2025-10-28 | 1 | -1/+0 |
| | | |||||
| * | fix: check if components are beetwen 1 to 5 in each row | CyberL1 | 2025-10-28 | 1 | -1/+21 |
| | | |||||
| * | fix: send `options` only for type 1 | CyberL1 | 2025-10-23 | 1 | -2/+2 |
| | | |||||
| * | fix: complete `applicationCommandSendable` | CyberL1 | 2025-10-23 | 1 | -5/+17 |
| | | |||||
| * | fix dming blocked users | Puyodead1 | 2025-10-22 | 1 | -0/+22 |
| | | |||||
| * | reduce a little | MathMan05 | 2025-10-22 | 1 | -5/+4 |
| | | |||||
| * | I think this fixes bugs | MathMan05 | 2025-10-22 | 1 | -6/+7 |
| | | |||||
| * | Revert "fix: no sense it doing it twice when it could be done in one query" | Cyber | 2025-10-22 | 1 | -3/+9 |
| | | |||||
| * | fix: no sense it doing it twice when it could be done in one query | CyberL1 | 2025-10-22 | 1 | -9/+3 |
| | | |||||
| * | fix: trim more | CyberL1 | 2025-10-22 | 4 | -9/+12 |
| | | |||||
| * | fix: add `author` to interaction message | CyberL1 | 2025-10-22 | 1 | -1/+1 |
| | | |||||
| * | fix: add `BulkApplicationCommandCreateSchema` | CyberL1 | 2025-10-22 | 2 | -2/+2 |
| | | |||||
| * | fix: components on message | CyberL1 | 2025-10-22 | 1 | -0/+1 |
| | | |||||
| * | fix: delete bot user when application is deleted | CyberL1 | 2025-10-22 | 1 | -38/+14 |
| | | |||||
| * | fix: get all application commands | CyberL1 | 2025-10-21 | 1 | -3/+12 |
| | | |||||
| * | add fingerprint endpoint | doesnm | 2025-10-20 | 2 | -0/+30 |
| | | |||||
| * | fix: remove commands not present in array | CyberL1 | 2025-10-20 | 2 | -0/+21 |
| | | |||||
| * | fix: trim command `name` and `description` fields | CyberL1 | 2025-10-20 | 4 | -24/+24 |
| | | |||||
| * | fix: don't emit ephemeral interaction replies to channel, but only to user ↵ | CyberL1 | 2025-10-20 | 1 | -1/+1 |
| | | | | | instead | ||||
| * | fix: interaction type check | CyberL1 | 2025-10-19 | 1 | -1/+1 |
| | | |||||
| * | fix: interaction `attachment_size_limit` field | CyberL1 | 2025-10-19 | 1 | -2/+2 |
| | | |||||
| * | fix: interaction `app_permissions` field | CyberL1 | 2025-10-19 | 1 | -2/+3 |
| | | |||||
| * | fix: interaction context | CyberL1 | 2025-10-19 | 1 | -1/+7 |
| | | |||||
| * | fix: interaction callback | CyberL1 | 2025-10-19 | 3 | -19/+59 |
| | | |||||
| * | Synchronously save automod message | Rory& | 2025-10-19 | 1 | -39/+25 |
| | | |||||
| * | Use message.create | Rory& | 2025-10-19 | 1 | -0/+1 |
| | | |||||
| * | Use save operator rather than raw insert maybe? | Rory& | 2025-10-19 | 1 | -1/+1 |
| | | |||||
| * | More env settings to tune down log noise | Rory& | 2025-10-19 | 2 | -8/+10 |
| | | |||||
| * | Helper to create valid messages | Rory& | 2025-10-19 | 1 | -1/+3 |
| | | |||||
| * | fix | Rory& | 2025-10-18 | 1 | -1/+1 |
| | | |||||
| * | Automod mayhaps? | Rory& | 2025-10-18 | 1 | -7/+84 |
| | | |||||
| * | fix: typo, additional `m` lol | CyberL1 | 2025-10-18 | 1 | -1/+1 |
| | | |||||
| * | feat: interaction replies | CyberL1 | 2025-10-18 | 1 | -4/+83 |
| | | |||||
| * | fix: pass the command type to pending interactions map | CyberL1 | 2025-10-18 | 1 | -1/+2 |
| | | |||||
| * | fix: comment out the route for interactions callback | CyberL1 | 2025-10-18 | 1 | -1/+1 |
| | | |||||
| * | Fix relationships | Rory& | 2025-10-18 | 1 | -16/+7 |
| | | |||||
| * | fix: move types to schema | CyberL1 | 2025-10-18 | 1 | -4/+3 |
| | | |||||
| * | fix: add `user` object on `interaction` and `interaction_metadata` for messages | CyberL1 | 2025-10-18 | 1 | -8/+16 |
| | | |||||
| * | Partial usersetting update schema | Rory& | 2025-10-18 | 1 | -4/+5 |
| | | |||||
| * | feat: interactions (incomplete) | CyberL1 | 2025-10-17 | 3 | -7/+175 |
| | | |||||
| * | fix: do the same for applicaiton_commands | CyberL1 | 2025-10-17 | 1 | -1/+17 |
| | | |||||
| * | fix: send only needed fields | CyberL1 | 2025-10-17 | 1 | -3/+17 |
| | | |||||
| * | feat: add application command index route for guilds | CyberL1 | 2025-10-17 | 1 | -0/+39 |
| | | |||||
| * | fix: check if an application is in a guild | CyberL1 | 2025-10-17 | 2 | -8/+38 |
| | | |||||
| * | feat: add endpoints for managing application commands | CyberL1 | 2025-10-17 | 4 | -0/+610 |
| | | |||||
| * | games/detectable | Rory& | 2025-10-17 | 1 | -0/+52 |
| | | |||||
| * | Marshall ajverrors | Rory& | 2025-10-17 | 1 | -1/+3 |
| | | |||||
| * | Include full AJV error on api | Rory& | 2025-10-17 | 1 | -1/+1 |
| | | |||||
| * | Local changes | Rory& | 2025-10-16 | 1 | -2/+14 |
| | | |||||
| * | Implement applications/@me | Rory& | 2025-10-16 | 1 | -0/+115 |
| | | |||||
| * | More schema work, moved most stuff from entities to schemas, though messy | Rory& | 2025-10-15 | 19 | -42/+22 |
| | | |||||
| * | Reorganise schemas a little bit | Rory& | 2025-10-15 | 79 | -127/+103 |
| | | |||||
| * | Schema fixes, api bug fix | Rory& | 2025-10-14 | 1 | -2/+2 |
| | | |||||
| * | app_id -> application_id | Rory& | 2025-10-14 | 1 | -0/+0 |
| | | |||||
| * | Return defaults for missing {proto-,}settings | Rory& | 2025-10-11 | 3 | -13/+15 |
| | | |||||
| * | More path fixes | Rory& | 2025-10-11 | 2 | -2/+2 |
| | | |||||
| * | Update more path variables | Rory& | 2025-10-11 | 4 | -14/+14 |
| | | |||||
| * | Update path variables | Rory& | 2025-10-11 | 13 | -39/+39 |
| | | |||||
| * | fix path | Rory& | 2025-10-07 | 1 | -2/+2 |
| | | |||||
| * | API: expose schemas.json and openapi.json | Rory& | 2025-10-07 | 1 | -50/+18 |
| | | |||||
| * | Try to fix sending messages with discord-go | Rory& | 2025-10-06 | 1 | -0/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/dev/admin-api' | Rory& | 2025-10-05 | 1 | -0/+4 |
| |\ | |||||
| | * | Local changes | Emma [it/its]@Rory& | 2025-10-05 | 1 | -0/+4 |
| | | | |||||
| * | | Fix missing return statement | Rory& | 2025-10-04 | 1 | -1/+2 |
| |/ | |||||
| * | Fix import | Rory& | 2025-10-04 | 1 | -2/+2 |
| | | |||||
| * | Templates, maybe? | Rory& | 2025-10-04 | 1 | -99/+46 |
| | | |||||
| * | Add sticker limit | Rory& | 2025-10-04 | 1 | -0/+12 |
| | | |||||
| * | Unkown -> unkown (typo fix) | Rory& | 2025-10-04 | 1 | -1/+1 |
| | | |||||
| * | Clean up array extensions | Rory& | 2025-10-04 | 4 | -10/+9 |
| | | |||||
| * | Add dotnet-ish Random class | Rory& | 2025-10-04 | 1 | -2/+2 |
| | | |||||
| * | Drop dependency on missing-native-js-functions | Rory& | 2025-10-04 | 3 | -3/+0 |
| | | |||||
| * | Move reporting menu to todo | Rory& | 2025-10-04 | 1 | -1/+2 |
| | | |||||
| * | Fix ignored request schemas | Rory& | 2025-10-04 | 2 | -1/+47 |
| | | |||||
| * | fix: getting invites for a channel | CyberL1 | 2025-10-02 | 1 | -16/+3 |
| | | |||||
| * | Log schema name on error | Rory& | 2025-10-01 | 1 | -1/+1 |
| | | |||||
| * | Safety hub work | Rory& | 2025-10-01 | 2 | -3/+61 |
| | | |||||
| * | Implement fetching mutual friends | Rory& | 2025-09-30 | 1 | -117/+124 |
| | | |||||
| * | Pass mergeParams: true to new router calls due to express behavior change | Rory& | 2025-09-30 | 171 | -171/+171 |
| | | |||||
| * | Clean up unused imports | Rory& | 2025-09-30 | 9 | -19/+3 |
| | | |||||
| * | Silence, dotenv, we dont want your ads | Rory& | 2025-09-29 | 2 | -2/+3 |
| | | |||||
| * | Drop @sentry/node (Sentry support) - untested and unused | Rory& | 2025-09-29 | 3 | -14/+0 |
| | | |||||
| * | No error when message not found | Rory& | 2025-09-29 | 2 | -2/+2 |
| | | |||||
| * | Also filter expired invites when returning invite list | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | Delete expired invites | Rory& | 2025-09-29 | 1 | -0/+6 |
| | | |||||
| * | Add fetching guild profiles | Rory& | 2025-09-29 | 1 | -0/+65 |
| | | |||||
| * | Maybe this tie | Rory& | 2025-09-29 | 2 | -1/+5 |
| | | |||||
| * | Include attachments | Rory& | 2025-09-29 | 1 | -2/+5 |
| | | |||||
| * | Polyfill referenced message | Rory& | 2025-09-29 | 1 | -0/+12 |
| | | |||||
| * | More relations | Rory& | 2025-09-29 | 2 | -66/+20 |
| | | |||||
| * | Add author and mentions relation to fetching messages | Rory& | 2025-09-29 | 1 | -0/+2 |
| | | |||||
| * | Actually set the referenced_message relation on new messages | Rory& | 2025-09-29 | 1 | -1/+8 |
| | | |||||
| * | Include referenced_message relation on GET /channel/.../messages | Rory& | 2025-09-29 | 1 | -0/+1 |
| | | |||||
| * | Null coalescing for file id | Rory& | 2025-09-29 | 1 | -3/+2 |
| | | |||||
| * | Use default ID on file upload requests | Rory& | 2025-09-29 | 1 | -0/+14 |
| | | |||||
| * | Make cloud uploads work | Rory& | 2025-09-29 | 3 | -132/+104 |
| | | |||||
| * | Logging of empty messages | Rory& | 2025-09-29 | 2 | -2/+3 |
| | | |||||
| * | meow??? | Rory& | 2025-09-29 | 2 | -2/+2 |
| | | |||||
| * | Log validation errors | Rory& | 2025-09-29 | 1 | -0/+5 |
| | | |||||
| * | Try to handle new attachment style in message handler | Rory& | 2025-09-29 | 1 | -0/+31 |
| | | |||||
| * | Update message schema to handle cloud attachments | Rory& | 2025-09-29 | 1 | -0/+1 |
| | | |||||
| * | Implment deleting cloud attachments | Rory& | 2025-09-29 | 1 | -0/+35 |
| | | |||||
| * | Fix upload filename | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | Add first half of cloud attachment uploads | Rory& | 2025-09-29 | 5 | -7/+107 |
| | | |||||
| * | Fix schema for preload messages | Rory& | 2025-09-29 | 1 | -3/+1 |
| | | |||||
| * | Implement greeting | Rory& | 2025-09-29 | 3 | -1/+106 |
| | | |||||
| * | Implement fetching DM messages by user ID | Rory& | 2025-09-29 | 1 | -0/+54 |
| | | |||||
| * | Implement message preloading | Rory& | 2025-09-29 | 1 | -0/+72 |
| | | |||||
| * | Permissions: less magic numbers | Rory& | 2025-09-29 | 1 | -11/+3 |
| | | |||||
| * | Add endpoint implementations | Rory& | 2025-09-29 | 4 | -0/+178 |
| | | |||||
| * | Screw off, telemetry | Rory& | 2025-09-29 | 1 | -0/+38 |
| | | |||||
| * | Colorful roles | Rory& | 2025-09-29 | 1 | -1/+6 |
| | | |||||
| * | Do settings versioning | Rory& | 2025-09-29 | 2 | -0/+10 |
| | | |||||
| * | Oops, actually send the events to a user... | Rory& | 2025-09-29 | 2 | -0/+2 |
| | | |||||
| * | Emit USER_SETTINGS_PROTO_UPDATE | Rory& | 2025-09-29 | 2 | -0/+36 |
| | | |||||
| * | Merge in json representation of settings protos | Rory& | 2025-09-29 | 2 | -8/+38 |
| | | |||||
| * | Release -> ClientRelease | Rory& | 2025-09-29 | 3 | -4/+12 |
| | | |||||
| * | Setting protos support | Rory& | 2025-09-29 | 2 | -0/+374 |
| | | |||||
| * | Update copyright date in pin endpoints | Rory& | 2025-09-29 | 2 | -2/+2 |
| | | |||||
| * | fix: don't set order for counting queries | CyberL1 | 2025-09-29 | 2 | -2/+0 |
| | | |||||
| * | fix: set DESC order | CyberL1 | 2025-09-29 | 2 | -0/+4 |
| | | |||||
| * | refactor: don't use query builder | CyberL1 | 2025-09-29 | 1 | -7/+3 |
| | | |||||
| * | refactor: don't use query builder | CyberL1 | 2025-09-29 | 2 | -21/+14 |
| | | |||||
| * | refactor: add `pinned` getter to `Message` entity | CyberL1 | 2025-09-29 | 2 | -2/+2 |
| | | |||||
| * | refactor: use `pinned_at` to check if message is pinnned | CyberL1 | 2025-09-29 | 4 | -24/+35 |
| | | |||||
| * | fix: getting message pinss | CyberL1 | 2025-09-29 | 1 | -2/+11 |
| | | |||||
| * | fix stupid bug | MathMan05 | 2025-09-29 | 1 | -0/+2 |
| | | |||||
| * | prevent re-verifying email | Puyodead1 | 2025-09-05 | 1 | -1/+5 |
| | | |||||
| * | fixes and minor changes for email stuff | Puyodead1 | 2025-09-05 | 1 | -1/+1 |
| | | |||||
| * | fix an issue with NO_AUTHENTICATE routes | Puyodead1 | 2025-09-05 | 1 | -6/+17 |
| | | |||||
| * | More cleanup | Rory& | 2025-07-27 | 2 | -6/+11 |
| | | |||||
| * | WIP logo/terminal stuff | Emma [it/its]@Rory& | 2025-07-27 | 1 | -2/+2 |
| | | |||||
| * | Implement CRUD for automod | Emma [it/its]@Rory& | 2025-07-27 | 1 | -0/+147 |
| | | |||||
| * | add types to the ban api response objects | dank074 | 2025-07-21 | 1 | -13/+24 |
| | | |||||
| * | update guild bans api | dank074 | 2025-07-21 | 1 | -7/+74 |
| | | |||||
| * | Merge pull request #1305 from ZaneH/feat/handle-github-webhook | Puyodead1 | 2025-07-12 | 3 | -147/+714 |
| |\ | | | | | Implement GitHub-compatible webhook | ||||
| | * | Proxy avatar URL + adjust event logic | Zane Helton | 2025-06-29 | 1 | -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 embed | Zane Helton | 2025-06-29 | 2 | -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 file | Zane Helton | 2025-06-29 | 3 | -561/+577 |
| | | | |||||
| | * | Capitalize `ref_type` when using in embed | Zane Helton | 2025-06-29 | 1 | -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 GitHub | Zane Helton | 2025-06-29 | 1 | -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 endpoints | Rory& | 2025-07-08 | 2 | -0/+195 |
| | | | |||||
| * | | Add emoji source endpoint | Rory& | 2025-07-07 | 1 | -0/+93 |
| | | | |||||
| * | | Add endpoint to get account standing | Rory& | 2025-07-07 | 1 | -0/+58 |
| | | | |||||
| * | | Prettier | Rory& | 2025-07-06 | 3 | -27/+54 |
| | | | |||||
| * | | Fix forgotten function signature changes | Rory& | 2025-07-06 | 2 | -4/+10 |
| | | | |||||
| * | | Make IP/user-agent validation in CDN work | Rory& | 2025-07-06 | 3 | -7/+22 |
| | | | |||||
| * | | sign attachment on sending message | Emma [it/its]@Rory& | 2025-07-06 | 1 | -1/+1 |
| | | | |||||
| * | | Sign media per user | Emma [it/its]@Rory& | 2025-07-06 | 1 | -2/+3 |
| | | | |||||
| * | | Add options to erquire IP or User Agent to access CDN | Emma [it/its]@Rory& | 2025-07-06 | 2 | -3/+3 |
| | | | |||||
| * | | Fix typeorm queries no longer allowing empty where clauses | Emma [it/its]@Rory& | 2025-07-06 | 1 | -1/+1 |
| | | | |||||
| * | | Update some dependencies, fix nix | Emma [it/its]@Rory& | 2025-07-02 | 3 | -4/+7 |
| | | | |||||
| * | | Fix the fix | MathMan05 | 2025-07-02 | 1 | -1/+1 |
| | | | | | | | this should actually be what's intended | ||||
| * | | Check for old password when setting new | MathMan05 | 2025-07-02 | 1 | -1/+1 |
| | | | | | | | Checks for password | ||||
| * | | Fix the creation of guilds from templates | Zane Helton | 2025-06-29 | 3 | -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 template | Zane Helton | 2025-06-29 | 1 | -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 condition | Zane Helton | 2025-06-29 | 1 | -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 implementation | Zane Helton | 2025-06-29 | 1 | -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 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 | ||||
| * | Add validation to date_of_birth registration field | Zane Helton | 2025-06-28 | 1 | -2/+16 |
| | | | | | Resolves: #1020 | ||||
| * | add webrtc support (#1284) | dank074 | 2025-06-22 | 1 | -1/+1 |
| | | | | | Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com> | ||||
| * | send the real index | MathMan05 | 2025-05-28 | 1 | -1/+1 |
| | | |||||
| * | code relies on things done in a certain order | MathMan05 | 2025-05-28 | 1 | -54/+50 |
| | | | | | This makes sure that the code gets done in the order that is expected | ||||
| * | remove missed log | MathMan05 | 2025-05-28 | 1 | -1/+0 |
| | | |||||
| * | sort array to make algorithm happy | MathMan05 | 2025-05-28 | 1 | -1/+20 |
| | | |||||
| * | fix another stupid bug | MathMan05 | 2025-05-28 | 1 | -1/+1 |
| | | |||||
| * | don't set possition if sent | MathMan05 | 2025-05-28 | 1 | -1/+1 |
| | | |||||
| * | remove logs | MathMan05 | 2025-05-28 | 1 | -2/+0 |
| | | |||||
| * | delete the null eater | MathMan05 | 2025-05-28 | 1 | -2/+1 |
| | | |||||
| * | channel is nullable fixes | MathMan05 | 2025-05-28 | 1 | -12/+21 |
| | | |||||
| * | forgot to test on rebuild | MathMan05 | 2025-05-28 | 1 | -0/+2 |
| | | |||||
| * | fix moving channels | MathMan05 | 2025-05-28 | 1 | -1/+1 |
| | | |||||
| * | Implement signed cdn urls | Puyodead1 | 2025-05-03 | 2 | -8/+59 |
| | | |||||
| * | add `author` to query in pins API | dank074 | 2025-04-09 | 1 | -0/+2 |
| | | |||||
| * | Prettier | Emma [it/its]@Rory& | 2025-04-09 | 3 | -9/+11 |
| | | |||||
| * | Fix dependencies | Emma [it/its]@Rory& | 2025-04-09 | 1 | -2/+4 |
| | | |||||
| * | stupid fix | MathMan05 | 2025-04-03 | 1 | -1/+1 |
| | | |||||
| * | fix password reset bug | MathMan05 | 2025-04-03 | 1 | -1/+1 |
| | | | | Not sure if this'll work, but made a pull so y'all could see the issue | ||||
| * | Validate Name for webhooks enforced more | root | 2025-03-25 | 2 | -62/+3 |
| | | |||||
| * | Added can_recover_account value to /api/policies/instance/config | root | 2025-03-25 | 1 | -0/+3 |
| | | |||||
| * | Added better user configuration and removed extra logging | root | 2025-03-25 | 1 | -10/+10 |
| | | |||||
| * | Merge branch 'spacebarchat:master' into master | Munchy | 2025-03-24 | 1 | -0/+1 |
| |\ | |||||
| | * | acatually fix the embed issue | MathMan05 | 2025-03-23 | 1 | -0/+1 |
| | | | | | | | This one added the line in the right spot, sorry about the previous one lol | ||||
| * | | Updated error message for empty webhook update body | root | 2025-03-24 | 2 | -2/+2 |
| | | | |||||
| * | | Added Name Validation utility function | root | 2025-03-24 | 3 | -32/+79 |
| | | | |||||
| * | | Merge branch 'master' of https://github.com/spacebarchat/server into ↵ | root | 2025-03-23 | 2 | -4/+8 |
| |\| | | | | | | | update_webhooks | ||||
| | * | Merge pull request #1205 from DEVTomatoCake/feat/dont-send-x-powered-by | Puyodead1 | 2025-03-23 | 1 | -3/+4 |
| | |\ | | | | | | | Stop sending X-Powered-By & use API CORS + BodyParser middlewares in CDN | ||||
| | | * | Stop sending X-Powered-By & share CORS/BodyParser | TomatoCake | 2024-08-31 | 1 | -3/+4 |
| | | | | |||||
| | * | | Update index.ts | MathMan05 | 2025-03-23 | 1 | -1/+4 |
| | | | | |||||
| | * | | fix minor bug | MathMan05 | 2025-03-22 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fixed errors in authorization for webhooks with tokens | root | 2025-03-23 | 4 | -8/+341 |
| |/ / | |||||
| * | | Added in date wrap on generate-registration-tokens.ts | root | 2025-03-19 | 1 | -2/+4 |
| | | | |||||
| * | | implement hubs routes | Puyodead1 | 2025-01-07 | 3 | -0/+198 |
| | | | |||||
| * | | run prettier | dank074 | 2024-11-19 | 7 | -11/+10 |
| | | | |||||
| * | | Merge branch 'master' into fix/user-profile-colors | Cyber | 2024-11-14 | 2 | -2/+0 |
| |\ \ | |||||
| | * | | turn off eslint rules causing issues | dank074 | 2024-11-13 | 2 | -2/+0 |
| | | | | |||||
| * | | | fix: return user profile theme colors as numbers | CyberL1 | 2024-11-12 | 1 | -2/+2 |
| |/ / | |||||
| * | | Add express trustedProxy support | Emma [it/its]@Rory& | 2024-10-30 | 1 | -0/+4 |
| | | | |||||
| * | | Fix the broken delete API | MathMan05 | 2024-10-29 | 1 | -1/+1 |
| | | | |||||
| * | | Fix module resolution when $CWD != . | Emma [it/its]@Rory& | 2024-10-28 | 1 | -1/+2 |
| | | | |||||
| * | | Update some patches, switch to node-fetch-commonjs, more updates | Emma [it/its]@Rory& | 2024-10-28 | 9 | -18/+48 |
| | | | |||||
| * | | fix: self nick change response | Cyber | 2024-09-03 | 1 | -2/+10 |
| | | | |||||
| * | | Fix uploading of emojis | TomatoCake | 2024-09-02 | 1 | -2/+2 |
| | | | |||||
| * | | Add more application properties | TomatoCake | 2024-08-31 | 1 | -3/+22 |
| |/ | |||||
| * | Enforce RegEx no auth routes start | TomatoCake | 2024-08-30 | 1 | -4/+4 |
| | | |||||
| * | Fix HEAD requests for no authorization routes | TomatoCake | 2024-08-30 | 1 | -4/+10 |
| | | |||||
| * | fix: display pinned message author | Cyber | 2024-08-28 | 1 | -0/+1 |
| | | |||||
| * | Run prettier | TomatoCake | 2024-08-25 | 2 | -2/+7 |
| | | |||||
| * | Remove auth requirement & fix image path | TomatoCake | 2024-08-25 | 2 | -2/+4 |
| | | |||||
| * | Run prettier | TomatoCake | 2024-08-24 | 2 | -11/+8 |
| | | |||||
