Documentation ¶
Index ¶
- Constants
- func Action(ctx *context.Context)
- func Activate(ctx *context.Context)
- func ActivateEmail(ctx *context.Context)
- func AutoSignIn(ctx *context.Context) (bool, error)
- func Dashboard(ctx *context.Context)
- func DeleteEmail(ctx *context.Context)
- func DeleteSSHKey(ctx *context.Context)
- func Email2User(ctx *context.Context)
- func Followers(ctx *context.Context)
- func Following(ctx *context.Context)
- func ForgotPasswd(ctx *context.Context)
- func ForgotPasswdPost(ctx *context.Context)
- func GetUserByName(ctx *context.Context, name string) *models.User
- func GetUserByParams(ctx *context.Context) *models.User
- func Issues(ctx *context.Context)
- func Profile(ctx *context.Context)
- func ResetPasswd(ctx *context.Context)
- func ResetPasswdPost(ctx *context.Context)
- func Settings(c *context.Context)
- func SettingsApplications(ctx *context.Context)
- func SettingsApplicationsPost(ctx *context.Context, f form.NewAccessToken)
- func SettingsAvatar(ctx *context.Context)
- func SettingsAvatarPost(ctx *context.Context, f form.Avatar)
- func SettingsDelete(ctx *context.Context)
- func SettingsDeleteApplication(ctx *context.Context)
- func SettingsDeleteAvatar(ctx *context.Context)
- func SettingsEmailPost(ctx *context.Context, f form.AddEmail)
- func SettingsEmails(ctx *context.Context)
- func SettingsLeaveOrganization(ctx *context.Context)
- func SettingsLeaveRepo(ctx *context.Context)
- func SettingsOrganizations(ctx *context.Context)
- func SettingsPassword(ctx *context.Context)
- func SettingsPasswordPost(ctx *context.Context, f form.ChangePassword)
- func SettingsPost(ctx *context.Context, f form.UpdateProfile)
- func SettingsRepos(ctx *context.Context)
- func SettingsSSHKeys(ctx *context.Context)
- func SettingsSSHKeysPost(ctx *context.Context, f form.AddSSHKey)
- func ShowSSHKeys(ctx *context.Context, uid int64)
- func SignIn(ctx *context.Context)
- func SignInPost(ctx *context.Context, f form.SignIn)
- func SignOut(ctx *context.Context)
- func SignUp(ctx *context.Context)
- func SignUpPost(ctx *context.Context, cpt *captcha.Captcha, f form.Register)
- func Stars(ctx *context.Context)
- func UpdateAvatarSetting(ctx *context.Context, f form.Avatar, ctxUser *models.User) error
Constants ¶
View Source
const ( SIGNIN = "user/auth/signin" 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_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 AutoSignIn ¶ added in v0.9.13
AutoSignIn reads cookie and try to auto-login.
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 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(ctx *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(ctx *context.Context, f form.ChangePassword)
func SettingsPost ¶ added in v0.5.0
func SettingsPost(ctx *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 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.