Commit graph

1728 commits

Author SHA1 Message Date
Alex Gleason
2309fd72d1
Don't limit statuses to kind 1 2024-09-08 09:05:23 -05:00
Alex Gleason
a19b7fbe9e
Fetch link previews with facebookexternalhit instead of WhatsApp/2 by default, make it configurable 2024-09-07 13:09:10 -05:00
Alex Gleason
99a25e1e18
media: fix setting description 2024-09-07 10:32:14 -05:00
Alex Gleason
8efd6fbb20
Remove unattached_media table, replace with LRUCache, fix media upload order problem 2024-09-07 10:24:56 -05:00
Alex Gleason
ddba16551a
Fix rendering mentions inside of URLs 2024-09-07 09:41:43 -05:00
Alex Gleason
1a98049ee8 Merge branch 'prom-metrics-best' into 'main'
Update Prometheus metrics to conform to best practices

See merge request soapbox-pub/ditto!478
2024-09-07 14:15:07 +00:00
Alex Gleason
4a578528f5
Add back pool size gauge 2024-09-07 09:00:18 -05:00
Alex Gleason
5454942a2c
Update Prometheus metrics to conform to best practices 2024-09-07 08:52:02 -05:00
P. Reis
a8900b3217 fix(zap notification): put kind 9735 in the first filter 2024-09-05 18:43:02 -03:00
Alex Gleason
4373a1eea9 Merge branch 'zap-notification' into 'main'
Implement zap notifications + Fix notification pagination

Closes #193

See merge request soapbox-pub/ditto!474
2024-09-05 20:14:54 +00:00
P. Reis
486dff83b9 fix: pass parameters params in ditto:zap notification 2024-09-03 22:24:01 -03:00
P. Reis
6d9d2fd42a fix: get event id from max_id
sometimes the 'max_id' format can come as `${created_at}-${id}`
so if that's the case, we split by the - (minus) character
2024-09-03 22:23:55 -03:00
Alex Gleason
7c319c6ff0
streaming: don't notify self of own post 2024-09-03 00:58:35 +02:00
P. Reis
8e8f8767b4 Merge branch 'main' into zap-notification 2024-09-02 09:54:45 -03:00
P. Reis
96e99f38c4 feat(views): render and return zap notification 2024-09-02 09:54:24 -03:00
P. Reis
729471d692 feat(notifications api): implement zap notification
calls database for zap events
2024-09-02 09:53:42 -03:00
Alex Gleason
b909f4e355 Merge branch 'store-alt-text' into 'main'
Store alt text along with other imeta, and render it when requested

Closes #172

See merge request soapbox-pub/ditto!464
2024-09-01 20:10:31 +00:00
Alex Gleason
0b6ca9dfea
Hide non-profile nostr URIs from text 2024-08-28 21:24:50 +02:00
Alex Gleason
ba77787767
Test and fix parsing of URLs 2024-08-28 21:19:07 +02:00
Alex Gleason
7a2a8bd4f5
Wrap URL in a try-catch 2024-08-28 21:15:43 +02:00
Alex Gleason
a63b838195
Fix parsing of regular URLs 2024-08-28 21:02:52 +02:00
Alex Gleason
f9d1eed4dd
Remove unnecessary escape characters 2024-08-28 19:46:19 +02:00
Alex Gleason
c2ea4cbfd5
Fix parsing bech32 with apostrophe 2024-08-28 19:38:06 +02:00
danidfra
8d8211de09 Fixed apostrophe issue 2024-08-28 14:01:26 -03:00
Alex Gleason
a505372bd1 Merge branch 'resp-method' into 'main'
metrics: track response method

See merge request soapbox-pub/ditto!469
2024-08-28 12:44:05 +00:00
Alex Gleason
f730771d72
metrics: track response method 2024-08-28 14:40:45 +02:00
P. Reis
7d9f874cdf feat: implement fifth parameter in zap tag 2024-08-27 17:52:51 -03:00
danidfra
980e904ea7 Update deno-dom 2024-08-26 15:31:03 -03:00
Siddharth Singh
1a38061b34
mediaDescriptionUpdateSchema --> mediaUpdateSchema 2024-08-25 19:48:04 +05:30
Siddharth Singh
7e711aa8a8
updateMediaDescriptionController --> updateMediaController 2024-08-25 19:43:28 +05:30
Siddharth Singh
f8fae52d5e
fix bug in alt text tagging 2024-08-25 19:13:31 +05:30
Siddharth Singh
1f04a7fcdf
remove debug console.logs 2024-08-25 17:20:25 +05:30
Siddharth Singh
cf4dc8627b
remove unnecessary coalescing 2024-08-25 16:25:36 +05:30
Siddharth Singh
6ff90d63bb
implement PUT /api/v1/media/:id
Adds support for setting image descriptions for accessibility reasons
2024-08-25 16:23:25 +05:30
Alex Gleason
eb3b442dd4
Add more known frontend routes 2024-08-19 20:13:59 -05:00
Alex Gleason
8370b250a2
Add a signal to renderAccount 2024-08-17 09:25:48 -05:00
Alex Gleason
e539a29775
Fetch favicon from NIP-05 domain 2024-08-17 09:21:12 -05:00
Alex Gleason
de1c6a05dc
Add domain to Account entity 2024-08-16 13:15:06 -05:00
Alex Gleason
a99728981c
Use favicon.ico to get instance favicon from NIP-05 of each user 2024-08-15 21:36:28 -05:00
Alex Gleason
4db8b2d4fb
Throw when creating a replaceable event that doesn't exist yet 2024-08-15 18:10:42 -05:00
Alex Gleason
1feeaf7b1e
Put zap splits behind a feature flag, disabled by default 2024-08-14 22:05:17 -05:00
Alex Gleason
1a69df1cd7
Add timeout message to the relay 2024-08-12 23:04:12 -05:00
Alex Gleason
27ba8b071a
pg migration: advise checking out main branch 2024-08-12 16:48:42 -05:00
Alex Gleason
c4064d0fa6
pg migration: 3 days -> several hours 2024-08-12 15:54:56 -05:00
Alex Gleason
e743e14bb1
Fix EventsDB test 2024-08-12 15:45:47 -05:00
Alex Gleason
8a23011392
pg migration: cascade 2024-08-12 15:17:42 -05:00
Alex Gleason
617659c7fd
Fix DittoDB+EventsDB relationship 2024-08-12 15:13:49 -05:00
Alex Gleason
5e4a94457f
Fix tests 2024-08-12 14:57:17 -05:00
Alex Gleason
3a82c98c21
trends: make trends work in Postgres (probably) 2024-08-12 14:48:32 -05:00
Alex Gleason
5c23cb02c2
Add NPostgres migration 2024-08-12 14:37:41 -05:00