summaryrefslogtreecommitdiffstats
path: root/models/issue_mail.go
Commit message (Collapse)AuthorAgeFilesLines
* Issue content should not be updated when closing with comment (#2833)Lauris BH2017-11-031-4/+4
|
* Restructure markup & markdown to prepare for multiple markup language… (#2411)Lunny Xiao2017-09-161-2/+2
| | | | | | | | | | * restructure markup & markdown to prepare for multiple markup languages support * adjust some functions between markdown and markup * fix tests * improve the comments
* Prevent sending emails and notifications to inactive users (#2384)David Schneiderbauer2017-09-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | * Filter inactive users before sending emails or creating browser notifications Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * fix formatting issues Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * included requested changes Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * optimized database queries * rebasing new master and add tablenames for clarification in xorm queries * remove escaped quotationmarks using backticks Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* some refactors for issue and comments (#2419)Lunny Xiao2017-08-301-9/+13
|
* Enable assignee e-mail notification (#2003)Győrvári Gábor2017-06-231-0/+5
| | | | | | | | | | | | * Enable assignee e-mail notification * Check assignee and doer to avoid self made comment notifications. * Assignee not always defined * New method to avoid error when assignee deleted * Assignee empty check
* Adding #issuecomment to the URL in E-Mail notifications (#1674)Jonas Franz2017-05-251-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added comment's hashtag to url for mail notifications. Signed-off-by: Jonas <info@jonasfranz.software> * Added comment's hashtag to url for mail notifications. Added explanation to return statement. Signed-off-by: Jonas <info@jonasfranz.software> * Added comment's hashtag to url for mail notifications. Added explanation to return statement + documentation. Signed-off-by: Jonas <info@jonasfranz.software> * Added comment's hashtag to url for mail notifications. Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replacing in-line link generation with HTMLURL. (+gofmt) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replaced action-based model with nil-based model. (+gofmt) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. Signed-off-by: Jonas Franz <info@jonasfranz.software> * Updating comment for mailIssueCommentToParticipants Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Send notifications to partecipants in issue comments (#1217)Sandro Santilli2017-03-161-2/+24
| | | | | | | | | | | | * 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
* Fix typos in models/ (#576)Ethan Koenig2017-01-051-1/+1
|
* UpdateIssueUsersByMentions was calling database write operations while (#443)Lunny Xiao2016-12-221-1/+1
| | | | | | | | | | 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
* Lint/issue &mail (#243)Bwko2016-11-251-1/+1
| | | | | | * Lint models/release.go * Lint models/ issue_label, issue_mail & mail.go
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-3/+3
| | | | | | | - 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
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-3/+3
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-141-1/+1
|
* Refactor User.Id to User.IDUnknwon2016-07-241-1/+1
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-161-0/+81