1
0
Fork 0
forgejo/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 Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745) 2020-09-06 20:53:33 +01:00
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 Set TLS minimum version to 1.2 (#12689) 2020-09-02 23:37:49 +01:00
highlight Escape failed highlighted code (#12685) 2020-09-02 16:19:42 -04:00
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 Update to go-org 1.3.2 (#12728) 2020-09-05 11:45:10 -04:00
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 fix go1.15 lint error in modules/public/public.go (#12707) 2020-09-04 16:15:54 +03:00
queue Add queue for code indexer (#10332) 2020-09-07 23:05:08 +08:00
recaptcha
references Add spent time to referenced issue in commit message (#12220) 2020-09-04 11:37:37 -04:00
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
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 Refactor webhook payload convertion (#12310) 2020-09-04 22:57:13 -04:00