Commit graph

3420 commits

Author SHA1 Message Date
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
P. Reis
236a9284ca refactor(createNutzapInformationController): implement new NIP 60 cashu wallet 2025-02-04 15:12:56 -03:00
P. Reis
e9696b8a2a refactor(createCashuWalletController): implement new NIP 60 cashu wallet 2025-02-04 12:48:56 -03:00
P. Reis
daedf24ca8 fix: add missing endpoint createNutzapInformationController 2025-02-04 12:34:41 -03:00
Alex Gleason
47d004d92a Merge branch 'add-script-populate-gallery' into 'main'
feat: populate extensions

See merge request soapbox-pub/ditto!634
2025-02-03 23:08:20 +00:00
P. Reis
7beb2d594a feat: populate extensions 2025-02-03 23:08:20 +00:00
Alex Gleason
ec5a000265
Upgrade gleasonator-policy, only index lowercase t-tags in EventsDB 2025-02-03 16:58:26 -06:00
Alex Gleason
1bfd5f992d Merge branch 'mention-npub-fix' into 'main'
Only parse mentions with valid pubkeys

Closes #290

See merge request soapbox-pub/ditto!633
2025-02-03 20:55:45 +00:00
Alex Gleason
cfa6848927
Only parse mentions with valid pubkeys
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/290
2025-02-03 14:53:38 -06:00
Alex Gleason
00953e4a0a Merge branch 'feat-nutzap-information' into 'main'
feat: create and implement createNutzapInformationController

See merge request soapbox-pub/ditto!630
2025-02-03 15:54:22 +00:00
Alex Gleason
41e974c31c
getIdsBySearch: AND and OR logic 2025-02-02 22:00:28 -06:00
Alex Gleason
116b675664
Tag protocol from proxy tag 2025-02-02 21:44:08 -06:00
Alex Gleason
70f8698e33
Upgrade @nostrify/db to v0.37.2 2025-02-02 21:41:35 -06:00
Alex Gleason
ffe49b3648
getIdsBySearch: fix joining txt tokens 2025-02-02 21:39:49 -06:00
Alex Gleason
0d718e28b4
Update getIdsBySearch to use the new search extensions column 2025-02-02 21:26:58 -06:00
Alex Gleason
4664aefa55
Remove the language column from the database, drop the default on search_ext 2025-02-02 21:06:30 -06:00
Alex Gleason
3edddb8dcc
Upgrade @nostrify/db 2025-02-02 20:40:36 -06:00
Alex Gleason
8693dd0e5d
Coerce only_media to a boolean again 2025-02-02 20:23:38 -06:00
Alex Gleason
83347df845
Fix video tag being incorrectly applied 2025-02-02 20:14:30 -06:00
Alex Gleason
3d221aa357 Merge branch 'feat-search-mime-type' into 'main'
feat: add mime_type column in nostr_events, add the NIP 50 search extensions: exact_mime_type, partial_mime_type, only_media

See merge request soapbox-pub/ditto!623
2025-02-03 01:46:54 +00:00
Alex Gleason
ad68946899
Fix defaultTo migration 2025-02-02 19:41:45 -06:00
Alex Gleason
f04ca2b6ff
Rework language and media columns to use Nostrify search_ext column 2025-02-02 19:32:43 -06:00
Alex Gleason
baad8821f5
Upgrade @nostrify/db 2025-02-02 17:47:34 -06:00
Alex Gleason
b4184631c3
Merge remote-tracking branch 'origin/main' into feat-search-mime-type 2025-02-02 17:47:10 -06:00
Alex Gleason
640e533dca
Add InternalRelay test 2025-02-01 11:59:38 -06:00
Alex Gleason
b7a1efe33c
localSuggestionsController: skip accounts without a profile 2025-01-30 21:56:45 -06:00
Alex Gleason
2dfde337cd
Fix localSuggestionsController 2025-01-30 21:53:45 -06:00
Alex Gleason
7f71f6f50c Merge branch 'local-suggested' into 'main'
Add local suggestions controller

See merge request soapbox-pub/ditto!631
2025-01-31 03:19:35 +00:00
Alex Gleason
99d52f8640
Add local suggestions controller 2025-01-30 21:16:38 -06:00
Alex Gleason
c3403ba724
Make AppController accept a path parameter 2025-01-30 21:03:42 -06:00
Alex Gleason
c83a2dba7e
Give requireSigner middleware the right type 2025-01-30 20:39:51 -06:00
P. Reis
8797963d8c refactor: remote import at the top 2025-01-30 20:35:46 -03:00
P. Reis
db6ac74702 feat: create and implement createNutzapInformationController 2025-01-30 20:26:24 -03:00
Alex Gleason
9ced9fb31d Merge branch 'cashu-wallet' into 'main'
feat: endpoint for creating NIP-60 wallet

Closes #289

See merge request soapbox-pub/ditto!629
2025-01-30 18:59:11 +00:00
P. Reis
6a34f8f6e5 fix: use zod array instead of zod set
https://github.com/colinhacks/zod/issues/3963
2025-01-30 11:07:15 -03:00
Alex Gleason
c6848b9ce2
Log events sent to our relay 2025-01-30 02:33:19 -06:00