Commit graph

3497 commits

Author SHA1 Message Date
P. Reis
722522206b Merge branch 'staging' into 'main'
testing

See merge request soapbox-pub/ditto!718
2025-03-12 17:08:43 -03:00
P. Reis
37d81cf2a2 Merge branch 'main' into mint-cashu 2025-03-12 17:08:02 -03:00
Alex Gleason
2e4456dba2 Merge branch 'legacy-media-strip' into 'main'
Hide media URLs from posts without imeta tags

See merge request soapbox-pub/ditto!717
2025-03-12 17:04:00 +00:00
Alex Gleason
eec78efc0e
Hide media URLs from posts without imeta tags 2025-03-12 11:56:04 -05:00
P. Reis
8d0b5ba078 test: getMintsToProofs works 2025-03-12 13:15:52 -03:00
P. Reis
803b2abacc fix: add explicit return type - tokenEventSchema 2025-03-11 12:23:04 -03:00
P. Reis
dc711bce6a fix: add explicit return type 2025-03-11 11:49:39 -03:00
P. Reis
a002b1a005 refactor: create @ditto/cashu package 2025-03-11 11:34:42 -03:00
P. Reis
1c709b04be Merge branch 'main' into mint-cashu 2025-03-10 10:46:01 -03:00
Alex Gleason
0264b16553 Merge branch 'remove-console-log' into 'main'
refactor: remove console.logs

See merge request soapbox-pub/ditto!716
2025-03-09 21:56:12 +00:00
P. Reis
3e35102e13 refactor: remove console.logs 2025-03-09 13:02:53 -03:00
Alex Gleason
592d6c1d36
Upgrade gleasonator-policy in deno.lock 2025-03-08 21:03:58 -06:00
Alex Gleason
026568ea71
Fix firehose 2025-03-08 21:03:36 -06:00
Alex Gleason
6b3f5ac8a6
Expose db to custom policy script 2025-03-08 20:44:22 -06:00
Alex Gleason
a400021a0d
Bump signal to 5s 2025-03-08 19:44:16 -06:00
Alex Gleason
3cac9b6e26 Merge branch 'link-preview-db' into 'main'
Store link previews in the database

Closes #301

See merge request soapbox-pub/ditto!715
2025-03-09 01:39:56 +00:00
Alex Gleason
26990bcf5e
Remove linkPreview cache config, rm stray console.log 2025-03-08 19:36:53 -06:00
Alex Gleason
affea45a08
Store link previews in the database
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/301
2025-03-08 19:33:15 -06:00
Alex Gleason
1abe487115 Merge branch 'lookup' into 'main'
Look up identifiers in search on remote relays

See merge request soapbox-pub/ditto!714
2025-03-09 00:41:53 +00:00
Alex Gleason
f01b4c0791
Look up identifiers in search on remote relays 2025-03-08 18:36:24 -06:00
Alex Gleason
478debfda1 Merge branch 'outboxy-req-router' into 'main'
Add an outboxy-style REQ router

See merge request soapbox-pub/ditto!713
2025-03-08 21:52:17 +00:00
Alex Gleason
239c427c78
Add DittoPool tests 2025-03-08 15:46:02 -06:00
Alex Gleason
920e558c06
Add an outboxy-style REQ router 2025-03-08 15:29:31 -06:00
Alex Gleason
7248aaf6c6 Merge branch 'req-abort' into 'main'
Fix REQ abort logic

See merge request soapbox-pub/ditto!712
2025-03-08 05:01:13 +00:00
Alex Gleason
e085082a76
Fix REQ abort logic 2025-03-07 22:58:55 -06:00
Alex Gleason
413056e841
Prewarm cards only for kind 1 2025-03-07 16:31:01 -06:00
Alex Gleason
f12cce9802 Merge branch 'fix-relay-close' into 'main'
Ensure relay close handler is called

See merge request soapbox-pub/ditto!711
2025-03-07 18:52:06 +00:00
Alex Gleason
5162e051ad
Ensure relay close handler is called 2025-03-07 12:34:47 -06:00
Alex Gleason
f8eb4fc79c
Add a metric for active author subscriptions 2025-03-06 22:55:23 -06:00
Alex Gleason
9c3307f923
Purify event before sending it out to relay 2025-03-06 15:38:14 -06:00
Alex Gleason
e5e0ddd7aa
DittoPgStore: purify events before streaming them 2025-03-06 15:34:31 -06:00
Alex Gleason
6eace14850 Merge branch 'fetch-authors' into 'main'
Automatically fetch missing authors from pool

See merge request soapbox-pub/ditto!710
2025-03-06 21:12:43 +00:00
Alex Gleason
e85e89e0af
Automatically fetch missing authors from pool 2025-03-06 14:55:40 -06:00
Alex Gleason
1ab77fdeab Merge branch 'fix-revoke-nip05' into 'main'
fix(attempt): revoke username

See merge request soapbox-pub/ditto!700
2025-03-05 23:31:17 +00:00
P. Reis
e549a9d34a refactor: stop fetching author and set nip05_last_verified_at to null 2025-03-05 20:28:22 -03:00
P. Reis
9e726baa2a refactor: remove try catch 2025-03-05 20:15:16 -03:00
P. Reis
1eb1f4206d refactor: use db.kysely.updateTable rather than db.kysely.insertInto 2025-03-05 20:12:42 -03:00
P. Reis
19244aec2c test/fix: use waitFor function 2025-03-05 19:35:25 -03:00
Alex Gleason
811a56e406
ci: try moving the timeout to the actual test job 2025-03-05 15:05:26 -06:00
Alex Gleason
9b422d8e31
Add note about hanging queries in DittoPostgres test 2025-03-05 14:47:35 -06:00
Alex Gleason
0b72533b05
DittoPglite: test that queries reject after it's closed 2025-03-05 14:06:13 -06:00
Alex Gleason
4e0479f7c8
Add DittoPostgres test 2025-03-05 13:27:34 -06:00
Alex Gleason
c7175f8301
ci: add 2 minute timeout 2025-03-05 13:02:01 -06:00
Alex Gleason
f3bdabc13a
DittoRelayStore: improve error handling around this.listen(), remove await 2025-03-05 12:44:16 -06:00
P. Reis
842150b6e2 fix: remove useless 'p' tag in admin kind 5 event 2025-03-05 11:33:57 -03:00
P. Reis
fc4f5fd522 Merge branch 'main' into fix-revoke-nip05
Conflicts:
	packages/ditto/storages/DittoRelayStore.test.ts
2025-03-05 11:25:04 -03:00
P. Reis
d8a0eca891 refactor: get author from grant event (30360), before doing the admin deletion 2025-03-05 11:22:07 -03:00
P. Reis
dd5397e795 test: check if nip05 exists and then check again to see if it's null 2025-03-05 11:02:13 -03:00
P. Reis
dfff63fab4 fix: await Promise.allSettled 2025-03-05 11:00:28 -03:00
Alex Gleason
b5858dd54c
Catch pool.query 2025-03-04 23:09:20 -06:00