Ivan FB
b31c182325
chore: postres driver allow setting the max number of connection from a parameter ( #2246 )
...
* postres driver: allow setting the max number of connections from a parameter
2023-11-24 16:21:22 +01:00
Abhimanyu
a1ed517f9c
fix: extended Postgres code to support retention policy + refactoring ( #2244 )
...
* updated Postgres retention policy code + refactoring
* Update waku/waku_archive/driver/postgres_driver/postgres_driver.nim
Co-authored-by: Simon-Pierre Vivier <simvivier@status.im>
* updated code review changes
* data unit fixed, processing everything in bytes now
---------
Co-authored-by: Simon-Pierre Vivier <simvivier@status.im>
2023-11-24 15:43:47 +01:00
Prem Chaitanya Prathi
110de90ff6
fix: admin REST API to be enabled only if config is set ( #2218 )
2023-11-24 14:43:20 +05:30
Abhimanyu
aeb77a3e75
feat: Add new DB column `messageHash` ( #2202 )
...
* feat: added DB column messageHash
* feat: minor change
* feat: minor merge conflict fix
* Update test_resume.nim
* Update test_resume.nim
* randomblob() func used to populate attribute
* PRIMARY key updated - SQLite and Postgres
2023-11-22 17:32:56 +01:00
Abhimanyu
a22ee60494
chore: deterministic message hash algorithm updated ( #2233 )
...
* deterministic hash algorithm updated + testcases
* updated code review
2023-11-22 15:23:43 +01:00
gabrielmer
59ee3c69c8
chore(REST): returning lightpush support and updated filter protocol ( #2219 )
2023-11-22 10:56:23 +02:00
Ivan FB
c48accb513
waku_store: better response when the store is requested with wrong cursor ( #2231 )
2023-11-22 09:32:39 +01:00
Simon-Pierre Vivier
897f487978
chore: mics. improvements to cluster id and shards setup ( #2187 )
2023-11-21 15:15:39 -05:00
Alvaro Revuelta
51f36099d5
fix(rln): error in api when rate limit ( #2212 )
2023-11-21 19:24:31 +01:00
Ivan FB
c973b85069
peer_manager.nim: better feedback if can't dial peer with WakuMetadataCodec ( #2230 )
2023-11-21 14:54:45 +01:00
Aaryamann Challani
8c5666d200
chore: update docs for rln-keystore-generator ( #2210 )
2023-11-21 16:43:15 +03:00
Abhimanyu
9ff441ab47
chore: removing automatic vacuuming from retention policy code ( #2228 )
...
* retention policy and testcase updated
* removing dead code
* review updated code
2023-11-21 11:27:50 +01:00
Ivan FB
13fb7c2f74
group_manager.nim more except detail when cant connect eth client ( #2195 )
2023-11-20 23:25:55 +01:00
gabrielmer
ef8ffbdbd0
chore: decoupling announced and listen addresses ( #2203 )
2023-11-16 18:15:27 +02:00
Álex Cabeza Romero
c9e869fb29
fix(relay): Failing protocol tests ( #2224 )
...
* Fix failing relay protocol tests.
2023-11-16 16:18:50 +01:00
Álex Cabeza Romero
a5da1fc494
fix(tests): Compilation failure fix ( #2222 )
...
* Add missing required keywords.
2023-11-15 18:10:10 +01:00
Álex Cabeza Romero
bd25191a74
test(relay-filter): cleanup ( #2138 )
...
* Fix some tests.
* Clean legacy tests.
* Fix imports.
2023-11-15 16:15:38 +01:00
Álex Cabeza Romero
f5f431382b
test(waku-relay): Relay ( #2101 )
...
* Implement message id tests.
* Implement relay tests.
* Update import paths to use test_all.
2023-11-15 16:11:36 +01:00
gabrielmer
9c4fdac68e
chore(release): update changelog for v0.22.0 release ( #2216 )
2023-11-15 15:26:40 +02:00
Álex Cabeza Romero
85265e6c61
test(waku-filter): Unsubscribe tests ( #2085 )
...
* Implement unsubscribe waku filter tests.
* test(waku-filter): Unsubscribe all, payloads and security tests (#2095 )
* Implement waku node filter Security and Privacy tests (#2096 )
2023-11-15 10:26:01 +01:00
NagyZoltanPeter
6d81e3841a
chore: Allow text/plain content type descriptor for json formatted content body ( #2209 )
...
* Allow text/plain content type descriptor for json formatted content body. Refactored duplicated encode/decode functions for rest api
* Fix relay endpoint decodings of content bodies to accept text/plain
* Added support for content body decoder for checking media type if additional parameters are present
* Fix wrong usage of ContentTypeData - appeared only for tests
2023-11-14 16:59:53 +01:00
Vaclav Pavlin
2cb0989a28
fix(rest): properly check if rln is used ( #2205 )
...
* fix(rest): properly check if rln is used
* fix(apis): fix remaining usage of defined(rln)
2023-11-10 15:25:07 +01:00
Hanno Cornelius
a0ef3c2fbf
docs: rewrite for clarity, update screenshots ( #2206 )
...
* docs: rewrite for clarity, update screenshots
* docs: be less cavalier about private key, other improvements
* docs: missed some spots
* docs: move private key warning to beginning
2023-11-10 13:43:59 +00:00
gabrielmer
f74474b452
chore(release): update changelog for v0.21.3 release ( #2208 )
2023-11-09 16:07:29 +02:00
Aaryamann Challani
3498a84600
feat: rln-keystore-generator is now a subcommand ( #2189 )
2023-11-09 11:48:39 +02:00
Anton Iakimov
6dd2806359
fix: typo
2023-11-08 16:52:53 +01:00
Anton Iakimov
ea6200dd0c
ci: fix runtime available log level ( #2191 )
...
Closes: https://github.com/waku-org/nwaku/issues/2107
2023-11-08 12:54:55 +00:00
Abhimanyu
d7ef3ca192
Revert "feat: amending computeDigest func. + related test cases ( #2132 )" ( #2180 )
...
This reverts commit 1669f710ce
.
2023-11-08 01:41:23 +01:00
Ivan FB
6da1aeec53
chore: Optimize postgres - prepared statements in select ( #2182 )
...
* db_postgres: use prepared statements on most freq select queries
* db_postgres/dbconn.nim adding better feedback in case of query error
* dbconn: use of isOkOr
* pgasyncpool: refactor to reduce code (valueOr, catch:)
2023-11-07 13:38:37 +01:00
gabrielmer
d0a93e7c66
chore(release): update changelog for v0.21.2 release ( #2188 )
2023-11-07 14:17:31 +02:00
Alvaro Revuelta
b3de04057e
Add REST API Docs ( #2177 )
2023-11-07 10:56:22 +01:00
Simon-Pierre Vivier
200a11da09
feat(discv5): filter out peers without any listed capability ( #2186 )
2023-11-06 07:31:36 -05:00
gabrielmer
b9563ae0b5
chore: upgrade dependencies v0.22 ( #2185 )
2023-11-06 13:30:34 +02:00
Ivan FB
fa467e2462
fix: lightpush rest ( #2176 )
...
* rest/lightpush/handlers.nim: enhance feedback in case of error.
* lightpush/openapi.yaml: fix typo in pubsubTopic field.
2023-11-01 11:30:53 +01:00
Jakub Sokołowski
52759faa03
fix(ci): fix Docker tag for latest and release jobs
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-31 17:44:49 +01:00
Ivan FB
2b4ca4d0ff
chore: Optimize postgres - use of rowCallback approach ( #2171 )
...
* db_postgres, postgres_driver: better performance by using callback.
There were a bunch of milliseconds being lost due to multiple-row
processing. This commit aims to have the minimum possible row
process time.
* pgasyncpool: clarifying logic around pool conn management.
* db_postgres: removing duplicate code and more searchable proc names.
2023-10-31 14:46:46 +01:00
Simon-Pierre Vivier
bcf8e9630d
feat: metadata protocol shard subscription ( #2149 )
2023-10-30 16:58:15 -04:00
Alvaro Revuelta
250e8b983c
fix(rest): fix bug in rest api when sending rln message ( #2169 )
2023-10-30 16:19:49 +01:00
Alvaro Revuelta
f0f69b3235
chore(networking): lower dhigh to limit amplification factor ( #2168 )
2023-10-30 16:17:39 +01:00
Ivan FB
282c2e8107
chore: Minor Postgres optimizations ( #2166 )
...
* postgres_healthcheck: validate once per minute instead of 30 sec
* postgres_driver.nim: change MaxNumCons from 5 to 50
* postgres_driver.nim: split connPool into writeConPool and readConPool
This aims to avoid clashes in insert and select queries
because the inserts and selects can happen concurrently
in relay and store events, respectively.
2023-10-30 15:16:49 +01:00
gabrielmer
cc01bb075c
chore: adding patch release instructions to release doc ( #2157 )
2023-10-30 13:26:28 +02:00
Simon-Pierre Vivier
7ca516a5f8
feat: REST APIs discovery handlers ( #2109 )
2023-10-27 15:43:54 -04:00
NagyZoltanPeter
b8bcb1e74b
Pull new version of nim-presto that implements RestServer' new error handler callback ( #2144 )
...
Added rest request error handler to capture calls on not installed endpoints
better, more descriptive error message returned.
2023-10-27 16:31:57 +02:00
gabrielmer
f7b9afc26f
feat: implementing port 0 support ( #2125 )
2023-10-27 10:11:47 +03:00
gabrielmer
3be6163639
fix: updating v0.21.1 release date in changelog ( #2160 )
2023-10-26 11:59:44 +03:00
gabrielmer
b109a58314
chore(release): update changelog for v0.21.1 release ( #2155 )
2023-10-26 10:54:51 +03:00
Ivan FB
7f91ac76cc
Extend temporary pr images validity to 30 days ( #2158 )
2023-10-25 17:53:00 +02:00
gabrielmer
944dfdaa99
chore: adding ext-multiaddr-only CLI flag ( #2141 )
2023-10-24 18:39:25 +03:00
Abhimanyu
13aeebe46f
Revert "feat: messageHash attribute added in SQLite + testcase ( #2142 )" ( #2154 )
...
This reverts commit 9cd8c73d27
.
2023-10-24 16:05:39 +02:00
Abhimanyu
9cd8c73d27
feat: messageHash attribute added in SQLite + testcase ( #2142 )
...
* feat: messageHash attaribute added in SQLite + testcase
* Update tests/waku_archive/test_driver_sqlite_query.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2023-10-24 12:19:52 +02:00