Lunny Xiao
d71fad2ab7
Fix #2001 and fix issue comments hidden ( #2016 )
...
* revert #2001 and fix issue comments hidden
* fix #2001
* fix import
* improve comment type
* reduce unnecessary join
* fix comment on FindCommentsOptions
7 years ago
Lauris BH
6db387a21e
Refactor session close as xorm already does everything needed internally ( #2020 )
7 years ago
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
7 years ago
Ethan Koenig
9fbdd7d787
Fix engine bug in getIssueByID ( #1934 )
7 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
7 years ago
Sandro Santilli
447c9b428f
Send notifications to partecipants in issue comments ( #1217 )
...
* Send notifications to partecipants in issue comments
Closes #1216
Includes test (still failing)
* Do not include "labelers" to participants
Fix test to expect what GetParticipants return
8 years ago
Ethan Koenig
09fe4a2ae9
Batch updates for issues ( #926 )
8 years ago
Ethan Koenig
021904e4e6
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Ethan Koenig
ec0ae5d50c
Refactor and fix incorrect comment ( #1247 )
8 years ago
Bo-Yi Wu
d76d67de23
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
22f7aa6e9c
LableIDs -> LabelIDs ( #1088 )
8 years ago
Ethan Koenig
cf80e19157
Optimize and unit test Issue_ReplaceLabels ( #1080 )
8 years ago
Lunny Xiao
1f7837d6d6
Refactor for issues loadattributes of a repository ( #971 )
...
* refactor for issues loadattributes of a repository
* refactors
8 years ago
Lunny Xiao
847527fd6d
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
7a9a5c8a69
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
076f940f1f
Fix logging bug
...
Error logged everytime an assignee was removed
8 years ago
Lunny Xiao
cf0f451c37
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
b6dd6210ea
bug fixed for issue count ( #881 )
8 years ago
Ethan Koenig
a6751cec04
Unit tests for issue_milestone ( #878 )
8 years ago
Ethan Koenig
e6b4448ba3
Fix bug in Issue.GetIsRead ( #876 )
8 years ago
Lunny Xiao
f35b20b042
track issue title changes ( #841 )
8 years ago
Ethan Koenig
d0960b8035
Move IssueUser code to separate file ( #836 )
...
Also add unit tests
8 years ago
Lunny Xiao
3e0525b47d
Track assignee for issue ( #808 )
...
* track assignee for issue
* fix lint
* use getUserByID instead Get
8 years ago
Ethan Koenig
68bdaf0a6b
Drop redundant columns from issue_user table ( #638 )
8 years ago
Lunny Xiao
081485ecfd
add milestone changed traker on issue view ( #804 )
8 years ago
Ethan Koenig
10644d6dd7
Bug fixes and unit tests for models/issue_label ( #802 )
8 years ago
Lunny Xiao
f94869d2d1
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
5348e8b71a
Fix color: closed PR was showing as purple instead of red
8 years ago
Lunny Xiao
8c2381103a
bug fixed issues 500 resolved #754 ( #756 )
8 years ago
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
8 years ago
Philip Couling
1610b9f547
Spun attachments into seperate go file ( #701 )
...
Moved attachments into seperate go file
8 years ago
Andrey Nering
769e0a3ea6
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
03b45284e1
Merge pull request #555 from ethantkoenig/tests/pull
...
Unit tests for models/pull.go
8 years ago
Andrey Nering
84b7d29d34
Create missing database indexes ( #596 )
8 years ago
Ethan Koenig
72bfabfada
Unit tests for models/pull.go
8 years ago
Bo-Yi Wu
6510e57758
fix gofmt error
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Andrey Nering
42904cb98a
Notification - Step 1 ( #523 )
...
* Notification - Step 1
* Add copyright headers
* Cache issue and repository on notification model
8 years ago
Bwko
a345a03d99
Added sorting to the labels & milestones page ( #199 )
8 years ago
Ethan Koenig
d0932ef147
Bug fixes for Issues filters ( #413 )
...
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Lunny Xiao
0c5c34d7dd
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
4c89a9c33c
Bug fixes and tests for modules/base ( #442 )
...
Also address other TODOs
8 years ago
Lunny Xiao
7c46667e71
fixed vulnerabilities labels ( #409 )
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
0f05470cb8
[API] Pull Requests ( #248 )
8 years ago
Kim "BKC" Carlbäcker
42ec5ce740
Fix breakage from vendor-update
8 years ago
Thomas Boerger
e9c6053b86
Merge pull request #246 from Bwko/fix/typo
...
Fix typos
8 years ago
Sandro Santilli
8aa960f129
Actually document the missing bits
8 years ago
Sandro Santilli
4dd1eb57bd
Lint issue.go
8 years ago
Bwko
2a449bd4b1
Fix typos
8 years ago
Lunny Xiao
3dedc027ac
Bug fixed for issues ( #156 )
8 years ago
Lunny Xiao
30a37311f8
use in instead string join ( #155 )
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
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
Lunny Xiao
c511f1c6c3
Merge pull request #18 from LefsFlarey/issue/3675
...
Fix 500 error caused by deleted users on issues (#3675 )
8 years ago
Flare
a6c487f6ca
Fix err not being nil
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
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
Flare
fd6be0d17e
Still print error if user does not exist
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Flare
1b59e6f910
Fix 500 error caused by deleted users on issues ( #3675 )
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
6b98d58906
#2966 code cleanup
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
Kim "BKC" Carlbäcker
06602a84ff
Fix PR-webhook issue where Label-data is stale ( #3486 ) ( #3510 )
...
* Fix PR-webhook issue where Label-data is stale
* Conventions \o/
* logs are nice if they're consistent...
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
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
5448d29b2e
#3417 wrong dashboard issue count for create by you
8 years ago
lstahlman
699c71d319
Fix for #3401 Links of pull request comment email should use pulls URL ( #3403 )
8 years ago
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
8 years ago
Unknwon
8aa0a76702
#3327 fix wrong table name in Join
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
8 years ago
Unknwon
5761342f32
#3291 fix SQLite3 session read/update conflict on create new issue
8 years ago
lstahlman
e7a4f96fb6
Updated Issues and Issues Stats functions to include table aliases. This addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". ( #3269 )
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Robin Lambertz
ac05f88641
Fix #3154 ( #3155 )
8 years ago
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
8 years ago
Unknwon
0325bec283
#2895 minor fix for bug of xorm
8 years ago
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
8 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Thomas Boerger
746c7fd4e7
Followup fix for previous query fix
9 years ago
Thomas Boerger
b5948f2e71
Made the issues query more secure and simpler
9 years ago
Thomas Boerger
79a1bfd963
Try to make the SQL queries cleaner and more secure
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
9 years ago
Unknwon
e2d370f0da
#1597 fix pull request remote head can't update with force push
9 years ago
Unknwon
ea80274229
#2700 fix sqlite3 can't create issue with more than one label
9 years ago
Unknwon
d320915ad2
Minor fix for #2710
9 years ago
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
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
ac78bae7b5
Replace uuid module with original package
9 years ago
Tobias Kunicke
fa5a1cb54f
regulate timezone for milestone.deadline
9 years ago
Antoine GIRARD
688fc515f8
Fix username display in lower-cased for comment in Dashboard
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Alex Myasoedov
ae54d878c0
Fix misspelled words
9 years ago
Unknwon
b4877b1e06
fix for #2012
9 years ago
Unknwon
987dcc5372
fix #1383
9 years ago
Unknwon
c3ba5590c9
Reopen PR need retest patch
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
e0aab4a7f6
#1830 new comment with status change overwrites issue content
9 years ago
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
9 years ago
Unknwon
4dc6285715
add new status: checking
9 years ago
Unknwon
215920772a
save PR info as patch and minor fix on PR
9 years ago
Unknwon
e303d74ab6
#1643 fix delete milestone
9 years ago
Unknwon
52ec80fa18
finish all new user settings UI
9 years ago
Unknwon
c8d92fad30
#1595 pushing new branch will rereference issues in previous branch
9 years ago
Unknwon
49e120a67c
#1602 change status after comment issue
9 years ago
Unknwon
b6131793da
#1545 prevent duplicated refs of issues in single commit
9 years ago
Unknwon
83dc2468f5
finish initial version of pull request
9 years ago
Unknwon
842770d7fb
add merger info and news feed
9 years ago
Unknwon
5da306c0e5
tmp: fix issue open count
9 years ago
Unknwon
953bb06857
basic PR feature
9 years ago
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
9 years ago
Unknwon
37e0cee877
finish PR UI
9 years ago
Unknwon
ebf1bd4f51
add view pull desc
9 years ago
Unknwon
8c046073a8
work on PR conversation
9 years ago
Unknwon
17c2d1fc7c
fix dashboard 500 when no issues at all
...
- update locales
- update README
9 years ago
Unknwon
8d73832bdf
fix sql
9 years ago
Unknwon
a329bbc215
new org dashboard issues
9 years ago
Unknwon
f808df5a7b
new user dahsboard issues
9 years ago
Unknwon
371572cf5f
allow edit issue and comment
9 years ago
Unknwon
f114f78743
fix timezone!
9 years ago
Unknwon
6c2536b89c
fix timezone
9 years ago
Unknwon
a5b09b30d0
print time to debug
9 years ago
Unknwon
b846f195c1
work #1500
9 years ago
Unknwon
a52324a5f9
able sort issues
9 years ago
Unknwon
a24141ec9c
more on #1319
9 years ago
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
9 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
9 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
9 years ago
Unknwon
1fb53067f4
finish close/reopen issue
9 years ago
Unknwon
133b19d0c5
finish view comments on issue page
9 years ago
Unknwon
ab2d0b3b44
add comment form UI
9 years ago