Lunny Xiao
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage ( #3142 )
* 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
7 years ago
Sasha Varlamov
7ec6cddd27
Add 'mark all read' option to notifications ( #3097 )
* 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
7 years ago
Ethan Koenig
aa962deec0
Replace deprecated Id method with ID ( #2655 )
7 years ago
Andrey Nering
aa6e949b3d
Consider issue_watchers while sending notifications
7 years ago
Lunny Xiao
46320f9630
refactor notificationsForUser since xorm In support slice of customerize type ( #956 )
7 years ago
Ethan Koenig
2eb15f4a61
Unit tests and remove unused functions in models/notification ( #796 )
* Unit tests and remove unused functions in models/notification
* Read -> Unread
7 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
7 years ago
Ethan Koenig
1207bda94b
Fix typos in models/ ( #576 )
7 years ago
Andrey Nering
b354cf362e
Add pagination for notifications
7 years ago
Andrey Nering
42904cb98a
Notification - Step 1 ( #523 )
* Notification - Step 1
* Add copyright headers
* Cache issue and repository on notification model
7 years ago