Versions in this module Expand all Collapse all v0 v0.9.99 Oct 17, 2016 v0.9.97 Nov 2, 2016 Changes in this version + const BRANCH + const COLLABORATION + const COMMITS + const COMPARE_PULL + const CREATE + const DELETE_FILE + const DEPLOY_KEYS + const DIFF + const EDIT_DIFF_PREVIEW + const EDIT_FILE + const FORK + const FORKS + const GITHOOKS + const GITHOOK_EDIT + const HOME + const HOOKS + const HOOK_NEW + const ISSUES + const ISSUE_NEW + const ISSUE_TEMPLATE_KEY + const ISSUE_VIEW + const LABELS + const MIGRATE + const MILESTONE + const MILESTONE_EDIT + const MILESTONE_NEW + const ORG_HOOK_NEW + const PULL_COMMITS + const PULL_FILES + const PULL_REQUEST_TEMPLATE_KEY + const RELEASES + const RELEASE_NEW + const SETTINGS_OPTIONS + const UPLOAD_FILE + const WATCHERS + const WIKI_NEW + const WIKI_PAGES + const WIKI_START + const WIKI_VIEW + var ErrFileTypeForbidden = errors.New("File type is not allowed") + var ErrTooManyFiles = errors.New("Maximum number of files to upload exceeded") + var IssueTemplateCandidates = []string + var PullRequestTemplateCandidates = []string + func Action(ctx *context.Context) + func Branches(ctx *context.Context) + func ChangeCollaborationAccessMode(ctx *context.Context) + func ChangeMilestonStatus(ctx *context.Context) + func Collaboration(ctx *context.Context) + func CollaborationPost(ctx *context.Context) + func Commits(ctx *context.Context) + func CompareAndPullRequest(ctx *context.Context) + func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm) + func CompareDiff(ctx *context.Context) + func Create(ctx *context.Context) + func CreatePost(ctx *context.Context, form auth.CreateRepoForm) + func DeleteCollaboration(ctx *context.Context) + func DeleteComment(ctx *context.Context) + func DeleteDeployKey(ctx *context.Context) + func DeleteFile(ctx *context.Context) + func DeleteFilePost(ctx *context.Context, form auth.DeleteRepoFileForm) + func DeleteLabel(ctx *context.Context) + func DeleteMilestone(ctx *context.Context) + func DeleteRelease(ctx *context.Context) + func DeleteWebhook(ctx *context.Context) + func DeleteWikiPagePost(ctx *context.Context) + func DeployKeys(ctx *context.Context) + func DeployKeysPost(ctx *context.Context, form auth.AddSSHKeyForm) + func Diff(ctx *context.Context) + func DiffPreviewPost(ctx *context.Context, form auth.EditPreviewDiffForm) + func Download(ctx *context.Context) + func EditFile(ctx *context.Context) + func EditFilePost(ctx *context.Context, form auth.EditRepoFileForm) + func EditMilestone(ctx *context.Context) + func EditMilestonePost(ctx *context.Context, form auth.CreateMilestoneForm) + func EditRelease(ctx *context.Context) + func EditReleasePost(ctx *context.Context, form auth.EditReleaseForm) + func EditWiki(ctx *context.Context) + func EditWikiPost(ctx *context.Context, form auth.NewWikiForm) + func FileHistory(ctx *context.Context) + func Fork(ctx *context.Context) + func ForkPost(ctx *context.Context, form auth.CreateRepoForm) + func Forks(ctx *context.Context) + func GitHooks(ctx *context.Context) + func GitHooksEdit(ctx *context.Context) + func GitHooksEditPost(ctx *context.Context) + func HTTP(ctx *context.Context) + func HTTPBackend(ctx *context.Context, cfg *serviceConfig) http.HandlerFunc + func Home(ctx *context.Context) + func InitializeLabels(ctx *context.Context, form auth.InitializeLabelsForm) + func Issues(ctx *context.Context) + func Labels(ctx *context.Context) + func MergePullRequest(ctx *context.Context) + func Migrate(ctx *context.Context) + func MigratePost(ctx *context.Context, form auth.MigrateRepoForm) + func Milestones(ctx *context.Context) + func MustAllowPulls(ctx *context.Context) + func MustBeNotBare(ctx *context.Context) + func MustEnableIssues(ctx *context.Context) + func MustEnableWiki(ctx *context.Context) + func NewComment(ctx *context.Context, form auth.CreateCommentForm) + func NewFile(ctx *context.Context) + func NewFilePost(ctx *context.Context, form auth.EditRepoFileForm) + func NewIssue(ctx *context.Context) + func NewIssuePost(ctx *context.Context, form auth.CreateIssueForm) + func NewLabel(ctx *context.Context, form auth.CreateLabelForm) + func NewMilestone(ctx *context.Context) + func NewMilestonePost(ctx *context.Context, form auth.CreateMilestoneForm) + func NewRelease(ctx *context.Context) + func NewReleasePost(ctx *context.Context, form auth.NewReleaseForm) + func NewWiki(ctx *context.Context) + func NewWikiPost(ctx *context.Context, form auth.NewWikiForm) + func ParseCompareInfo(ctx *context.Context) (*models.User, *models.Repository, *git.Repository, *git.PullRequestInfo, ...) + func ParseHookEvent(form auth.WebhookForm) *models.HookEvent + func PrepareCompareDiff(ctx *context.Context, headUser *models.User, headRepo *models.Repository, ...) bool + func PrepareMergedViewPullInfo(ctx *context.Context, issue *models.Issue) + func PrepareViewPullInfo(ctx *context.Context, issue *models.Issue) *git.PullRequestInfo + func RawDiff(ctx *context.Context) + func RefCommits(ctx *context.Context) + func Releases(ctx *context.Context) + func RemoveUploadFileFromServer(ctx *context.Context, form auth.RemoveUploadFileForm) + func RenderIssueLinks(oldCommits *list.List, repoLink string) *list.List + func RenderUserCards(ctx *context.Context, total int, getter func(page int) ([]*models.User, error), ...) + func RetrieveLabels(ctx *context.Context) + func RetrieveRepoMetas(ctx *context.Context, repo *models.Repository) []*models.Label + func RetrieveRepoMilestonesAndAssignees(ctx *context.Context, repo *models.Repository) + func SearchCommits(ctx *context.Context) + func ServeBlob(ctx *context.Context, blob *git.Blob) error + func ServeData(ctx *context.Context, name string, reader io.Reader) error + func Settings(ctx *context.Context) + func SettingsPost(ctx *context.Context, form auth.RepoSettingForm) + func SingleDownload(ctx *context.Context) + func SlackHooksEditPost(ctx *context.Context, form auth.NewSlackHookForm) + func SlackHooksNewPost(ctx *context.Context, form auth.NewSlackHookForm) + func Stars(ctx *context.Context) + func TestWebhook(ctx *context.Context) + func TriggerTask(ctx *context.Context) + func UpdateCommentContent(ctx *context.Context) + func UpdateIssueAssignee(ctx *context.Context) + func UpdateIssueContent(ctx *context.Context) + func UpdateIssueLabel(ctx *context.Context) + func UpdateIssueMilestone(ctx *context.Context) + func UpdateIssueTitle(ctx *context.Context) + func UpdateLabel(ctx *context.Context, form auth.CreateLabelForm) + func UploadFile(ctx *context.Context) + func UploadFilePost(ctx *context.Context, form auth.UploadRepoFileForm) + func UploadFileToServer(ctx *context.Context) + func UploadIssueAttachment(ctx *context.Context) + func ValidateRepoMetas(ctx *context.Context, form auth.CreateIssueForm) ([]int64, int64, int64) + func ViewIssue(ctx *context.Context) + func ViewPullCommits(ctx *context.Context) + func ViewPullFiles(ctx *context.Context) + func Watchers(ctx *context.Context) + func WebHooksEdit(ctx *context.Context) + func WebHooksEditPost(ctx *context.Context, form auth.NewWebhookForm) + func WebHooksNewPost(ctx *context.Context, form auth.NewWebhookForm) + func Webhooks(ctx *context.Context) + func WebhooksNew(ctx *context.Context) + func Wiki(ctx *context.Context) + func WikiPages(ctx *context.Context) + type OrgRepoCtx struct + Link string + NewTemplate base.TplName + OrgID int64 + RepoID int64 + type PageMeta struct + Name string + URL string + Updated time.Time