summary refs log tree commit diff
path: root/src/api/routes/webhooks/#webhook_id/#token/github.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify webhook token parameter nameRory&2026-07-151-427/+0
|
* Routes: reduce scope of api imports to api/utilRory&2026-06-171-2/+2
|
* Use subpath imports for lambert-server, fix openapi.jsRory&2026-06-121-1/+1
|
* fix: make github webhooks embeds have `rich` typeCyberL12026-03-311-1/+20
|
* refactor: adjust numbers for length limitsCyberL12025-12-191-1/+1
|
* refactor: adjust numbers for length limitsCyberL12025-12-191-2/+2
|
* refactor: adjust commit lenghts for `push` eventCyberL12025-12-191-1/+1
|
* fix: description length for `issue_comment` eventCyberL12025-12-191-1/+1
|
* fix: description length for `issue` eventCyberL12025-12-191-1/+1
|
* lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-171-373/+373
|
* fix: check if event is "opened" or "closed"CyberL12025-12-151-0/+4
|
* fix: show compare url on multiple commitsCyberL12025-12-121-1/+1
|
* fix: check if `body` is not `null`CyberL12025-12-051-1/+3
|
* fix: show only the first line of commit messageCyberL12025-12-031-1/+1
|
* fix: github webhok username and avatar are now more in-line with discordCyberL12025-12-021-2/+2
|
* fix: send 204 even if event is invalid (discord does this, idk why)CyberL12025-12-021-3/+1
|
* chore: remove debug logCyberL12025-12-021-1/+0
|
* refactor: refactor github webhooks embeds to match discord'sCyberL12025-12-021-469/+321
|
* Reorganise schemas a little bitRory&2025-10-151-1/+2
|
* Pass mergeParams: true to new router calls due to express behavior changeRory&2025-09-301-1/+1
|
* Proxy avatar URL + adjust event logicZane Helton2025-06-291-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 embedZane Helton2025-06-291-1/+21
| | | | | | | | | | | | | 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 fileZane Helton2025-06-291-0/+417