user

package
v0.8.43 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2016 License: MIT Imports: 18 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"
	ISSUES    base.TplName = "user/dashboard/issues"
	PROFILE   base.TplName = "user/profile"
	ORG_HOME  base.TplName = "org/home"
)
View Source
const (
	FOLLOWERS base.TplName = "user/meta/followers"
	STARS     base.TplName = "user/meta/stars"
)
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 Action added in v0.8.25

func Action(ctx *middleware.Context)

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 DeleteEmail added in v0.6.15

func DeleteEmail(ctx *middleware.Context)

func DeleteSSHKey added in v0.6.9

func DeleteSSHKey(ctx *middleware.Context)

func Email2User added in v0.3.0

func Email2User(ctx *middleware.Context)

func Followers added in v0.8.25

func Followers(ctx *middleware.Context)

func Following added in v0.8.25

func Following(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 GetUserByName added in v0.8.25

func GetUserByName(ctx *middleware.Context, name string) *models.User

func GetUserByParams added in v0.8.25

func GetUserByParams(ctx *middleware.Context) *models.User

GetUserByParams returns user whose name is presented in URL paramenter.

func Issues

func Issues(ctx *middleware.Context)

func Profile

func Profile(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)

func SettingsAvatar added in v0.5.9

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

func SettingsDelete added in v0.5.0

func SettingsDelete(ctx *middleware.Context)

func SettingsDeleteApplication added in v0.6.9

func SettingsDeleteApplication(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 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 Stars

func Stars(ctx *middleware.Context)

func UpdateAvatarSetting added in v0.6.15

func UpdateAvatarSetting(ctx *middleware.Context, form auth.UploadAvatarForm, ctxUser *models.User) error

FIXME: limit size.

Types

This section is empty.

Jump to

Keyboard shortcuts

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