Commit graph

3155 commits

Author SHA1 Message Date
Alex Gleason
93874df063
fetchWorker: log responses 2025-02-09 14:50:28 -06:00
Alex Gleason
576a66460f
fetchWorker: preemptively throw if signal is aborted 2025-02-09 14:45:26 -06:00
Alex Gleason
ebbde66824
Add @core/asyncutil 2025-02-09 14:34:12 -06:00
Alex Gleason
41419e84dc
Refetch nip05 if last_verified is null 2025-02-09 14:20:32 -06:00
Alex Gleason
8386fe7609
try-catch favicon fetch 2025-02-09 13:32:47 -06:00
Alex Gleason
dd009de5be
Wrap nip05 updates in a try-catch 2025-02-09 13:31:17 -06:00
Alex Gleason
8c60a4842b
Fix NIP05 verification 2025-02-09 13:27:05 -06:00
Alex Gleason
48507b7505
faviconCache: check favicon.ico explicitly 2025-02-09 11:57:09 -06:00
P. Reis
cde091132e fix: remove comment 2025-02-09 11:54:12 -03:00
Alex Gleason
e7027af1ae
Fix hydrating mentions 2025-02-08 10:13:38 -06:00
Alex Gleason
b8c67a85d0
hydrate: move gatherMentions down 2025-02-08 09:58:02 -06:00
P. Reis
efceee505a fix: pass privkey to cashuWallet.receive 2025-02-07 23:49:57 -03:00
P. Reis
361ef9a600 fix: stop trying to decrypt kind 7376 content (lol), log errors 2025-02-07 23:32:21 -03:00
P. Reis
55cc109376 Merge branch 'main' into cashu 2025-02-07 22:53:34 -03:00
P. Reis
f9da100936 refactor(swapNutzapsToWalletController): change to POST method 2025-02-07 22:41:39 -03:00
Alex Gleason
5811a19151
Fix mentions in statuses? 2025-02-07 19:05:37 -06:00
Alex Gleason
7780507a15
Add semaphore to nip05 script 2025-02-07 18:17:50 -06:00
Alex Gleason
b902abc7cc
Use an even simpler query for db:populate:nip05 script 2025-02-07 18:13:39 -06:00
Alex Gleason
b0dc7faaff
Simplify db:populate:nip05 script 2025-02-07 17:49:39 -06:00
Alex Gleason
a4a26d7575
Make db:populate:nip05 script more efficient 2025-02-07 17:48:07 -06:00
Alex Gleason
5157a90b63
Add populate:nip05 script 2025-02-07 16:03:22 -06:00
Alex Gleason
93141c1db1
Hook everything up? (In a messy way) 2025-02-07 15:39:25 -06:00
P. Reis
a6c7bbd751 createNutzapInformationController: add TODO message 2025-02-07 18:11:39 -03:00
Alex Gleason
d9b0bc1437
Add nip05 and favicon results to the database, make renderAccount synchronous 2025-02-07 13:39:56 -06:00
Alex Gleason
af262b5d52
Whoops, fix streak days calculation 2025-02-07 12:06:34 -06:00
Alex Gleason
c476596d0a Merge branch 'streak-window' into 'main'
Make STREAK_WINDOW configurable

See merge request soapbox-pub/ditto!640
2025-02-07 17:56:36 +00:00
Alex Gleason
ea8ef09045
Change default streak window to 36 hours 2025-02-07 11:54:47 -06:00
Alex Gleason
46558a97e4
Make STREAK_WINDOW configurable 2025-02-07 11:50:37 -06:00
Alex Gleason
00e10eb19f
detectLanguage: strip numbers from text before matching language patterns 2025-02-06 18:42:29 -06:00
Alex Gleason
86ffa7f0cc
Don't display broken streak through the API 2025-02-06 16:33:14 -06:00
Alex Gleason
30559ba043
streak-recompute: only update changed rows 2025-02-06 16:04:25 -06:00
Alex Gleason
08a5e7f761 Merge branch 'streak2' into 'main'
Streak API: Version 2

See merge request soapbox-pub/ditto!639
2025-02-06 22:01:47 +00:00
Alex Gleason
b480947c4d
Add a script to recompute the streak of all authors 2025-02-06 15:56:49 -06:00
Alex Gleason
080c34d13f
Fix streak broken logic 2025-02-06 14:53:42 -06:00
Alex Gleason
abea4f17b3
Streak: report a 1 day streak after the first post 2025-02-06 14:44:01 -06:00
Alex Gleason
084df2b59d
Streaks API 2025-02-06 14:26:08 -06:00
Alex Gleason
c2aab97018
indexExtensions: ensure kind 6 has reply:false to test the performance difference between -reply:true 2025-02-06 11:24:49 -06:00
Alex Gleason
f412a0ae50
detectLanguage: test that a Japanese text with Han-only characters is ambiguous 2025-02-06 10:40:41 -06:00
P. Reis
f5ebb5d82a Merge branch 'main' into cashu 2025-02-06 13:19:35 -03:00
P. Reis
f7e49cd5ec checkpoint: implement nutzap redemption history (kind 7376) 2025-02-06 12:28:09 -03:00
Alex Gleason
c5680150e6
Copy the code into getIdsBySearch >:( 2025-02-05 22:56:02 -06:00
Alex Gleason
6cf5d42a5b
Upgrade Nostrify to enable negative search tokens 2025-02-05 22:53:26 -06:00
P. Reis
d61f0d1d4b checkpoint: swap tokens into user controlled wallet
TODO: create the 7376 history kind, reemded marker, etc
2025-02-05 23:34:56 -03:00
P. Reis
df1a3fe842 dependency: add cashu-ts 2025-02-05 19:32:48 -03:00
Alex Gleason
c837330b62 Merge branch 'language-code' into 'main'
Upgrade npm:iso-639-1, remove LanguageCode type assertions

See merge request soapbox-pub/ditto!637
2025-02-05 16:36:54 +00:00
Alex Gleason
7f5bfc6834
Upgrade npm:iso-639-1, remove LanguageCode type assertions 2025-02-05 10:22:09 -06:00
P. Reis
2012ef5192 Merge branch 'main' into cashu 2025-02-04 21:35:41 -03:00
P. Reis
870847127b checkpoint: implement swapNutzapsToWalletController 2025-02-04 21:33:02 -03:00
Alex Gleason
e58d0af691 Merge branch 'definitive-languages' into 'main'
detectLanguage: check the text's script for definitive language categorization for some languages

See merge request soapbox-pub/ditto!635
2025-02-04 21:26:12 +00:00
Alex Gleason
2f2cb2c4fc
detectLanguage: check the text's script for definitive language categorization for some languages 2025-02-04 15:05:52 -06:00