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 Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
convert [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
cron Mirror System Notice reports are too frequent (#12438) 2020-08-05 21:40:36 +01:00
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
lfs
log Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
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
pprof
private
process
public
queue
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 When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
setting Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
ssh log.Fatal on failure to listen to SSH port (#10795) 2020-03-23 07:59:38 +00:00
storage
structs [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
svg Fix filepath basename on Windows for SVG bindata (#12241) 2020-07-13 21:16:40 +01:00
sync
task
templates
test
timeutil Fix timezone on issue deadline (#11697) 2020-06-05 18:51:10 -04:00
upload
user
util
validation
webhook