Ethan Koenig
c2ba9ca97b
Refactor and fix incorrect comment ( #1247 )
8 years ago
Bo-Yi Wu
a6f4a8c2f0
feat: expose url field on issue api. ( #982 )
* Add api url func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix: Add unit testing.
* fix: conflicts
* fix: remove trim
* fix: revert test function name.
8 years ago
Ethan Koenig
f8e89a7034
LableIDs -> LabelIDs ( #1088 )
8 years ago
Ethan Koenig
8240cba2c2
Optimize and unit test Issue_ReplaceLabels ( #1080 )
8 years ago
Lunny Xiao
d4c55c54b2
Refactor for issues loadattributes of a repository ( #971 )
* refactor for issues loadattributes of a repository
* refactors
8 years ago
Lunny Xiao
49bec3eb86
Fix all the bugs in issues and pulls on dashboard ( #943 )
* fix all the bugs in issues and pulls on dashboard
* small fix and refactor
* add method getRepoIDs for IssueList
8 years ago
Lunny Xiao
0e3c632388
Fix assigned issues dashboard ( #920 )
* Fix assigned/created issues in dashboard. (#3560 )
* Fix assigned/created issues in dashboard.
* Use GetUserIssueStats for getting all Dashboard stats.
* Use gofmt to format the file properly.
* Replace &Issue{} with new(Issue).
* Check if user has access to given repository.
* Remove unnecessary filtering of issues.
* Return 404 error if invalid repository is given.
* Use correct number of issues in paginater.
* fix issues on dashboard
8 years ago
Ethan Koenig
79140f6ad7
Fix logging bug
Error logged everytime an assignee was removed
8 years ago
Lunny Xiao
efb41519b9
Add delete branch track on pull request comments ( #888 )
* add delete branch track on pull request comments
* don't change vendor
8 years ago
Lunny Xiao
16e3a07793
bug fixed for issue count ( #881 )
8 years ago
Ethan Koenig
065bf6fd52
Unit tests for issue_milestone ( #878 )
8 years ago
Ethan Koenig
3846bd7137
Fix bug in Issue.GetIsRead ( #876 )
8 years ago
Lunny Xiao
676cbacde7
track issue title changes ( #841 )
8 years ago
Ethan Koenig
4eefdf8765
Move IssueUser code to separate file ( #836 )
Also add unit tests
8 years ago
Lunny Xiao
0abfbb2040
Track assignee for issue ( #808 )
* track assignee for issue
* fix lint
* use getUserByID instead Get
8 years ago
Ethan Koenig
c956352005
Drop redundant columns from issue_user table ( #638 )
8 years ago
Lunny Xiao
c8ee0b9df0
add milestone changed traker on issue view ( #804 )
8 years ago
Ethan Koenig
e979cc5524
Bug fixes and unit tests for models/issue_label ( #802 )
8 years ago
Lunny Xiao
63db268036
Track labels changed on issue view & resolved #542 ( #788 )
* track labels changed on issue view & resolved #542
* add missing head comment & sort & fix refresh
8 years ago
Andrey Nering
773b983b99
Fix color: closed PR was showing as purple instead of red
8 years ago
Lunny Xiao
4683c3bebd
bug fixed issues 500 resolved #754 ( #756 )
8 years ago
Ethan Koenig
061fa12949
Search bar for issues/pulls ( #530 )
8 years ago
Philip Couling
fc1e953a6a
Spun attachments into seperate go file ( #701 )
Moved attachments into seperate go file
8 years ago
Andrey Nering
9b3a69e3ac
Notifications: mark as read/unread and pin ( #629 )
* Use relative URLs
* Notifications - Mark as read/unread
* Feature of pinning a notification
* On view issue, do not mark as read a pinned notification
8 years ago
Andrey Nering
867864eb4c
Merge pull request #555 from ethantkoenig/tests/pull
Unit tests for models/pull.go
8 years ago
Andrey Nering
57b5bd07c9
Create missing database indexes ( #596 )
8 years ago
Ethan Koenig
a6fc1ad1af
Unit tests for models/pull.go
8 years ago
Bo-Yi Wu
83e210669c
fix gofmt error
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Andrey Nering
14ee287f3d
Notification - Step 1 ( #523 )
* Notification - Step 1
* Add copyright headers
* Cache issue and repository on notification model
8 years ago
Bwko
67598de413
Added sorting to the labels & milestones page ( #199 )
8 years ago
Ethan Koenig
2e563ee9f0
Bug fixes for Issues filters ( #413 )
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Lunny Xiao
c14f3f747f
UpdateIssueUsersByMentions was calling database write operations while ( #443 )
a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.
issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions
8 years ago
Ethan Koenig
e9093cb8e8
Bug fixes and tests for modules/base ( #442 )
Also address other TODOs
8 years ago
Lunny Xiao
11452ffbad
fixed vulnerabilities labels ( #409 )
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
b20aadde50
[API] Pull Requests ( #248 )
8 years ago
Kim "BKC" Carlbäcker
0287afefa6
Fix breakage from vendor-update
8 years ago
Thomas Boerger
09832077af
Merge pull request #246 from Bwko/fix/typo
Fix typos
8 years ago
Sandro Santilli
59edb931a1
Actually document the missing bits
8 years ago
Sandro Santilli
29d6dfdd96
Lint issue.go
8 years ago
Bwko
48e67ebba3
Fix typos
8 years ago
Lunny Xiao
a391bef0df
Bug fixed for issues ( #156 )
8 years ago
Lunny Xiao
cb698a5267
use in instead string join ( #155 )
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
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
Lunny Xiao
c1aee61e5f
Merge pull request #18 from LefsFlarey/issue/3675
Fix 500 error caused by deleted users on issues (#3675 )
8 years ago
Flare
07176be616
Fix err not being nil
8 years ago