stacker.news/pages/api
SatsAllDay 3acaee377b
LUD-18 Service Support (#518)
* first pass of LUD-18 support

* Various LUD-18 updates

* don't cache the well-known response, since it includes randomly generated single use values

* validate k1 from well-known response to pay URL

* only keep k1's for 10 minutes if they go unused

* fix validation logic to make auth object optional

* Various LUD18 updates

* move k1 cache to database

* store payer data in invoice db table

* show payer data in invoices on satistics page

* show comments and payer data on invoice page

* Show lud18 data in invoice notification

* PayerData component for easier display of info in invoice, notification, wallet history

* `payerData` -> `invoicePayerData` in fact schema

* Merge prisma migrations

* lint fixes

* worker job to clear out unused lnurlp requests after 30 minutes

* More linting

* Move migration to older

* WIP review

* enhance lud-18

* refine notification ui

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-10-03 14:35:53 -05:00
..
auth remove slashtags completely 2023-08-17 13:40:21 -05:00
capture Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
lnurlp/[username] LUD-18 Service Support (#518) 2023-10-03 14:35:53 -05:00
log Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
nostr allow nip05 for users 2023-01-06 18:53:29 -06:00
ots upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
daily.js update daily permalink 2023-09-12 20:21:16 -05:00
graphql.js remove slashtags temporarily 2023-08-16 19:49:00 -05:00
lnauth.js fix issues with new linting 2023-07-25 09:14:45 -05:00
lnwith.js Fix negative maxWithdrawable (#438) 2023-08-23 15:32:42 -05:00
site.webmanifest.js Remove orientation from manifest (#483) 2023-09-11 14:58:41 -05:00
web-app-origin-association.js Make the web manifest dynamic to incorporate preferred color scheme (#398) 2023-08-15 12:58:27 -05:00