gitea/services/issue
Giteabot 9903b8d7ec
Fix Bug in Issue Config when only contact links are set (#26521) (#27334)
Backport #26521 by @JakobDev

Blank Issues should be enabled if they are not explicit disabled through
the `blank_issues_enabled` field of the Issue Config. The Implementation
has currently a Bug: If you create a Issue Config file with only
`contact_links` and without a `blank_issues_enabled` field,
`blank_issues_enabled` is set to false by default.

The fix is only one line, but I decided to also improve the tests to
make sure there are no other problems with the Implementation.

This is a bugfix, so it should be backported to 1.20.

Co-authored-by: JakobDev <jakobdev@gmx.de>
2023-09-28 20:55:45 +08:00
..
assignee.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
assignee_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
comments.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
commit.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
commit_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
content.go More refactoring of `db.DefaultContext` (#27083) 2023-09-15 06:13:19 +00:00
issue.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
issue_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
label.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
label_test.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
milestone.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
milestone_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
status.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
template.go Fix Bug in Issue Config when only contact links are set (#26521) (#27334) 2023-09-28 20:55:45 +08:00