user

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2015 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SIGNIN          base.TplName = "user/auth/signin"
	SIGNUP          base.TplName = "user/auth/signup"
	ACTIVATE        base.TplName = "user/auth/activate"
	FORGOT_PASSWORD base.TplName = "user/auth/forgot_passwd"
	RESET_PASSWORD  base.TplName = "user/auth/reset_passwd"
)
View Source
const (
	DASHBOARD base.TplName = "user/dashboard/dashboard"
	PULLS     base.TplName = "user/dashboard/pulls"
	ISSUES    base.TplName = "user/issues"
	STARS     base.TplName = "user/stars"
	PROFILE   base.TplName = "user/profile"
)
View Source
const (
	SETTINGS_PROFILE      base.TplName = "user/settings/profile"
	SETTINGS_PASSWORD     base.TplName = "user/settings/password"
	SETTINGS_EMAILS       base.TplName = "user/settings/email"
	SETTINGS_SSH_KEYS     base.TplName = "user/settings/sshkeys"
	SETTINGS_SOCIAL       base.TplName = "user/settings/social"
	SETTINGS_APPLICATIONS base.TplName = "user/settings/applications"
	SETTINGS_DELETE       base.TplName = "user/settings/delete"
	NOTIFICATION          base.TplName = "user/notification"
	SECURITY              base.TplName = "user/security"
)

Variables

This section is empty.

Functions

func Activate

func Activate(ctx *middleware.Context)

func ActivateEmail added in v0.5.11

func ActivateEmail(ctx *middleware.Context)

func Dashboard

func Dashboard(ctx *middleware.Context)

func Email2User added in v0.3.0

func Email2User(ctx *middleware.Context)

func ForgotPasswd added in v0.3.0

func ForgotPasswd(ctx *middleware.Context)

func ForgotPasswdPost added in v0.3.0

func ForgotPasswdPost(ctx *middleware.Context)

func Issues

func Issues(ctx *middleware.Context)

func Profile

func Profile(ctx *middleware.Context)

func Pulls

func Pulls(ctx *middleware.Context)

func ResetPasswd added in v0.3.0

func ResetPasswd(ctx *middleware.Context)

func ResetPasswdPost added in v0.3.0

func ResetPasswdPost(ctx *middleware.Context)

func Settings added in v0.5.0

func Settings(ctx *middleware.Context)

func SettingsApplications added in v0.5.8

func SettingsApplications(ctx *middleware.Context)

func SettingsApplicationsPost added in v0.5.8

func SettingsApplicationsPost(ctx *middleware.Context, form auth.NewAccessTokenForm)

FIXME: split to two different functions and pages to handle access token and oauth2

func SettingsAvatar added in v0.5.9

func SettingsAvatar(ctx *middleware.Context, form auth.UploadAvatarForm)

FIXME: limit size.

func SettingsDelete added in v0.5.0

func SettingsDelete(ctx *middleware.Context)

func SettingsEmailPost added in v0.5.11

func SettingsEmailPost(ctx *middleware.Context, form auth.AddEmailForm)

func SettingsEmails added in v0.5.11

func SettingsEmails(ctx *middleware.Context)

func SettingsPassword added in v0.5.0

func SettingsPassword(ctx *middleware.Context)

func SettingsPasswordPost added in v0.5.0

func SettingsPasswordPost(ctx *middleware.Context, form auth.ChangePasswordForm)

func SettingsPost added in v0.5.0

func SettingsPost(ctx *middleware.Context, form auth.UpdateProfileForm)

func SettingsSSHKeys added in v0.5.0

func SettingsSSHKeys(ctx *middleware.Context)

func SettingsSSHKeysPost added in v0.5.0

func SettingsSSHKeysPost(ctx *middleware.Context, form auth.AddSSHKeyForm)

func SettingsSocial added in v0.5.0

func SettingsSocial(ctx *middleware.Context)

func ShowSSHKeys added in v0.5.9

func ShowSSHKeys(ctx *middleware.Context, uid int64)

func SignIn

func SignIn(ctx *middleware.Context)

func SignInPost added in v0.3.0

func SignInPost(ctx *middleware.Context, form auth.SignInForm)

func SignOut

func SignOut(ctx *middleware.Context)

func SignUp

func SignUp(ctx *middleware.Context)

func SignUpPost added in v0.3.0

func SignUpPost(ctx *middleware.Context, cpt *captcha.Captcha, form auth.RegisterForm)

func SocialSignIn added in v0.3.0

func SocialSignIn(ctx *middleware.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL