Commit Graph

1688 Commits

Author SHA1 Message Date
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
Alex Gleason 3147496d78
Merge remote-tracking branch 'origin/main' into stats 2023-12-10 14:05:14 -06:00
Alex Gleason 8b03d492a1
stats: add migration for stats tables 2023-12-10 14:04:26 -06:00
Alex Gleason 0f10a7c3a2
stats: refactor inReplyToId 2023-12-10 13:58:35 -06:00
Alex Gleason 7167553afe
stats: switch to a system based on diff tuples 2023-12-10 13:53:51 -06:00
Alex Gleason a8944dd7ea
stats: support multiple values 2023-12-10 13:12:35 -06:00
Alex Gleason eca923d7c8
stats: make the logic kind of make sense 2023-12-10 11:43:41 -06:00
Alex Gleason bababe56f3
stats: update note count 2023-12-10 11:10:11 -06:00
Alex Gleason 2ab7616795
Upgrade Deno to v1.38.5 2023-12-10 10:47:13 -06:00
Alex Gleason 0724a2744f Merge branch 'event-relations' into 'main'
Event relations (authors)

See merge request soapbox-pub/ditto!70
2023-12-08 01:47:24 +00:00
Alex Gleason de9fecaf65
Add a stats module (draft) 2023-12-07 18:49:10 -06:00
Alex Gleason 2157822c7f Merge branch 'sentry-queries' into 'main'
Track queries with Sentry

See merge request soapbox-pub/ditto!71
2023-12-07 18:25:22 +00:00
Alex Gleason c532f54ea6
Track queries with Sentry 2023-12-07 12:09:04 -06:00
Alex Gleason f50a78f978
db/events: don't return `author` unless it exists 2023-12-06 13:06:13 -06:00
Alex Gleason a6947441fc
renderStatus: don't fetch the author, expect it to be passed in 2023-12-06 12:04:24 -06:00
Alex Gleason 7d2813b214
extra --> relations, move it back to a filter option 2023-12-05 22:06:27 -06:00
Alex Gleason 22b1d730eb
with --> extra 2023-12-05 19:42:30 -06:00
Alex Gleason 8b4621ddfb
Merge remote-tracking branch 'origin/main' into with_authors 2023-12-05 19:18:53 -06:00
Alex Gleason 709675754c Merge branch 'limit-fix' into 'main'
db/events: fix `limit` not being applied correctly

See merge request soapbox-pub/ditto!69
2023-12-06 00:32:33 +00:00
Alex Gleason a6bf5f47cd
db/events: fix `limit` not being applied correctly 2023-12-05 18:22:12 -06:00
Alex Gleason 2478545cd3
with_authors --> with: With[] 2023-12-05 17:27:52 -06:00