Documentation
¶
Index ¶
- func AddColumnToProjectPost(ctx *context.Context)
- func Applications(ctx *context.Context)
- func BlockedUsers(ctx *context.Context)
- func BlockedUsersPost(ctx *context.Context)
- func ChangeProjectStatus(ctx *context.Context)
- func CheckProjectColumnChangePermissions(ctx *context.Context) (*project_model.Project, *project_model.Column)
- func Create(ctx *context.Context)
- func CreatePost(ctx *context.Context)
- func CreateProfileRepo(ctx *context.Context)
- func DeleteLabel(ctx *context.Context)
- func DeleteOAuth2Application(ctx *context.Context)
- func DeleteProject(ctx *context.Context)
- func DeleteProjectColumn(ctx *context.Context)
- func DeleteTeam(ctx *context.Context)
- func DeleteWebhook(ctx *context.Context)
- func EditProjectColumn(ctx *context.Context)
- func EditProjectPost(ctx *context.Context)
- func EditTeam(ctx *context.Context)
- func EditTeamPost(ctx *context.Context)
- func Home(ctx *context.Context)
- func InitializeCargoIndex(ctx *context.Context)
- func InitializeLabels(ctx *context.Context)
- func Labels(ctx *context.Context)
- func Members(ctx *context.Context)
- func MembersAction(ctx *context.Context)
- func MoveIssues(ctx *context.Context)
- func MustEnableProjects(ctx *context.Context)
- func NewLabel(ctx *context.Context)
- func NewProjectPost(ctx *context.Context)
- func NewTeam(ctx *context.Context)
- func NewTeamPost(ctx *context.Context)
- func OAuth2ApplicationEdit(ctx *context.Context)
- func OAuth2ApplicationShow(ctx *context.Context)
- func OAuthApplicationsPost(ctx *context.Context)
- func OAuthApplicationsRegenerateSecret(ctx *context.Context)
- func Packages(ctx *context.Context)
- func PackagesRuleAdd(ctx *context.Context)
- func PackagesRuleAddPost(ctx *context.Context)
- func PackagesRuleEdit(ctx *context.Context)
- func PackagesRuleEditPost(ctx *context.Context)
- func PackagesRulePreview(ctx *context.Context)
- func Projects(ctx *context.Context)
- func RebuildCargoIndex(ctx *context.Context)
- func RenderEditProject(ctx *context.Context)
- func RenderNewProject(ctx *context.Context)
- func Repositories(ctx *context.Context)
- func RetrieveLabels(ctx *context.Context)
- func SearchTeam(ctx *context.Context)
- func SetDefaultProjectColumn(ctx *context.Context)
- func Settings(ctx *context.Context)
- func SettingsAvatar(ctx *context.Context)
- func SettingsChangeVisibilityPost(ctx *context.Context)
- func SettingsDeleteAvatar(ctx *context.Context)
- func SettingsDeleteOrgPost(ctx *context.Context)
- func SettingsLicense(ctx *context.Context)
- func SettingsLicensePost(ctx *context.Context)
- func SettingsLicenseScan(ctx *context.Context)
- func SettingsPost(ctx *context.Context)
- func SettingsRenamePost(ctx *context.Context)
- func TeamInvite(ctx *context.Context)
- func TeamInvitePost(ctx *context.Context)
- func TeamMembers(ctx *context.Context)
- func TeamRepositories(ctx *context.Context)
- func Teams(ctx *context.Context)
- func TeamsAction(ctx *context.Context)
- func TeamsRepoAction(ctx *context.Context)
- func UpdateLabel(ctx *context.Context)
- func ViewProject(ctx *context.Context)
- func Webhooks(ctx *context.Context)
- func Worktime(ctx *context.Context)
- type RecentRepoActivity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddColumnToProjectPost ¶
AddColumnToProjectPost allows a new column to be added to a project.
func Applications ¶
Applications render org applications page (for org, at the moment, there are only OAuth2 applications)
func ChangeProjectStatus ¶
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 CreateProfileRepo ¶
CreateProfileRepo creates a .profile repository with README for the organization
func DeleteOAuth2Application ¶
DeleteOAuth2Application deletes the given oauth2 application
func DeleteProjectColumn ¶
DeleteProjectColumn allows for the deletion of a project column
func DeleteTeam ¶
DeleteTeam response for the delete team request
func DeleteWebhook ¶
DeleteWebhook response for delete webhook
func EditProjectColumn ¶
EditProjectColumn allows a project column's to be updated
func EditProjectPost ¶
EditProjectPost response for editing a project
func EditTeamPost ¶
EditTeamPost response for modify team information
func InitializeLabels ¶
InitializeLabels init labels for an organization
func MembersAction ¶
MembersAction response for operation to a member of organization
func MoveIssues ¶
MoveIssues moves or keeps issues in a column and sorts them inside that column
func MustEnableProjects ¶
MustEnableProjects check if projects are enabled in settings
func NewProjectPost ¶
NewProjectPost creates a new project
func OAuth2ApplicationEdit ¶
OAuth2ApplicationEdit response for editing oauth2 application
func OAuth2ApplicationShow ¶
OAuth2ApplicationShow displays the given application
func OAuthApplicationsPost ¶
OAuthApplicationsPost response for adding an oauth2 application
func OAuthApplicationsRegenerateSecret ¶
OAuthApplicationsRegenerateSecret handles the post request for regenerating the secret
func RenderEditProject ¶
RenderEditProject allows a project to be edited
func RenderNewProject ¶
RenderNewProject render creating a project page
func RetrieveLabels ¶
RetrieveLabels find all the labels of an organization
func SetDefaultProjectColumn ¶
SetDefaultProjectColumn set default column for uncategorized issues/pulls
func SettingsAvatar ¶
SettingsAvatar response for change avatar on settings page
func SettingsChangeVisibilityPost ¶
SettingsChangeVisibilityPost response for change organization visibility
func SettingsDeleteAvatar ¶
SettingsDeleteAvatar response for delete avatar on settings page
func SettingsDeleteOrgPost ¶
SettingsDeleteOrgPost response for deleting an organization
func SettingsLicense ¶
SettingsLicense shows the organization license settings page
func SettingsLicensePost ¶
SettingsLicensePost handles license settings form submission
func SettingsLicenseScan ¶
SettingsLicenseScan detects existing license in .profile repo
func SettingsPost ¶
SettingsPost response for settings change submitted
func SettingsRenamePost ¶
SettingsRenamePost response for renaming organization
func TeamInvitePost ¶
TeamInvitePost handles the team invitation
func TeamRepositories ¶
TeamRepositories show the repositories of team
func TeamsAction ¶
TeamsAction response for join, leave, remove, add operations to team
func TeamsRepoAction ¶
TeamsRepoAction operate team's repository
func UpdateLabel ¶
UpdateLabel update a label's name and color
func ViewProject ¶
ViewProject renders the project with board view for a project
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