Lunny Xiao
cd1821a7e2
Move push update to post-receive and protected branch check to pre-receive (#1030)
* 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
7 vuotta sitten
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.
7 vuotta sitten
Lunny Xiao
47a7529d96
update code.gitea.io/git (#450)
7 vuotta sitten
Alexander Lunegov
d5d21b67d2
Fix string format verbs (#3637)
7 vuotta sitten
Thomas Boerger
6dd2c3b2db
Fixed linting errors for variable definitions
7 vuotta sitten
Bwko
33a2ac3830
Lint models/update.go & webhook_slack.go
7 vuotta sitten
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io (#135)
- 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
7 vuotta sitten
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
7 vuotta sitten
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
7 vuotta sitten
Unknwon
a00c932bbc
General code quality improvement
7 vuotta sitten
Unknwon
15845cb287
Code clean up for new config options
8 vuotta sitten
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 (#3414)
8 vuotta sitten
Unknwon
c5d4a9e046
#2907 Add commit timestamp to webhook
8 vuotta sitten
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 vuotta sitten
Unknwon
338af89d56
#2650 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.
8 vuotta sitten
Unknwon
19423957b1
rename import path
8 vuotta sitten
Unknwon
99e9bbef6c
fix bool check for repo max limit and fix hang when push repo with tons of commits
8 vuotta sitten
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
8 vuotta sitten
Unknwon
1d57f0d64f
Show custom avatars in commits
8 vuotta sitten
Unknwon
2bd64621fc
#1900 last updatede time not update after push
8 vuotta sitten
Unknwon
f255b1e86d
#1896 fatal when no needed update task
8 vuotta sitten
Unknwon
3a81fdf092
rename fields
8 vuotta sitten
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
8 vuotta sitten
Unknwon
c6ce6bd4c2
work on #1830
8 vuotta sitten
Unknwon
2dde2a8ad3
fix error detect when push commits
8 vuotta sitten
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
8 vuotta sitten
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 vuotta sitten
Unknwon
b2632dec09
Page: Compare 2 commits
9 vuotta sitten
Christopher Brickley
25c8d01676
increase max commits in payload to 5
9 vuotta sitten
Christopher Brickley
00a864e693
add commit compare functionality
9 vuotta sitten
Unknwon
8dd07c0ddd
New UI merge in progress
10 vuotta sitten
Lunny Xiao
1c46d68aba
bug fixed for message tag
10 vuotta sitten
Lunny Xiao
54e17c7cca
bug fixed #261
10 vuotta sitten
Lunny Xiao
e5ae41e21f
bug fixed #261
10 vuotta sitten
Unknown
47d29a1ee0
Mirror fix on #248
10 vuotta sitten
Unknown
8bfa7ae745
Remove qiniu/log
10 vuotta sitten
Unknown
e573855a4f
Fix #98, support web hook
10 vuotta sitten
Unknown
7b60756f2c
Fix Collaborators cannot commit
10 vuotta sitten
Lunny Xiao
163fcec59f
resolved #155
10 vuotta sitten
Unknown
62d23e9154
HTTP no follow and offline mode
10 vuotta sitten
Unknown
190b83e05e
push tag support
10 vuotta sitten
Unknown
9d983f27d6
go vet
10 vuotta sitten
slene
52b4ab2aa5
update with new git
10 vuotta sitten
Lunny Xiao
db39e58a13
add actions for http push
10 vuotta sitten
zhsso
a4cbe79567
fix
10 vuotta sitten
zhsso
f3ed11d177
mistakes
10 vuotta sitten
Lunny Xiao
a24c0b92e4
bug fixed
10 vuotta sitten
Unknown
db1fe3483e
Fix bug related to log
10 vuotta sitten
Unknown
6a16866f4e
Fix bug related to log
10 vuotta sitten
Unknown
794cd27db3
Fix bug related to log
10 vuotta sitten