0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-14 01:58:43 -05:00
forgejo/modules
Gusted 94845020e8 feat: add commit limit for webhook payload (#6797)
- Adds a new option `[webhook].PAYLOAD_COMMIT_LIMIT` that limits the amount of commits is sent for each webhook payload, this was previously done via `[ui].FEED_MAX_COMMIT_NUM` which feels incorrect.
- The default is 15 for this new option, purely arbitary.
- Resolves forgejo/forgejo#6780
- Added unit testing, it's quite a lot because this the notification
area is not really easy to test and rather should've been a integration test
but that ends up having more complicated than trying doing an unit test.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6797
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-02-07 19:26:50 +00:00
..
actions
activitypub [PORT] Remove SHA1 for support for ssh rsa signing (#31857) (#5303) 2025-01-17 03:17:10 +00:00
analyze
assetfs chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
auth chore: avoid using gock 2024-12-18 06:40:02 +01:00
avatar
base fix: extend forgejo_auth_token table 2024-11-15 10:59:36 +01:00
cache
card Update 2024-12-30 17:47:34 +01:00
charset chore: Remove BreakWriter 2025-01-31 16:22:29 +01:00
container chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
csv
emoji
eventsource fix: use better code to group UID and stopwatches 2024-11-16 15:59:02 +01:00
forgefed
generate
git chore: Remove IsTagExist 2025-01-31 16:22:29 +01:00
gitgraph fix: Proper paring of date for git commits 2024-11-10 22:23:28 +01:00
gitrepo
graceful
hcaptcha
highlight feat: highlight Gradle Kotlin as Kotlin 2024-12-04 22:06:33 +01:00
hostmatcher
html
httpcache
httplib
indexer feat: filepath filter for code search (#6143) 2024-12-22 12:24:29 +00:00
issue/template [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
json
keying feat: harden keying implementation 2024-12-25 00:10:18 +01:00
label
lfs Revert empty lfs ref name (#33454) 2025-02-02 12:01:58 +01:00
log feat: add a buffer writer to the logger, for internal use (#6551) 2025-01-13 13:40:24 +00:00
markup fix: more permissive markup commit hash detection (#6784) 2025-02-05 09:04:19 +00:00
mcaptcha
metrics
migration feat: implement migration of website field from gogs/gitea/github (#6474) 2025-01-20 12:18:19 +00:00
nosql
optional
options
packages Alt Linux Apt-Rpm repository support for Forgejo packages. (#6351) 2025-01-22 14:01:49 +00:00
paginator
pprof
private chore: Remove ActionsRunnerRegister 2025-01-31 11:11:33 +01:00
process feat: add limited execution tracing support 2025-01-05 04:07:49 +01:00
proxy
proxyprotocol
public
queue
recaptcha
references fix trailing comma not matched in the case of alphanumeric issue (#32945) 2024-12-28 19:00:07 +00:00
regexplru
repository chore: Remove UpdateTeamUnits 2025-01-31 16:22:29 +01:00
secret fix: teach the doctor about orphaned two_factor rows (#6639) 2025-01-21 17:30:08 +00:00
session
setting feat: add commit limit for webhook payload (#6797) 2025-02-07 19:26:50 +00:00
sitemap
ssh fix: ensure correct ssh public key is used for authentication 2024-12-12 05:54:07 +01:00
storage chore: Remove ErrInvalidConfiguration 2025-01-31 11:07:21 +01:00
structs [gitea] week 2025-06 cherry pick (gitea/main -> forgejo) (#6763) 2025-02-04 08:19:06 +00:00
svg
sync
system
templates Remove automatic alt text in markdown image rendering 2025-01-31 21:22:00 +00:00
test
testlogger test: add trailing newline to testlogger.go:recordError message 2024-11-14 14:38:47 +01:00
timeutil [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
translation fix(i18n): use translate key as fallback 2025-01-28 15:03:38 +01:00
turnstile
typesniffer Update modules/typesniffer/typesniffer.go 2024-11-28 10:27:33 +00:00
updatechecker
uri
user
util chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
validation Validate OAuth Redirect URIs (#32643) 2024-12-03 10:19:22 +01:00
web chore: Remove DeleteLocaleCookie 2025-01-31 14:40:27 +01:00
webhook
zstd