forked from NYANDEV/forgejo
9d8178b3ac
* 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
88 lines
1.3 KiB
YAML
88 lines
1.3 KiB
YAML
-
|
|
id: 1
|
|
repo_id: 1
|
|
index: 1
|
|
poster_id: 1
|
|
name: issue1
|
|
content: content for the first issue
|
|
is_closed: false
|
|
is_pull: false
|
|
num_comments: 2
|
|
created_unix: 946684800
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 2
|
|
repo_id: 1
|
|
index: 2
|
|
poster_id: 1
|
|
name: issue2
|
|
content: content for the second issue
|
|
milestone_id: 1
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 946684810
|
|
updated_unix: 978307190
|
|
|
|
|
|
-
|
|
id: 3
|
|
repo_id: 1
|
|
index: 3
|
|
poster_id: 1
|
|
name: issue3
|
|
content: content for the third issue
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 946684820
|
|
updated_unix: 978307180
|
|
|
|
-
|
|
id: 4
|
|
repo_id: 2
|
|
index: 1
|
|
poster_id: 2
|
|
name: issue4
|
|
content: content for the fourth issue
|
|
is_closed: true
|
|
is_pull: false
|
|
created_unix: 946684830
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 5
|
|
repo_id: 1
|
|
index: 4
|
|
poster_id: 2
|
|
name: issue5
|
|
content: content for the fifth issue
|
|
is_closed: true
|
|
is_pull: false
|
|
created_unix: 946684840
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 6
|
|
repo_id: 3
|
|
index: 1
|
|
poster_id: 1
|
|
name: issue6
|
|
content: content6
|
|
is_closed: false
|
|
is_pull: false
|
|
num_comments: 0
|
|
created_unix: 946684850
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 7
|
|
repo_id: 2
|
|
index: 2
|
|
poster_id: 2
|
|
name: issue7
|
|
content: content for the seventh issue
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 946684830
|
|
updated_unix: 978307200
|
|
|