nicolas.dorier
d3f9eb38a9
Fix annoying err message in logs when a websocket is cancelled
2021-10-07 15:35:19 +09:00
nicolas.dorier
150e4b842c
Make sure the process doesn't crash if exception raised in Subscribe
2021-10-06 13:22:55 +09:00
nicolas.dorier
b0ef98dd63
Keep websocket connection alive on notifications and vault
2021-10-05 14:30:01 +09:00
Nicolas Dorier
db0854f203
Update NBitcoin, NetworkType => ChainName, signet support ( #2224 )
2021-01-27 14:39:38 +09:00
Umar Bolatov
b1e9c005b7
Add "Mark all as seen" button to notification dropdown ( #2101 )
2020-12-12 14:14:50 +09:00
Andrew Camilleri
0652e30c30
GreenField: Notifications API ( #2055 )
...
* GreenField: Notifications API
This refactors notifications so that we dont have a bunch of duplicated direct access to db contexts in controllers and then introduces new endpoints to fetch/toggle seen/remove notifications of the current user.
* add tests + docs
* fix test
* pr changes
* fix permission json
2020-12-11 23:11:08 +09:00
Kukks
179520a211
Plugins: Allow creation of independent DbContexts
...
This allows plugins to create custom dbcontexts, which would be namespaced in the scheme with a prefix. Migrations are supported too and the table would be prefixed too
2020-11-18 12:27:26 +01:00
Andrew Camilleri
4d0b402e8b
Allow disabling notifications per user and disabling specific notifications per user ( #1991 )
...
* Allow disabling notifications per user and disabling specific notifications per use
closes #1974
* Add disable notifs for all users
* fix term generator for notifications
* sow checkboxes instead of multiselect when js is enabled
* remove js dependency
* fix notif conditions
2020-10-20 13:09:09 +02:00
Nicolas Dorier
44896559c6
Merge pull request #1853 from Kukks/not-if-test-func
...
Add debug notifications
2020-08-20 13:00:33 +09:00
Kukks
68686cd249
Add debug notifications
...
This adds a test notif only available in debug mode + endpoint `/Notifications/GenerateJunk` that generates x amount of notifications.
2020-08-19 13:31:28 +02:00
Kukks
565dbd88ff
fix notification page issue
...
fixes #1820
2020-08-19 13:21:05 +02:00
nicolas.dorier
5c9d0fd40a
Use razor component to encapsulate UI logic
2020-08-12 16:48:14 +09:00
rockstardev
b6c7af32de
Cleaning up bom from cs files
2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09:00
nicolas.dorier
f2b986a357
Remove warnings
2020-06-26 20:52:59 +09:00
Kukks
a0065bc2ba
catch cancled task exception in notif
2020-06-26 11:54:18 +02:00
Andrew Camilleri
dc5d8a6cb7
Refresh UI notifications automatically on update ( #1680 )
...
* Refresh UI notifications automatically on update
* make notif timeago live
* pass cancellation token
* Update InvoiceEventData.cs
2020-06-24 10:23:16 +02:00
Andrew Camilleri
13569fe4a2
Improve notifications UI ( #1678 )
...
* Add No JS support for notification seen toggle
* Invalidate cache when user toggles seen/massaction
* mark notif as seen after click
* add additional mass actions
* fix formatting
* add pav changes
* invalidate cache on new notifs
2020-06-23 10:06:02 +09:00
nicolas.dorier
cff5b82b06
Introduce INotificationHandler
2020-06-16 23:29:25 +09:00
nicolas.dorier
d7eeadac41
Do not allow generation of dummy even if regtest
2020-06-15 17:19:03 +09:00
nicolas.dorier
7cdfa7d4c5
Use attribute to map notifcations to their string
2020-06-15 17:19:03 +09:00
nicolas.dorier
9070b475ea
Make the NotificationSender more generic
2020-06-15 17:19:02 +09:00
rockstardev
261931c8ef
Adding list notification test
2020-06-15 00:53:12 -05:00
rockstardev
f072ec3a8c
Adding paging to notifications grid
2020-06-15 00:00:56 -05:00
rockstardev
0dab96f0a6
Moving Notification to dedicated Service namespace
2020-06-14 23:49:08 -05:00
rockstardev
ffa04b625a
Changing case for private methods
2020-06-14 23:49:08 -05:00
rockstardev
0d876b9322
Removing csv jquery voodoo and using checkbox viewmodel mapping
2020-06-14 23:49:08 -05:00
rockstardev
d1383d78c5
Disconnecting NotificationBase from Event, introducing NotificationSender
2020-06-14 23:49:08 -05:00
rockstardev
294dad01c3
Switching to UserManager for fetching user id
2020-06-14 23:49:08 -05:00
rockstardev
b6e3ad9325
Refactoring code to extract claim parsing
2020-06-14 23:49:08 -05:00
rockstardev
7e9bf9598d
Providing support for mass actions on notifications, delete first
2020-06-14 23:49:08 -05:00
rockstardev
0b89598f39
Marking notification read through js magic
2020-06-14 23:49:08 -05:00
rockstardev
359e761922
Mark read and unread
2020-06-14 23:49:08 -05:00
rockstardev
3eb503b13b
Tweaking notification display and allowing deletion
2020-06-14 23:49:08 -05:00
rockstardev
4bc0fd98ca
Saving notifications to database and loading them from there
2020-06-14 23:49:08 -05:00
rockstardev
9206f0cd2e
Handling notifications event and rendering them through controller
2020-06-14 23:49:08 -05:00