Unknwon
fbecc18e2e
*: use jsoniter to replace encoding/json
7 years ago
Unknwon
53c8e4263b
models: skip JSON for fields skipped by XORM
...
Reduce output JSON size by backup command
7 years ago
Unknwon
c08aab90ec
models/mirror: shot push webhook after synced commits ( #4528 )
7 years ago
Unknwon
775919c129
mirror: show sync feeds on dashboard ( #2017 )
7 years ago
Unknwon
aff4208244
*: rename "gogits" to "gogs"
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.
8 years ago
Unknwon
23b83cb736
pkg/process: fix potential race condition
...
Following conditions were not protected:
1. Use and increase next pid
2. Append and remove process from the list
8 years ago
Unknwon
ab2197bc75
random: some code simplify
8 years ago
Unknwon
a887e475e3
repo: change action visibility when repository visibility changed ( #4414 )
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
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
Unknwon
85a050fca7
issue: fix redirect to random issue if index does not exist ( #4315 )
8 years ago
Unknwon
d591cb0dfb
dashboard/feeds: able to load more history ( #2511 )
8 years ago
Unknwon
07a9cbe0a9
setting: able to config dashboard news feed paging number ( #4247 )
8 years ago
Unknwon
9e8ffa14cb
webhook: add file status to push event ( #3897 )
8 years ago
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
b06f299748
webhook: add fork event
8 years ago
Unknwon
70072e2842
dashboard: add delete branch and tag news feeds
8 years ago
Unknwon
f0086e66ae
webhook: able to detect delete branch or tag ( #2315 )
8 years ago
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
8 years ago
Unknwon
28983c94ff
comment: only show title of commit message from a commit ref ( #3206 )
8 years ago
Unknwon
a07b1f630a
webhook: add native Discord support
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
039dc33367
git: delegate all server-side Git hooks ( #1623 )
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
SeongAhJo
bab051a8c1
Fix Typo Errors ( #3885 )
...
* Fix typos
* Fix typos
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
8 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
8 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
9 years ago
Unknwon
c5d4a9e046
#2907 Add commit timestamp to webhook
9 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
9 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
9 years ago
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
Unknwon
70a281a39b
#2375 preserve cases for action content
9 years ago
SjonHortensius
17a4d8a5e5
Fix capitalisation of repo-name in news ( #3203 )
...
use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
9 years ago
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
9 years ago
Unknwon
129638117f
#2697 fix panic when close issue via commit message
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
2765b5c7cf
#2630 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.
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago