Unknwon
ac73d43444
repo_editor: able to trigger Git hooks ( #4338 )
6 years ago
Unknwon
aff4208244
*: rename "gogits" to "gogs"
7 years ago
Unknwon
15f9a83618
templates/repo: escape branch name ( #4601 )
7 years ago
Unknwon
1f7983059a
models: move ErrBranchNotExist to errors package
7 years ago
无闻
9362b9fdfe
cmd/hook: fix custom hook cannot be executed on Windows ( #4255 )
...
This solution still requires the server installed git-bash.
7 years ago
Unknwon
6bc11c4450
hook: fix email not sent after push ( #4430 )
...
Turns out mail service was not initialized at all, also mail must
be sent in sync in hook mode before program exits.
7 years ago
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Danny Althoff
44a6b63316
cmd/hook: fixed typo ( #4280 )
8 years ago
Unknwon
83f6b8e847
Protected branches: allow whitelist bypass require pull request check ( #4207 )
8 years ago
Unknwon
e08161a302
hook: fix can’t be executed while run as service on Windows ( #4207 )
8 years ago
Unknwon
7fe13e72d8
cmd: refactoring command name
8 years ago
Unknwon
6072e9a52c
repo: add protect branch whitelist ( #4177 )
...
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
8 years ago
Unknwon
7e09d210ba
Initial version of protected branches ( #776 )
...
- Able to restrict force push and deletion
- Able to restrict direct push
8 years ago
Unknwon
d521e716dd
refactoring: SSH and HTTP push procees is now unified
...
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.
Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.
By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636 .
8 years ago
Unknwon
0386b5ae54
cmd/hook: check existence before call custom hook
8 years ago
Unknwon
039dc33367
git: delegate all server-side Git hooks ( #1623 )
8 years ago