Lunny Xiao
a8717e5e3a
Use AfterLoad instead of AfterSet on Structs ( #2628 )
...
* use AfterLoad instead of AfterSet on Structs
* fix the comments on AfterLoad
* fix the comments on action AfterLoad
7 years ago
David Schneiderbauer
1eedd983ea
Complete push webhooks ( #2530 )
...
* implemented missing 'delete' push webhooks
moreover created ActionDeleteBranch and ActionDeleteTag
* add CommitRepoAction tests for tag/branch creation/deletion
* fixed error where push webhook not called if is new branch or tag
removed unnecessary code
* moved prepare unit test environment into separate method to be used across unit tests
* add missing if clause in pushUpdate
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Ethan Koenig
acecedc410
Use named ActionType constants in template helper ( #2545 )
7 years ago
Lunny Xiao
005900baea
Use created & updated instead BeforeInsert & BeforeUpdate ( #2482 )
...
* use created & updated instead BeforeInsert & BeforeUpdate
* fix vendor checksum
* only show generated SQL when development mode
* remove extra update column updated_unix
* remove trace config
7 years ago
Lunny Xiao
e41da3845d
fix duplicated feed ( #2370 )
8 years ago
Lunny Xiao
64b7068846
Add more test for login links and fix a bug on action retrieve ( #2361 )
...
* add more test for login links and fix a bug on action retrieve
8 years ago
Ethan Koenig
fd6e91077a
Fix SQL condition bug in GetFeeds(..) ( #2360 )
8 years ago
Bwko
1a5fe4326f
Add collaborative repositories to the dashboard ( #2205 )
...
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
8 years ago
Lauris BH
b639fa1648
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
8 years ago
Jonas Franz
441986a473
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago
Ethan Koenig
96152c38b1
Fix bug in Action.loadRepo() ( #1959 )
8 years ago
Andrey Nering
635273cea6
Merge pull request #1829 from ethantkoenig/no_branches
...
Commitless repos should be bare
8 years ago
Ethan Koenig
4e5ee2b67a
Fix user profile activity feed ( #1848 )
...
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Ethan Koenig
c85ff532e9
Commitless repos should be bare
8 years ago
Ethan Koenig
bafd778c25
Fix invalid reference in feeds template ( #1820 )
...
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
8 years ago
Ethan Koenig
0c332f0480
Fix activity feed ( #1779 )
...
* Fix activity feed
Preserve actions after user/repo name change
* Add missing comment
* Fix migration, and remove fields completely
* Tests
8 years ago
agrn
88112a5324
Fix "Error: No issue number specified" when pushing ( #1393 )
...
* Fix "Error: No issue number specified" when pushing
* update pr
8 years ago
Lunny Xiao
3cf0e513e6
fix wrong log when push to a new branch ( #1220 )
8 years ago
Ethan Koenig
da1b6164fe
Fix FIXME and remove superfluous queries in models/org ( #749 )
8 years ago
Andrey Nering
84b7d29d34
Create missing database indexes ( #596 )
8 years ago
Ethan Koenig
1207bda94b
Fix typos in models/ ( #576 )
8 years ago
Lunny Xiao
c21e2c4151
fix tag webhook 404 error ( #420 )
8 years ago
Lunny Xiao
47a7529d96
update code.gitea.io/git ( #450 )
8 years ago
Lunny Xiao
73710c00a8
bug fixed branch name for pushupdate ( #380 )
8 years ago
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
...
Also move duplicated code into repo.APIFormat(..)
8 years ago
Kim "BKC" Carlbäcker
dad806d3ea
CreateBranch-hook has shasum. Use the full ref for fetching shasum
8 years ago
Kim "BKC" Carlbäcker
f364522468
Tag-webhooks are useless without shasums
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Sandro Santilli
dd9d0f3732
Lint action.go
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
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
8 years ago
Thibault Meyer
a4454f5d0f
Rewrite XORM queries
8 years ago
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
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
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)
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
a00c932bbc
General code quality improvement
9 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
9 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
9 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
9 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
9 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
9 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
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Unknwon
c631a4a9b9
URL fix for #2287
9 years ago
Unknwon
f43cc90841
#2287 Truncate repository name if too long
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
99e9bbef6c
fix bool check for repo max limit and fix hang when push repo with tons of commits
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
9 years ago
Unknwon
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
e030109b5a
fix api broken
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
6a664e88c7
#1854 show issue content
9 years ago
Unknwon
a6c7716742
minor fix for #1935 and fix #1854
9 years ago
Alexey Makhov
ee645af107
#1854 change issueId to issueIndex
9 years ago
Alexey Makhov
3e7695ae91
#1854 improves
9 years ago
Alexey Makhov
1bfebdcdf6
#1854 improves
9 years ago
Alexey Makhov
588a0db218
#1854 issue title at dashboard
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
2bd64621fc
#1900 last updatede time not update after push
9 years ago
Unknwon
fad31ca302
work on #1748
9 years ago
Unknwon
2dde2a8ad3
fix error detect when push commits
9 years ago
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
9 years ago
Unknwon
c8d92fad30
#1595 pushing new branch will rereference issues in previous branch
10 years ago
Unknwon
a7ee654646
#1544 better tmp dir name for creating repo
10 years ago
Unknwon
b6131793da
#1545 prevent duplicated refs of issues in single commit
10 years ago
Unknwon
83dc2468f5
finish initial version of pull request
10 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
10 years ago
Unknwon
8af094967f
#1377 add rename repo action
10 years ago
Unknwon
f509c59ac1
new create webhook event
10 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
10 years ago
Unknwon
b900863d60
rename a user method
10 years ago
Unknwon
2881456421
new webhooks list UI
10 years ago
Unknwon
f114f78743
fix timezone!
10 years ago
Unknwon
6c2536b89c
fix timezone
10 years ago
Unknwon
b846f195c1
work #1500
10 years ago
Unknwon
1fb53067f4
finish close/reopen issue
10 years ago
Unknwon
133b19d0c5
finish view comments on issue page
10 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
0705f55ce0
finish new milestone page
10 years ago
Unknwon
686dd59916
fix #864 with migration and update locale
10 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
10 years ago
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
10 years ago