fiatjaf
fc2daa1dd6
basically replace getEvent() with sys.FetchSpecificEvent()
2024-10-06 23:16:33 -03:00
fiatjaf
a30d484432
using leafdb instead of the messy badger db we had.
2024-10-06 21:17:08 -03:00
fiatjaf
b27e3c994b
include lmdb goroutine leak hotfix.
2024-10-06 15:57:26 -03:00
fiatjaf
b9450aee1e
use libsecp256k1 with musl for signature verification.
2024-09-29 14:01:44 -03:00
fiatjaf
021b1b7f55
fix for eventstore/lmdb bug that was modifying filter tags and causing us to display wrong events.
2024-09-27 08:56:08 -03:00
fiatjaf
38557f3e9b
switch to lmdb for the eventstore, sacrifice avif and force musl compilation in the meantime.
2024-09-26 21:49:27 -03:00
fiatjaf
12b22c48a5
update go-nostr/sdk to improve caching behavior.
2024-09-26 00:01:56 -03:00
fiatjaf
7405cc2b75
remove AI language thing.
2024-09-25 14:28:38 -03:00
fiatjaf
b9ad4b518f
update go-nostr, eventstore, khatru; replace nostr-sdk.
2024-09-16 15:55:36 -03:00
fiatjaf
5ac66440bb
templ dependency crap again.
2024-09-06 21:06:22 -03:00
fiatjaf
dfb17178f0
templ keeps changing.
2024-09-01 20:32:18 -03:00
fiatjaf
01a446d655
fix for profiles not loading the first time when some relay is buggy.
...
see nostr:nevent1qqsqqqzh2l7mf542r3urls4yefa6scxmnknq66z6p5jtl6ap8wem2cspzpmhxue69uhk2tnwdaejumr0dshszrnhwden5te0dehhxtnvdakz7qg7waehxw309ahx7um5wgkhqatz9emk2mrvdaexgetj9ehx2ap0thp0n8
2024-08-29 16:20:39 -03:00
fiatjaf
0dd8c38a95
remove opentelemetry.
2024-08-02 15:41:29 -03:00
fiatjaf
c0004f67a2
fix slowness of previous refactors that injected nostr-sdk into this codebase + refactors.
...
- adjusting many small things related to nostr-sdk usage
- fetching profiles in a smarter way
- decoupling the logic for rendering profile pages from the `grabData`/`getEvent` flow of other event pages.
- incorporating nostr-sdk more holistically, including more hints stuff
- improving nostr-sdk itself after some bugs and weird behaviors observed here
- set up opentelemetry (should probably remove this later)
2024-08-02 12:48:58 -03:00
fiatjaf
43766c877b
update to nostr-sdk with outbox results short cache.
2024-07-29 17:04:19 -03:00
fiatjaf
18e6a396c5
update libraries so the weird lag gets better.
2024-07-29 15:03:58 -03:00
fiatjaf
56b3919d4e
use new nostr-sdk with hints (full outbox) support for improved event fetching that hopefully works.
2024-07-27 22:58:10 -03:00
dtonon
0113da6120
Run go mod tidy
2024-07-25 17:17:11 +02:00
dtonon
3b1a857f6c
Merge branch 'wiki'
2024-07-25 17:10:34 +02:00
dtonon
4cb5d6f5c7
Add basic wiki articles rendering
...
Wikilinks are broken
2024-07-25 15:21:34 +02:00
dtonon
3e0f01b880
Update go.mod/sum
2024-07-25 11:43:24 +02:00
Yasuhiro Matsumoto
ab36e5392b
fix build
2024-07-24 21:57:10 +02:00
fiatjaf
47423ddcc4
move some things to enhanced_event.go, that makes more sense.
2024-06-19 22:06:09 -03:00
fiatjaf
66cef7d1c0
cache image detection results so we don't run it over and over for the same image.
2024-06-18 16:37:58 -03:00
fiatjaf
cf6032ea7b
porn detector.
2024-06-17 15:53:27 -03:00
dtonon
4b2c7c017f
Upgrade go-nostr to v0.32.0
2024-06-07 12:42:04 +02:00
dtonon
7a422da589
Upgrade to go-nostr v0.31.4
2024-06-07 12:35:36 +02:00
fiatjaf
5966234156
update nostr-sdk to fix relay lists and move things around.
2024-05-23 23:03:22 -03:00
fiatjaf
7a2aadb749
update templ and format.
2024-05-08 11:47:13 -03:00
fiatjaf
fb29802883
forgot to update khatru.
2024-04-27 18:09:07 -03:00
fiatjaf
0b7a65b285
update dependencies because incompatibilities.
2024-04-26 15:36:07 -03:00
fiatjaf
574e9b0495
update to fix badger backend query bug that was leaking goroutines.
2024-04-26 15:15:51 -03:00
fiatjaf
1af2550e9f
update go-nostr to fix nip05.
2024-03-11 13:46:52 -03:00
Daniele Tonon
be14e2a400
Update go-nostr to v0.29.2
2024-03-10 23:01:24 +01:00
fiatjaf
c51ed56d14
update templ
2024-02-13 12:31:10 -03:00
fiatjaf
4dda52cfb9
use stdlib "slices" and updated eventstore for badger possible fix.
2024-02-08 16:32:08 -03:00
fiatjaf
d6527011db
ensure hinted relays (from nip19/nip05) get prioritized in the generation of nip19 codes afterwards -- if we had success fetching from them.
2024-01-16 18:07:47 -03:00
fiatjaf
6b19f5103c
move nip31, nip53, nip94 definitions to go-nostr and prepare for nip52.
2024-01-10 12:14:56 -03:00
fiatjaf
7f0bb418b6
ported all templates to templ syntax.
2024-01-07 15:48:55 -03:00
fiatjaf
c4e61ac22c
fix eventstore bug (hopefully).
2024-01-05 18:16:34 -03:00
fiatjaf
0940f0f981
this requires a variation of go-text/typesetting that exposes .Codepoint
2023-12-28 16:27:23 -03:00
fiatjaf
46a4891048
use emojiBuffer as the rule and make mainBuffer adapt to it, removing glyphs as necessary.
2023-12-28 16:22:18 -03:00
fiatjaf
f06badf393
trying to remove unused glyphs from mainBuffer since they got merged in emojiBuffer.
2023-12-28 15:39:44 -03:00
fiatjaf
1a154f57e9
use fiatjaf/emoji for IsEmoji().
2023-12-27 19:19:18 -03:00
fiatjaf
86f6a09ea3
using a custom RunIterator that takes emojis into account and shapes them with a different font.
...
it doesn't actually work since the different outputs returned are treated by LineWrapper as necessarily belonging to different lines, so we'll have to do something different.
2023-12-26 11:02:45 -03:00
fiatjaf
5df944705e
use go-text/typesetting library to render text better: rendering farsi.
2023-12-25 23:27:09 -03:00
fiatjaf
9c1a7c0ee9
upgrade eventstore.
2023-12-24 07:50:51 -03:00
Daniele Tonon
89a1bb3104
Update text-image design with the author's details and the event date
2023-12-21 14:35:22 +01:00
fiatjaf
dbbf18584b
update dependencies.
2023-12-10 07:44:18 -03:00
fiatjaf
c20653594f
update khatru.
2023-12-07 08:20:12 -03:00