| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Attempt 1 dev/openapi-improvements | Rory& | 2025-10-16 | 64 | -93/+94 |
| | | |||||
| * | Implement applications/@me | Rory& | 2025-10-16 | 1 | -0/+115 |
| | | |||||
| * | Switch from commonjs to nodenext | Rory& | 2025-10-15 | 1 | -0/+2 |
| | | |||||
| * | Drop node-os-utils | Rory& | 2025-10-15 | 1 | -22/+1 |
| | | |||||
| * | More schema work, moved most stuff from entities to schemas, though messy | Rory& | 2025-10-15 | 71 | -638/+753 |
| | | |||||
| * | Reorganise schemas a little bit | Rory& | 2025-10-15 | 220 | -584/+851 |
| | | |||||
| * | Move schemas to separate module | Rory& | 2025-10-14 | 143 | -21/+20 |
| | | |||||
| * | Schema fixes, api bug fix | Rory& | 2025-10-14 | 2 | -4/+3 |
| | | |||||
| * | app_id -> application_id | Rory& | 2025-10-14 | 1 | -0/+0 |
| | | |||||
| * | Properly traverse result object | Rory& | 2025-10-11 | 1 | -1/+3 |
| | | |||||
| * | Try other way of querying? | Rory& | 2025-10-11 | 1 | -5/+1 |
| | | |||||
| * | Gateway: dont create user settings | Rory& | 2025-10-11 | 1 | -3/+1 |
| | | |||||
| * | Return defaults for missing {proto-,}settings | Rory& | 2025-10-11 | 7 | -18/+39 |
| | | |||||
| * | Try to fix duplicate user settings | Rory& | 2025-10-11 | 2 | -1/+2 |
| | | |||||
| * | 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 |
| | | |||||
| * | Fix bad import, remove baseUrl from tsconfig to enable ts7 compat | Rory& | 2025-10-07 | 1 | -1/+0 |
| | | |||||
| * | Try to fix sending messages with discord-go | Rory& | 2025-10-06 | 2 | -2/+3 |
| | | |||||
| * | Fix nix, update admin api db models | Rory& | 2025-10-05 | 1 | -2/+2 |
| | | |||||
| * | Merge remote-tracking branch 'origin/dev/admin-api' | Rory& | 2025-10-05 | 4 | -46/+144 |
| |\ | |||||
| | * | Local changes | Emma [it/its]@Rory& | 2025-10-05 | 3 | -7/+48 |
| | | | |||||
| | * | Rewrite access tokens, initial admin api | Emma [it/its]@Rory& | 2025-10-05 | 2 | -45/+102 |
| | | | |||||
| * | | 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 | 2 | -0/+13 |
| | | |||||
| * | Fix missed merge | Rory& | 2025-10-04 | 1 | -1/+2 |
| | | |||||
| * | I guess it builds now? | Rory& | 2025-10-04 | 4 | -16/+25 |
| | | |||||
| * | Tests for extension methods | Rory& | 2025-10-04 | 7 | -8/+201 |
| | | |||||
| * | Fill in missing stuff from missing-native-js-functions | Rory& | 2025-10-04 | 5 | -2/+50 |
| | | |||||
| * | Unkown -> unkown (typo fix) | Rory& | 2025-10-04 | 4 | -4/+4 |
| | | |||||
| * | Clean up other extensions | Rory& | 2025-10-04 | 2 | -5/+8 |
| | | |||||
| * | Clean up array extensions | Rory& | 2025-10-04 | 9 | -33/+75 |
| | | |||||
| * | Add Array.remove extension | Rory& | 2025-10-04 | 1 | -0/+12 |
| | | |||||
| * | Add dotnet-ish Random class | Rory& | 2025-10-04 | 4 | -4/+79 |
| | | |||||
| * | Drop dependency on missing-native-js-functions | Rory& | 2025-10-04 | 14 | -14/+0 |
| | | |||||
| * | Implement sleep function | Rory& | 2025-10-04 | 1 | -0/+11 |
| | | |||||
| * | Move reporting menu to todo | Rory& | 2025-10-04 | 1 | -1/+2 |
| | | |||||
| * | Config as class | Rory& | 2025-10-04 | 1 | -9/+9 |
| | | |||||
| * | Attempt to vendor lambert-server | Rory& | 2025-10-04 | 5 | -0/+350 |
| | | |||||
| * | Fix ignored request schemas | Rory& | 2025-10-04 | 3 | -4/+47 |
| | | |||||
| * | fix: getting invites for a channel | CyberL1 | 2025-10-02 | 1 | -16/+3 |
| | | |||||
| * | Log schema in validator? | Rory& | 2025-10-01 | 1 | -2/+5 |
| | | |||||
| * | Log schema name on error | Rory& | 2025-10-01 | 1 | -1/+1 |
| | | |||||
| * | Disable validation for JSON settings protos update | Rory& | 2025-10-01 | 1 | -0/+3 |
| | | |||||
| * | Safety hub work | Rory& | 2025-10-01 | 3 | -15/+195 |
| | | |||||
| * | Send user settings proto in gateway ready, if one exists | Rory& | 2025-09-30 | 2 | -1/+13 |
| | | |||||
| * | 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 | 178 | -178/+178 |
| | | |||||
| * | Fix some imports | Rory& | 2025-09-30 | 5 | -5/+5 |
| | | |||||
| * | Remove mariadb support as it isnt maintained and hasnt worked in over a year | Rory& | 2025-09-30 | 70 | -748/+5 |
| | | |||||
| * | Clean up unused imports | Rory& | 2025-09-30 | 26 | -50/+19 |
| | | |||||
| * | Copyright notices on email handling | Rory& | 2025-09-30 | 6 | -3/+90 |
| | | |||||
| * | Port MailJet transport | Rory& | 2025-09-30 | 3 | -55/+53 |
| | | |||||
| * | Port MailGun transport | Rory& | 2025-09-30 | 5 | -59/+54 |
| | | |||||
| * | Port SMTP transport, make nodemailer optional | Rory& | 2025-09-30 | 5 | -89/+75 |
| | | |||||
| * | Port SendGrid to new interface | Rory& | 2025-09-30 | 4 | -82/+128 |
| | | |||||
| * | Silence, dotenv, we dont want your ads | Rory& | 2025-09-29 | 9 | -9/+11 |
| | | |||||
| * | Drop @sentry/node (Sentry support) - untested and unused | Rory& | 2025-09-29 | 12 | -209/+3 |
| | | |||||
| * | Update file-type | Rory& | 2025-09-29 | 6 | -20/+20 |
| | | |||||
| * | Fix column type on Message.pinned_at | Rory& | 2025-09-29 | 1 | -3/+2 |
| | | |||||
| * | fix: make `pinned_at` column nullable (for real this time) | CyberL1 | 2025-09-29 | 1 | -2/+2 |
| | | |||||
| * | fix: make `pinned_at` column nullable | CyberL1 | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | No error when message not found | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | 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 | 2 | -2/+17 |
| | | |||||
| * | Add fetching guild profiles | Rory& | 2025-09-29 | 4 | -0/+165 |
| | | |||||
| * | Set nick/pronouns to undefined if attempting to set to empty string. Fixes #1246 | Rory& | 2025-09-29 | 1 | -0/+2 |
| | | |||||
| * | Maybe this tie | Rory& | 2025-09-29 | 2 | -1/+5 |
| | | |||||
| * | Include attachments | Rory& | 2025-09-29 | 1 | -2/+5 |
| | | |||||
| * | Oops, forgot to register extension | Rory& | 2025-09-29 | 1 | -0/+4 |
| | | |||||
| * | 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 | 2 | -0/+7 |
| | | |||||
| * | 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 | 2 | -1/+15 |
| | | |||||
| * | Make cloud uploads work | Rory& | 2025-09-29 | 4 | -135/+116 |
| | | |||||
| * | Logging of empty messages | Rory& | 2025-09-29 | 2 | -2/+3 |
| | | |||||
| * | meow??? | Rory& | 2025-09-29 | 2 | -2/+2 |
| | | |||||
| * | Fix schemas | Rory& | 2025-09-29 | 1 | -1/+8 |
| | | |||||
| * | 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 | 3 | -7/+5 |
| | | |||||
| * | Implement cloning cloud attachments into messages | Rory& | 2025-09-29 | 4 | -3/+48 |
| | | |||||
| * | Implment deleting cloud attachments | Rory& | 2025-09-29 | 2 | -3/+61 |
| | | |||||
| * | Maybe end the request? | Rory& | 2025-09-29 | 1 | -2/+2 |
| | | |||||
| * | Add logging to cloud uploads | Rory& | 2025-09-29 | 1 | -0/+5 |
| | | |||||
| * | Fix uploads? | Rory& | 2025-09-29 | 2 | -14/+29 |
| | | |||||
| * | Fix upload filename | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | Fix ID references | Rory& | 2025-09-29 | 2 | -2/+26 |
| | | |||||
| * | Add first half of cloud attachment uploads | Rory& | 2025-09-29 | 13 | -112/+377 |
| | | |||||
| * | Fix schema for preload messages | Rory& | 2025-09-29 | 1 | -3/+1 |
| | | |||||
| * | Implement greeting | Rory& | 2025-09-29 | 6 | -1/+139 |
| | | |||||
| * | Implement fetching DM messages by user ID | Rory& | 2025-09-29 | 9 | -65/+183 |
| | | |||||
| * | Implement message preloading | Rory& | 2025-09-29 | 6 | -2/+119 |
| | | |||||
| * | Move to some etension methods | Rory& | 2025-09-29 | 9 | -67/+123 |
| | | |||||
| * | Channel: add helpers to calculate user permissions and determine channel ↵ | Rory& | 2025-09-29 | 1 | -8/+79 |
| | | | | | visibility | ||||
| * | Permissions: Add some constants for all or no permissions | Rory& | 2025-09-29 | 1 | -0/+6 |
| | | |||||
| * | Permissions: less magic numbers | Rory& | 2025-09-29 | 2 | -30/+10 |
| | | |||||
| * | Fix trace | Rory& | 2025-09-29 | 1 | -1/+2 |
| | | |||||
| * | Attempt to split up even more? | Rory& | 2025-09-29 | 1 | -2/+103 |
| | | |||||
| * | Attempt to reduce OOM chance by factoring out member->guild queries | Rory& | 2025-09-29 | 1 | -108/+66 |
| | | |||||
| * | Fix creating guilds | Rory& | 2025-09-29 | 1 | -72/+22 |
| | | |||||
| * | Add endpoint implementations | Rory& | 2025-09-29 | 4 | -0/+178 |
| | | |||||
| * | Add schemas for collectibles | Rory& | 2025-09-29 | 6 | -1/+273 |
| | | |||||
| * | Screw off, telemetry | Rory& | 2025-09-29 | 1 | -0/+38 |
| | | |||||
| * | Colorful roles | Rory& | 2025-09-29 | 5 | -1/+57 |
| | | |||||
| * | A little bit of formatting cleanup | Rory& | 2025-09-29 | 1 | -0/+2 |
| | | |||||
| * | Initialise settings versions | Rory& | 2025-09-29 | 1 | -16/+11 |
| | | |||||
| * | 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 | 3 | -0/+37 |
| | | |||||
| * | Merge in json representation of settings protos | Rory& | 2025-09-29 | 2 | -8/+38 |
| | | |||||
| * | Make guild channels nullable | Rory& | 2025-09-29 | 1 | -8/+8 |
| | | |||||
| * | Add new field to guild update schema | Rory& | 2025-09-29 | 1 | -0/+1 |
| | | |||||
| * | Release -> ClientRelease | Rory& | 2025-09-29 | 4 | -5/+13 |
| | | |||||
| * | Setting protos support | Rory& | 2025-09-29 | 9 | -0/+664 |
| | | |||||
| * | Nest query times for clarity | Rory& | 2025-09-29 | 1 | -10/+21 |
| | | |||||
| * | Fix typo | Rory& | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | Update copyright date in pin endpoints | Rory& | 2025-09-29 | 2 | -2/+2 |
| | | |||||
| * | Add tracing to IDENTIFY | Rory& | 2025-09-29 | 5 | -46/+129 |
| | | |||||
| * | Add stopwatch/elapsedtime classes | Rory& | 2025-09-29 | 1 | -0/+115 |
| | | |||||
| * | fix: use `createDateColumn()` | CyberL1 | 2025-09-29 | 1 | -1/+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 |
| | | |||||
| * | fix: update `pinned` column value in down migration | CyberL1 | 2025-09-29 | 1 | -0/+3 |
| | | |||||
| * | 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 |
| | | |||||
| * | fix: migrate older pinned messages to the new system | CyberL1 | 2025-09-29 | 1 | -0/+3 |
| | | |||||
| * | refactor: add `pinned` getter to `Message` entity | CyberL1 | 2025-09-29 | 3 | -2/+7 |
| | | |||||
| * | refactor: use `pinned_at` to check if message is pinnned | CyberL1 | 2025-09-29 | 6 | -29/+39 |
| | | |||||
| * | fix: getting message pinss | CyberL1 | 2025-09-29 | 3 | -2/+31 |
| | | |||||
| * | Remove @everyone role from `onIdentify` | Zane Helton | 2025-09-29 | 1 | -1/+4 |
| | | | | | | | | | This prevents the @everyone role from leaking into places that might display it on the frontend. The @everyone role is still visible when needed, but `merged_members` (aka GuildMembers) won't include the role. Resolves: #1213 | ||||
| * | add CONFIG_READONLY functionality | boogiewoogie | 2025-09-29 | 1 | -1/+3 |
| | | |||||
| * | fix stupid bug | MathMan05 | 2025-09-29 | 1 | -0/+2 |
| | | |||||
| * | Update Identify.ts | Mathium05 | 2025-09-09 | 1 | -2/+15 |
| | | |||||
| * | don't filter channels | Mathium05 | 2025-09-09 | 1 | -12/+0 |
| | | |||||
| * | prevent re-verifying email | Puyodead1 | 2025-09-05 | 1 | -1/+5 |
| | | |||||
| * | fixes and minor changes for email stuff | Puyodead1 | 2025-09-05 | 2 | -14/+16 |
| | | |||||
| * | fix an issue with NO_AUTHENTICATE routes | Puyodead1 | 2025-09-05 | 1 | -6/+17 |
| | | |||||
| * | Add automod migration | Rory& | 2025-07-27 | 2 | -1/+18 |
| | | |||||
| * | More cleanup | Rory& | 2025-07-27 | 4 | -8/+14 |
| | | |||||
| * | Some cleanup | Rory& | 2025-07-27 | 8 | -1439/+74 |
| | | |||||
| * | Kitty stuff works now | Emma [it/its]@Rory& | 2025-07-27 | 3 | -59/+81 |
| | | |||||
| * | WIP logo/terminal stuff | Emma [it/its]@Rory& | 2025-07-27 | 13 | -26/+1552 |
| | | |||||
| * | Implement CRUD for automod | Emma [it/its]@Rory& | 2025-07-27 | 6 | -3/+310 |
| | | |||||
| * | add types to the ban api response objects | dank074 | 2025-07-21 | 1 | -13/+24 |
| | | |||||
| * | update guild bans api | dank074 | 2025-07-21 | 2 | -8/+77 |
| | | |||||
| * | move dotenv.config() to top o file | dank074 | 2025-07-21 | 1 | -3/+2 |
| | | |||||
| * | Merge pull request #1305 from ZaneH/feat/handle-github-webhook | Puyodead1 | 2025-07-12 | 4 | -147/+724 |
| |\ | | | | | 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 | 2 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | 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 |
| | | | |||||
| * | | fix unbundled startup for webrtc, and enable eslint | dank074 | 2025-07-07 | 4 | -3/+8 |
| | | | |||||
| * | | Add emoji source endpoint | Rory& | 2025-07-07 | 3 | -0/+138 |
| | | | |||||
| * | | Add endpoint to get account standing | Rory& | 2025-07-07 | 3 | -0/+97 |
| | | | |||||
| * | | Add staff_only flag in guild create schema | Rory& | 2025-07-07 | 1 | -0/+1 |
| | | | |||||
| * | | Make time relative, oops | Rory& | 2025-07-06 | 1 | -8/+8 |
| | | | |||||
| * | | Log more identify timings | Rory& | 2025-07-06 | 1 | -0/+29 |
| | | | |||||
| * | | Add intent to event map as per discord docs | Rory& | 2025-07-06 | 1 | -0/+122 |
| | | | |||||
| * | | Add map of privileged intents | Rory& | 2025-07-06 | 1 | -1/+5 |
| | | | |||||
| * | | Use binary flags for default intents in identify | Rory& | 2025-07-06 | 1 | -1/+1 |
| | | | |||||
| * | | Move erkinalp intents out | Rory& | 2025-07-06 | 1 | -0/+3 |
| | | | |||||
| * | | Use discord names for intents | Rory& | 2025-07-06 | 1 | -5/+5 |
| | | | |||||
| * | | Add bitfield for discords privileged intents | Rory& | 2025-07-06 | 1 | -0/+2 |
| | | | |||||
| * | | Log gateway handling time | Rory& | 2025-07-06 | 9 | -3/+47 |
| | | | |||||
| * | | Silence duplicate url/path errors when signature objects are passed in | Rory& | 2025-07-06 | 1 | -4/+6 |
| | | | |||||
| * | | Make CDN signature logging opt-in, log stack when both path and url are provided | Rory& | 2025-07-06 | 1 | -35/+51 |
| | | | |||||
| * | | Fix CDN log prefix when fixing attachments | Rory& | 2025-07-06 | 1 | -3/+3 |
| | | | |||||
| * | | Prettier | Rory& | 2025-07-06 | 9 | -75/+148 |
| | | | |||||
| * | | Resolve eslint errors | Rory& | 2025-07-06 | 2 | -6/+3 |
| | | | |||||
| * | | Fix forgotten function signature changes | Rory& | 2025-07-06 | 3 | -5/+10 |
| | | | |||||
| * | | Make IP/user-agent validation in CDN work | Rory& | 2025-07-06 | 10 | -122/+264 |
| | | | |||||
| * | | use prototype when signing message | Emma [it/its]@Rory& | 2025-07-06 | 1 | -1/+1 |
| | | | |||||
| * | | sign urls in gateway | Emma [it/its]@Rory& | 2025-07-06 | 3 | -1/+21 |
| | | | |||||
| * | | dont duplicate urls | Emma [it/its]@Rory& | 2025-07-06 | 1 | -2/+2 |
| | | | |||||
| * | | include rest of attachment when signing | Emma [it/its]@Rory& | 2025-07-06 | 1 | -0/+1 |
| | | | |||||
| * | | 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 | 6 | -11/+57 |
| | | | |||||
| * | | Add ip? | Emma [it/its]@Rory& | 2025-07-06 | 2 | -2/+1 |
| | | | |||||
| * | | More logging | Emma [it/its]@Rory& | 2025-07-06 | 1 | -4/+16 |
| | | | |||||
| * | | log signed ip addr | Emma [it/its]@Rory& | 2025-07-06 | 1 | -0/+1 |
| | | | |||||
| * | | Log signing errors | Emma [it/its]@Rory& | 2025-07-06 | 1 | -1/+9 |
| | | | |||||
| * | | Add options to erquire IP or User Agent to access CDN | Emma [it/its]@Rory& | 2025-07-06 | 6 | -26/+38 |
| | | | |||||
| * | | Set trusted proxies in CDN | Emma [it/its]@Rory& | 2025-07-06 | 1 | -0/+3 |
| | | | |||||
| * | | Consistent request logging | Emma [it/its]@Rory& | 2025-07-06 | 2 | -0/+39 |
| | | | |||||
| * | | Fix opcode 8 | Rory& | 2025-07-06 | 1 | -2/+7 |
| | | | |||||
| * | | Fix typeorm queries no longer allowing empty where clauses | Emma [it/its]@Rory& | 2025-07-06 | 2 | -12/+15 |
| | | | |||||
| * | | Update some dependencies, fix nix | Emma [it/its]@Rory& | 2025-07-02 | 6 | -11/+18 |
| | | | |||||
| * | | 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 | 4 | -24/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | Make ban reason nullable | Zane Helton | 2025-06-29 | 1 | -1/+1 |
| | | | | | | | | | Resolves: #1276 | ||||
| * | | 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 | ||||
| * | Change how GUILD_DELETE cleans up the listener | Zane Helton | 2025-06-29 | 1 | -1/+1 |
| | | | | | | | | | Adding `this.events[id]?.()` cleans up the listener. I removed `opts.cancel()` because with it, the event had issues firing after the first time. Resolves: #1242 | ||||
| * | 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 | 3 | -14/+125 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | update webrtc types package | Puyodead1 | 2025-06-25 | 4 | -7/+7 |
| | | |||||
| * | add webrtc support (#1284) | dank074 | 2025-06-22 | 47 | -770/+1213 |
| | | | | | 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 | 2 | -40/+2 |
| | | |||||
| * | channel is nullable fixes | MathMan05 | 2025-05-28 | 2 | -13/+22 |
| | | |||||
| * | forgot to test on rebuild | MathMan05 | 2025-05-28 | 1 | -0/+2 |
| | | |||||
| * | fix moving channels | MathMan05 | 2025-05-28 | 1 | -1/+1 |
| | | |||||
| * | Update attachments.ts | Puyodead1 | 2025-05-03 | 1 | -2/+1 |
| | | |||||
| * | Implement signed cdn urls | Puyodead1 | 2025-05-03 | 10 | -13/+278 |
| | | |||||
| * | fix op 8 handler for some discord libraries | dank074 | 2025-04-12 | 1 | -1/+8 |
| | | |||||
| * | Merge pull request #1269 from dank074/patch/fix-missing-guildcreate-properties | Madeline | 2025-04-12 | 1 | -5/+22 |
| |\ | |||||
| | * | revert back to original schema, but add missing `members` | dank074 | 2025-04-11 | 1 | -6/+19 |
| | | | |||||
| | * | add type to make sure payload is consistent with other GUILD_CREATE event | dank074 | 2025-04-09 | 1 | -1/+2 |
| | | | |||||
| | * | fix missing properties in GUILD_CREATE for bots | dank074 | 2025-04-09 | 1 | -1/+4 |
| | | | |||||
| * | | Merge pull request #1273 from dank074/patch/fix-members-list | Madeline | 2025-04-12 | 5 | -0/+40 |
| |\ \ | | | | | | | add op handler for `GUILD_SUBSCRIPTIONS_BULK` message | ||||
| | * | | add ophandler for GuildSubscriptionsBulk message | dank074 | 2025-04-12 | 5 | -0/+40 |
| | |/ | |||||
| * / | add `author` to query in pins API | dank074 | 2025-04-09 | 1 | -0/+2 |
| |/ | |||||
| * | Prettier | Emma [it/its]@Rory& | 2025-04-09 | 4 | -10/+12 |
| | | |||||
| * | 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 | 5 | -13/+44 |
| | | |||||
| * | 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 | 5 | -32/+131 |
| | | | |||||
| * | | Merge branch 'master' of https://github.com/spacebarchat/server into ↵ | root | 2025-03-23 | 4 | -26/+20 |
| |\| | | | | | | | update_webhooks | ||||
| | * | Merge pull request #1217 from SupremeMortal/fix/message-ack | Puyodead1 | 2025-03-23 | 1 | -0/+3 |
| | |\ | | | | | | | Add missing fields to `MessageAcknowledgeSchema` | ||||
| | | * | Add missing fields to `MessageAcknowledgeSchema` | SupremeMortal | 2024-09-15 | 1 | -0/+3 |
| | | | | | | | | | | | | | I'm not entirely sure what these fields do, but I've added them to make the client happy. | ||||
| | * | | Merge pull request #1205 from DEVTomatoCake/feat/dont-send-x-powered-by | Puyodead1 | 2025-03-23 | 2 | -25/+13 |
| | |\ \ | | | | | | | | | Stop sending X-Powered-By & use API CORS + BodyParser middlewares in CDN | ||||
