Commit Graph

958 Commits

Author SHA1 Message Date
Alex Gleason baf51230ba
debug: hono logger 2023-12-27 20:57:20 -06:00
Alex Gleason 7b9baef165
debug: streaming, simplify other logs 2023-12-27 20:39:38 -06:00
Alex Gleason 4e01e8e626
debug: more modules 2023-12-27 20:19:59 -06:00
Alex Gleason 2fc9988c06
reqmeister: middleware/cache, reqmeister, nip05, unfurl, refactor some code 2023-12-27 20:07:13 -06:00
Alex Gleason e121a8805e
debug: pool, db/events 2023-12-27 19:48:48 -06:00
Alex Gleason 52d39c7a56
debug: firehose, stats, sub 2023-12-27 19:35:06 -06:00
Alex Gleason c335deca74
vscode: add launch.json 2023-12-27 17:36:52 -06:00
Alex Gleason 375fe09cdf
Delete accidentally added file 2023-12-27 17:36:41 -06:00
Alex Gleason bf91d0393e
gitignore .cpuprofile files 2023-12-27 17:36:17 -06:00
Alex Gleason 667d00bbd0
debug: fetch.worker, sqlite.worker 2023-12-27 16:59:06 -06:00
Alex Gleason 520c35db60
Add `debug` library, adapt pipeline to it 2023-12-27 16:21:58 -06:00
Alex Gleason 8f414a9aee Merge branch 'threads' into 'main'
Reqmeister

See merge request soapbox-pub/ditto!84
2023-12-27 02:19:55 +00:00
Alex Gleason 59b9593191
Stop automatically cleaning up events 2023-12-26 16:38:21 -06:00
Alex Gleason e5e737faae
Reqmeister: add a jsdoc 2023-12-26 16:23:24 -06:00
Alex Gleason ed107e49fd
Move new libs into deps.ts 2023-12-26 13:31:23 -06:00
Alex Gleason 62675218ce
pipeline: trackRelatedEvents -> fetchRelatedEvents 2023-12-26 13:27:48 -06:00
Alex Gleason 04925a580b
Reqmeister: timeout -> signal 2023-12-23 11:16:18 -06:00
Alex Gleason 17cef2f186
Merge remote-tracking branch 'origin/main' into threads 2023-12-22 22:56:12 -06:00
Alex Gleason e768032446 Merge branch 'signal' into 'main'
Replace all timeouts with AbortSignal

See merge request soapbox-pub/ditto!83
2023-12-22 19:24:34 +00:00
Alex Gleason ad0aaf97dd
Replace all timeouts with AbortSignal 2023-12-22 10:47:47 -06:00
Alex Gleason 6d6e3bcecc
Move console.info from firehose to pipeline 2023-12-22 10:24:14 -06:00
Alex Gleason 58b12ae462
client: fix wrong import of allRelays 2023-12-22 10:23:48 -06:00
Alex Gleason acc133e8e2
Make Reqmeister work 2023-12-21 19:10:42 -06:00
Alex Gleason 4a32fe2c37
Add basic Reqmeister module 2023-12-21 14:56:21 -06:00
Alex Gleason 5ea9cc399f Merge branch 'nip11' into 'main'
NIP-11: fix pubkey field

See merge request soapbox-pub/ditto!82
2023-12-20 04:02:07 +00:00
Alex Gleason 3ae47ee865
NIP-11: fix pubkey field 2023-12-19 22:01:41 -06:00
Alex Gleason 5d53224a76 Merge branch 'nip11' into 'main'
Add NIP-11 support

See merge request soapbox-pub/ditto!81
2023-12-20 03:21:00 +00:00
Alex Gleason 26e64e781c
Add NIP-11 support 2023-12-19 21:15:41 -06:00
Alex Gleason b9e756de26
deps: remove Author from nostr-relaypool 2023-12-19 19:18:20 -06:00
Alex Gleason 107fe76fdf
Move the RelayPool to a worker thread 2023-12-17 14:55:59 -06:00
Alex Gleason 44689ac781 Merge branch 'deno-v1.39.0' into 'main'
Upgrade Deno to v1.39.0

See merge request soapbox-pub/ditto!77
2023-12-17 17:06:08 +00:00
Alex Gleason b32eaca17d
deno fmt 2023-12-17 11:03:40 -06:00
Alex Gleason 00745c4df4
Upgrade Deno to v1.39.0 2023-12-17 11:02:44 -06:00
Alex Gleason eec8432d50 Merge branch 'pool-log' into 'main'
Pool: log number of active relays to connect to

See merge request soapbox-pub/ditto!76
2023-12-17 17:01:16 +00:00
Alex Gleason cdfb21caa6
Pool: log number of active relays to connect to 2023-12-17 11:00:04 -06:00
Alex Gleason ddf1fce2b6 Merge branch 'author-rm-orderby' into 'main'
db/events: remove author orderBy clause

See merge request soapbox-pub/ditto!75
2023-12-11 20:47:15 +00:00
Alex Gleason 29d3b7bf89
db/events: remove author orderBy clause 2023-12-11 14:44:35 -06:00
Alex Gleason e91fbf7b50 Merge branch 'stats' into 'main'
Add a stats module

See merge request soapbox-pub/ditto!73
2023-12-11 00:00:01 +00:00
Alex Gleason 862ff74d7b
relays: don't automatically add crawled relays 2023-12-10 17:56:51 -06:00
Alex Gleason ff278487e8
Sentry: decrease tracesSampleRate to 0.2 2023-12-10 17:55:07 -06:00
Alex Gleason a32b0e7066
stats: clean up prev usage 2023-12-10 17:48:21 -06:00
Alex Gleason 4f79b7ec29
stats: handle follow/following counts 2023-12-10 17:42:44 -06:00
Alex Gleason 2d3f12dc72
stats: firstE -> firstTaggedId 2023-12-10 16:32:43 -06:00
Alex Gleason a5369d9826
Ensure relations are loaded throughout the API where needed 2023-12-10 16:21:18 -06:00
Alex Gleason 733b8ba9c5
pubkey_stats --> author_stats 2023-12-10 16:04:52 -06:00
Alex Gleason 07dc07ab71
Simplify author_stats relation 2023-12-10 15:54:31 -06:00
Alex Gleason 5415656b4d
Make author_stats and event_stats two separate keys on an event 2023-12-10 15:40:05 -06:00
Alex Gleason a48c1e51e1
stats: fix queries getting stuck 2023-12-10 15:33:01 -06:00
Alex Gleason 6a92c5135d
db/events: support 'stats' relation 2023-12-10 15:02:19 -06:00
Alex Gleason 21b6a02ff3
views: avoid counting directly in the view, take from the event object if it has it 2023-12-10 14:27:15 -06:00