224 Commits (a90a215662636fed1a2c67b49cf060e2936822f6)

Author SHA1 Message Date
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