You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/fixtures
Lanre Adelowo 9d8178b3ac Add option to close issues via commit on a non master branch (#5992)
* fixes #5957

* add tests to make sure config option is respected

* use already defined struct

* - use migration to make the flag repo wide not for the entire gitea instance
Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created

- fix copy/paste error in copyright header year and rearrange import

- use repo config instead of server config value to determine if a commit should close an issue

- update testsuite

* use global config only when creating a new repository

* allow repo admin toggle feature via UI

* fix typo and improve testcase

* fix fixtures

* add DEFAULT prefix to config value

* fix test
5 years ago
..
access.yml Add search mode option to /api/repo/search (#2756) 7 years ago
access_token.yml Unit tests for token and update models 8 years ago
action.yml User action heatmap (#5131) 6 years ago
attachment.yml MySQL, Postgres integration tests in drone (#1638) 7 years ago
collaboration.yml Unit tests for models/access.go (#606) 8 years ago
comment.yml Hide outdated comments in file view (#5017) 6 years ago
commit_status.yml Status-API (#1332) 7 years ago
deleted_branch.yml Add deleted_branch table fixture (#2832) 7 years ago
deploy_key.yml Writable deploy keys (closes #671) (#3225) 7 years ago
email_address.yml test: Add user mail testing. (#833) 8 years ago
follow.yml Fix and test for delete user (#1713) 7 years ago
gpg_key.yml Add missing fixture to clean gpg_key table (#2494) 7 years ago
hook_task.yml API endpoint for testing webhook (#3550) 6 years ago
issue.yml Add option to close issues via commit on a non master branch (#5992) 5 years ago
issue_assignees.yml Multiple assignees (#3705) 6 years ago
issue_label.yml Bug fixes and unit tests for models/issue_label (#802) 8 years ago
issue_user.yml Multiple assignees (#3705) 6 years ago
issue_watch.yml Hide unactive on explore users and some refactors (#2741) 7 years ago
label.yml Bug fixes and unit tests for models/issue_label (#802) 8 years ago
login_source.yml Add LDAP integration tests (#3897) 6 years ago
milestone.yml Unit tests for issue_milestone (#878) 7 years ago
notice.yml Unit tests for models/admin 8 years ago
notification.yml Add 'mark all read' option to notifications (#3097) 7 years ago
org_user.yml Remove IsOwner, NumTeams from OrgUser (#3269) 7 years ago
protected_branch.yml Don't recreate database in integration tests (#1697) 7 years ago
public_key.yml Fixtures for public_key table (#3140) 7 years ago
pull_request.yml MySQL, Postgres integration tests in drone (#1638) 7 years ago
reaction.yml Add reactions to issues/PR and comments (#2856) 7 years ago
release.yml Fix release display and correct paging (#2080) 7 years ago
repo_indexer_status.yml Code/repo search (#2582) 7 years ago
repo_redirect.yml Unit tests for repo redirects (#961) 7 years ago
repo_topic.yml feat(repo): support search repository by topic name (#4505) 6 years ago
repo_unit.yml Add rebase with merge commit merge style (#3844) (#4052) 6 years ago
repository.yml Add option to close issues via commit on a non master branch (#5992) 5 years ago
review.yml Show review summary in pull requests (#5132) 6 years ago
star.yml Unit tests for models/star (#752) 8 years ago
stopwatch.yml Feature: Timetracking (#2211) 7 years ago
team.yml Restrict permission check on repositories and fix some problems (#5314) 6 years ago
team_repo.yml Restrict permission check on repositories and fix some problems (#5314) 6 years ago
team_unit.yml Restrict permission check on repositories and fix some problems (#5314) 6 years ago
team_user.yml Restrict permission check on repositories and fix some problems (#5314) 6 years ago
topic.yml feat(repo): support search repository by topic name (#4505) 6 years ago
tracked_time.yml Feature: Timetracking (#2211) 7 years ago
u2f_registration.yml Add support for FIDO U2F (#3971) 6 years ago
user.yml Ensure valid git author names passed in signatures (#5774) 6 years ago
user_open_id.yml Show user OpenID URIs in their profile (#1314) 7 years ago
watch.yml Hide unactive on explore users and some refactors (#2741) 7 years ago
webhook.yml Bug fixes and unit tests for models/webhook (#751) 8 years ago