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 |
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
|
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 |
Alex Gleason
|
e3d5b2ac4a
|
Move with_authors to GetFilterOpts instead of DittoFilter
|
2023-12-05 17:15:39 -06:00 |
Alex Gleason
|
f9d3240fa8
|
with_author --> with_authors
|
2023-12-05 16:52:39 -06:00 |
Alex Gleason
|
b3c749d266
|
db/events: add support for `with_author` filter
|
2023-12-05 16:40:45 -06:00 |
Alex Gleason
|
149f8f6f04
|
Enable WAL mode on the database
|
2023-10-11 22:30:07 -05:00 |
Alex Gleason
|
5cb87a0fd9
|
db/events: fix catching UNIQUE violations
|
2023-10-11 16:24:10 -05:00 |
Alex Gleason
|
b9476ccbd6
|
pipeline: delete unattached-media rows when authoring an event
|
2023-09-09 22:27:37 -05:00 |
Alex Gleason
|
0d343fa190
|
db/unattached-media: refactor queries, DRY
|
2023-09-09 22:03:02 -05:00 |
Alex Gleason
|
43499f2dfd
|
media: add attachment view, unify types
|
2023-09-09 21:33:12 -05:00 |
Alex Gleason
|
cf9a754b02
|
media: pukey --> pubkey, fix adding media tags to event
|
2023-09-09 20:12:47 -05:00 |
Alex Gleason
|
0b867afd8e
|
unattached-media: delete orphaned attachments after 15 minutes
|
2023-09-09 19:27:39 -05:00 |
Alex Gleason
|
e8053ba072
|
unattached-media: cid --> url
|
2023-09-09 18:12:54 -05:00 |
Alex Gleason
|
c88b174d02
|
Add unattached_media table, insert one when uploading a file
|
2023-09-09 17:41:30 -05:00 |
Alex Gleason
|
c6b20e68f6
|
db/events: refactor filterIndexableTags function
|
2023-09-09 16:24:53 -05:00 |
Alex Gleason
|
f8b2efb484
|
db/events: refactor insertEvent into smaller functions
|
2023-09-09 16:08:30 -05:00 |
Alex Gleason
|
96ff31719e
|
db/events: pass EventData, index all media from local users
|
2023-09-09 15:48:03 -05:00 |
Alex Gleason
|
d24318fd0d
|
db/events: index "media" tags, rearrange conditionals to optimize processing
|
2023-09-09 15:39:49 -05:00 |
Alex Gleason
|
6e139985ac
|
db/events: add a baseline 200 character limit to tag values
|
2023-09-09 15:31:43 -05:00 |
Alex Gleason
|
fe08aaa2a3
|
db/events: use stricter tagConditions to not pollute the database
|
2023-09-09 15:29:17 -05:00 |
Alex Gleason
|
a46381849f
|
db/events: delete FTS rows when deleting events
|
2023-09-05 17:25:54 -05:00 |
Alex Gleason
|
a25d6c9755
|
db: pragma, enable fk constraints, enable autovacuum full
|
2023-09-05 17:25:14 -05:00 |
Alex Gleason
|
5c02fd0773
|
db/relays: normalize url before inserting
|
2023-09-05 16:58:34 -05:00 |
Alex Gleason
|
2ff40c8fc5
|
db/events: rework tags, make event_id a FK to events again, drop value_2 and value_3
|
2023-09-05 16:55:16 -05:00 |
Alex Gleason
|
cdffe42cfd
|
db/events: delete tags during deleteFilters
|
2023-09-05 13:23:45 -05:00 |
Alex Gleason
|
df17f62ecb
|
db/events: try fixing types in CI?
|
2023-09-05 12:31:59 -05:00 |
Alex Gleason
|
aea07fd28a
|
db/events: fix type error
|
2023-09-04 22:16:43 -05:00 |