summaryrefslogtreecommitdiffstats
path: root/models/notification.go
Commit message (Collapse)AuthorAgeFilesLines
* Display ui time with customize time location (#7792)Lunny Xiao2019-08-151-3/+3
| | | | | | | | | | | | | | | | | | * display ui time with customize time location * fix lint * rename UILocation to DefaultUILocation * move time related functions to modules/timeutil * fix tests * fix tests * fix build * fix swagger
* Add golangci (#6418)kolaente2019-06-121-1/+4
|
* Fix sqlite lock (#5176)Lunny Xiao2018-10-251-2/+2
| | | | | | * fix sqlite lock * fix sqlite lock on getUnitType
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-0/+10
|
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-27/+5
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Add 'mark all read' option to notifications (#3097)Sasha Varlamov2017-12-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add 'mark all read' option to notifications Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Fix exported comment Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Format method comments Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Fix exported comment Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> Format method comments Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> Tests for reactions (#3083) * Unit tests for reactions * Fix import order Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv> Fix reaction possition when there is attachments (#3099) Refactor notifications swap function * Accept change to drop beforeupdate call * Update purge notifications error message for consistency * Drop unnecessary check for mark all as read button * Remove debugging comment
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-3/+3
|
* Consider issue_watchers while sending notificationsAndrey Nering2017-03-291-8/+32
|
* refactor notificationsForUser since xorm In support slice of customerize ↵Lunny Xiao2017-02-161-7/+4
| | | | type (#956)
* Unit tests and remove unused functions in models/notification (#796)Ethan Koenig2017-01-301-10/+0
| | | | | | * Unit tests and remove unused functions in models/notification * Read -> Unread
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-5/+52
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* Merge pull request #539 from andreynering/notifications-step-2Andrey Nering2017-01-051-5/+11
|\ | | | | Notifications - Step 2
| * Add pagination for notificationsAndrey Nering2017-01-031-5/+11
| |
* | Fix typos in models/ (#576)Ethan Koenig2017-01-051-1/+1
|/
* Notification - Step 1 (#523)Andrey Nering2016-12-311-0/+249
* Notification - Step 1 * Add copyright headers * Cache issue and repository on notification model