package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

IsUserHiddenCommentTypeGroupChecked check whether a hidden comment type group is "enabled" (checked on UI).
ParseRemoteAddr checks if given remote address is valid, and returns composed URL with needed username and password.
UserHiddenCommentTypesFromRequest parse the form to hidden comment types bitset.

# Constants

Avatar types.
Avatar types.

# Structs

AccessTokenForm for issuing access tokens from authorization codes or refresh tokens.
AddEmailForm form for adding new email.
AddKeyForm form for adding SSH/GPG key.
AddOpenIDForm is for changing openid uri.
AddSecretForm for adding secrets.
AddTimeManuallyForm form that adds spent time manually.
AdminCreateUserForm form for admin to create user.
AdminDashboardForm form for admin dashboard operations.
AdminEditUserForm form for admin to create user.
AuthenticationForm form for authentication.
AuthorizationForm form for authorizing oauth2 clients.
AvatarForm form for changing avatar.
ChangePasswordForm form for changing password.
CherryPickForm form for changing repository file.
CodeCommentForm form for adding code comments for PRs.
ConnectOpenIDForm form for connecting an existing account to an OpenID URI.
CreateCommentForm form for creating comment.
CreateIssueForm form for creating issue.
CreateLabelForm form for creating label.
CreateMilestoneForm form for creating milestone.
CreateOrgForm form for creating organization.
CreateProjectForm form for creating a project.
CreateRepoForm form for creating repository.
CreateTeamForm form for creating team.
DeadlineForm hold the validation rules for deadlines.
DeleteRepoFileForm form for deleting repository file.
DismissReviewForm for dismissing stale review by repo admin.
EditOAuth2ApplicationForm form for editing oauth2 applications.
EditPreviewDiffForm form for changing preview diff.
EditProjectColumnForm is a form for editing a project column.
EditReleaseForm form for changing release.
EditRepoFileForm form for changing repository file.
EditRunnerForm form for admin to create runner.
GrantApplicationForm form for authorizing oauth2 clients.
InitializeLabelsForm form for initializing labels.
InstallForm form for installation page.
IntrospectTokenForm for introspecting tokens.
IssueLockForm form for locking an issue.
MergePullRequestForm form for merging Pull Request swagger:model MergePullRequestOption.
MigrateRepoForm form for migrating repository this is used to interact with web ui.
MustChangePasswordForm form for updating your password after account creation by an admin.
NewAccessTokenForm form for creating access token.
NewBranchForm form for creating a new branch.
NewDingtalkHookForm form for creating dingtalk hook.
NewDiscordHookForm form for creating discord hook.
NewFeishuHookForm form for creating feishu hook.
NewGogshookForm form for creating gogs hook.
NewMatrixHookForm form for creating Matrix hook.
NewMSTeamsHookForm form for creating MS Teams hook.
NewPackagistHookForm form for creating packagist hook.
NewReleaseForm form for creating release.
NewSlackHookForm form for creating slack hook.
NewTelegramHookForm form for creating telegram hook.
NewWebhookForm form for creating web hook.
NewWechatWorkHookForm form for creating wechatwork hook.
NewWikiForm form for creating wiki.
PackageSettingForm form for package settings.
ProtectBranchForm form for changing protected branch settings.
ProtectTagForm form for changing protected tag settings.
ReactionForm form for adding and removing reaction.
RegisterForm form for registering.
RemoveUploadFileForm form for removing uploaded file.
RenameBranchForm form for rename a branch.
RepoSettingForm form for changing repository settings.
SaveTopicForm form for save topics for repository.
SignInForm form for signing in with user/password.
SignInOpenIDForm form for signing in with OpenID.
SignUpOpenIDForm form for signin up with OpenID.
SubmitReviewForm for submitting a finished code review.
TwoFactorAuthForm for logging in with 2FA token.
TwoFactorScratchAuthForm for logging in with 2FA scratch token.
UpdateAllowEditsForm form for changing if PR allows edits from maintainers.
UpdateLanguageForm form for updating profile.
UpdateOrgSettingForm form for updating organization settings.
UpdateProfileForm form for updating profile.
UpdateThemeForm form for updating a users' theme.
UploadRepoFileForm form for uploading repository file.
WebauthnDeleteForm for deleting WebAuthn keys.
WebauthnRegistrationForm for reserving an WebAuthn name.
WebhookForm form for changing web hook.