98 Commits

Author SHA1 Message Date
fiatjaf
751c0c49d1 update go-nostr and deprecated tag methods. 2025-03-30 20:17:14 -03:00
fiatjaf
91ed172f56 use badger for now because lmdb was having that weird issue. 2025-03-18 10:40:01 -03:00
fiatjaf
6dd249d8ac update eventstore so maybe the sigbus is fixed? 2025-02-27 18:03:05 -03:00
fiatjaf
b4f234793b update templ. 2025-02-23 08:05:20 -03:00
fiatjaf
a918355d97 update go-nostr. 2025-02-23 07:43:55 -03:00
fiatjaf
fecaae6f71 use plaintext extracted from markdown in nip23 opengraph text. 2025-02-23 07:41:28 -03:00
fiatjaf
1dd3788a98 update go-nostr/sdk to fix stupid bugs. 2025-01-23 14:46:54 -03:00
fiatjaf
805d47f163 update libraries and support kind:20 photos. 2025-01-21 17:48:39 -03:00
fiatjaf
07f891f0f8 link to nip05 well-known address from nip05 field on profile. 2025-01-16 17:05:19 +01:00
fiatjaf
82a9b84bca fix relay url validation for nip86 flow. 2025-01-16 17:05:19 +01:00
fiatjaf
37dba0fc22 update templ again. 2024-11-25 12:04:58 -03:00
fiatjaf
61d47c6571 update go-nostr to fix high CPU usage, remove pprof stuff that was accidentally committed. 2024-10-18 07:19:05 -03:00
fiatjaf
d8efae7473 fix for horrible bug on leafdb. 2024-10-15 00:10:01 -03:00
fiatjaf
caca355bbd fix for FetchSpecificEvent(). 2024-10-14 22:28:37 -03:00
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