Commit Graph

169 Commits (5972aa9af3e50fc23e2da1a2937dd8092f2dc089)

Author SHA1 Message Date
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