Alex Gleason
|
b8d01ea3de
|
hydrateEvents: use filters to find events in memory
|
2024-04-23 21:10:21 -05:00 |
|
Alex Gleason
|
a1423bbf65
|
Fix hydrateEvents, lol
|
2024-04-23 20:11:07 -05:00 |
|
Alex Gleason
|
191b370c85
|
hydrate.test: remove unnecessary boilerplate
|
2024-04-23 19:50:23 -05:00 |
|
Alex Gleason
|
0aab3eb775
|
Rewrite hydrateEvents
|
2024-04-23 19:31:48 -05:00 |
|
P. Reis
|
58d75d1939
|
fix: hydrate events stats and author stats with filter by kind
|
2024-04-23 17:19:34 -03:00 |
|
P. Reis
|
5fca482e5c
|
refactor(hydrate events): change array to Map
|
2024-04-23 17:04:05 -03:00 |
|
P. Reis
|
7a12e5ec7b
|
test: rough adapt tests for new performance hydratation
|
2024-04-22 22:15:41 -03:00 |
|
P. Reis
|
062e21e8a8
|
test: remove 'hydrate quote repost WITHOUT hydrate author'
|
2024-04-22 22:15:41 -03:00 |
|
P. Reis
|
b77c8a00cd
|
perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions
|
2024-04-22 22:15:36 -03:00 |
|
Alex Gleason
|
9ccf6bbea0
|
Mold the things to work with Postgres
|
2024-04-19 20:52:42 -05:00 |
|
Alex Gleason
|
b87a59c521
|
Merge remote-tracking branch 'origin/main' into postgres
|
2024-04-19 18:32:02 -05:00 |
|
Alex Gleason
|
9c91e41e87
|
Switch NSpec to Nostrify, update imports
|
2024-04-19 16:39:35 -05:00 |
|
Alex Gleason
|
3753648f99
|
Use new DittoDB module, rename old interface to DittoTables
|
2024-04-19 12:26:15 -05:00 |
|
P. Reis
|
ae5fe1e0ac
|
fix: hydrate event_stats in hydrateRepostEvents()
|
2024-04-19 10:23:34 -03:00 |
|
P. Reis
|
7dd6378717
|
test: improv code coverage in quote repost hydration
|
2024-04-18 11:30:49 -03:00 |
|
P. Reis
|
a00a932ec1
|
refactor: deno fmt in hydrate test
|
2024-04-16 13:53:00 -03:00 |
|
P. Reis
|
ed92001b75
|
test: fix so copied object is used instead of original object
|
2024-04-16 13:41:32 -03:00 |
|
P. Reis
|
3219b53682
|
test: add test for hydrate quote repost without author & fix tests' parallelism problem
|
2024-04-16 13:25:43 -03:00 |
|
P. Reis
|
4a9232faf7
|
test: add test for hydrate quote repost
|
2024-04-16 09:31:03 -03:00 |
|
P. Reis
|
d5007162e4
|
refactor(hydrate): remove empty lines
|
2024-04-15 17:25:18 -03:00 |
|
P. Reis
|
a993051439
|
refactor: pass abort signal in hydrateRepostEvents
|
2024-04-15 17:19:37 -03:00 |
|
P. Reis
|
6248272243
|
feat: add quote repost
|
2024-04-15 17:19:37 -03:00 |
|
P. Reis
|
e77fd7d48b
|
refactor: hydrate authors through hydrateEvents() call
|
2024-04-15 10:49:10 -03:00 |
|
P. Reis
|
b9c1d0c5fb
|
refactor(hydrate test): cast event as DittoEvent instead of any
|
2024-04-14 22:44:37 -03:00 |
|
P. Reis
|
b79f8bef30
|
test: add test for hydrate repost
|
2024-04-14 21:02:57 -03:00 |
|
P. Reis
|
dd53a111db
|
test: add test to hydrate authors
|
2024-04-14 19:03:38 -03:00 |
|
P. Reis
|
f9831ba74a
|
refactor(events-db-test): resolve import specifier via the active import map
|
2024-04-14 10:32:22 -03:00 |
|
P. Reis
|
37bee709cd
|
perf: hydrate repost events in reblog endpoint & streaming
|
2024-04-13 18:16:15 -03:00 |
|
P. Reis
|
24efca5ea0
|
perf: hydrate repost event in home timeline
|
2024-04-12 21:51:57 -03:00 |
|
Alex Gleason
|
c0c586b364
|
Add last_updated_at column to pubkey_domains
|
2024-04-05 21:48:59 -05:00 |
|
Alex Gleason
|
d577c51c74
|
PoolStore: don't publish to own relay
|
2024-04-02 19:36:40 -05:00 |
|
Alex Gleason
|
4e54589c09
|
Deliver API events to outbox relays
|
2024-04-02 18:29:26 -05:00 |
|
Alex Gleason
|
957a82ce51
|
hydrateEvents: handle hydrating users
|
2024-03-30 23:39:06 -05:00 |
|
Alex Gleason
|
a106218439
|
hydrateEvents: restore stats
|
2024-03-30 17:44:17 -05:00 |
|
Alex Gleason
|
a3201f4f33
|
hydrateEvents: in -> of
|
2024-03-30 16:30:48 -05:00 |
|
Alex Gleason
|
4dfd958718
|
hydrateEvents: refactor a separate hydrateAuthors function
|
2024-03-30 16:12:48 -05:00 |
|
Alex Gleason
|
0fde577149
|
EventsDB: fix the tag queries bug, DVM: remove unnecessary conditional
|
2024-03-26 21:42:17 -05:00 |
|
Alex Gleason
|
cfc2f02104
|
EventsDB: expandFilters, greatly speed up domain timelines
Fixes: https://gitlab.com/soapbox-pub/ditto/-/issues/80
|
2024-03-22 17:55:22 -05:00 |
|
Alex Gleason
|
c3adafa860
|
EventsDB: use a subquery instead of a join
|
2024-03-21 19:22:40 -05:00 |
|
Alex Gleason
|
dcd0728b19
|
EventsDB: fix domain test
|
2024-03-20 11:56:30 -05:00 |
|
Alex Gleason
|
c8b378ad10
|
Remove DittoFilter, use search instead of local
|
2024-03-20 11:34:04 -05:00 |
|
Alex Gleason
|
d17d4c846f
|
EventsDB: allow searching by domain
|
2024-03-19 22:53:06 -05:00 |
|
Alex Gleason
|
245cb43771
|
EventsDB: parse nip50 extensions
|
2024-03-19 22:46:54 -05:00 |
|
Alex Gleason
|
d9056f66c6
|
SearchStore: switch to nspec NRelay1
|
2024-03-17 15:44:49 -05:00 |
|
Alex Gleason
|
04cdbd11c9
|
purifyEvent: function signature
|
2024-03-16 13:19:39 -05:00 |
|
Alex Gleason
|
09369a0122
|
hydrateEvent -> purifyEvent (it sounds cooler)
|
2024-03-16 13:19:11 -05:00 |
|
Alex Gleason
|
8b9566d79b
|
Remove relations filters, switch some stuff to use optimizer (requires bravery)
|
2024-03-06 12:55:02 -06:00 |
|
Alex Gleason
|
1499f9b417
|
Try hydrating timelines in a separate query instead of using relations
|
2024-03-05 14:26:38 -06:00 |
|
Alex Gleason
|
7eaa652ae9
|
Fix EventsDB tests
|
2024-03-02 21:46:23 -06:00 |
|
Alex Gleason
|
e4f53b3936
|
Soft-delete events
|
2024-03-02 21:11:45 -06:00 |
|