Umar Bolatov
fe4ffcfc62
Update notification dropdown styling ( #2167 )
...
* Update notification dropdown strings
* Update notification dropdown styling
address #2131
* Update border color
* Update notification hover color
* Revert "was confirmed paid" to "has been paid" change
* Move styles to site.css
* Update style="border-bottom: 0;" to border-bottom-0
* Update heading
* Add icon sprite
* Add default icon styles
* Use "currentColor" instead of specific color for icon
* Update icon color definition
* Adjust dropdown position
* Update h4 to h5
2021-01-07 18:07:42 +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
Nicolas Dorier
23002ac70d
Merge pull request #2068 from Kukks/plugins-db
...
Plugins: Allow creation of independent DbContexts
2020-11-19 12:39:26 +09:00
nicolas.dorier
1262ad3cd4
Fix warnings
2020-11-19 12:34:56 +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
Kukks
2083954aa5
add comment
2020-10-27 08:19:41 +01:00
Kukks
66af258876
fix tests
2020-10-27 08:00:34 +01:00
nicolas.dorier
a30456a92d
Fix warnings
2020-10-26 14:19:05 +09: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
Andrew Camilleri
1440e8c55d
BTCPay Server Extensions ( #1925 )
...
* BTCPay Server Extensions

* cleanup
* fix
* Polish UI a bit,detect when docker deployment
2020-10-15 21:28:09 +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
nicolas.dorier
5c9d0fd40a
Use razor component to encapsulate UI logic
2020-08-12 16:48:14 +09:00
Zaxounette
ea9836a701
Subtle term change in Awaiting-payout-notification
2020-08-08 12:50:55 +02:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05: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
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
Nicolas Dorier
8230a408ac
Add pull payment feature ( #1639 )
2020-06-24 10:34:09 +09: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
Andrew Camilleri
12e2b93ac9
Add invoice notifications ( #1674 )
...
* Add invoice notifications
* fixeth le order
* comment-to-code auto commit
* reduce notifications
2020-06-22 16:32:51 +09:00
nicolas.dorier
0b720768b8
Asyncify NotificationManager
2020-06-17 11:26:21 +09:00
nicolas.dorier
cff5b82b06
Introduce INotificationHandler
2020-06-16 23:29:25 +09:00
nicolas.dorier
aef5cc50d5
Add the StoreScope
2020-06-15 20:52:53 +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
18ffd678b7
Bugfixing context factory reference
2020-06-15 01:25:55 -05:00
rockstardev
741b93dc04
Removing obsolete NotificationDbSaver hosted service
2020-06-15 01:22:09 -05:00
rockstardev
31cc966b38
Bugfixing setting of Created, expanding test
2020-06-15 00:57:20 -05:00
rockstardev
2c44c25b25
Signaling reference pass, bugfixing reference to deserialized blob
2020-06-15 00:36:50 -05:00
rockstardev
113869bd08
Renaming to BaseNotification
2020-06-14 23:49:08 -05:00
rockstardev
0dab96f0a6
Moving Notification to dedicated Service namespace
2020-06-14 23:49:08 -05:00