Commit graph

3278 commits

Author SHA1 Message Date
Alex Gleason
24ee33489d Merge branch 'trigger-insert' into 'main'
Trigger NOTIFY only on insert (not update)

See merge request soapbox-pub/ditto!658
2025-02-14 02:48:49 +00:00
Alex Gleason
dd336232d5
Trigger NOTIFY only on insert (not update) 2025-02-13 20:45:02 -06:00
Alex Gleason
053c362d44 Merge branch 'deno-2.1.10' into 'main'
Upgrade Deno to v2.1.10

See merge request soapbox-pub/ditto!657
2025-02-14 00:21:06 +00:00
Alex Gleason
b07ba9423b
Remove png-to-ico (this augments @types/node to a wrong version) 2025-02-13 18:16:52 -06:00
Alex Gleason
30b4900992
Upgrade Deno to v2.1.10 2025-02-13 17:46:28 -06:00
Alex Gleason
dda1bebfbc Merge branch 'cleanup' into 'main'
Cleanup

See merge request soapbox-pub/ditto!656
2025-02-13 23:45:26 +00:00
Alex Gleason
a2de8cdf82
Remove unnecessary lint rules from deno.json, avoid explicit any 2025-02-13 17:41:30 -06:00
Alex Gleason
359558e2d6
Remove unused docs and ansible directories 2025-02-13 17:21:33 -06:00
Alex Gleason
efb91d9f3f Merge branch 'cashu' into 'main'
Swap the tokens into the wallet

See merge request soapbox-pub/ditto!636
2025-02-13 22:54:54 +00:00
P. Reis
a5d4906257 refactor: just ignore leaky tests 2025-02-13 19:51:13 -03:00
Alex Gleason
26346b83ac
Fix leaky tests, but nutzapMiddleware is still broken 2025-02-13 15:47:53 -06:00
P. Reis
6473ab0f98 Merge branch 'main' into cashu 2025-02-13 13:25:06 -03:00
P. Reis
3418871a70 feat: create GET '/api/v1/ditto/cashu/mints' endpoint 2025-02-13 13:23:47 -03:00
Alex Gleason
00146dc192 Merge branch 'search-pagination' into 'main'
Try using offset pagination for account search

See merge request soapbox-pub/ditto!655
2025-02-13 05:41:22 +00:00
Alex Gleason
3c0e6dac76
Try using offset pagination for account search 2025-02-12 23:35:43 -06:00
Alex Gleason
a85daf1e67
EventsDB: fix domain query test 2025-02-12 23:11:09 -06:00
Alex Gleason
aabb20efa3
Rework domain queries so allow querying all subdomains by base domain 2025-02-12 23:04:08 -06:00
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