Commit Graph

115 Commits

Author SHA1 Message Date
fiatjaf
faa0051132 bluge: fix two small things. 2024-05-27 18:19:35 -03:00
fiatjaf
b157261a84 add bluge and prevent bolt/badger/lmdb from querying when there is a .Search field set. 2024-05-27 17:54:34 -03:00
mattn
a5d0bdf0e1 Merge pull request #18 from mattn/set-nil
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
set nil to ch
v0.3.14 v0.4.4
2024-05-24 03:28:31 +09:00
Yasuhiro Matsumoto
ee54d25940 set nil to ch 2024-05-24 03:27:55 +09:00
mattn
0120ec108a Merge pull request #17 from mattn/opensearch
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
add opensearch
v0.4.3
2024-05-24 00:48:29 +09:00
Yasuhiro Matsumoto
782dcb5eff fix insecure 2024-05-24 00:26:44 +09:00
Yasuhiro Matsumoto
5f4436c326 insecure 2024-05-24 00:21:54 +09:00
Yasuhiro Matsumoto
0f9a96b95d fix Query 2024-05-23 13:42:06 +09:00
Yasuhiro Matsumoto
18d31ade43 remove todo 2024-05-23 12:55:30 +09:00
Yasuhiro Matsumoto
52808fdff4 fix go.mod 2024-05-23 12:53:15 +09:00
Yasuhiro Matsumoto
47e9e35229 fix go.mod 2024-05-23 12:52:35 +09:00
Yasuhiro Matsumoto
876e1c5ba0 add opensearch 2024-05-23 12:13:34 +09:00
fiatjaf
164faeafcb postgresql: fix tags array matching (&&)=>(@>)
closes https://github.com/fiatjaf/eventstore/issues/16
2024-05-08 16:36:37 -03:00
fiatjaf
4c1b0497df lmdb/badger/bolt: actually stop the cursor when we have pulled enough.
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.4.2
2024-04-18 20:32:58 -03:00
fiatjaf
fc2884d7aa lmdb/badger/bolt: limit index scans to the maximum of total returnable events. 2024-04-16 17:26:48 -03:00
fiatjaf
13db9b84a7 lmdb: remove prefix matching support.
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.4.0
2024-04-15 20:03:33 -03:00
fiatjaf
2c866d0852 lmdb/badger/bolt: slight improvement to count logic. 2024-04-05 00:10:59 -03:00
fiatjaf
4b420343cb bolt: migrate to bbolt. 2024-03-30 20:19:30 -03:00
mattn
b5ff2989a5 Merge pull request #15 from mattn/keep-recent-events
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
add KeepRecentEvents
v0.3.13
2024-03-24 19:20:05 +09:00
Yasuhiro Matsumoto
21f4750ac3 add KeepRecentEvents 2024-03-24 19:18:32 +09:00
fiatjaf
7798055b1b bolt: alert for possible lock. 2024-03-04 09:17:44 -03:00
mattn
4d59383f18 Merge pull request #13 from mattn/fix-postgres
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
fix pubkey in postgres
v0.3.12
2024-02-22 09:33:55 +09:00
Yasuhiro Matsumoto
c082c99cdb fix pubkey in postgres 2024-02-22 09:33:14 +09:00
fiatjaf
a86745ec5f RelayInterface => nostr.RelayStore 2024-02-09 11:26:54 -03:00
fiatjaf
d7917cefd4 boltdb on eventstore cli.
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.3.11
2024-02-08 12:36:54 -03:00
fiatjaf
9d87d1fd8a boltdb support. 2024-02-08 12:36:34 -03:00
fiatjaf
830d51e96d badger: use a different transaction for each goroutine. 2024-02-08 11:08:28 -03:00
mattn
bd8998deb3 Merge pull request #10 from mattn/escape-percent
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
escape %
v0.3.10
2024-01-30 14:46:36 +09:00
Yasuhiro Matsumoto
5d6b9ef086 escape % 2024-01-30 14:42:57 +09:00
fiatjaf
6a94456336 update go-nostr again. 2024-01-29 15:36:10 -03:00
Yasuhiro Matsumoto
7d4015d0d1 fix all queryEventsSql
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.3.9
2024-01-29 15:33:31 -03:00
fiatjaf
f5d23a3b51 lmdb/badger: stop sorting tags in-place when creating indexes. it is not necessary and was messing up things. 2024-01-18 17:55:08 -03:00
fiatjaf
35322df272 add in-memory slicestore.
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.3.7
2024-01-14 22:24:34 -03:00
fiatjaf
dbb660b1ec upgrade go-nostr and xsync. 2024-01-10 21:18:29 -03:00
fiatjaf
d3bafc2ec8 lmdb/badger: fix duplicate identification code for tag indexing.
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.3.6
2024-01-05 18:12:39 -03:00
Yasuhiro Matsumoto
98199d7553 remove binary file
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.3.5
2023-12-24 09:20:32 -03:00
fiatjaf
c444065a08 cli: up all limits to 1000000 since it's a trusted environment. 2023-12-24 09:20:32 -03:00
fiatjaf
0cf1582cb7 cli: fix newlines in messages. 2023-12-24 09:20:32 -03:00
fiatjaf
bbcbe1ed1c cli: rename commands so they reflect the interface definition better. 2023-12-24 09:20:30 -03:00
fiatjaf
16a3bf0d91 cli: read cli arguments and not only stdin, migrate to urfave/cli/v3 2023-12-23 20:03:43 -03:00
fiatjaf
02598d508a build CLI on github actions.
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
v0.3.2
2023-12-22 22:33:26 -03:00
fiatjaf
44e9b11673 lmdb/badger: print id on value read error. 2023-12-22 20:05:25 -03:00
fiatjaf
7c2cab73d4 update go-nostr so binary encoding fails for events with stupidly large fields and whatnot. 2023-12-22 19:55:55 -03:00
fiatjaf
9f6b0b521d lmdb: fix version bumping. v0.3.1 2023-12-11 15:31:34 -03:00
fiatjaf
3e08d8c455 badger/lmdb: update go-nostr binary encoding to fix limited nubmer of tags; migration script requires manual procedure; update badger to use just 8 bytes of ids and pubkeys. v0.3.0 2023-12-11 09:32:06 -03:00
fiatjaf
23451178ce badger/lmdb: fix tag sorting when they are small. v0.2.17 2023-12-10 07:42:26 -03:00
fiatjaf
0a8f93e886 break when idx isn't found to prevent an infinite loop. v0.2.16 2023-12-09 14:53:08 -03:00
fiatjaf
59ac03f08d update RelayInterface() to match new go-nostr API. 2023-12-09 14:42:35 -03:00
fiatjaf
37e16afaba lmdb: prevent queries from getting halted and locking readers forever. v0.2.15 2023-12-07 23:52:01 -03:00
fiatjaf
55c3cfcb48 go mod tidy. v0.2.14 2023-12-07 18:07:10 -03:00