389 Commits

Author SHA1 Message Date
Ricardo Arturo Cabral Mejía
ff9b87f8d6 feat: rate limit msgs/events, send command results 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
a46fcc64ce feat: add msg/event rate limit to settings 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
59c6f806cb chore: add redis to docker compose files 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
bd79c938eb feat: add cache client 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
42083a2f98 feat: add sliding window rate limiter 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
6235e1aeed chore: debug log http request headers 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
15bf0cf6ee feat: add redis-adapter 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
35915c3ecf chore: ignore .dccache & .DS_Store 2022-11-15 21:17:20 -05:00
Ricardo Arturo Cabral Mejía
0ae5d3665c chore: install redis 2022-11-15 21:17:20 -05:00
semantic-release-bot
6c432aac0a chore(release): 1.7.6 [skip ci]
## [1.7.6](https://github.com/Cameri/nostr-ts-relay/compare/v1.7.5...v1.7.6) (2022-11-15)

### Bug Fixes

* upgrade joi from 17.6.3 to 17.6.4 ([a04f5be](a04f5bed8a))
* upgrade ws from 8.9.0 to 8.10.0 ([d05455b](d05455bb8a))
v1.7.6
2022-11-15 13:38:05 +00:00
snyk-bot
d05455bb8a fix: upgrade ws from 8.9.0 to 8.10.0
Snyk has created this PR to upgrade ws from 8.9.0 to 8.10.0.

See this package in npm:
https://www.npmjs.com/package/ws

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
2022-11-14 21:45:22 -05:00
snyk-bot
a04f5bed8a fix: upgrade joi from 17.6.3 to 17.6.4
Snyk has created this PR to upgrade joi from 17.6.3 to 17.6.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
2022-11-13 16:45:45 -05:00
Ricardo Arturo Cabral Mejía
46f7fa7068
chore(ci): deploy after release (#55) 2022-11-12 11:46:30 -08:00
Ricardo Arturo Cabral Mejía
0c5c9a1e8f
chore(ci): require approval for releases 2022-11-12 07:43:15 -05:00
semantic-release-bot
9335e38b37 chore(release): 1.7.5 [skip ci]
## [1.7.5](https://github.com/Cameri/nostr-ts-relay/compare/v1.7.4...v1.7.5) (2022-11-12)

### Bug Fixes

* use utf8 instead of utf-8 for ws messages ([4dc2405](4dc2405317))
v1.7.5
2022-11-12 12:40:28 +00:00
Ricardo Arturo Cabral Mejía
4dc2405317
fix: use utf8 instead of utf-8 for ws messages 2022-11-12 07:17:56 -05:00
semantic-release-bot
4b58bc7861 chore(release): 1.7.4 [skip ci]
## [1.7.4](https://github.com/Cameri/nostr-ts-relay/compare/v1.7.3...v1.7.4) (2022-11-12)

### Bug Fixes

* upgrade pg-query-stream from 4.2.3 to 4.2.4 ([b9fa058](b9fa0581b5))
v1.7.4
2022-11-12 02:46:10 +00:00
snyk-bot
b9fa0581b5 fix: upgrade pg-query-stream from 4.2.3 to 4.2.4
Snyk has created this PR to upgrade pg-query-stream from 4.2.3 to 4.2.4.

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
2022-11-11 21:42:08 -05:00
semantic-release-bot
bc47c182ca chore(release): 1.7.3 [skip ci]
## [1.7.3](https://github.com/Cameri/nostr-ts-relay/compare/v1.7.2...v1.7.3) (2022-11-12)

### Bug Fixes

* upgrade joi from 17.6.1 to 17.6.3 ([d7ab236](d7ab23624e))
v1.7.3
2022-11-12 02:40:43 +00:00
snyk-bot
d7ab23624e fix: upgrade joi from 17.6.1 to 17.6.3
Snyk has created this PR to upgrade joi from 17.6.1 to 17.6.3.

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
2022-11-11 21:37:25 -05:00
semantic-release-bot
5126c3d1f4 chore(release): 1.7.2 [skip ci]
## [1.7.2](https://github.com/Cameri/nostr-ts-relay/compare/v1.7.1...v1.7.2) (2022-11-12)

### Bug Fixes

* integration tests failing ([90d8b94](90d8b94194))
v1.7.2
2022-11-12 02:18:55 +00:00
Ricardo Arturo Cabral Mejía
fb9de12f65 chore(ci): fail checks if intg tests fail 2022-11-11 21:00:14 -05:00
Ricardo Arturo Cabral Mejía
f4fb0bb6ae chore(ci): remove environment from tests step 2022-11-11 21:00:14 -05:00
Ricardo Arturo Cabral Mejía
90d8b94194 fix: integration tests failing 2022-11-11 21:00:14 -05:00
Saransh Sharma
cc6ffe9120 Config Update 2022-11-11 14:47:59 -05:00
Saransh Sharma
b87d91cfc5 Dockerfile Additiong 2022-11-11 14:47:59 -05:00
Saransh Sharma
855140d750 Deploy on Railway 2022-11-11 14:47:59 -05:00
Saransh Sharma
e476a10ad3 Docker File and Port Settings for the Railway App 2022-11-11 14:47:59 -05:00
Ricardo Arturo Cabral Mejía
e50b4952b6 test: add unit test for factories 2022-11-10 23:36:48 -05:00
Ricardo Arturo Cabral Mejía
9cea3bec4e
chore: remove extra tag from intg test 2022-11-10 09:05:14 -05:00
Ricardo Arturo Cabral Mejía
7d5188c366
test: add parameterized replaceable evts unit test 2022-11-10 09:05:14 -05:00
semantic-release-bot
8cf3069a8b
chore(release): 1.7.1 [skip ci]
## [1.7.1](https://github.com/Cameri/nostr-ts-relay/compare/v1.7.0...v1.7.1) (2022-11-09)

### Bug Fixes

* set deduplication for old replaceable evts ([d23d4fa](d23d4fa275))
* treat kind 0 and 3 as replaceable events ([feaae03](feaae03604))
v1.7.1
2022-11-08 23:52:38 -05:00
Ricardo Arturo Cabral Mejia
41181368b3
chore: update package json on release 2022-11-08 23:52:38 -05:00
Ricardo Arturo Cabral Mejia
0355e27f47
chore: add @semantic-release/git 2022-11-08 23:52:37 -05:00
Ricardo Arturo Cabral Mejia
130aba8af0
test: simplify ephemeral event intg test 2022-11-08 23:52:37 -05:00
Ricardo Arturo Cabral Mejia
c24e6dae71
chore: do not expose relay ports on tests 2022-11-08 23:52:37 -05:00
Ricardo Arturo Cabral Mejia
716d05cfcd
chore: cleanup orphaned docker imgs 2022-11-08 23:52:37 -05:00
Ricardo Arturo Cabral Mejia
939d86477f
chore: add banner 2022-11-08 23:52:36 -05:00
Ricardo Arturo Cabral Mejia
50858ebeba
test: intg tests for replaceable/ephemeral events 2022-11-08 23:52:36 -05:00
Ricardo Arturo Cabral Mejia
7a615a99be
fix: treat kind 0 and 3 as replaceable events 2022-11-08 23:52:36 -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
d563d3d7ed
docs: add top language badge 2022-11-08 23:52:35 -05:00
Ricardo Arturo Cabral Mejia
874d39b9a7
chore: reduce heartbeat logging 2022-11-08 23:52:35 -05:00
Ricardo Arturo Cabral Mejia
502d56d648
docs(README): add steps to run over Tor 2022-11-08 23:52:35 -05:00
Ricardo Arturo Cabral Mejia
cf4888e28f
feat: expose relay over Tor 2022-11-08 23:52:35 -05:00
Ricardo Arturo Cabral Mejia
0a3120cef9
chore(ci): dont send asset when posting to tg 2022-11-08 23:52:34 -05:00
Ricardo Arturo Cabral Mejia
215b9f6f61
docs: add release tag 2022-11-08 23:52:34 -05:00
Ricardo Arturo Cabral Mejia
bdfd62d915
chore(ci): install conventionalcommits 2022-11-08 23:52:34 -05:00
Ricardo Arturo Cabral Mejia
3a98821ecc
chore(ci): add telegram secrets to release 2022-11-08 23:52:34 -05:00
Ricardo Arturo Cabral Mejia
bf81cdd763
chore(ci): install deps on release job 2022-11-08 23:52:33 -05:00