Commit Graph

137 Commits

Author SHA1 Message Date
abb488a570 zero downtime restarts 2023-06-05 16:32:35 -04:00
c2f9d61e91 update docs and list of supported NIPs 2023-06-05 12:19:57 -04:00
c0f787a06b todo 2023-06-05 11:39:24 -04:00
03ef0958fc apps refactor 2023-06-05 11:39:21 -04:00
ea73aca3f3 when disk is full, make relay log and return errors but not crash 2023-06-05 11:39:21 -04:00
89fe196242 backpressure for WriterPipeline 2023-06-05 11:39:21 -04:00
2c6852ecf9 bugfix for when limit=0 2023-06-05 11:37:55 -04:00
799da2c016 bugfixes in sync 2023-06-05 11:37:55 -04:00
af0fa71f26 in negentropy handler, implement queries stored in events 2023-06-05 11:37:55 -04:00
e2816f6bd5 foreachByFilter feature 2023-06-05 11:37:55 -04:00
d9048acb64 remove debug lines 2023-06-05 11:37:55 -04:00
fbbfc3a974 if two replaceable events have equal timestamps, retain the one with the lowest id 2023-05-19 00:45:11 -04:00
dcb2920578 Back out changes to generalised replacement behaviour, to preserve NIP conformance
- d tags only work on kinds 30k-40k
- ephemeral tag is not honoured
2023-05-19 00:14:04 -04:00
476143ca69 testing docs 2023-05-18 23:27:40 -04:00
b61167fdf8 test for querying non-fixed-size tags (#t) 2023-05-18 23:16:37 -04:00
76ba9081b1 remove blake2 dependency 2023-05-16 01:33:40 -04:00
3946d9b2f5 docs 2023-05-04 18:34:09 -04:00
09893b89c8 make sync command use negentropy 2023-05-04 14:32:21 -04:00
de475c59ff negentropy integration 2023-05-01 17:51:14 -04:00
371f95bce3 idempotent event deletion, prevent levId reuse when latest event is replaced or deleted 2023-04-30 13:47:01 -04:00
d4290d8a4f gitignore test artifacts 2023-04-29 15:20:52 -04:00
0cbc937bf0 remove quadrable and yesstr 2023-04-29 15:20:04 -04:00
522258dafa QueryScheduler refactor 2023-04-29 14:42:09 -04:00
a4549883eb generalise replaceable and ephemeral events 2023-04-29 14:41:47 -04:00
e4e79af121 Merge branch 'beta' 2023-04-29 14:39:02 -04:00
70c0edc350 minor clean-ups 2023-04-29 14:38:24 -04:00
f192adb498 Merge pull request #34 from jb55/nix
Add nix shell build environments
2023-04-20 14:24:51 -04:00
1015966e4c Merge pull request #29 from fiatjaf/websocat-friendly
be friendly to people using websocat to debug
2023-04-20 14:24:25 -04:00
f816841ada nix: add shell.nix
This enables a build environment using nix. Should work on most linux
varieties but I've only tested on NixOS.
2023-04-20 07:34:09 -07:00
0aae8323b6 Merge pull request #32 from bortloff/sharivegas-cmd_stream_plugin
cmd_stream writePolicy plugin support
2023-03-29 09:45:20 -04:00
68fc85e864 fix lapse of judgement on logging 2023-03-29 05:32:05 -05:00
bc7fa46feb I submit to the might of DougSC
The acceptEvent is expecting to
parse a JSON string. Instead of
evJson.get_string()
try tao::json::to_string(evJson)

and it worked
2023-03-28 20:08:55 -05:00
2308276af5 patching writePolicy into cmd_stream, assuming we
want writePolicy to govern both relayIngest and stream

I really hate spam, is what I'm trying to say.
2023-03-27 18:24:41 -05:00
35db3a64c2 be friendly to people using websocat to debug. 2023-03-13 20:37:25 -03:00
e5ec135e78 Merge branch 'query-fixes' 2023-03-06 09:11:38 -05:00
84ba68b2d2 bump golpe dependency 2023-02-27 19:55:47 -05:00
a3792e5945 todo 2023-02-27 06:47:45 -05:00
6218ca3334 bugfix: don't crash if we can't load an event that was deleted while a DBQuery scan was paused 2023-02-27 06:41:50 -05:00
117463aa20 Merge pull request #23 from foxytanuki/tweak-deployment-doc
tweak deployment document
2023-02-26 17:53:59 -05:00
d48c9002e0 tweak 2023-02-26 14:24:18 +09:00
d59fcba006 Merge branch 'master' into query-fixes 2023-02-25 09:52:41 -05:00
41bd1c6f9c bump golpe so we get increasing version numbers 2023-02-25 09:52:14 -05:00
3dd3ff69f7 DB upgrade instructions 2023-02-25 00:31:28 -05:00
5175664e2f fix query behaviour when limit is present (reported by @Mazin) 2023-02-25 00:03:59 -05:00
e5e5ff6817 todo 2023-02-25 00:03:59 -05:00
d6151072fe simple sorting implementation, for benchmarking 2023-02-25 00:03:59 -05:00
e7706be1b6 testing for scans with limits 2023-02-25 00:03:59 -05:00
54f467cc1c reverse export 2023-02-25 00:03:59 -05:00
188a7ff6f1 todo triage 2023-02-25 00:03:59 -05:00
18acadf4c2 remove auto-gc after delete and import 2023-02-25 00:03:59 -05:00