zeripath
add9b0c141
Refactor repo.isBare to repo.isEmpty #5629 ( #5714 )
* Refactor repo.isBare to repo.isEmpty #5629
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove Sync call
6 years ago
Harshit Bansal
904e810b43
Don't close issues via commits on non-default branch. ( #5622 )
Adds a small check to close the issues only if the referencing commits
are on the default branch.
Fixes : #2314 .
6 years ago
Lunny Xiao
7f7a2886ee
Improve performance of dashboard ( #4977 )
6 years ago
SagePtr
b5eb1de0c0
Fix bug when repo remained bare if multiple branches pushed ( #4923 )
6 years ago
Lauris BH
f367cdf2fe
Add push webhook support for mirrored repositories ( #4127 )
6 years ago
kolaente
afdc089f64
Added dependencies for issues ( #2196 ) ( #2531 )
7 years ago
Guido Diepen
7ed6bcbc8d
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>
7 years ago
Lunny Xiao
a619bd08b0
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
4a72b5b500
Set default branchname on first push ( #3715 )
7 years ago
Bo-Yi Wu
b491d2e450
refactor: reduce sql query in retrieveFeeds ( #3547 )
7 years ago
Lunny Xiao
a5c212cd1e
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
d6b1f1fec3
Fix ref parsing in commit messages ( #3067 )
7 years ago
cstyles
711c5f1ee6
Use RelAvatarLink() in GetActAvatar() ( #2800 )
7 years ago
Lunny Xiao
c2b107fcb0
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
fab64e9241
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
fb9d616fb3
Use named ActionType constants in template helper ( #2545 )
7 years ago
Lunny Xiao
d00b7dab75
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
48312b2c58
fix duplicated feed ( #2370 )
7 years ago
Lunny Xiao
622e693cc4
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
a2fc1ad0b5
Fix SQL condition bug in GetFeeds(..) ( #2360 )
7 years ago
Bwko
b26bcf9b11
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
009d54b145
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
8 years ago
Jonas Franz
4ae5b416b7
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago
Ethan Koenig
6fa177ef4c
Fix bug in Action.loadRepo() ( #1959 )
8 years ago
Andrey Nering
7bb3cec80d
Merge pull request #1829 from ethantkoenig/no_branches
Commitless repos should be bare
8 years ago
Ethan Koenig
57c91032f3
Fix user profile activity feed ( #1848 )
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Ethan Koenig
74f13ec07b
Commitless repos should be bare
8 years ago
Ethan Koenig
ab3b136cce
Fix invalid reference in feeds template ( #1820 )
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
8 years ago
Ethan Koenig
66ee05fd53
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
ca68b6b276
Fix "Error: No issue number specified" when pushing ( #1393 )
* Fix "Error: No issue number specified" when pushing
* update pr
8 years ago
Lunny Xiao
6e4413b23d
fix wrong log when push to a new branch ( #1220 )
8 years ago
Ethan Koenig
6c8f6ede64
Fix FIXME and remove superfluous queries in models/org ( #749 )
8 years ago
Andrey Nering
57b5bd07c9
Create missing database indexes ( #596 )
8 years ago
Ethan Koenig
feb1506600
Fix typos in models/ ( #576 )
8 years ago
Lunny Xiao
5e531a7e64
fix tag webhook 404 error ( #420 )
8 years ago
Lunny Xiao
301dcd4876
update code.gitea.io/git ( #450 )
8 years ago
Lunny Xiao
4f165ac458
bug fixed branch name for pushupdate ( #380 )
8 years ago
Ethan Koenig
2872b66e89
Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
8 years ago
Kim "BKC" Carlbäcker
6fb9644a74
CreateBranch-hook has shasum. Use the full ref for fetching shasum
8 years ago
Kim "BKC" Carlbäcker
49af1343ab
Tag-webhooks are useless without shasums
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Sandro Santilli
70a8e6cb35
Lint action.go
8 years ago
Sandro Santilli
827c85ad85
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
b747797b29
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
5d29fda874
Rewrite XORM queries
8 years ago
Sandro Santilli
cb1b3cc148
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
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Sandro Santilli
3c9693defb
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
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago