mirror of
1
Fork 0
forgejo/routers
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
..
admin Add check for LDAP group membership (#10869) 2020-09-10 16:30:07 +01:00
api/v1 [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Move jquery-minicolors to npm/webpack (#12305) 2020-07-29 14:44:23 -04:00
private Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 2020-08-30 08:24:39 +01:00
repo [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
routes Change/remove a branch of an open issue (#9080) 2020-09-08 12:29:51 -04:00
user Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
utils Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
home.go Show 2FA info on Admin Pannel: Users List (#12515) 2020-08-20 09:53:49 +08:00
init.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
install.go models: fix xorm variable clobber (#12231) 2020-07-13 09:58:55 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00