1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 21:21:31 +02:00
gitea/modules
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506)
* add test coverage for original author conversion during migrations

And create a function to factorize a code snippet that is repeated
five times and would otherwise be more difficult to test and maintain
consistently.

Signed-off-by: Loïc Dachary <loic@dachary.org>

* fix variable scope and int64 formatting

* add missing calls to remapExternalUser and fix misplaced %d

Co-authored-by: Loïc Dachary <loic@dachary.org>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-02-01 13:20:28 -05:00
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
context Change some logging levels (#18421) 2022-01-29 20:52:37 +00:00
convert API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
csv
doctor
emoji
eventsource
generate Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
git Remove go 1.15 support (#18511) 2022-02-01 10:46:45 +08:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
json
lfs
log
markup Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2022-01-31 01:48:47 +02:00
metrics
migration add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
nosql
notification
options
password
pprof
private Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
process
proxy
public
queue add gitea-fmt back (#18526) 2022-02-01 12:43:09 -05:00
recaptcha
references
repository
secret Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
session
setting Warn at startup if the provided SCRIPT_TYPE is not on the PATH (#18467) 2022-01-30 16:33:36 +00:00
ssh
storage
structs API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
svg
sync
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Fix non-ASCII search on database (#18437) 2022-02-01 20:59:25 +08:00
validation
web