P. Reis
|
f85e7f7c33
|
feat: index 'u' tags
|
2025-02-09 21:27:38 -03:00 |
|
Alex Gleason
|
c2aab97018
|
indexExtensions: ensure kind 6 has reply:false to test the performance difference between -reply:true
|
2025-02-06 11:24:49 -06:00 |
|
Alex Gleason
|
ec5a000265
|
Upgrade gleasonator-policy, only index lowercase t-tags in EventsDB
|
2025-02-03 16:58:26 -06:00 |
|
Alex Gleason
|
116b675664
|
Tag protocol from proxy tag
|
2025-02-02 21:44:08 -06:00 |
|
Alex Gleason
|
83347df845
|
Fix video tag being incorrectly applied
|
2025-02-02 20:14:30 -06:00 |
|
Alex Gleason
|
f04ca2b6ff
|
Rework language and media columns to use Nostrify search_ext column
|
2025-02-02 19:32:43 -06:00 |
|
Alex Gleason
|
b4184631c3
|
Merge remote-tracking branch 'origin/main' into feat-search-mime-type
|
2025-02-02 17:47:10 -06:00 |
|
Alex Gleason
|
cce693dc9b
|
EventsDB: index only the final e and p tag of kind 7 events
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/220
|
2025-01-28 14:11:08 -06:00 |
|
Alex Gleason
|
2165e649bc
|
Remove Stickynotes, replace all occurrences of console.log with logi
|
2025-01-27 18:11:32 -06:00 |
|
P. Reis
|
e388925815
|
Merge branch 'main' into feat-search-mime-type
|
2025-01-22 17:11:03 -03:00 |
|
P. Reis
|
b037be44a4
|
feat: add mime_type column in nostr_events, add the following NIP 50 search extensions:
exact_mime_type, example: 'exact_mime_type:image/png' (uses hash index)
partial_mime_type, example 'partial_mime_type:image' (uses b-tree index)
only_media, example 'only_media:true' (sometimes uses index)
|
2025-01-22 17:01:10 -03:00 |
|
Alex Gleason
|
079177ea0b
|
EventsDB: index kind 20 in search the same as kind 1
|
2025-01-05 11:26:05 -06:00 |
|
Alex Gleason
|
418dbd6d0c
|
Let a proxy tag not be a URL (to support atproto URIs)
|
2024-11-22 10:49:05 -06:00 |
|
Alex Gleason
|
4eb7ea2461
|
Remove e: any from error handlers
|
2024-11-22 10:26:30 -06:00 |
|
Alex Gleason
|
d52e717fb2
|
EventsDB: fix domain query with authors
|
2024-10-27 10:03:22 -05:00 |
|
Alex Gleason
|
feec343d5a
|
EventsDB: fix plaintext search queries
|
2024-10-13 16:22:03 -05:00 |
|
P. Reis
|
d4a8ec21fe
|
fix: add 'pure' option in EventsDB
if pure is true, EventsDB will return a Nostr event, otherwise it will return a Ditto event
|
2024-10-08 14:17:27 -03:00 |
|
P. Reis
|
3f00f255a5
|
fix: type assertions in EventsDB
|
2024-10-08 11:01:34 -03:00 |
|
P. Reis
|
acbdae29ae
|
fix(EventsDB): type is correct, ignore type complaint
|
2024-10-07 17:54:41 -03:00 |
|
P. Reis
|
4712cb1d80
|
fix: fix language property in the Mastodon API
|
2024-10-07 16:08:23 -03:00 |
|
Alex Gleason
|
cd66234af7
|
Ugrade to Deno 2.0
|
2024-09-22 17:35:04 -05:00 |
|
Alex Gleason
|
5ecf016cb9
|
EventsDB: fix domain search performance (also allow searching by multiple languages/domains)
|
2024-09-18 13:42:43 -05:00 |
|
Alex Gleason
|
c24d11c6f3
|
Support NIP-50 language extension
|
2024-09-15 12:40:58 -05:00 |
|
Alex Gleason
|
b384fcf572
|
Make EventsDB extend NPostgres
|
2024-09-12 17:22:44 -05:00 |
|
Alex Gleason
|
d67f2a27ea
|
stats: use the NPostgres transaction method to avoid transactions within transactions
|
2024-09-12 11:30:57 -05:00 |
|
Alex Gleason
|
d2fb3fd253
|
Make EventsDB not rely on Conf
|
2024-09-11 13:06:20 -05:00 |
|
Alex Gleason
|
dc8d09a9da
|
Remove SQLite support
|
2024-09-11 11:08:33 -05:00 |
|
Alex Gleason
|
5454942a2c
|
Update Prometheus metrics to conform to best practices
|
2024-09-07 08:52:02 -05:00 |
|
Alex Gleason
|
617659c7fd
|
Fix DittoDB+EventsDB relationship
|
2024-08-12 15:13:49 -05:00 |
|
Alex Gleason
|
916b68a3e4
|
Switch to NPostgres (steamroll SQLite for now)
|
2024-08-10 13:30:24 -05:00 |
|
Alex Gleason
|
abc1a6eb49
|
EventsDB.event: throw error on insertion
|
2024-08-09 12:47:59 -05:00 |
|
Alex Gleason
|
db6417bad9
|
Upgrade to Nostrify v0.30.0
|
2024-08-05 15:45:02 -05:00 |
|
Alex Gleason
|
9543049419
|
Add db:export command
|
2024-08-02 16:31:39 -05:00 |
|
Alex Gleason
|
2d239fcaec
|
Revert "Merge branch 'tag-perf' into 'main'"
This reverts merge request !425
|
2024-07-18 04:11:04 +00:00 |
|
Alex Gleason
|
ff8d7ef9d4
|
EventsDB: normalizeFilters before expanding tag queries
|
2024-07-17 20:11:31 -05:00 |
|
Alex Gleason
|
0f5c28deeb
|
EventsDB: query tags by converting to ids filter
|
2024-07-17 19:58:12 -05:00 |
|
Alex Gleason
|
96fe8920cd
|
Make database timeouts configurable
|
2024-07-12 13:49:44 -05:00 |
|
Alex Gleason
|
2167106577
|
Fix not being able to post
|
2024-07-06 20:50:39 +01:00 |
|
Alex Gleason
|
193dd1a011
|
EventsDB: remove queries for ephemeral kinds
|
2024-07-04 23:38:16 +01:00 |
|
P. Reis
|
e169749b82
|
refactor(EventsDB): throw RelayError instead of Error
|
2024-07-02 18:39:55 -03:00 |
|
Alex Gleason
|
4e150edb5b
|
Actually enable query timeouts 🤦
|
2024-07-01 19:48:28 +01:00 |
|
Alex Gleason
|
092a20088a
|
Reduce timeouts
|
2024-07-01 09:18:42 +01:00 |
|
Alex Gleason
|
c3ffe7c7f7
|
EventsDB: fix limit being passed to NDatabase
|
2024-07-01 08:53:03 +01:00 |
|
Alex Gleason
|
9ea6c7b00b
|
Add query timeouts
|
2024-06-29 22:26:51 +01:00 |
|
Alex Gleason
|
31a5533fd7
|
Add Prometheus metrics
|
2024-06-21 22:38:25 -05:00 |
|
Alex Gleason
|
c48b976d04
|
Revert "Merge branch 'stats-transaction' into 'main'"
This reverts merge request !386
|
2024-06-18 01:11:03 +00:00 |
|
Alex Gleason
|
2f3b656af5
|
Upgrade Nostrify to v0.23.3, remove normalizeFilters call in EventsDB (NDatabase does this now)
|
2024-06-17 17:29:01 -05:00 |
|
Alex Gleason
|
96af3bb8bf
|
Update stats in a transaction
|
2024-06-17 16:07:03 -05:00 |
|
Alex Gleason
|
7186f49316
|
Remove URL restriction from r tag
|
2024-06-13 19:17:53 -05:00 |
|
Alex Gleason
|
1151f0c28b
|
EventsDB: strip nip27 mentions from search index
|
2024-06-11 18:56:11 -05:00 |
|