forgejo/models
Earl Warren f06bdb0552
chore(refactor): split ReloadLabels out of LoadLabels in issue model
Functions modifying the labels in the database (DeleteIssueLabel,
NewIssueLabels, NewIssueLabel, ReplaceIssueLabels) need to force
reload them. Instead of:

	issue.isLabelsLoaded = false
	issue.Labels = nil
	if err = issue.LoadLabels(ctx); err != nil {
		return err
	}

They can now use:

	if err = issue.ReloadLabels(ctx); err != nil {
		return err
	}
2024-11-07 11:05:38 +01:00
..
actions fix: Actions PR workflows must update the commit status 2024-11-04 11:27:14 +01:00
activities tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
admin
asymkey
auth tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
avatars
db
dbfs
fixtures Add artifacts test fixture (#30300) 2024-11-05 09:33:15 +01:00
forgefed
forgejo/semver tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
forgejo_migrations Add branch auto deletion for scheduled PRs 2024-10-31 03:49:15 +01:00
git refactor: remove redundant err declarations (#32381) 2024-11-05 09:33:15 +01:00
issues chore(refactor): split ReloadLabels out of LoadLabels in issue model 2024-11-07 11:05:38 +01:00
migrations [PORT] Refactor the DB migration system slightly (gitea#32344) 2024-11-03 17:00:48 +01:00
organization tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
packages tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
perm tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
project
pull Add branch auto deletion for scheduled PRs 2024-10-31 03:49:15 +01:00
quota
repo Merge pull request 'feat: Add Search to Releases Page' (#5777) from JakobDev/forgejo:releasesearch into forgejo 2024-11-02 22:33:30 +00:00
secret
shared/types
system tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
unit
unittest test: enable github migration tests 2024-11-05 10:37:28 +01:00
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go