summary refs log tree commit diff
path: root/src/api/routes/webhooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some typesRory&2026-07-312-2/+2
|
* Remove authentication import from ratelimitRory&2026-07-213-0/+8
|
* NO-REVIEW: Fix up route import middleware pathRory&2026-07-214-4/+6
|
* Remove APIWebhookArrayRory&2026-07-152-6/+12
|
* Remove APIPublicMember, APIMessageRory&2026-07-151-3/+1
|
* Drop a bunch of random overridesRory&2026-07-151-21/+1
|
* Fallback to empty arrayRory&2026-07-151-2/+2
|
* Fix schema for patch webhook messageRory&2026-07-151-15/+15
|
* Fix webhook editRory&2026-07-151-18/+7
|
* Add webhook message get/update/deleteRory&2026-07-151-0/+212
|
* Unify webhook token parameter nameRory&2026-07-152-13/+11
|
* Delete messages when deleting webhookRory&2026-06-172-1/+5
|
* Routes: reduce scope of api imports to api/utilRory&2026-06-171-2/+2
|
* Signify some imports more explicitlyRory&2026-06-162-2/+2
|
* Move entities to databaseRory&2026-06-122-18/+45
|
* Use subpath imports for lambert-server, fix openapi.jsRory&2026-06-123-3/+3
|
* handle constraints on webhook deleteRory&2026-05-031-1/+32
|
* fix: make github webhooks embeds have `rich` typeCyberL12026-03-311-1/+20
|
* Migrate WebhooksUpdateEvent to satisfies, part of #1577Rory&2026-03-202-8/+8
|
* more pk fixesMathMan052026-03-201-0/+1
|
* properly mark unused paramsRory&2026-03-141-0/+1
|
* Assert req.params type as solely string (express update)Rory&2026-02-012-6/+6
|
* Deprecation: Use object-based relations for typeormRory&2025-12-192-6/+6
|
* 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-173-628/+628
|
* No more fallback URLsRory&2025-12-172-4/+2
|
* Prettier u5Rory&2025-12-172-106/+25
|
* 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-153-3/+4
|
* Pass mergeParams: true to new router calls due to express behavior changeRory&2025-09-303-3/+3
|
* Clean up unused importsRory&2025-09-301-1/+0
|
* 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-292-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 fileZane Helton2025-06-292-561/+423
|
* Capitalize `ref_type` when using in embedZane Helton2025-06-291-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 GitHubZane Helton2025-06-291-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.
* Validate Name for webhooks enforced moreroot2025-03-251-31/+1
|
* Added better user configuration and removed extra loggingroot2025-03-251-10/+10
|
* Updated error message for empty webhook update bodyroot2025-03-242-2/+2
|
* Added Name Validation utility functionroot2025-03-242-32/+8
|
* Fixed errors in authorization for webhooks with tokensroot2025-03-232-5/+306
|
* PrettierTomatoCake2024-07-181-1/+2
|
* Consistent relations, url property, src channelTomatoCake2024-07-182-3/+18
|
* Perms for GET webhook, url propertyTomatoCake2024-07-182-11/+32
|
* Fix ESLint & prettierTomatoCake2024-07-182-1/+2
|
* webhook fixes & username/avatar property for msgTomatoCake2024-07-181-1/+24
|
* Start implementing webhooksPuyodead12023-12-102-0/+247