stacker.news/pages
ekzyis ae73b0c19f
Support receiving via LNbits (#1278)
* Support receiving with LNbits

* Remove hardcoded LNbits url on server

* Fix saveConfig ignoring save errors

* saveConfig was meant to only ignore validation errors, not save errors
* on server save errors, we redirected as if save was successful
* this is now fixed with a promise chain
* logging payments vs receivals was also moved to correct place

* Fix enabled falsely disabled on SSR

If a wallet was configured for payments but not for receivals and you refreshed the configuration form, enabled was disabled even though payments were enabled.

This was the case since we don't know during SSR if it's enabled since this information is stored on the client.

* Fix missing 'receivals disabled' log message

* Move 'wallet detached for payments' log message

* Fix stale walletId during detach

If page was reloaded, walletId in clearConfig was stale since callback dependency was missing.

* Add missing callback dependencies for saveConfig

* Verify that invoiceKey != adminKey

* Verify LNbits keys are hex-encoded

* Fix local config polluted with server data

* Fix creation of duplicate wallets

* Remove unused dependency

* Fix missing error message in logs

* Fix setPriority

* Rename: localConfig -> clientConfig

* Add description to LNbits autowithdrawals

* Rename: receivals -> receives

* Use try/catch instead of promise chain in saveConfig

* add connect label to lnbits for no url found for lnbits

* Fix adminKey not saved

* Remove hardcoded LNbits url on server again

* Add LNbits ATTACH.md

* Delete old docs to attach LNbits with polar

* Add missing callback dependencies

* Set editable: false

* Only set readOnly if field is configured

---------

Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-08-12 17:23:39 -05:00
..
[name] backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
api Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
auth Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
invites backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
invoices Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
items/[id] improve UX of notifications 2024-07-11 16:59:07 -05:00
referrals fix typo 2024-07-11 11:55:19 -05:00
rewards new rewards banner 2024-07-10 19:59:05 -05:00
satistics Referral Rewards (#1262) 2024-07-10 19:23:05 -05:00
settings Support receiving via LNbits (#1278) 2024-08-12 17:23:39 -05:00
stackers chart skeletons 2024-03-25 15:35:32 -04:00
wallet Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
withdrawals Show preimage of confirmed withdrawals (#1106) 2024-04-25 19:33:24 -05:00
~ reintroduce daily rewards (#1134) 2024-05-01 09:30:36 -05:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
_document.js enhance navigation 2024-03-26 18:36:31 -05:00
_error.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
email.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
live.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
login.js add NEXT_PUBLIC_URL 2024-04-08 17:54:39 -05:00
notifications.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
offline.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
search.js search all territories by default + more intuitive search filters 2024-03-26 18:37:40 -05:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js enhance navigation 2024-03-26 18:36:31 -05:00
territory.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00