tokarchuk/v1.17
Ethan Koenig 8 years ago committed by Bo-Yi Wu
parent 5ca3046da6
commit 9e627af9a4
  1. 2
      models/repo.go
  2. 16
      modules/auth/user_form.go
  3. 1
      modules/markup/markup.go

@ -301,7 +301,7 @@ func (repo *Repository) innerAPIFormat(mode AccessMode, isParent bool) *api.Repo
Description: repo.Description,
Private: repo.IsPrivate,
Empty: repo.IsBare,
Size: int(repo.Size/1024),
Size: int(repo.Size / 1024),
Fork: repo.IsFork,
Parent: parent,
Mirror: repo.IsMirror,

@ -38,15 +38,15 @@ type InstallForm struct {
RegisterConfirm bool
MailNotify bool
OfflineMode bool
DisableGravatar bool
EnableFederatedAvatar bool
DisableRegistration bool
EnableCaptcha bool
RequireSignInView bool
DefaultKeepEmailPrivate bool
OfflineMode bool
DisableGravatar bool
EnableFederatedAvatar bool
DisableRegistration bool
EnableCaptcha bool
RequireSignInView bool
DefaultKeepEmailPrivate bool
DefaultAllowCreateOrganization bool
NoReplyAddress string
NoReplyAddress string
AdminName string `binding:"OmitEmpty;AlphaDashDot;MaxSize(30)" locale:"install.admin_name"`
AdminPasswd string `binding:"OmitEmpty;MaxSize(255)" locale:"install.admin_password"`

@ -81,4 +81,3 @@ func IsReadmeFile(name string) bool {
}
return name[:7] == "readme."
}

Loading…
Cancel
Save