gitea/models
Giteabot c60bc26fd3
Fix issue label delete incorrect labels webhook payload (#34575) (#34603)
Backport #34575 by @badhezi

Fixes https://github.com/go-gitea/gitea/issues/34560
explanation of the bug in the issue

setting `issue.isLabelsLoaded = false` before calling `deleteIssueLabel`
guarantee we will load the new state of the labels into the issue object
before sending it in the webhook.

Co-authored-by: badhezi <zlilaharon@gmail.com>
2025-06-05 00:41:01 +07:00
..
actions Fix ephemeral runner deletion (#34447) (#34513) 2025-05-21 18:02:34 +07:00
activities Fix some trivial problems (#34579) (#34585) 2025-06-02 17:31:35 +07:00
admin Fix omitempty bug (#33663) 2025-02-20 12:39:21 +07:00
asymkey Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +07:00
auth Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 +07:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +07:00
db Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
dbfs Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
fixtures Fix ephemeral runner deletion (#34447) (#34513) 2025-05-21 18:02:34 +07:00
git Rework create/fork/adopt/generate repository to make sure resources will be cleanup once failed (#31035) 2025-04-07 22:12:54 +07:00
issues Fix issue label delete incorrect labels webhook payload (#34575) (#34603) 2025-06-05 00:41:01 +07:00
migrations Add migrations tests (#34456) (#34483) 2025-05-16 10:37:06 +07:00
organization Fix remove org user failure on mssql (#34449) (#34453) 2025-05-13 13:28:26 +07:00
packages Swift files can be passed either as file or as form value (#34068) 2025-04-18 20:09:56 +07:00
perm Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 +07:00
project Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +07:00
renderhelper Refactor commit message rendering and fix bugs (#34412) (#34414) 2025-05-09 13:08:23 +07:00
repo Performance optimization for tags synchronization (#34355) (#34522) 2025-05-22 19:28:25 +07:00
secret Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +07:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +07:00
system Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
unit Fix team permission (#34128) 2025-04-08 04:15:15 +07:00
unittest Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +07:00
user Fix/improve avatar sync from LDAP (#34573) (#34587) 2025-06-02 23:19:55 +07:00
webhook fix webhook url (#34186) 2025-04-13 02:24:32 +07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +07:00
repo.go Fix issue comment number (#30556) 2024-12-30 14:35:46 +07:00
repo_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00