user

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2014 License: MIT Imports: 16 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_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"
)
View Source
const (
	TPL_FEED = `<i class="icon fa fa-%s"></i>
                        <div class="info"><span class="meta">%s</span><br>%s</div>`
)

Variables

This section is empty.

Functions

func Activate

func Activate(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 SettingsDelete added in v0.5.0

func SettingsDelete(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 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