Lunny Xiao
bb6879d339
Improve notification ( #8835 )
* Improve notifications
* batch load user
* Update notification only when read
* Fix reorder
* fix lint
* fix test
* fix lint
* make function meaningful
* fix comment
5 years ago
Mario Lubenka
fcbac38d6f
Unifies pagination template usage ( #6531 ) ( #6533 )
5 years ago
Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
6 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
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
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
d2bb8ef503
Notifications: trying to get a better layout ( #660 )
* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl
7 years ago
xgitea
64b167138f
docs: update translation on notification page for zh-CN ( #649 )
* docs: update translation on notification page for zh-CN
* use international resources
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
Andrey Nering
b354cf362e
Add pagination for notifications
7 years ago
Andrey Nering
341a3b571b
Do not get count on /api routers
7 years ago
Andrey Nering
6069abe5fd
Notifications - Step 2
7 years ago