Documentation ¶
Index ¶
- Constants
- func Action(c *context.Context)
- func Activate(c *context.Context)
- func ActivateEmail(c *context.Context)
- func AutoLogin(c *context.Context) (bool, error)
- func Dashboard(c *context.Context)
- func DeleteEmail(c *context.Context)
- func DeleteSSHKey(c *context.Context)
- func Email2User(c *context.Context)
- func Followers(c *context.Context)
- func Following(c *context.Context)
- func ForgotPasswd(c *context.Context)
- func ForgotPasswdPost(c *context.Context)
- func GetUserByName(c *context.Context, name string) *models.User
- func GetUserByParams(c *context.Context) *models.User
- func Issues(c *context.Context)
- func Login(c *context.Context)
- func LoginPost(c *context.Context, f form.SignIn)
- func LoginTwoFactor(c *context.Context)
- func LoginTwoFactorPost(c *context.Context)
- func LoginTwoFactorRecoveryCode(c *context.Context)
- func LoginTwoFactorRecoveryCodePost(c *context.Context)
- func Profile(c *context.Context)
- func ResetPasswd(c *context.Context)
- func ResetPasswdPost(c *context.Context)
- func Settings(c *context.Context)
- func SettingsApplications(c *context.Context)
- func SettingsApplicationsPost(c *context.Context, f form.NewAccessToken)
- func SettingsAvatar(c *context.Context)
- func SettingsAvatarPost(c *context.Context, f form.Avatar)
- func SettingsDelete(c *context.Context)
- func SettingsDeleteApplication(c *context.Context)
- func SettingsDeleteAvatar(c *context.Context)
- func SettingsEmailPost(c *context.Context, f form.AddEmail)
- func SettingsEmails(c *context.Context)
- func SettingsLeaveOrganization(c *context.Context)
- func SettingsLeaveRepo(c *context.Context)
- func SettingsOrganizations(c *context.Context)
- func SettingsPassword(c *context.Context)
- func SettingsPasswordPost(c *context.Context, f form.ChangePassword)
- func SettingsPost(c *context.Context, f form.UpdateProfile)
- func SettingsRepos(c *context.Context)
- func SettingsSSHKeys(c *context.Context)
- func SettingsSSHKeysPost(c *context.Context, f form.AddSSHKey)
- func SettingsSecurity(c *context.Context)
- func SettingsTwoFactorDisable(c *context.Context)
- func SettingsTwoFactorEnable(c *context.Context)
- func SettingsTwoFactorEnablePost(c *context.Context)
- func SettingsTwoFactorRecoveryCodes(c *context.Context)
- func SettingsTwoFactorRecoveryCodesPost(c *context.Context)
- func ShowSSHKeys(c *context.Context, uid int64)
- func SignOut(c *context.Context)
- func SignUp(c *context.Context)
- func SignUpPost(c *context.Context, cpt *captcha.Captcha, f form.Register)
- func Stars(c *context.Context)
- func UpdateAvatarSetting(c *context.Context, f form.Avatar, ctxUser *models.User) error
Constants ¶
View Source
const ( LOGIN = "user/auth/login" TWO_FACTOR = "user/auth/two_factor" TWO_FACTOR_RECOVERY_CODE = "user/auth/two_factor_recovery_code" SIGNUP = "user/auth/signup" ACTIVATE = "user/auth/activate" FORGOT_PASSWORD = "user/auth/forgot_passwd" RESET_PASSWORD = "user/auth/reset_passwd" )
View Source
const ( DASHBOARD = "user/dashboard/dashboard" NEWS_FEED = "user/dashboard/feeds" ISSUES = "user/dashboard/issues" PROFILE = "user/profile" ORG_HOME = "org/home" )
View Source
const ( FOLLOWERS = "user/meta/followers" STARS = "user/meta/stars" )
View Source
const ( SETTINGS_PROFILE = "user/settings/profile" SETTINGS_AVATAR = "user/settings/avatar" SETTINGS_PASSWORD = "user/settings/password" SETTINGS_EMAILS = "user/settings/email" SETTINGS_SSH_KEYS = "user/settings/sshkeys" SETTINGS_SECURITY = "user/settings/security" SETTINGS_TWO_FACTOR_ENABLE = "user/settings/two_factor_enable" SETTINGS_TWO_FACTOR_RECOVERY_CODES = "user/settings/two_factor_recovery_codes" SETTINGS_REPOSITORIES = "user/settings/repositories" SETTINGS_ORGANIZATIONS = "user/settings/organizations" SETTINGS_APPLICATIONS = "user/settings/applications" SETTINGS_DELETE = "user/settings/delete" NOTIFICATION = "user/notification" )
Variables ¶
This section is empty.
Functions ¶
func ActivateEmail ¶ added in v0.5.11
func DeleteEmail ¶ added in v0.6.15
func DeleteSSHKey ¶ added in v0.6.9
func Email2User ¶ added in v0.3.0
func ForgotPasswd ¶ added in v0.3.0
func ForgotPasswdPost ¶ added in v0.3.0
func GetUserByName ¶ added in v0.8.25
func GetUserByParams ¶ added in v0.8.25
GetUserByParams returns user whose name is presented in URL paramenter.
func LoginTwoFactor ¶ added in v0.11.19
func LoginTwoFactorPost ¶ added in v0.11.19
func LoginTwoFactorRecoveryCode ¶ added in v0.11.19
func LoginTwoFactorRecoveryCodePost ¶ added in v0.11.19
func ResetPasswd ¶ added in v0.3.0
func ResetPasswdPost ¶ added in v0.3.0
func SettingsApplications ¶ added in v0.5.8
func SettingsApplicationsPost ¶ added in v0.5.8
func SettingsApplicationsPost(c *context.Context, f form.NewAccessToken)
func SettingsAvatar ¶ added in v0.5.9
func SettingsAvatarPost ¶ added in v0.9.71
func SettingsDelete ¶ added in v0.5.0
func SettingsDeleteApplication ¶ added in v0.6.9
func SettingsDeleteAvatar ¶ added in v0.9.0
func SettingsEmailPost ¶ added in v0.5.11
func SettingsEmails ¶ added in v0.5.11
func SettingsLeaveOrganization ¶ added in v0.9.128
func SettingsLeaveRepo ¶ added in v0.11.4
func SettingsOrganizations ¶ added in v0.9.128
func SettingsPassword ¶ added in v0.5.0
func SettingsPasswordPost ¶ added in v0.5.0
func SettingsPasswordPost(c *context.Context, f form.ChangePassword)
func SettingsPost ¶ added in v0.5.0
func SettingsPost(c *context.Context, f form.UpdateProfile)
func SettingsRepos ¶ added in v0.11.4
func SettingsSSHKeys ¶ added in v0.5.0
func SettingsSSHKeysPost ¶ added in v0.5.0
func SettingsSecurity ¶ added in v0.11.19
func SettingsTwoFactorDisable ¶ added in v0.11.19
func SettingsTwoFactorEnable ¶ added in v0.11.19
func SettingsTwoFactorEnablePost ¶ added in v0.11.19
func SettingsTwoFactorRecoveryCodes ¶ added in v0.11.19
func SettingsTwoFactorRecoveryCodesPost ¶ added in v0.11.19
func ShowSSHKeys ¶ added in v0.5.9
func SignUpPost ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.