0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 23:24:51 +01:00
gitea/modules
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672)
* use different structs for MigrateRepoOptions on UI and API

* Fix TokenAuth and rename UID to an understandable Name

* fix swagger doc

* simplify & mk redable

* R E F A C T O R:
migration has now internal 3 structs to store its options:
 * the Options for WebUI: modules/auth/repo_form.go
 * the Options for API: modules/structs/repo.go
 * the option struct with after validation for internal prossessing: modules/migrations/base/options.go

* Copyright Header

* Deprecate UID - add RepoOwner

* adopt repo.go -> migrate.go

* add comment about each struct purpose

* lint
2020-09-10 23:29:19 +01:00
..
analyze
auth [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
avatar
base
cache
charset
context
convert [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
cron
emoji
eventsource
generate
git Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
gitgraph
graceful
highlight
httplib
indexer Add queue for code indexer (#10332) 2020-09-07 23:05:08 +08:00
lfs LFS support to be stored on minio (#12518) 2020-09-08 23:45:10 +08:00
log
markup
metrics
migrations [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
notification Change/remove a branch of an open issue (#9080) 2020-09-08 12:29:51 -04:00
options
password Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
pprof
private
process
public
queue Add queue for code indexer (#10332) 2020-09-07 23:05:08 +08:00
recaptcha
references
repofiles LFS support to be stored on minio (#12518) 2020-09-08 23:45:10 +08:00
repository [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
secret
session
setting Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
ssh
storage LFS support to be stored on minio (#12518) 2020-09-08 23:45:10 +08:00
structs [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
svg
sync
task [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
templates Fix yet another bug with diff file names (#12771) 2020-09-09 14:08:40 +01:00
test
timeutil
upload
user
util
validation
webhook