1
0
Fork 0
forgejo/modules
zeripath 832f987d80
Restore setting of ctx.Repo.Mirror (#18205)
In #17933 repoAssignment no longer sets the ctx.Repo.Mirror field meaning that
attempting change mirror settings results in an NPE. This PR simply restores this.

Either we should remove this field or, we should set it. At present it seems simplest
to set it instead of going looking in the Data for the value although converting the
context to a bag of things may be the correct approach in the future.

Fix #18204

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-01-08 10:03:51 +08:00
..
activitypub
analyze
appstate
auth
avatar Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
base Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
cache
charset Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
context Restore setting of ctx.Repo.Mirror (#18205) 2022-01-08 10:03:51 +08:00
convert Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
csv Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
doctor Quote references to the user table in consistency checks (#18072) 2021-12-22 23:52:57 +00:00
emoji
eventsource Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
generate
git Enable partial clone by default (#18195) 2022-01-06 06:38:38 +01:00
gitgraph Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
graceful
hcaptcha
highlight
hostmatcher Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
httpcache
httplib
indexer Upgrade bleve from v2.0.6 to v2.3.0 (#18132) 2022-01-01 16:26:27 +08:00
json
lfs
log Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
markup Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
metrics Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
migration
nosql
notification Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
options
password
pprof
private
process
proxy
public Don't store assets modified time into generated files (#18193) 2022-01-06 21:33:17 -05:00
queue
recaptcha
references Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
repository Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
secret Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
session Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
setting Enable partial clone by default (#18195) 2022-01-06 06:38:38 +01:00
ssh Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
storage
structs Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
svg
sync
templates Don't store assets modified time into generated files (#18193) 2022-01-06 21:33:17 -05:00
test Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
timeutil Don't store assets modified time into generated files (#18193) 2022-01-06 21:33:17 -05:00
translation Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
typesniffer
updatechecker Use JSON module instead of stdlib json (#18003) 2021-12-17 09:15:02 +08:00
upload Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url (#18080) 2021-12-23 16:27:33 +00:00
user
util Increase Salt randomness (#18179) 2022-01-04 15:13:52 +00:00
validation
web Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00