-
a0dff12ca0
pipeline: don't stream events older than 10 seconds
Alex Gleason
2023-08-24 17:26:46 -0500
-
f1c465beea
pipeline: optimize database calls
Alex Gleason
2023-08-24 17:00:08 -0500
-
658dd397f5
relay: respect "local: true" filter
Alex Gleason
2023-08-24 15:28:13 -0500
-
a676b71d23
relay: make Nostr streaming work
Alex Gleason
2023-08-23 23:25:38 -0500
-
-
0a4743b1cb
Merge branch 'create-event' into 'develop'
Alex Gleason
2023-08-20 03:27:34 +0000
-
-
bcfc3e2414
Use createEvent in more places
Alex Gleason
2023-08-19 22:25:45 -0500
-
-
a82ae40c43
db/events: don't add tags to query unless they exist
Alex Gleason
2023-08-19 15:26:41 -0500
-
19901eb828
scripts/relays: fix import
Alex Gleason
2023-08-19 15:07:57 -0500
-
98b6a4b222
Increase NIP-05 lookup timeout to 2s
Alex Gleason
2023-08-19 14:56:40 -0500
-
f198779ebe
Merge branch 'sync' into 'develop'
Alex Gleason
2023-08-19 19:09:09 +0000
-
-
f8e55d7f99
Merge branch 'follow' into 'develop'
Alex Gleason
2023-08-19 19:06:58 +0000
-
-
23928c0024
Move hono-related functions until utils/web
Alex Gleason
2023-08-19 14:05:08 -0500
-
eb4aebedd7
Sync the user on verify_credentials Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/11
Alex Gleason
2023-08-19 13:57:17 -0500
-
-
c08c801e71
Make following work
Alex Gleason
2023-08-19 13:34:35 -0500
-
-
1c1b6a80bf
Merge branch 'local-timeline' into 'develop'
Alex Gleason
2023-08-19 18:04:04 +0000
-
-
b087d08306
Make the local timeline correctly filter only local users
Alex Gleason
2023-08-19 13:01:05 -0500
-
c37dd2c2b5
db/events: skip undefined filter values
Alex Gleason
2023-08-19 12:59:22 -0500
-
fecd69bf8f
mixer: don't use the client pool for local filters
Alex Gleason
2023-08-19 12:38:20 -0500
-
05a7a773fe
getFilters: return immediately if filters are empty
Alex Gleason
2023-08-19 12:37:42 -0500
-
-
4a61ce26a9
Merge branch 'pipeline' into 'develop'
Alex Gleason
2023-08-18 03:25:04 +0000
-
-
719b703e7c
client: remove `publish` function, create statuses through pipeline
Alex Gleason
2023-08-17 20:54:11 -0500
-
0158a6979e
Publish events through pipeline
Alex Gleason
2023-08-17 20:45:50 -0500
-
85345bc157
firehose: catch pipeline crash
Alex Gleason
2023-08-17 20:28:23 -0500
-
0f70f5c76f
Add a RelayError class, improve relay error handling
Alex Gleason
2023-08-17 20:24:16 -0500
-
dc49c305bd
Move isLocallyFollowed to queries.ts
Alex Gleason
2023-08-17 19:32:05 -0500
-
2011ca6e1d
pipeline: remove redundant console.log
Alex Gleason
2023-08-17 18:08:05 -0500
-
45abaf14a4
pipeline: refactor, use pipeline from relay
Alex Gleason
2023-08-17 18:07:25 -0500
-
51881efde0
Push events from the client through the pipeline
Alex Gleason
2023-08-17 16:48:58 -0500
-
87c67c0a39
Add pipeline module
Alex Gleason
2023-08-17 16:47:22 -0500
-
-
3890df1a2d
Merge branch 'queries' into 'develop'
Alex Gleason
2023-08-17 20:44:12 +0000
-
-
299a1a0db0
Refactor some code that uses getFilters to import the whole module under a namespace
Alex Gleason
2023-08-17 15:41:27 -0500
-
4f9b5c1431
statusController: remove unnecessary "as Event"
Alex Gleason
2023-08-17 14:57:46 -0500
-
4f37a1b9f8
queries: don't unnecessarily sort things
Alex Gleason
2023-08-17 14:55:00 -0500
-
7330cd10e2
Refactor getEvent to take an opts object
Alex Gleason
2023-08-17 14:51:27 -0500
-
96a2c8b68a
Remove Deno.Kv, remove --unstable flag
Alex Gleason
2023-08-17 13:20:25 -0500
-
054a399f23
queries: reduce getFollows timeout to 1s
Alex Gleason
2023-08-17 13:19:36 -0500
-
c516f007a5
queries: remove unnecessary "as Event" assertions
Alex Gleason
2023-08-17 13:18:46 -0500
-
5a27d791e3
queries: make getFeed accept a pubkey instead of event3
Alex Gleason
2023-08-17 13:15:47 -0500
-
870a6f5261
Add queries module for getting events for certain application needs
Alex Gleason
2023-08-17 13:12:24 -0500
-
-
b1c5dd0e34
Merge branch 'db-filters-limit' into 'develop'
Alex Gleason
2023-08-17 03:15:57 +0000
-
-
a35bc1eef3
db/events: use opts.limit
Alex Gleason
2023-08-16 21:58:46 -0500
-
-
b185d54f8d
Merge branch 'event-type-refactor' into 'develop'
Alex Gleason
2023-08-17 02:55:42 +0000
-
-
18beccf067
Merge branch 'mixer' into 'develop'
Alex Gleason
2023-08-17 02:53:59 +0000
-
-
c15194020f
Delete event.ts, use nostr-tools types
Alex Gleason
2023-08-16 21:53:51 -0500
-
-
5515c40df3
Remove deprecated getFilter (singular) functions
Alex Gleason
2023-08-16 21:41:18 -0500
-
96641a6fa0
Move limit to GetFilterOpts
Alex Gleason
2023-08-16 21:38:21 -0500
-
bbaf1cb012
mixer: pass opts through to all getFilters functions
Alex Gleason
2023-08-16 21:21:29 -0500
-
d4721fb82d
Add mixer module to combine results from DB and pool
Alex Gleason
2023-08-16 16:12:27 -0500
-
59b7a3eed8
db/events: perform multiple filters with one union query, greatly simplify logic
Alex Gleason
2023-08-16 15:32:02 -0500
-
4602b85afe
db/events: remove unnecessary overloads
Alex Gleason
2023-08-16 12:57:02 -0500
-
8f45f3a7ad
Move DittoFilter to @/types.ts, refactor db/events query
Alex Gleason
2023-08-16 12:54:17 -0500
-
-
4580b921c4
Merge branch 'firehose' into 'develop'
Alex Gleason
2023-08-16 13:31:20 +0000
-
-
882a3fe203
Use only "active" relays in the pool
Alex Gleason
2023-08-16 08:28:52 -0500
-
a0769d7c92
db/relays: add `active` column
Alex Gleason
2023-08-15 19:07:26 -0500
-
92f5bea891
db/relays: add "domain" column
Alex Gleason
2023-08-15 18:59:49 -0500
-
2e983154bb
db/relays: reformat
Alex Gleason
2023-08-14 20:41:20 -0500
-
3da30553cb
firehose: accept kind 10002 events
Alex Gleason
2023-08-14 19:16:49 -0500
-
875fcfb09d
firehose: nown --> known
Alex Gleason
2023-08-14 19:01:56 -0500
-
45a3e2974e
firehose: expand criteria, improve logging
Alex Gleason
2023-08-14 19:01:28 -0500
-
b11677573b
db/relays: skip if values are empty
Alex Gleason
2023-08-14 19:00:54 -0500
-
e3ade42f58
Added script to populate relays from external source
Alex Gleason
2023-08-14 18:46:35 -0500
-
f13616a740
Bump kysely-deno-sqlite to v1.0.0 (no changes)
Alex Gleason
2023-08-14 18:27:30 -0500
-
3b4bfb1d90
Merge remote-tracking branch 'origin/develop' into firehose
Alex Gleason
2023-08-14 18:25:28 -0500
-
-
-
-
4839b775a9
Merge branch 'safe-fetch-1.0' into 'develop'
Alex Gleason
2023-08-14 23:15:23 +0000
-
-
6c944d40f1
Bump deno-safe-fetch to v1.0.0
Alex Gleason
2023-08-14 18:13:43 -0500
-
-
3a2722e190
Merge remote-tracking branch 'origin/develop' into firehose
Alex Gleason
2023-08-14 18:06:27 -0500
-
-
-
-
34020a6d95
Merge branch 'safe-fetch' into 'develop'
Alex Gleason
2023-08-14 23:05:03 +0000
-
-
1ed6fa54df
Use safeFetch implementation
Alex Gleason
2023-08-14 18:03:24 -0500
-
-
cd5cf96886
firehose: update comment
Alex Gleason
2023-08-14 15:39:21 -0500
-
16ba224124
Get rid of DITTO_RELAY, derive from LOCAL_DOMAIN
Alex Gleason
2023-08-14 14:40:30 -0500
-
78f638e633
Add relays to database and start tracking them
Alex Gleason
2023-08-14 14:11:28 -0500
-
4a47c25f1e
Add NIP-11 schema
Alex Gleason
2023-08-14 12:29:54 -0500
-
1b8bb78717
Rename loopback to firehose
Alex Gleason
2023-08-14 11:02:09 -0500
-
-
988a4e8c28
Merge branch 'develop' of gitlab.com:soapbox-pub/ditto into develop
Alex Gleason
2023-08-13 18:50:56 -0500
-
-
007f464d31
db/events: fix import order
Alex Gleason
2023-08-12 20:04:19 -0500
-
167a1e9fdb
Merge branch 'relay' into 'develop'
Alex Gleason
2023-08-13 00:51:34 +0000
-
-
-
-
9da4fb2bba
db/events: add comments
Alex Gleason
2023-08-12 15:45:58 -0500
-
4c8a685528
relay: allow local users to post to the relay
Alex Gleason
2023-08-12 15:24:33 -0500
-
a35ea6ab5d
relay: restrict to local events unless the filter is already narrow
Alex Gleason
2023-08-12 15:14:34 -0500
-
8e47c9dda2
relay: refactor into smaller functions
Alex Gleason
2023-08-12 15:07:07 -0500
-
b2f538ed94
Relay: improve types, DRY
Alex Gleason
2023-08-12 14:41:07 -0500
-
075da543b0
Make relay only return local events
Alex Gleason
2023-08-12 14:32:57 -0500
-
3593d5420d
Relay: limit to 100 events per filter
Alex Gleason
2023-08-12 14:01:30 -0500
-
b852111ec5
Fix getFilters overload order
Alex Gleason
2023-08-12 13:57:20 -0500
-
808e8941b6
Relay: make REQ work (doesn't stream yet)
Alex Gleason
2023-08-12 13:40:21 -0500
-
e2adc7ad1a
Remove unused MetaContent type
Alex Gleason
2023-08-12 11:49:33 -0500
-
e999d693d0
Rename hexIdSchema back to nostrIdSchema
Alex Gleason
2023-08-12 11:48:49 -0500
-
80775d8bf0
Move more Nostr schema stuff into schemas/nostr.ts
Alex Gleason
2023-08-12 11:48:11 -0500
-
893542cf58
Reorganize some nostr schema code
Alex Gleason
2023-08-12 11:28:16 -0500
-
1f470ffe2d
Add nostr schema for parsing filters
Alex Gleason
2023-08-11 19:55:16 -0500
-
-
6516997353
Merge branch 'kysely' into 'develop'
Alex Gleason
2023-08-11 18:19:01 +0000
-
-
9cca801c80
Order tag conditionals alphabetically, improve logic
Alex Gleason
2023-08-11 12:14:39 -0500
-
48343c8035
Add events test
Alex Gleason
2023-08-10 14:56:27 -0500
-
63772022cf
deno fmt
Alex Gleason
2023-08-10 14:56:14 -0500
-
5f37a68b9f
Bump std to v0.198.0
Alex Gleason
2023-08-10 14:08:47 -0500
-
d150268a1d
Upgrade Deno to v1.36.1
Alex Gleason
2023-08-10 14:08:09 -0500
-
14eb3cb43b
Let DB_PATH be configurable
Alex Gleason
2023-08-10 13:37:56 -0500
-
8ebd85b760
Improve tag indexing logic
Alex Gleason
2023-08-09 20:34:21 -0500
-
f127aa7406
Also track events from local users
Alex Gleason
2023-08-09 14:24:49 -0500
-
3b3947ea61
Only track events which are locally followed
Alex Gleason
2023-08-09 14:06:57 -0500