Help us shape the future of Go! Take the 2026 Go Developer Survey

org

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddColumnToProjectPost

func AddColumnToProjectPost(ctx *context.Context)

AddColumnToProjectPost allows a new column to be added to a project.

func Applications

func Applications(ctx *context.Context)

Applications render org applications page (for org, at the moment, there are only OAuth2 applications)

func BlockedUsers

func BlockedUsers(ctx *context.Context)

func BlockedUsersPost

func BlockedUsersPost(ctx *context.Context)

func ChangeProjectStatus

func ChangeProjectStatus(ctx *context.Context)

ChangeProjectStatus updates the status of a project between "open" and "close"

func CheckProjectColumnChangePermissions

func CheckProjectColumnChangePermissions(ctx *context.Context) (*project_model.Project, *project_model.Column)

CheckProjectColumnChangePermissions check permission

func Create

func Create(ctx *context.Context)

Create render the page for create organization

func CreatePost

func CreatePost(ctx *context.Context)

CreatePost response for create organization

func CreateProfileRepo

func CreateProfileRepo(ctx *context.Context)

CreateProfileRepo creates a .profile repository with README for the organization

func DeleteLabel

func DeleteLabel(ctx *context.Context)

DeleteLabel delete a label

func DeleteOAuth2Application

func DeleteOAuth2Application(ctx *context.Context)

DeleteOAuth2Application deletes the given oauth2 application

func DeleteProject

func DeleteProject(ctx *context.Context)

DeleteProject delete a project

func DeleteProjectColumn

func DeleteProjectColumn(ctx *context.Context)

DeleteProjectColumn allows for the deletion of a project column

func DeleteTeam

func DeleteTeam(ctx *context.Context)

DeleteTeam response for the delete team request

func DeleteWebhook

func DeleteWebhook(ctx *context.Context)

DeleteWebhook response for delete webhook

func EditProjectColumn

func EditProjectColumn(ctx *context.Context)

EditProjectColumn allows a project column's to be updated

func EditProjectPost

func EditProjectPost(ctx *context.Context)

EditProjectPost response for editing a project

func EditTeam

func EditTeam(ctx *context.Context)

EditTeam render team edit page

func EditTeamPost

func EditTeamPost(ctx *context.Context)

EditTeamPost response for modify team information

func Home

func Home(ctx *context.Context)

Home show organization home page

func InitializeCargoIndex

func InitializeCargoIndex(ctx *context.Context)

func InitializeLabels

func InitializeLabels(ctx *context.Context)

InitializeLabels init labels for an organization

func Labels

func Labels(ctx *context.Context)

Labels render organization labels page

func Members

func Members(ctx *context.Context)

Members render organization users page

func MembersAction

func MembersAction(ctx *context.Context)

MembersAction response for operation to a member of organization

func MoveIssues

func MoveIssues(ctx *context.Context)

MoveIssues moves or keeps issues in a column and sorts them inside that column

func MustEnableProjects

func MustEnableProjects(ctx *context.Context)

MustEnableProjects check if projects are enabled in settings

func NewLabel

func NewLabel(ctx *context.Context)

NewLabel create new label for organization

func NewProjectPost

func NewProjectPost(ctx *context.Context)

NewProjectPost creates a new project

func NewTeam

func NewTeam(ctx *context.Context)

NewTeam render create new team page

func NewTeamPost

func NewTeamPost(ctx *context.Context)

NewTeamPost response for create new team

func OAuth2ApplicationEdit

func OAuth2ApplicationEdit(ctx *context.Context)

OAuth2ApplicationEdit response for editing oauth2 application

func OAuth2ApplicationShow

func OAuth2ApplicationShow(ctx *context.Context)

OAuth2ApplicationShow displays the given application

func OAuthApplicationsPost

func OAuthApplicationsPost(ctx *context.Context)

OAuthApplicationsPost response for adding an oauth2 application

func OAuthApplicationsRegenerateSecret

func OAuthApplicationsRegenerateSecret(ctx *context.Context)

OAuthApplicationsRegenerateSecret handles the post request for regenerating the secret

func Packages

func Packages(ctx *context.Context)

func PackagesRuleAdd

func PackagesRuleAdd(ctx *context.Context)

func PackagesRuleAddPost

func PackagesRuleAddPost(ctx *context.Context)

func PackagesRuleEdit

func PackagesRuleEdit(ctx *context.Context)

func PackagesRuleEditPost

func PackagesRuleEditPost(ctx *context.Context)

func PackagesRulePreview

func PackagesRulePreview(ctx *context.Context)

func Projects

func Projects(ctx *context.Context)

Projects renders the home page of projects

func RebuildCargoIndex

func RebuildCargoIndex(ctx *context.Context)

func RenderEditProject

func RenderEditProject(ctx *context.Context)

RenderEditProject allows a project to be edited

func RenderNewProject

func RenderNewProject(ctx *context.Context)

RenderNewProject render creating a project page

func Repositories

func Repositories(ctx *context.Context)

func RetrieveLabels

func RetrieveLabels(ctx *context.Context)

RetrieveLabels find all the labels of an organization

func SearchTeam

func SearchTeam(ctx *context.Context)

SearchTeam api for searching teams

func SetDefaultProjectColumn

func SetDefaultProjectColumn(ctx *context.Context)

SetDefaultProjectColumn set default column for uncategorized issues/pulls

func Settings

func Settings(ctx *context.Context)

Settings render the main settings page

func SettingsAvatar

func SettingsAvatar(ctx *context.Context)

SettingsAvatar response for change avatar on settings page

func SettingsChangeVisibilityPost

func SettingsChangeVisibilityPost(ctx *context.Context)

SettingsChangeVisibilityPost response for change organization visibility

func SettingsDeleteAvatar

func SettingsDeleteAvatar(ctx *context.Context)

SettingsDeleteAvatar response for delete avatar on settings page

func SettingsDeleteOrgPost

func SettingsDeleteOrgPost(ctx *context.Context)

SettingsDeleteOrgPost response for deleting an organization

func SettingsLicense

func SettingsLicense(ctx *context.Context)

SettingsLicense shows the organization license settings page

func SettingsLicenseCreate added in v3.1.3

func SettingsLicenseCreate(ctx *context.Context)

SettingsLicenseCreate handles creating a new LICENSE.md file in .profile repo

func SettingsLicensePost

func SettingsLicensePost(ctx *context.Context)

SettingsLicensePost handles license link/save (updates displayed license type only)

func SettingsLicenseScan

func SettingsLicenseScan(ctx *context.Context)

SettingsLicenseScan detects existing license in .profile repo

func SettingsPinned added in v3.1.40

func SettingsPinned(ctx *context.Context)

SettingsPinned renders the pinned repos management page

func SettingsPinnedAdd added in v3.1.40

func SettingsPinnedAdd(ctx *context.Context)

SettingsPinnedAdd adds a repo to pinned repos

func SettingsPinnedPost added in v3.1.40

func SettingsPinnedPost(ctx *context.Context)

SettingsPinnedPost saves the pinned repos order

func SettingsPinnedRemove added in v3.1.40

func SettingsPinnedRemove(ctx *context.Context)

SettingsPinnedRemove removes a repo from pinned repos

func SettingsPost

func SettingsPost(ctx *context.Context)

SettingsPost response for settings change submitted

func SettingsRenamePost

func SettingsRenamePost(ctx *context.Context)

SettingsRenamePost response for renaming organization

func TeamInvite

func TeamInvite(ctx *context.Context)

TeamInvite renders the team invite page

func TeamInvitePost

func TeamInvitePost(ctx *context.Context)

TeamInvitePost handles the team invitation

func TeamMembers

func TeamMembers(ctx *context.Context)

TeamMembers render team members page

func TeamRepositories

func TeamRepositories(ctx *context.Context)

TeamRepositories show the repositories of team

func Teams

func Teams(ctx *context.Context)

Teams render teams list page

func TeamsAction

func TeamsAction(ctx *context.Context)

TeamsAction response for join, leave, remove, add operations to team

func TeamsRepoAction

func TeamsRepoAction(ctx *context.Context)

TeamsRepoAction operate team's repository

func UpdateLabel

func UpdateLabel(ctx *context.Context)

UpdateLabel update a label's name and color

func ViewProject

func ViewProject(ctx *context.Context)

ViewProject renders the project with board view for a project

func Webhooks

func Webhooks(ctx *context.Context)

Webhooks render webhook list page

func Worktime

func Worktime(ctx *context.Context)

Types

type RecentRepoActivity

type RecentRepoActivity struct {
	Repo          *repo_model.Repository
	CommitMessage string
	CommitTime    timeutil.TimeStamp
}

RecentRepoActivity holds repo and its latest commit info

Source Files

  • block.go
  • home.go
  • members.go
  • org.go
  • org_labels.go
  • projects.go
  • setting.go
  • setting_license.go
  • setting_oauth2.go
  • setting_packages.go
  • teams.go
  • worktime.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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