lnbits-legend/lnbits/static
schneimi fb98576431
[FEAT] Push notification integration into core (#1393)
* push notification integration into core

added missing component

fixed bell working on all pages
- made pubkey global template env var
- had to move `get_push_notification_pubkey` to `helpers.py` because of circular reference with `tasks.py`

formay

trying to fix mypy

added py-vapid to requirements

Trying to fix stub mypy issue

* removed key files

* webpush key pair is saved in db `webpush_settings`

* removed lnaddress extension changes

* support for multi user account subscriptions, subscriptions are stored user based

fixed syntax error

fixed syntax error

removed unused line

* fixed subscribed user storage with local storage, no get request required

* method is singular now

* cleanup unsubscribed or expired push subscriptions

fixed flake8 errors

fixed poetry errors

* updating to latest lnbits

formatting, rebase error

fix

* remove unused?

* revert

* relock

* remove

* do not create settings table use adminsettings

mypy

fix

* cleanup old code

* catch case when client tries to recreate existing webpush subscription e.g. on cleared local storage

* show notification bell on user related pages only

* use local storage with one key like array, some refactoring

* fixed crud import

* fixed too long line

* removed unused imports

* ruff

* make webpush editable

* fixed privkey encoding

* fix ruff

* fix migration

---------

Co-authored-by: schneimi <admin@schneimi.de>
Co-authored-by: schneimi <dev@schneimi.de>
Co-authored-by: dni  <office@dnilabs.com>
2023-09-11 14:48:49 +01:00
..
css CI adjustment - Pinkify Legend (#1766) 2023-07-05 14:39:39 +02:00
fonts update material fonts. 2021-07-03 17:44:46 -03:00
i18n track fiat value of payments (#1789) 2023-08-28 11:00:59 +01:00
images Remove LNTXbot files (#1921) 2023-09-11 12:35:56 +02:00
js [FEAT] Push notification integration into core (#1393) 2023-09-11 14:48:49 +01:00
scss CI adjustment - Pinkify Legend (#1766) 2023-07-05 14:39:39 +02:00
vendor FIX: qrcode scanner on legends, by updating the library (#1714) 2023-05-19 13:23:22 +01:00
bundle.min.css CI adjustment - Pinkify Legend (#1766) 2023-07-05 14:39:39 +02:00
bundle.min.js track fiat value of payments (#1789) 2023-08-28 11:00:59 +01:00
vendor.json Create cn.js (#1768) 2023-06-20 08:41:04 +02:00