alex
642710fda8
start: propagate init errors
...
package users can now act accordingly on startup errors, for example
by exiting with a non-zero code. this is useful when running a service,
notifying a supervising process about such failures.
although this is technically a breaking change, most pkg users should be
unaffected since Start and StartConf returned nothing before this commit.
2022-12-24 18:52:06 -03:00
fiatjaf
d7aba0b21f
fix some dependencies and storage instantiation on example relays.
2022-11-11 09:46:18 -03:00
0x0ff
ec4cd51ebd
fix: build failing
2022-10-09 11:43:07 -03:00
fiatjaf
aa96fa0a21
refactor framework interface, simplify basic and whitelisted, bring expensive on and rewrite it.
2022-07-24 17:41:00 -03:00
fiatjaf
84f7d34840
rename closed to whitelisted and build it and basic with musl.
2022-07-24 11:53:30 -03:00
fiatjaf
d2ce4dbf54
implement nip-16 on closed and basic relays.
2022-07-24 11:48:34 -03:00
fiatjaf
ca1d1ce58f
update basic and closed.
2022-07-24 11:35:49 -03:00
fiatjaf
f383a0c71f
remove deploy script.
2022-07-24 11:35:49 -03:00
fiatjaf
d25ace94ac
support prefix search and change indexes.
2022-02-14 14:04:25 -03:00
fiatjaf
fa0079c020
fix sql scanning without sqlx magic.
2022-02-13 10:15:39 -03:00
fiatjaf
638b9262ec
wait, we don't need to check if date is recent or anything, just if it is not nil.
2022-02-13 08:42:09 -03:00
fiatjaf
f9d058a95a
adapt to updated go-nostr.
2022-02-13 08:40:06 -03:00
fiatjaf
a7710ef4f3
fix basic logs.
2022-02-11 20:10:25 -03:00
fiatjaf
ed829ac5f8
fix query fields returned.
2022-01-02 18:32:55 -03:00
Saul
b0467795cd
Add Docker instructions
2022-01-02 17:31:09 -03:00
fiatjaf
85e5644e2f
add some readmes.
2022-01-02 17:30:35 -03:00
fiatjaf
8091dfedbe
use generated columns and gin array indexes to query tags better.
2022-01-02 17:19:24 -03:00
fiatjaf
ae3f5df0b9
log query on sql error.
2022-01-02 11:01:05 -03:00
fiatjaf
629c9174eb
update go-nostr.
2022-01-02 09:00:14 -03:00
fiatjaf
f86eb9246b
limit against abusive queries.
2022-01-01 21:38:54 -03:00
fiatjaf
9a455b8db6
update go-nostr with new nip-01 slices of everything.
2022-01-01 21:36:56 -03:00
fiatjaf
61f21dd3a6
basic: fix kind filtering (0 != nil).
2022-01-01 10:24:55 -03:00
fiatjaf
96fb775061
basic Makefile dependency fix.
2021-12-26 21:00:19 -03:00
fiatjaf
b4f94b8fdd
add .Until filtering to event query.
2021-12-26 07:11:19 -03:00
fiatjaf
30eae726c1
turn relayer into a server framework and put actual relay code into ./basic
2021-12-25 21:22:40 -03:00