mirror of
https://github.com/go-gitea/gitea
synced 2024-11-01 09:14:09 +01:00
7ec6cddd27
* 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
43 lines
636 B
YAML
43 lines
636 B
YAML
-
|
|
id: 1
|
|
user_id: 1
|
|
repo_id: 1
|
|
status: 1 # unread
|
|
source: 1 # issue
|
|
updated_by: 2
|
|
issue_id: 1
|
|
created_unix: 946684800
|
|
updated_unix: 946684800
|
|
|
|
-
|
|
id: 2
|
|
user_id: 2
|
|
repo_id: 1
|
|
status: 2 # read
|
|
source: 1 # issue
|
|
updated_by: 1
|
|
issue_id: 2
|
|
created_unix: 946684800
|
|
updated_unix: 946684800
|
|
|
|
-
|
|
id: 3
|
|
user_id: 2
|
|
repo_id: 1
|
|
status: 3 # pinned
|
|
source: 1 # issue
|
|
updated_by: 1
|
|
issue_id: 2
|
|
created_unix: 946684800
|
|
updated_unix: 946684800
|
|
|
|
-
|
|
id: 4
|
|
user_id: 2
|
|
repo_id: 1
|
|
status: 1 # unread
|
|
source: 1 # issue
|
|
updated_by: 1
|
|
issue_id: 2
|
|
created_unix: 946684800
|
|
updated_unix: 946684800 |