Commit graph

3361 commits

Author SHA1 Message Date
Alex Gleason
d991464810
Fix domain feeds 2025-02-12 22:45:53 -06:00
P. Reis
795c83ee88 refactor: remove unused imports and get rid of useless await 2025-02-12 20:28:34 -03:00
P. Reis
7d2258ff50 refactor: delete old controllers code: swapNutzapsToWalletController, createNutzapInformationController and createCashuWalletController 2025-02-12 20:11:02 -03:00
Alex Gleason
9ca0b2d21c Merge branch 'search-perf' into 'main'
Improve performance of account search

See merge request soapbox-pub/ditto!653
2025-02-12 22:21:24 +00:00
Alex Gleason
db793a3c6c
Refresh materialized view in search test 2025-02-12 16:20:04 -06:00
Alex Gleason
1482ee148e
Add missing indexes, fix order of results 2025-02-12 16:13:44 -06:00
Alex Gleason
ab7a0e06c7
Add a top_authors materialized view 2025-02-12 15:21:09 -06:00
Alex Gleason
510ad647be
Fix type errors 2025-02-12 15:02:19 -06:00
Alex Gleason
5969d9b3fa
getPubkeysBySearch: reduce limit of second query if applicable 2025-02-12 14:47:20 -06:00
Alex Gleason
379953a8cb
Improve performance of account search 2025-02-12 14:40:00 -06:00
P. Reis
96a16a9fd0 feat: create GET '/api/v1/ditto/cashu/mints' endpoint 2025-02-12 16:33:56 -03:00
Alex Gleason
7d8e5e676c Merge branch 'legacy-media' into 'main'
Enable media:true for legacy (non-imeta) URL attachments

See merge request soapbox-pub/ditto!652
2025-02-12 19:23:15 +00:00
Alex Gleason
112081e4bb
Enable media:true for legacy (non-imeta) URL attachments 2025-02-12 13:21:04 -06:00
P. Reis
7095519198 chore: remove done comments 2025-02-12 13:46:37 -03:00
Alex Gleason
8d76ab2906 Merge branch 'rm-pubkey-domains' into 'main'
Remove pubkey_domains table

See merge request soapbox-pub/ditto!651
2025-02-12 03:51:52 +00:00
Alex Gleason
f6fe777e78
Remove pubkey_domains table 2025-02-11 21:49:58 -06:00
Alex Gleason
efbefd918a
Speed up db:populate-extensions task 2025-02-11 21:20:16 -06:00
P. Reis
03946fabc8 test: GET /wallet must be successful 2025-02-11 22:11:06 -03:00
P. Reis
5e86844c12 feat: craete GET '/api/v1/ditto/cashu/wallet' endpoint
refactor: remove old swap controller and create swapNutzapsMiddleware
2025-02-11 22:10:33 -03:00
Alex Gleason
173aea6458
Update deno.lock 2025-02-11 18:17:22 -06:00
Alex Gleason
266fa08004 Merge branch 'negative-search' into 'main'
Upgrade Nostrify to support negative search queries, remove getIdsBySearch function

See merge request soapbox-pub/ditto!650
2025-02-12 00:16:19 +00:00
Alex Gleason
c379c11b25
search: support pagination via Link header 2025-02-11 18:13:47 -06:00
Alex Gleason
eb94da6cca
Upgrade Nostrify to support negative search queries, remove getIdsBySearch function 2025-02-11 17:40:28 -06:00
Alex Gleason
f8777b9e09 Merge branch 'fix-language' into 'main'
Ensure `.language` property gets added to DittoEvent when it's queried

See merge request soapbox-pub/ditto!649
2025-02-11 19:23:51 +00:00
Alex Gleason
43d675b837
Ensure .language property gets added to DittoEvent when it's queried 2025-02-11 13:19:32 -06:00
P. Reis
76f91687bd test: split test into 2 test functions 2025-02-11 12:58:02 -03:00
P. Reis
edd9512b01 test: PUT '/api/v1/ditto/cashu/wallet' endpoint must NOT be successful 2025-02-11 11:45:14 -03:00
P. Reis
89840eb279 refactor: create walletSchema and use it where required 2025-02-11 11:29:58 -03:00
P. Reis
1ff6511b39 test: PUT '/api/v1/ditto/cashu/wallet' endpoint 2025-02-11 11:07:46 -03:00
P. Reis
b74a0ffac0 refactor: create NIP-60 wallet and NIP-61 nutzap information event in the same endpoint 2025-02-11 10:59:04 -03:00
Alex Gleason
207e04ef08
Prewarm card cache in pipeline 2025-02-10 22:19:35 -06:00
Alex Gleason
756a9d9607
favicon: image/x-icon is an acceptable mime type 2025-02-10 21:21:18 -06:00
Alex Gleason
e468072b55 Merge branch 'home-filters' into 'main'
homeTimelineController: support exclude_replies, only_media params

See merge request soapbox-pub/ditto!648
2025-02-10 23:10:22 +00:00
Alex Gleason
11adaef243
homeTimelineController: support exclude_replies, only_media params 2025-02-10 17:08:29 -06:00
Alex Gleason
9e7aeda364 Merge branch 'exclude-replies-index' into 'main'
accountStatusesController: handle exclude_replies with NIP-50 search ext

See merge request soapbox-pub/ditto!647
2025-02-10 23:01:39 +00:00
Alex Gleason
8a9928696b
accountStatusesController: handle exclude_replies with NIP-50 search ext 2025-02-10 16:56:59 -06:00
Alex Gleason
c9dc3b198c Merge branch 'nip11-cors' into 'main'
Set CORS header on NIP-11 response

See merge request soapbox-pub/ditto!646
2025-02-10 22:24:27 +00:00
Alex Gleason
8e3976ea78 Merge branch 'hydrate-batch' into 'main'
hydrate: batch queries together

See merge request soapbox-pub/ditto!645
2025-02-10 22:23:49 +00:00
Alex Gleason
56c782e6e5
Set CORS header on NIP-11 response 2025-02-10 16:22:56 -06:00
Alex Gleason
4e86b6bf3f
hydrate: quotes must be gathered in a separate step 2025-02-10 16:21:01 -06:00
Alex Gleason
8267c170f0
hydrate: batch queries together 2025-02-10 16:15:13 -06:00
P. Reis
5076cdcc33 Merge branch 'main' into cashu 2025-02-10 17:18:40 -03:00
Alex Gleason
425edf2174
Add controller test, refactor some middlewares 2025-02-10 12:41:41 -06:00
Alex Gleason
1368304d25
Add cashuApp (rough draft) 2025-02-10 12:04:46 -06:00
P. Reis
00d10c7f9b refactor: TODO comments 2025-02-10 13:24:19 -03:00
Alex Gleason
1c4f0a87d5 Merge branch 'index-u-tags' into 'main'
feat: index 'u' tags

See merge request soapbox-pub/ditto!644
2025-02-10 16:04:50 +00:00
P. Reis
5a19a35847 Merge branch 'main' into cashu
Conflicts:
	deno.json
2025-02-10 12:48:55 -03:00
P. Reis
f85e7f7c33 feat: index 'u' tags 2025-02-09 21:27:38 -03:00
Alex Gleason
424272c97b Merge branch 'nip05-db' into 'main'
Store NIP-05 in the database

See merge request soapbox-pub/ditto!641
2025-02-09 23:46:50 +00:00
Alex Gleason
16f3a13364
SimpleLRU: respect AbortSignal 2025-02-09 17:22:53 -06:00