kolaente
1bff02de55
Added dependencies for issues ( #2196 ) ( #2531 )
6 years ago
Guido Diepen
7c943b1cad
Implemented hover text showing user FullName ( #4261 )
...
For each action that is displayed in either the public activity overview
of a user, or in the dashboard overview, the link to the username is now
extended with a title attribute to show the FullName as hover text
Signed-off-by: Guido Diepen <site-github@guidodiepen.nl>
6 years ago
Lunny Xiao
24941a1046
Add more webhooks support and refactor webhook templates directory ( #3929 )
...
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* update vendor
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* load attributes when created release
* update comparsion doc
7 years ago
Bwko
321cc2a3d0
Set default branchname on first push ( #3715 )
7 years ago
Bo-Yi Wu
04b3e8cbdc
refactor: reduce sql query in retrieveFeeds ( #3547 )
7 years ago
Lunny Xiao
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage ( #3142 )
...
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
7 years ago
Ethan Koenig
3163abedd6
Fix ref parsing in commit messages ( #3067 )
7 years ago
cstyles
b0b24a2dbb
Use RelAvatarLink() in GetActAvatar() ( #2800 )
7 years ago
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 )
7 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
7 years ago
Ethan Koenig
fd6e91077a
Fix SQL condition bug in GetFeeds(..) ( #2360 )
7 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
7 years ago
Lauris BH
b639fa1648
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
7 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
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
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
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 )
8 years ago