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
Unknwon
b4c0b7b98b
finish view issue without comments and ops
9 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
9 years ago
Unknwon
64985c7faa
fix template error
9 years ago
Unknwon
cbc7b7132f
finish new issue action and mentions
9 years ago
Unknwon
884bc4ffd8
rename functions
9 years ago
Unknwon
75aff60c90
finish create issue with milestone and assignee
9 years ago
Unknwon
09a1b2a1f5
finish create issue with milestone
9 years ago
Unknwon
922f3f3062
finish create issue with labels
9 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
9 years ago
Unknwon
a79586cc54
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# modules/bindata/bindata.go
# public/css/gogs.min.css
# templates/repo/header.tmpl
9 years ago
Unknwon
7372042441
list view: issue, label, milestone
9 years ago
Unknwon
590c464c56
UI: create issue with title and content
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
02877f1a69
remove useless code
9 years ago
Unknwon
9d414d4dd9
remove Index field of milestone
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
34795770c3
fix issue stats with milestone filter
9 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
9 years ago
Unknwon
0705f55ce0
finish new milestone page
9 years ago
Unknwon
74bd6b939c
milestone: edit
9 years ago
Unknwon
3e4cdccf6b
milestone: create page
9 years ago
Unknwon
ce4dcf1e83
fix naming
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
9311a9858a
milestone: pagination
9 years ago
Unknwon
04458d49a0
milestone: list view
9 years ago
Unknwon
2b1442f3df
fix sql
9 years ago
Unknwon
2e7b38db9f
fix paging links and issue count
9 years ago
Unknwon
1ba837a055
new issue and label page
9 years ago
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
9 years ago
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
9 years ago
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
9 years ago
Unknwon
9fb2d49b93
#1073 #1162 issue ID constraint failed
10 years ago
Unknwon
7ccab9cd09
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
10 years ago
Raphael Randschau
4f567edc6e
Fix #933
...
Not sure why, but xorm ignores the num_issues and num_closed_issues
columns when updating, even though the values changed.
Listing them explicitly fixes the issue with the wrong issue counts
10 years ago
Unknwon
7e7160eefd
first pass work on migration #925
10 years ago
无闻
e805fdb29c
Merge pull request #925 from phsmit/newcollaboration
...
Collaboration
10 years ago
Unknwon
5a99e9a37b
models/action.go: add action reopen for #462
...
- models/issue.go: format comment type names
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago