19 Commits

Author SHA1 Message Date
Ricardo Arturo Cabral Mejía
6760ab0e10
feat!: remove nip-26 delegation support (#350)
BREAKING CHANGE: NIP-26 support has been removed. Delegated events will not be handled differently.
2024-01-12 13:12:04 -08:00
Kirino Minato
9bf0262cfc
feat(event_tags): Add event_tags table and migration script (#349) 2024-01-08 01:46:58 -05:00
Adithya Vardhan
f23740073f
feat: add LNURL processor (#202)
* feat: add new lnurl processor

* fix: lnbits issues

* fix: add default settings for lnurl processor

* fix: small changes

* fix: more changes

* fix: add verify url in upsert omit

* fix: change comment

* chore: add updateInvoiceStatus

* chore: revert lnbits change

* fix: changes
2023-03-06 08:34:38 -05:00
Ricardo Arturo Cabral Mejía
fd3294929a
fix: confirm invoice function ambiguous unit variable (#221)
* fix: dont crash when SECRET is not set

* docs: add semisol to contributors

* docs: improve readme

* docs: add payment info to readme

* docs: add zebedee_api_key to configuration.md

* fix: confirm_invoice unit var

* chore: remove unused code

* chore: improve error logging for payments

* chore: use  instead of changeme

* chore: fix typo

* chore: improve get invoice status ctrl

* fix: csp bug

* chore: remove rate limits

* chore: improve invoice page logging

* chore: prevent root with start_local

* chore: revert to redis 4.5.1
2023-02-20 09:15:45 -08:00
Semisol
2342386bb4
Add LNbits payment processor (#194)
* feat: add lnbits payment processor

* fix: add lnbits error logging and add lnbits config

* feat: use HMAC instead of IP whitelist for LNbits

also adds two utility functions and ensures the SECRET environment
variable is set.

* refactor: remove unnecessary comment

* fix(pay-to-relay/lnbits): compare by msat scaled amount

* fix: scale balance addition with invoice unit on confirm_invoice
2023-02-18 06:13:49 -08:00
Anton
2bbe798760
feat: NIP-40 (#148)
* feat: add method for checking if event is expired

* fix: tag length check

* feat: add method for expiration check

* feat: refactor event expiration

* fix: remove stale comment

* fix: remove unused method

* fix: upsert/insert tests

* fix: failing tests

* feat: add tests for event expiration

* feat: update test

* feat: add nip 40 to supportedNips

* chore: add expires_at column to events table

* chore: use uint for expires_at

---------

Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-03 16:10:49 -08:00
Ricardo Arturo Cabral Mejía
f9c53eeeb8 feat: massive update
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-02 00:19:26 -05:00
Ricardo Arturo Cabral Mejía
d1cdd9672a fix: remove dupe updated_at column from invoice 2023-02-02 00:19:26 -05:00
Ricardo Arturo Cabral Mejía
2618a4d2dc feat: add pay-to-relay 2023-02-02 00:19:26 -05:00
Ricardo Arturo Cabral Mejía
afbda707f8 chore: treat kind 41 as replaceable migration 2022-12-26 01:47:01 -05:00
Ricardo Arturo Cabral Mejia
55e47a22b1
fix: set deduplication for old replaceable evts 2022-11-08 23:52:36 -05:00
Ricardo Arturo Cabral Mejia
6b3c83fb92
feat: support parameterized replaceable evts 2022-11-08 23:52:31 -05:00
Ricardo Arturo Cabral Mejia
2618da3f97
chore: add deleted_at column migration 2022-10-18 23:11:31 -04:00
Ricardo Arturo Cabral Mejia
262e00ad53
feat: support nip-26 delegated event signing 2022-10-18 23:11:30 -04:00
Ricardo Arturo Cabral Mejia
b02c76c6d0
chore: add kind 3 to replaceable events migration 2022-10-18 23:11:29 -04:00
Ricardo Arturo Cabral Mejia
a7d8561bea
chore: stream events 2022-10-18 23:11:26 -04:00
Ricardo Arturo Cabral Mejia
81ffe277ce
feat: support #e, #p & generic tag search 2022-10-18 23:11:26 -04:00
Ricardo Arturo Cabral Mejia
b5987915b1
chore: refactor into adapter & handlers 2022-10-18 23:11:25 -04:00
Ricardo Arturo Cabral Mejia
6f26ac8fd6
feat: it is what it is 2022-10-18 23:11:24 -04:00