snyk-bot
4f663e10b2
fix: upgrade pg from 8.9.0 to 8.10.0
...
Snyk has created this PR to upgrade pg from 8.9.0 to 8.10.0.
See this package in npm:
https://www.npmjs.com/package/pg
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-04-16 20:19:02 +00:00
Ricardo Arturo Cabral Mejía
4cb21f50de
fix: invoice auto marked as paid
2023-04-16 10:16:10 -04:00
Ricardo Arturo Cabral Mejía
19bb2f92a8
chore: add support for multiple read replicas
2023-04-16 10:16:08 -04:00
Ricardo Arturo Cabral Mejía
5d8328fbc4
chore: dont log redis pw
2023-04-16 10:16:05 -04:00
HelloDarkness
56dd9e185f
Added directory check to start scripts ( #252 )
...
Fixes #218
2023-04-07 12:23:49 -07:00
Ricardo Arturo Cabral Mejía
e97da6283b
fix: upgrade body-parser from 1.20.1 to 1.20.2 ( #264 )
...
Snyk has created this PR to upgrade body-parser from 1.20.1 to 1.20.2.
See this package in npm:
https://www.npmjs.com/package/body-parser
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-04-07 12:23:13 -07:00
Snyk bot
f2ee5d63a5
fix: upgrade axios from 1.2.6 to 1.3.4 ( #266 )
...
Snyk has created this PR to upgrade axios from 1.2.6 to 1.3.4.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-04-07 12:22:24 -07:00
Ricardo Arturo Cabral Mejía
55867813b9
fix: upgrade joi from 17.7.0 to 17.8.4 ( #275 )
...
Snyk has created this PR to upgrade joi from 17.7.0 to 17.8.4.
See this package in npm:
https://www.npmjs.com/package/joi
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-04-07 12:20:30 -07:00
Ricardo Arturo Cabral Mejía
e1561e78fd
fix: issues with invoices ( #271 )
...
* fix: issues with invoices
* chore: add invoice event tag
* chore: add sub limits
* chore: cleanup invoices page
* chore: use mergeDeepLeft when updating invoice
* chore: ignore whitelisted pubkey for adminssion fee
* chore: use secp256k1 bytesToHex
* fix: insecure derivation from secret
* fix: tests
* chore: consistent returns
* test: fix intg tests
* fix: intg tests
* chore: set SECRET for intg tests
2023-04-07 09:48:28 -07: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
semantic-release-bot
d80342837a
chore(release): 1.22.6 [skip ci]
...
## [1.22.6](https://github.com/Cameri/nostream/compare/v1.22.5...v1.22.6 ) (2023-02-21)
### Bug Fixes
* rsv1 error ([#225 ](https://github.com/Cameri/nostream/issues/225 )) ([0954d84](0954d8426c
))
v1.22.6
2023-02-21 05:49:47 +00:00
Ricardo Arturo Cabral Mejía
0954d8426c
fix: rsv1 error ( #225 )
...
* chore: remove secret
* chore: allow lightningtipbot pubkey for zaps
* chore: add cloudflare remoteipheader
* chore: close client conn on error
* chore: terminate conn w/o subs
* chore: enable permessage-deflate
* fix: start logs
2023-02-20 21:37:55 -08:00
semantic-release-bot
6335496bf9
chore(release): 1.22.5 [skip ci]
...
## [1.22.5](https://github.com/Cameri/nostream/compare/v1.22.4...v1.22.5 ) (2023-02-20)
### Bug Fixes
* confirm invoice function ambiguous unit variable ([#221 ](https://github.com/Cameri/nostream/issues/221 )) ([fd32949](fd3294929a
))
* Dockerfile.test to reduce vulnerabilities ([#196 ](https://github.com/Cameri/nostream/issues/196 )) ([eac8c50](eac8c508ce
))
* upgrade axios from 1.2.4 to 1.2.5 ([#211 ](https://github.com/Cameri/nostream/issues/211 )) ([a390e29](a390e2922d
))
* upgrade axios from 1.2.5 to 1.2.6 ([#215 ](https://github.com/Cameri/nostream/issues/215 )) ([e99ac5d](e99ac5d02b
))
* upgrade pg from 8.8.0 to 8.9.0 ([#213 ](https://github.com/Cameri/nostream/issues/213 )) ([fe3726b](fe3726bc08
))
* upgrade pg-query-stream from 4.2.4 to 4.3.0 ([#214 ](https://github.com/Cameri/nostream/issues/214 )) ([9272389](927238980e
))
* upgrade redis from 4.5.1 to 4.6.2 ([#212 ](https://github.com/Cameri/nostream/issues/212 )) ([86e8818](86e8818917
))
v1.22.5
2023-02-20 17:21:49 +00: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
Snyk bot
e99ac5d02b
fix: upgrade axios from 1.2.5 to 1.2.6 ( #215 )
2023-02-19 22:43:05 -05: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
Ricardo Arturo Cabral Mejía
eac8c508ce
fix: Dockerfile.test to reduce vulnerabilities ( #196 )
2023-02-18 07:32:40 -05:00
Ricardo Arturo Cabral Mejía
a390e2922d
fix: upgrade axios from 1.2.4 to 1.2.5 ( #211 )
...
Snyk has created this PR to upgrade axios from 1.2.4 to 1.2.5.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-02-17 15:06:06 -08:00
Snyk bot
fe3726bc08
fix: upgrade pg from 8.8.0 to 8.9.0 ( #213 )
...
Snyk has created this PR to upgrade pg from 8.8.0 to 8.9.0.
See this package in npm:
https://www.npmjs.com/package/pg
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-17 14:19:39 -08:00
Benjamin Bolton
b559ffb07d
docs: Pre-load dotenv to load db env variables ( #186 )
2023-02-17 13:33:09 -08:00
Snyk bot
86e8818917
fix: upgrade redis from 4.5.1 to 4.6.2 ( #212 )
...
Snyk has created this PR to upgrade redis from 4.5.1 to 4.6.2.
See this package in npm:
https://www.npmjs.com/package/redis
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-02-17 13:21:30 -08:00
Snyk bot
927238980e
fix: upgrade pg-query-stream from 4.2.4 to 4.3.0 ( #214 )
...
Snyk has created this PR to upgrade pg-query-stream from 4.2.4 to 4.3.0.
See this package in npm:
https://www.npmjs.com/package/pg-query-stream
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-02-17 13:21:10 -08:00
semantic-release-bot
8727120f08
chore(release): 1.22.4 [skip ci]
...
## [1.22.4](https://github.com/Cameri/nostream/compare/v1.22.3...v1.22.4 ) (2023-02-15)
### Bug Fixes
* don't send expiration data to buff ([#207 ](https://github.com/Cameri/nostream/issues/207 )) ([7533288](7533288370
))
v1.22.4
2023-02-15 18:55:24 +00:00
Anton
7533288370
fix: don't send expiration data to buff ( #207 )
...
* fix: remove code casting string to buffer
2023-02-15 13:48:38 -05:00
Ricardo Arturo Cabral Mejía
b9a13c8868
chore: support nip-11a
2023-02-15 00:52:56 -05:00
semantic-release-bot
9f56750f49
chore(release): 1.22.3 [skip ci]
...
## [1.22.3](https://github.com/Cameri/nostream/compare/v1.22.2...v1.22.3 ) (2023-02-15)
### Bug Fixes
* bug unable confirm invoice ([#204 ](https://github.com/Cameri/nostream/issues/204 )) ([bcd072e](bcd072efcd
))
* upgrade axios from 1.2.3 to 1.2.4 ([#203 ](https://github.com/Cameri/nostream/issues/203 )) ([b7c9b95](b7c9b95411
))
* upgrade knex from 2.4.1 to 2.4.2 ([#200 ](https://github.com/Cameri/nostream/issues/200 )) ([d985658](d9856589e5
))
v1.22.3
2023-02-15 04:48:26 +00:00
Ricardo Arturo Cabral Mejía
bcd072efcd
fix: bug unable confirm invoice ( #204 )
...
* chore: confirm only if bolt11 is present
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
* fix: fix double invoice bug. thx mazin
* fix: fypo tix on default-settings
* fix: use correct dbname on knexfile
---------
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-14 20:41:09 -08:00
Ricardo Arturo Cabral Mejía
d9856589e5
fix: upgrade knex from 2.4.1 to 2.4.2 ( #200 )
...
Snyk has created this PR to upgrade knex from 2.4.1 to 2.4.2.
See this package in npm:
https://www.npmjs.com/package/knex
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-02-14 17:12:44 -08:00
Ricardo Arturo Cabral Mejía
b7c9b95411
fix: upgrade axios from 1.2.3 to 1.2.4 ( #203 )
...
Snyk has created this PR to upgrade axios from 1.2.3 to 1.2.4.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-02-14 16:14:29 -08:00
Ricardo Arturo Cabral Mejía
7897a18e24
chore(ci): build/push docker img on release
...
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-10 17:45:08 -05:00
semantic-release-bot
1722b0eaf1
chore(release): 1.22.2 [skip ci]
...
## [1.22.2](https://github.com/Cameri/nostream/compare/v1.22.1...v1.22.2 ) (2023-02-10)
### Bug Fixes
* instructions to run locally ([#188 ](https://github.com/Cameri/nostream/issues/188 )) ([202737c](202737c7b8
))
* upgrade axios from 1.2.2 to 1.2.3 ([#184 ](https://github.com/Cameri/nostream/issues/184 )) ([22b06b7](22b06b78e9
))
* upgrade knex from 2.4.0 to 2.4.1 ([#185 ](https://github.com/Cameri/nostream/issues/185 )) ([ff50681](ff50681aa2
))
v1.22.2
2023-02-10 20:59:41 +00:00
dependabot[bot]
a10fa3198c
chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 ( #187 )
...
Bumps [@sideway/formula](https://github.com/sideway/formula ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases )
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: "@sideway/formula"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 12:50:14 -08:00
kiwiidb
202737c7b8
fix: instructions to run locally ( #188 )
...
- I had to set `DB_USER` seperately for the DB migrations to run.
- I had top copy over the `settings.yaml` file because it wasn't created by default.
2023-02-10 12:48:32 -08:00
Ricardo Arturo Cabral Mejía
5f0fd2b9fd
chore: unbind db port
...
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-10 15:31:48 -05:00
Ricardo Arturo Cabral Mejía
2b61c403f8
chore: bind db to local ip
...
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-10 14:55:10 -05:00
Ricardo Arturo Cabral Mejía
41dcf5240c
chore: don't rate limit all endpoints ( #191 )
...
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-10 11:14:55 -08:00
Ricardo Arturo Cabral Mejía
ff50681aa2
fix: upgrade knex from 2.4.0 to 2.4.1 ( #185 )
...
Snyk has created this PR to upgrade knex from 2.4.0 to 2.4.1.
See this package in npm:
https://www.npmjs.com/package/knex
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-02-09 17:27:12 -08:00
Snyk bot
22b06b78e9
fix: upgrade axios from 1.2.2 to 1.2.3 ( #184 )
...
Snyk has created this PR to upgrade axios from 1.2.2 to 1.2.3.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/cameri/project/2f0c25a2-d08a-45e1-a6f4-84766cbed88d?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-02-09 17:26:43 -08:00
semantic-release-bot
49bc63c03d
chore(release): 1.22.1 [skip ci]
...
## [1.22.1](https://github.com/Cameri/nostream/compare/v1.22.0...v1.22.1 ) (2023-02-05)
### Bug Fixes
* Dockerfile.test to reduce vulnerabilities ([#170 ](https://github.com/Cameri/nostream/issues/170 )) ([a0dcc05](a0dcc05b56
))
* SettingsStatic class default to yaml file ([#158 ](https://github.com/Cameri/nostream/issues/158 )) ([7a4667c](7a4667c27f
))
* update supported nips in readme ([#164 ](https://github.com/Cameri/nostream/issues/164 )) ([a0ff972](a0ff972c49
))
v1.22.1
2023-02-05 05:21:33 +00:00
André Neves
59b79478f7
chore: adding paid nostr relay guide & andre contrib ( #169 )
...
As requested by @Cameri
* docs: fix paid relay guide link
* docs: more link fixes
---------
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-05 00:16:31 -05:00
Anton
7a4667c27f
fix: SettingsStatic class default to yaml file ( #158 )
...
* fix: default to yaml file
* fix: intg tests failing
* fix: disable watch settings on tests
* style: lix fint
---------
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-04 21:09:34 -08:00
Snyk bot
a0dcc05b56
fix: Dockerfile.test to reduce vulnerabilities ( #170 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035792
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035795
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3092932
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3092933
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3105822
2023-02-04 16:02:36 -08:00
Anton
a0ff972c49
fix: update supported nips in readme ( #164 )
...
* fix: update supported nips in readme
* fix: add new line after nip list
---------
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-04 11:18:45 -08:00
semantic-release-bot
e5ede41617
chore(release): 1.22.0 [skip ci]
...
# [1.22.0](https://github.com/Cameri/nostream/compare/v1.21.0...v1.22.0 ) (2023-02-04)
### Features
* support nip-111 ([#168 ](https://github.com/Cameri/nostream/issues/168 )) ([a7169b3](a7169b3569
))
v1.22.0
2023-02-04 19:00:52 +00:00
Ricardo Arturo Cabral Mejía
a7169b3569
feat: support nip-111 ( #168 )
...
* feat: support nip-111
* test: update schemas
2023-02-04 10:55:53 -08:00
semantic-release-bot
67ad1eb1d1
chore(release): 1.21.0 [skip ci]
...
# [1.21.0](https://github.com/Cameri/nostream/compare/v1.20.0...v1.21.0 ) (2023-02-04)
### Features
* Add health api endpoint or kind ([#166 ](https://github.com/Cameri/nostream/issues/166 )) ([bfcdac5](bfcdac51b0
))
v1.21.0
2023-02-04 07:15:16 +00:00
Ricardo Arturo Cabral Mejía
bfcdac51b0
feat: Add health api endpoint or kind ( #166 )
...
* feat: handle GET /healthz
* chore: simplify default settings
* chore: keep client alive on message
* chore: increase ws heartbeat timeout to 2min
* chore: improve logging during startup
* fix: zebedee callback crash on expired invoice
* fix: QR code csp error
* feat: add get-invoice-status-controller
* feat: add get-invoice-status-controller factory
* chore: refactor router
* feat: get invoice status using rest api
* fix: bad import
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
---------
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-03 23:02:01 -08:00
semantic-release-bot
3af69967e5
chore(release): 1.20.0 [skip ci]
...
# [1.20.0](https://github.com/Cameri/nostream/compare/v1.19.0...v1.20.0 ) (2023-02-04)
### Bug Fixes
* disable commitlint case rules ([b8c3536](b8c35364a7
))
* remove footer-max-line-length rule ([43186a0](43186a01e6
))
### Features
* added uri string for redis and postgres ([1475d65](1475d65b41
))
* NIP-40 ([#148 ](https://github.com/Cameri/nostream/issues/148 )) ([2bbe798](2bbe798760
))
v1.20.0
2023-02-04 01:47:24 +00:00
Ricardo Arturo Cabral Mejía
43186a01e6
fix: remove footer-max-line-length rule
2023-02-03 20:34:59 -05:00
Ricardo Arturo Cabral Mejía
b8c35364a7
fix: disable commitlint case rules
2023-02-03 19:17:38 -05:00