4100 Commits

Author SHA1 Message Date
dependabot[bot]
bc0a43053b build(deps): update npm dependencies hash [dependabot skip] 2025-07-27 14:03:53 +02:00
dependabot[bot]
dff4683df9 build(deps): bump the npm_and_yarn group across 1 directory with 3 updates
Bumps the npm_and_yarn group with 3 updates in the / directory: [multer](https://github.com/expressjs/multer), [on-headers](https://github.com/jshttp/on-headers) and [morgan](https://github.com/expressjs/morgan).


Updates `multer` from 1.4.5-lts.2 to 2.0.2
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/expressjs/multer/compare/v1.4.5-lts.2...v2.0.2)

Updates `on-headers` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/jshttp/on-headers/releases)
- [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0)

Updates `morgan` from 1.10.0 to 1.10.1
- [Release notes](https://github.com/expressjs/morgan/releases)
- [Changelog](https://github.com/expressjs/morgan/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/morgan/compare/1.10.0...1.10.1)

---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.0.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: morgan
  dependency-version: 1.10.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 14:03:53 +02:00
dependabot[bot]
c789f3345c build(deps): update npm dependencies hash [dependabot skip] 2025-07-27 14:00:40 +02:00
dependabot[bot]
60a0b3f47e build(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the / directory: [@sentry/node](https://github.com/getsentry/sentry-javascript) and [axios](https://github.com/axios/axios).


Updates `@sentry/node` from 8.35.0 to 8.49.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.35.0...8.49.0)

Updates `axios` from 1.7.7 to 1.8.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.7...v1.8.2)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 14:00:40 +02:00
Madeline
dc007c006b
Merge pull request #1318 from dank074/patch/bans-api 2025-07-22 08:55:02 +10:00
dank074
7261766459 add types to the ban api response objects 2025-07-21 16:05:14 -05:00
dank074
3c0efd17bc update guild bans api 2025-07-21 00:46:14 -05:00
dank074
6c64d2e6d5 move dotenv.config() to top o file 2025-07-21 02:15:23 +02:00
Puyodead1
9347a3ec6f
Merge pull request #1305 from ZaneH/feat/handle-github-webhook
Implement GitHub-compatible webhook
2025-07-12 12:56:00 -04:00
Rory&
d58414c9c5 Modern pins endpoints 2025-07-08 22:45:57 +02:00
dank074
5437dab688 fix unbundled startup for webrtc, and enable eslint 2025-07-07 22:13:39 +02:00
Rory&
cb0443821e Add emoji source endpoint 2025-07-07 21:59:25 +02:00
Rory&
5205ccecd5 Add endpoint to get account standing 2025-07-07 20:40:38 +02:00
Rory&
5ff2267cd1 Add staff_only flag in guild create schema 2025-07-07 19:54:33 +02:00
Rory&
479b428a2d Make time relative, oops 2025-07-06 22:24:09 +02:00
Rory&
971fc4a84f Log more identify timings 2025-07-06 22:22:30 +02:00
Rory&
f2427e66f0 Add intent to event map as per discord docs 2025-07-06 20:53:30 +02:00
Rory&
a68153ab86 Add map of privileged intents 2025-07-06 20:18:22 +02:00
Rory&
5feebe7672 Use binary flags for default intents in identify 2025-07-06 20:17:27 +02:00
Rory&
a3e597cafe Move erkinalp intents out 2025-07-06 20:17:02 +02:00
Rory&
997bdbc634 Use discord names for intents 2025-07-06 20:16:29 +02:00
Rory&
441dd3ddcd Add bitfield for discords privileged intents 2025-07-06 19:47:28 +02:00
Rory&
02efa17a04 Log gateway handling time 2025-07-06 19:14:27 +02:00
Rory&
1ee84431e4 Silence duplicate url/path errors when signature objects are passed in 2025-07-06 18:03:17 +02:00
Rory&
dae26ded20 Make CDN signature logging opt-in, log stack when both path and url are provided 2025-07-06 18:03:17 +02:00
Rory&
4bcb65ddc4 Fix CDN log prefix when fixing attachments 2025-07-06 18:03:17 +02:00
Rory&
b590482bfb Prettier 2025-07-06 18:03:17 +02:00
Rory&
199a518092 Resolve eslint errors 2025-07-06 18:03:17 +02:00
Rory&
9e4a769d69 Fix forgotten function signature changes 2025-07-06 18:03:17 +02:00
Rory&
2e196573ea Make IP/user-agent validation in CDN work 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
8bf45dcdc1 use prototype when signing message 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
9756ed227b sign urls in gateway 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
4395648c5b dont duplicate urls 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
c2497808dc include rest of attachment when signing 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
0fcdbd2831 sign attachment on sending message 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
387cef269a Sign media per user 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
8922ca1518 Add ip? 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
d6a5504e55 More logging 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
f18c85a6b6 log signed ip addr 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
0be56adcf4 Log signing errors 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
0e0da6d722 Add options to erquire IP or User Agent to access CDN 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
6fa604efd1 Set trusted proxies in CDN 2025-07-06 18:03:17 +02:00
Emma [it/its]@Rory&
d2015f06be Consistent request logging 2025-07-06 18:03:17 +02:00
Rory&
253bc2f255 Fix opcode 8 2025-07-06 17:41:50 +02:00
Emma [it/its]@Rory&
3e549dae28 Fix typeorm queries no longer allowing empty where clauses 2025-07-06 09:18:22 +02:00
Emma [it/its]@Rory&
fca7953a51 Update some dependencies, fix nix 2025-07-02 15:54:23 +02:00
MathMan05
6ab26cb3ff Fix the fix
this should actually be what's intended
2025-07-02 09:21:24 +10:00
MathMan05
76857bdcfb Check for old password when setting new
Checks for password
2025-07-02 09:21:24 +10:00
Zane Helton
ed85ba3dc2 Proxy avatar URL + adjust event logic
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.
2025-06-29 12:17:24 -04:00
Zane Helton
590331518c Make tsc happy when using strings as Date in embed
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.
2025-06-29 11:34:57 -04:00