package
1.4.1
Repository: https://github.com/axifive/gitea.git
Documentation: pkg.go.dev

# Functions

Action response for follow/unfollow user request.
Activate render activate user page.
ActivateEmail render the activate email page.
AutoSignIn reads cookie and try to auto-login.
ConnectOpenID shows a form to connect an OpenID URI to an existing account.
ConnectOpenIDPost handles submission of a form to connect an OpenID URI to an existing account.
Dashboard render the dashborad page.
DeleteEmail response for delete user's email.
DeleteKey response for delete user's SSH/GPG key.
DeleteOpenID response for delete user's openid.
Email2User show user page via email.
Followers render user's followers page.
Following render user's followering page.
ForgotPasswd render the forget pasword page.
ForgotPasswdPost response for forget password request.
GetNotificationCount is the middleware that sets the notification count in the context.
GetUserByName get user by name.
GetUserByParams returns user whose name is presented in URL paramenter.
Issues render the user issues page.
LinkAccount shows the page where the user can decide to login or create a new account.
LinkAccountPostRegister handle the creation of a new account for an external account using signUp.
LinkAccountPostSignIn handle the coupling of external account with another account using signIn.
NotificationPurgePost is a route for 'purging' the list of notifications - marking all unread as read.
Notifications is the notifications page.
NotificationStatusPost is a route for changing the status of a notification.
Profile render user's profile page.
RegisterOpenID shows a form to create a new user authenticated via an OpenID URI.
RegisterOpenIDPost handles submission of a form to create a new user authenticated via an OpenID URI.
ResetPasswd render the reset password page.
ResetPasswdPost response from reset password request.
Settings render user's profile page.
SettingsAccountLinks render the account links settings page.
SettingsApplications render user's access tokens page.
SettingsApplicationsPost response for add user's access token.
SettingsAvatar render user avatar page.
SettingsAvatarPost response for change user's avatar request.
SettingsDelete render user suicide page and response for delete user himself.
SettingsDeleteAccountLink delete a single account link.
SettingsDeleteApplication response for delete user access token.
SettingsDeleteAvatar render delete avatar page.
SettingsEmailPost response for change user's email.
SettingsEmails render user's emails page.
SettingsKeys render user's SSH/GPG public keys page.
SettingsKeysPost response for change user's SSH/GPG keys.
SettingsOpenID renders change user's openid page.
SettingsOpenIDPost response for change user's openid.
SettingsOrganization render all the organization of the user.
SettingsPost response for change user's profile.
SettingsRepos display a list of all repositories of the user.
SettingsSecurity render change user's password page and 2FA.
SettingsSecurityPost response for change user's password.
SettingsTwoFactorDisable deletes the user's 2FA settings.
SettingsTwoFactorEnroll shows the page where the user can enroll into 2FA.
SettingsTwoFactorEnrollPost handles enrolling the user into 2FA.
SettingsTwoFactorRegenerateScratch regenerates the user's 2FA scratch code.
ShowSSHKeys output all the ssh keys of user by uid.
SignIn render sign in page.
SignInOAuth handles the OAuth2 login buttons.
SignInOAuthCallback handles the callback from the given provider.
SignInOpenID render sign in page.
SignInOpenIDPost response for openid sign in request.
SignInPost response for sign in request.
SignOut sign out from login status.
SignUp render the register page.
SignUpPost response for sign up information submission.
ToggleOpenIDVisibility response for toggle visibility of user's openid.
TwoFactor shows the user a two-factor authentication page.
TwoFactorPost validates a user's two-factor authentication token.
TwoFactorScratch shows the scratch code form for two-factor authentication.
TwoFactorScratchPost validates and invalidates a user's two-factor scratch token.
UpdateAvatarSetting update user's avatar FIXME: limit size.

# Constants

TplActivate template path for activate user.