Commit graph

1990 commits

Author SHA1 Message Date
P. Reis
b45eab64b5 ci: add code coverage 2024-07-15 19:05:28 -03:00
Alex Gleason
6fe034d55a
Bump version to v1.1.0 2024-07-15 08:11:25 -05:00
Alex Gleason
c2026a340a
Update CHANGELOG 2024-07-14 15:59:02 -05:00
Alex Gleason
4fa5517c58 Merge branch 'tweak-timeouts' into 'main'
Increase default database timeouts

See merge request soapbox-pub/ditto!420
2024-07-14 15:11:43 +00:00
Alex Gleason
a49e56f2a0
Increase default database timeouts 2024-07-14 10:10:26 -05:00
Alex Gleason
aac6505bf5 Merge branch 'deno-v1.45.2' into 'main'
Upgrade Deno to v1.45.2

See merge request soapbox-pub/ditto!419
2024-07-13 20:51:30 +00:00
Alex Gleason
46c3e52b98
Upgrade Deno to v1.45.2 2024-07-13 15:49:19 -05:00
Alex Gleason
39fdbc1acb
Delete scavenger.test.ts 2024-07-12 14:01:21 -05:00
Alex Gleason
d6b49b169d Merge branch 'timeouts-conf' into 'main'
Make database timeouts configurable

See merge request soapbox-pub/ditto!417
2024-07-12 18:53:07 +00:00
Alex Gleason
96fe8920cd
Make database timeouts configurable 2024-07-12 13:49:44 -05:00
Alex Gleason
d0d385682d Merge branch 'ws-limit' into 'main'
Rate-limit websocket endpoints

See merge request soapbox-pub/ditto!415
2024-07-11 22:11:56 +00:00
Alex Gleason
5c6479b3fe
Rate-limit messages to the relay 2024-07-11 17:10:05 -05:00
Alex Gleason
92061c267e
Merge remote-tracking branch 'origin/main' into ws-limit 2024-07-11 17:02:00 -05:00
Alex Gleason
c4b35d11c8 Merge branch 'deno-v1.45.0' into 'main'
Upgrade Deno to v1.45.0

See merge request soapbox-pub/ditto!414
2024-07-11 21:56:48 +00:00
Alex Gleason
6245200e21
Upgrade Deno to v1.45.0 2024-07-11 16:55:02 -05:00
Alex Gleason
b3067e64ee Merge branch 'e-tags' into 'main'
createStatusController: add relay hints

See merge request soapbox-pub/ditto!413
2024-07-06 23:25:41 +00:00
Alex Gleason
fa53dd7f8d
createStatusController: add relay hints
Fixes https://github.com/nostrability/nostrability/issues/52
2024-07-07 00:23:00 +01:00
Alex Gleason
ed067e541e Merge branch 'improve-errors' into 'main'
Improve signer timeout errors

See merge request soapbox-pub/ditto!412
2024-07-06 22:03:54 +00:00
Alex Gleason
842adfd72b
Improve signer timeout errors 2024-07-06 23:01:00 +01:00
Alex Gleason
155ca77074 Merge branch 'fix-not-being-able-to-post' into 'main'
Fix not being able to post

Closes #175

See merge request soapbox-pub/ditto!411
2024-07-06 19:52:33 +00:00
Alex Gleason
2167106577
Fix not being able to post 2024-07-06 20:50:39 +01:00
Alex Gleason
a9afe03a37 Merge branch 'metrics-resp' into 'main'
HTTP Response metrics

See merge request soapbox-pub/ditto!410
2024-07-04 23:11:12 +00:00
Alex Gleason
96a8ccb2e6
HTTP Response metrics 2024-07-05 00:07:59 +01:00
Alex Gleason
d4713cae01
Move errorHandler to a separate file 2024-07-04 23:53:20 +01:00
Alex Gleason
8923a5ee55 Merge branch 'eventsdb-no-ephemeral' into 'main'
EventsDB: remove queries for ephemeral kinds

See merge request soapbox-pub/ditto!409
2024-07-04 22:40:17 +00:00
Alex Gleason
193dd1a011
EventsDB: remove queries for ephemeral kinds 2024-07-04 23:38:16 +01:00
Alex Gleason
5addf58a10 Merge branch 'handle-timeout-error' into 'main'
Handle timeout error in Hono app.onError() function & send custom error messages in /relay

See merge request soapbox-pub/ditto!407
2024-07-02 21:45:12 +00:00
P. Reis
ba29035413 refactor: put conditional into just one line 2024-07-02 18:43:28 -03:00
P. Reis
d3c3ecfd35 test(EventsDB): refactor to use RelayError instead of Error 2024-07-02 18:40:21 -03:00
P. Reis
e169749b82 refactor(EventsDB): throw RelayError instead of Error 2024-07-02 18:39:55 -03:00
P. Reis
2d017e8102 refactor(relay): remove invalid filter condition 2024-07-02 18:39:22 -03:00
P. Reis
a868512188 refactor: error messages in app.onError() 2024-07-02 18:38:16 -03:00
P. Reis
1731e7dac9 Merge branch 'main' into handle-timeout-error
(((updating local branch)))
2024-07-02 17:31:36 -03:00
P. Reis
360efe089d test(EventsDB): throw error for large since, until and kinds filter 2024-07-02 17:31:12 -03:00
P. Reis
cac5c9c1e0 refactor: change timeout error message 2024-07-02 17:17:29 -03:00
P. Reis
e6c38550c6 feat: add onError() function hono handler 2024-07-02 17:15:47 -03:00
P. Reis
a7f2fb06ee feat(relay): send custom error messages - since, until & kind 2024-07-02 17:09:17 -03:00
Alex Gleason
3e7bab538a
Increase timeout for account statuses endpoint and feed endpoints 2024-07-02 20:13:44 +01:00
Alex Gleason
c7092f5d2d
Increase query timeout of feeds 2024-07-02 09:22:59 +01:00
Alex Gleason
fd769c125c Merge branch 'zapped-by-pagination-sort-amount' into 'main'
zapped_by: add pagination & sort amount

Closes #159

See merge request soapbox-pub/ditto!394
2024-07-02 05:17:11 +00:00
Alex Gleason
4c257fa529 Merge branch 'timeouts' into 'main'
Add query timeouts

See merge request soapbox-pub/ditto!403
2024-07-02 05:16:09 +00:00
Alex Gleason
137e2eae52 Merge branch 'nostr-pull-improvements' into 'main'
improvements to nostr:pull script

See merge request soapbox-pub/ditto!406
2024-07-02 03:19:21 +00:00
Siddharth Singh
757e5c9baa
print name as import acknowledgement 2024-07-02 05:21:16 +05:30
Siddharth Singh
d2df6721bd
fix kind 1 querying logic 2024-07-02 05:01:16 +05:30
Siddharth Singh
f1e9eb4f4c
fetch each author's notes separately 2024-07-02 04:58:06 +05:30
Siddharth Singh
5f0b1ffe79
fetch profiles separately from notes 2024-07-02 04:56:38 +05:30
Alex Gleason
ae687bb525
Increase timeouts 2024-07-01 23:05:03 +01:00
Alex Gleason
3ae6d39ebc
Increase notifications endpoint timeout 2024-07-01 20:29:06 +01:00
Alex Gleason
4e150edb5b
Actually enable query timeouts 🤦 2024-07-01 19:48:28 +01:00
Alex Gleason
a00db2f4c1 Merge branch 'script-import-user' into 'main'
deno task db:import

See merge request soapbox-pub/ditto!405
2024-07-01 17:54:18 +00:00