Alex Gleason
|
c0c586b364
|
Add last_updated_at column to pubkey_domains
|
2024-04-05 21:48:59 -05:00 |
Alex Gleason
|
9842b1aedd
|
Remove username from user events
|
2024-03-27 18:11:07 -05:00 |
Alex Gleason
|
f2db6c50b8
|
pubkey_domains `domain` cannot be null
|
2024-03-20 13:21:34 -05:00 |
Alex Gleason
|
e2cc6132be
|
Track pubkey domains
|
2024-03-19 17:45:19 -05:00 |
Alex Gleason
|
2972cb4b6d
|
Add event stats indexes
|
2024-03-02 21:20:43 -06:00 |
Alex Gleason
|
e4f53b3936
|
Soft-delete events
|
2024-03-02 21:11:45 -06:00 |
Alex Gleason
|
96b5ecc435
|
Fix dropIndex calls
|
2024-03-02 19:23:28 -06:00 |
Alex Gleason
|
19adb3ab44
|
Use composite index for tags
|
2024-03-02 19:21:48 -06:00 |
Alex Gleason
|
dffa70e2fe
|
Add missing index on kind-pubkey-created_at
|
2024-03-02 17:57:43 -06:00 |
Alex Gleason
|
59d53c4a2f
|
Add APISigner and AdminSigner classes, implement NostrSigner interface
|
2024-02-12 11:52:05 -06:00 |
Alex Gleason
|
5b24b7ad39
|
Pass Request signal down from API controllers
|
2024-01-23 15:58:59 -06:00 |
Alex Gleason
|
c6062874bd
|
Implement NStore interface from NLib
|
2024-01-23 14:06:51 -06:00 |
Alex Gleason
|
aaf01462c1
|
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent
|
2024-01-23 12:07:22 -06:00 |
Alex Gleason
|
937ae1eab6
|
Refactor EventStore to use a more Set-like interface
|
2024-01-08 15:18:01 -06:00 |
Alex Gleason
|
b3e4b79439
|
Delete db/events.ts, db/memorelay.ts, move to @/storages.ts
|
2024-01-03 21:56:41 -06:00 |
Alex Gleason
|
b5c23cf23f
|
Move EventsDB into storages
|
2024-01-03 14:45:56 -06:00 |
Alex Gleason
|
f667ba3c69
|
Memorelay: reimplement by just looping events with matchFilters
|
2024-01-03 13:55:22 -06:00 |
Alex Gleason
|
5af0e0992f
|
db/events: ensure local bookmarks get indexed
|
2024-01-01 14:21:05 -06:00 |
Alex Gleason
|
e341ec7b36
|
db/events: respect the signal
|
2023-12-31 21:01:30 -06:00 |
Alex Gleason
|
e869651c63
|
users: remove duplicate debug call
|
2023-12-30 09:58:12 -06:00 |
Alex Gleason
|
79349124bc
|
Prevent duplicate usernames from being added
|
2023-12-30 09:57:33 -06:00 |
Alex Gleason
|
529bc11da1
|
Support replaceable events and parameterized replaceable events (delete old versions upon insert)
|
2023-12-29 23:21:05 -06:00 |
Alex Gleason
|
38238cc4a8
|
Fix db/events test, remove unnecessary AbortSignal from pipeline
|
2023-12-29 21:21:56 -06:00 |
Alex Gleason
|
f6a8ab570f
|
db/events: simplify it further
|
2023-12-29 21:08:59 -06:00 |
Alex Gleason
|
b39902d322
|
Load local timeline a lot faster by using leftJoin instead of innerJoin, wow
|
2023-12-29 21:05:31 -06:00 |
Alex Gleason
|
9492b7654f
|
db/events: fix the `local` filter
|
2023-12-29 20:53:01 -06:00 |
Alex Gleason
|
358396fdac
|
Drop users table
|
2023-12-29 17:01:23 -06:00 |
Alex Gleason
|
13bf936088
|
Convert users to Events
|
2023-12-29 16:37:18 -06:00 |
Alex Gleason
|
4ce51014de
|
events.test: fix type error
|
2023-12-29 13:53:09 -06:00 |
Alex Gleason
|
56373c4ce3
|
Refactor memorelay as an EventStore
|
2023-12-29 13:35:57 -06:00 |
Alex Gleason
|
ccfdbfeb8d
|
Rework client as EventStore
|
2023-12-29 13:22:51 -06:00 |
Alex Gleason
|
e6c8d1dad9
|
Add an EventStore interface, refactor eventsDB
|
2023-12-29 13:12:16 -06:00 |
Alex Gleason
|
2d19ab207e
|
Add memorelay.test.ts
|
2023-12-28 13:36:50 -06:00 |
Alex Gleason
|
b3c7e22052
|
memorelay: increase LRU limits
|
2023-12-28 12:15:24 -06:00 |
Alex Gleason
|
da6738a405
|
db/events: debug getFilters -> REQ
|
2023-12-28 12:07:49 -06:00 |
Alex Gleason
|
d40b4a509e
|
pipeline: use memorelay for encounters
|
2023-12-27 23:36:01 -06:00 |
Alex Gleason
|
acffdd7fb8
|
memorelay: insertEvent
|
2023-12-27 23:22:24 -06:00 |
Alex Gleason
|
5398042156
|
Add memorelay module
|
2023-12-27 22:49:35 -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
|
29d3b7bf89
|
db/events: remove author orderBy clause
|
2023-12-11 14:44:35 -06:00 |
Alex Gleason
|
862ff74d7b
|
relays: don't automatically add crawled relays
|
2023-12-10 17:56:51 -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 |