Commit Graph

274 Commits (ff9b6fa6639bacd4770b0e81661697af35c78aa6)

Author SHA1 Message Date
Ethan Koenig c85ff532e9 Commitless repos should be bare
Ethan Koenig bafd778c25 Fix invalid reference in feeds template ()
* Fix invalid reference in feeds template

* Comment for GetActAvatar

* Add integration test
Ethan Koenig 0c332f0480 Fix activity feed ()
* Fix activity feed

Preserve actions after user/repo name change

* Add missing comment

* Fix migration, and remove fields completely

* Tests
agrn 88112a5324 Fix "Error: No issue number specified" when pushing ()
* Fix "Error: No issue number specified"  when pushing

* update pr
Lunny Xiao 3cf0e513e6 fix wrong log when push to a new branch ()
Ethan Koenig da1b6164fe Fix FIXME and remove superfluous queries in models/org ()
Andrey Nering 84b7d29d34 Create missing database indexes ()
Ethan Koenig 1207bda94b Fix typos in models/ ()
Lunny Xiao c21e2c4151 fix tag webhook 404 error ()
Lunny Xiao 47a7529d96 update code.gitea.io/git ()
Lunny Xiao 73710c00a8 bug fixed branch name for pushupdate ()
Ethan Koenig 04b9a7e7a2 Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
Kim "BKC" Carlbäcker dad806d3ea CreateBranch-hook has shasum. Use the full ref for fetching shasum
Kim "BKC" Carlbäcker f364522468 Tag-webhooks are useless without shasums
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Sandro Santilli dd9d0f3732 Lint action.go
Sandro Santilli a1c5f02444 Fix import path of go-sdk ()
From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
Thibault Meyer b0ddced2b5
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
# Conflicts:
#	models/git_diff.go
#	models/issue.go
#	models/org.go
#	models/pull.go
#	models/repo.go
Thibault Meyer a4454f5d0f
Rewrite XORM queries
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Sandro Santilli 80eea77953 Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git ()
* Replace gogits/git-module dependency with go-gitea/git

Fixes 

* Remove git alias for git module import (not needed)
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon a00c932bbc General code quality improvement
Unknwon 6f9a95f830 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
Unknwon 2625193a48 models/repo_editor: improve code quality
Unknwon 94392a7af3 Fix empty repository panic on send test webhook
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
Unknwon 3f7f4852ef fully support of webhooks for pull request
lstahlman 89f71b44f7 Add committer information to API and Webhooks. Also fixes ()
Unknwon c5d4a9e046 Add commit timestamp to webhook
Unknwon 50422f1fc2 always use relative avatar link in the template
Unknwon e74630ae3b add pagination for repositories
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 46e96c008c Use struct for UI settings
Unknwon 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
Unknwon 7ca5f8f119 models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
Unknwon 70a281a39b preserve cases for action content
SjonHortensius 17a4d8a5e5 Fix capitalisation of repo-name in news ()
use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
Unknwon ad513a20e9 Replace time.Time with Unix Timestamp (int64)
Unknwon 414eb22ef9 fix activitity feeds for pull requests
Unknwon 129638117f fix panic when close issue via commit message
Unknwon 912f7b51e9 add actions for close and reopen issues
Unknwon 2765b5c7cf fix wrong user avatar link in webhook
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
Unknwon a1d97e8f5c Minor fix for
Florian Kaiser 45db167f7a Only show activities for repositories on dashboard, that the user has access to
Unknwon c631a4a9b9 URL fix for
Unknwon f43cc90841 Truncate repository name if too long
Unknwon 19423957b1 rename import path
Unknwon 99e9bbef6c fix bool check for repo max limit and fix hang when push repo with tons of commits
Unknwon 9a2e43bff2 move out git module and send push hook
Unknwon dce2a9e7e1 fix wrong slack webhook payload URL
Unknwon 404867f206 fix and fix
Unknwon e030109b5a fix api broken
Unknwon 1d57f0d64f Show custom avatars in commits
Unknwon 6a664e88c7 show issue content
Unknwon a6c7716742 minor fix for and fix
Alexey Makhov ee645af107 change issueId to issueIndex
Alexey Makhov 3e7695ae91 improves
Alexey Makhov 1bfebdcdf6 improves
Alexey Makhov 588a0db218 issue title at dashboard
Unknwon b55499d039 go vet and fix
Unknwon 2bd64621fc last updatede time not update after push
Unknwon fad31ca302 work on
Unknwon 2dde2a8ad3 fix error detect when push commits
Unknwon 6dfee30bf0 Wrong commit order on issue page when pushing multiple commits
Unknwon c8d92fad30 pushing new branch will rereference issues in previous branch
Unknwon a7ee654646 better tmp dir name for creating repo
Unknwon b6131793da prevent duplicated refs of issues in single commit
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 398569f6f8 Forked repo unavailable after deleting original repo
Unknwon 8af094967f add rename repo action
Unknwon f509c59ac1 new create webhook event
Unknwon 23f42d92c9 add webhook recent deliveries
Unknwon b900863d60 rename a user method
Unknwon 2881456421 new webhooks list UI
Unknwon f114f78743 fix timezone!
Unknwon 6c2536b89c fix timezone
Unknwon b846f195c1 work
Unknwon 1fb53067f4 finish close/reopen issue
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon 0705f55ce0 finish new milestone page
Unknwon 686dd59916 fix with migration and update locale
Unknwon fa298a2c30 : Realtime webhooks
Unknwon ac95f6d50f UI: basic label list
- create new label
Unknwon 82f7a01ded : X-Gogs-Event header is empty
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
Unknwon fc6db829b2 fix read access team visibility of private repo
Unknwon 0720d3988f : GetRepoLink already contains AppSubUrl
Unknwon b0b11fd7b1 Merge branch 'access' of github.com:gogits/gogs into dev
Raphael Randschau 1f61340fa3 Properly calculate the number of open issues per label
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix
Unknwon 6d0f3a07d4 code fix caution: undertest
Unknwon f15fa9167a cmd: code fix for
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
Unknwon 2a2596fe61 able to disable SSH for
Unknwon 5a99e9a37b models/action.go: add action reopen for
- models/issue.go: format comment type names
Unknwon afccd0a3ee models/action.go: mirror fix on
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
Etienne Bruines 5c4b85c029 Referencing issues from commit messages is now possible.
Code-wise: the fixing-part of the code now doesn't reference the issue any more, because this is done by the referencing-part of the code, which is called just before.

Fixes , , .
Unknwon bb26285a12 fix
Joseph Crail 39c068400e Fix spelling errors in comments.
Unknwon 55dfe2c978 custom avatar upload
Tony Tsang e0f945959e Replace white spaces with tab for format consistency
Tony Tsang 91127d9016 Fixes
Unknwon b2632dec09 Page: Compare 2 commits
Unknwon 86eac0842b Fix feeds display issue
Unknwon 10673417dc Mirror fix on transfer repo
Unknwon ad52b2d791 Mirror fix on transfer repo
Unknwon f69761563b Fix bug on transfer repo
lunnyxiao 089d934547 add action repousername for transfer
Unknwon 7ba9257a7f Add suburl support
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
Christopher Brickley f94d7c3f51 clarify name/username/owner/pusher for webhook
Christopher Brickley 52d15ddec8 deliver hooks immediately after commit
Christopher Brickley 85c35a6b8b add organization-level webhooks
Christopher Brickley af0741da07 handle initial commit for compareUrl
Christopher Brickley 00a864e693 add commit compare functionality
Christopher Brickley 2bce24068d add Slack API webhook support
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
Unknwon 8dd07c0ddd New UI merge in progress
无闻 da0240aacd Merge pull request from nuss-justin/feature/attachments
Feature: Ability to attach files to issues (attachments)
Justin Nuß 70b0023b82 Fix double decrement of issue counter
Justin Nuß 967856f36e Merge branch 'dev' into feature/attachments
Conflicts:
	models/issue.go
	routers/repo/issue.go
Justin Nuß d43c5895bc Update template and style, only close commit if commit is in same repository
Justin Nuß c850c01007 Update closed issues stats for repository
Justin Nuß 469cbc8813 Update progress of milestones when closing/reopening issues and allow closing of issues in commit messages
Unknown 8644c571db Mirror bug fix on create repo action
Unknown 43b33440b5 Work on create organization repo and
Unknown ad5ec45dd6 Fix
Unknown 8bfa7ae745 Remove qiniu/log
Unknown 302c863cda Fix
Unknown 688ec6ecbd Fixed
jiangjianxiao 501f70e248 fix news feed repo link
Unknown 914ffa496f Show private repository activities in dashboard if has access
Unknown 23a857d107 Add repo info to web hook post
Unknown 7cb5a15c9b Batch of mirror fixes
Unknown e573855a4f Fix , support web hook
Unknown 7b60756f2c Fix Collaborators cannot commit
Unknown cd2020429a Fix
Unknown ff9872104e Fix
Unknown 480a4ae8c5 Fix
Unknown a2333d95d5 Fix
Unknown 190b83e05e push tag support
Unknown d2b53dd43b Add weibo oauth
Unknown eb803ec5eb Add transfer repository
Lunny Xiao ec1b801732 bug fixed
Unknown 8282828820 Fix action email bug
Unknown 3144fac03c IP: RC Code Review
Unknown f470c241d6 IP: RC Code Review