Commit Graph

51 Commits (80b430d7c07a48f4b3e3c96b821105c8e4789c69)

Author SHA1 Message Date
Lauris BH 7a0297819d Sync releases table with tags on push and for mirrors ()
* Sync releases table with tags on push and for mirrors

* Code style fixes

* Fix api to return only releases

* Optimize release creation and update
Minimize posibility of race conditions

* Fix release lower tag name updating

* handle tag reference update by addionally comparing commit id
Ethan Koenig 7907786040 Trigger sync webhooks on UI commit ()
* Trigger sync webhooks on UI commit

* Also fix UI upload/delete
Lunny Xiao 930d1759ae Remove env user salt since no need to use ()
* remove env user salt since no need to use

* remove unused variable from update.go
Lunny Xiao 1773e88643 Drop db operations from hook commands ()
* move all database operations from hook command to web command and instead of internal routes

* bug fixed

* adjust the import path sequences

* remove unused return value on hookSetup
Jonas be6edaddcb Repo size in admin panel ()
* Implementation of the feature to view repository size in admin panel
 * Move GetRepoSize to git module
 * Repository.RepoSize -> Repository.Size
 * RepoSize -> Size in template
 * Redo a few bits and pieces
 * Update size when syncing mirror or forking
 * Remove GetRepoSize
 * Changed fatal errors to error message

* Copy migration code from Gogs

* make fmt
Lunny Xiao cd1821a7e2 Move push update to post-receive and protected branch check to pre-receive ()
* move all push update to git hook post-receive and protected branch check to git hook pre-receive

* add SSH_ORIGINAL_COMMAND check back

* remove all unused codes

* fix the import
Gabriel Jackson bf6f61cc69 Cleanup log messaging
This change corrects a few logging issues:

 * Standardized formatting errors with '%v'.
 * Standardized failure warning word usage.
 * Corrected an instance of using the standard log library when
   the gitea log library should be used instead.
Lunny Xiao 47a7529d96 update code.gitea.io/git ()
Alexander Lunegov d5d21b67d2 Fix string format verbs ()
Thomas Boerger 6dd2c3b2db
Fixed linting errors for variable definitions
Bwko 33a2ac3830 Lint models/update.go & webhook_slack.go
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 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 15845cb287 Code clean up for new config options
lstahlman 89f71b44f7 Add committer information to API and Webhooks. Also fixes ()
Unknwon c5d4a9e046 Add commit timestamp to webhook
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 338af89d56 fix possbility that use email as pusher user name
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.

Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
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 1d57f0d64f Show custom avatars in commits
Unknwon 2bd64621fc last updatede time not update after push
Unknwon f255b1e86d fatal when no needed update task
Unknwon 3a81fdf092 rename fields
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon c6ce6bd4c2 work on
Unknwon 2dde2a8ad3 fix error detect when push commits
Unknwon 6dfee30bf0 Wrong commit order on issue page when pushing multiple commits
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon b2632dec09 Page: Compare 2 commits
Christopher Brickley 25c8d01676 increase max commits in payload to 5
Christopher Brickley 00a864e693 add commit compare functionality
Unknwon 8dd07c0ddd New UI merge in progress
Lunny Xiao 1c46d68aba bug fixed for message tag
Lunny Xiao 54e17c7cca bug fixed
Lunny Xiao 86e2627175 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	models/update.go
	routers/repo/http.go
Lunny Xiao e5ae41e21f bug fixed
Unknown 47d29a1ee0 Mirror fix on
Unknown 8bfa7ae745 Remove qiniu/log
Unknown e573855a4f Fix , support web hook
Unknown bb0bc0a240 Merge branch 'dev' of github.com:gogits/gogs
Unknown 7b60756f2c Fix Collaborators cannot commit
Lunny Xiao 163fcec59f resolved
Unknown 62d23e9154 HTTP no follow and offline mode
Unknown 190b83e05e push tag support
Unknown 9d983f27d6 go vet
slene 52b4ab2aa5 update with new git