Commit graph

2445 commits

Author SHA1 Message Date
Alex Gleason
69329674e1
Add support for pglite 2024-09-07 16:38:28 -05:00
Alex Gleason
044708d49f Merge branch 'fetch-ua' into 'main'
Fetch link previews with facebookexternalhit instead of WhatsApp/2 by default, make it configurable

See merge request soapbox-pub/ditto!482
2024-09-07 18:12:33 +00: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
3af56995af Merge branch 'ansible' into 'main'
Add ansible playbook to update multiple Ditto servers at once

See merge request soapbox-pub/ditto!481
2024-09-07 16:01:24 +00:00
Alex Gleason
23f6038427
Add ansible playbook to update multiple Ditto servers at once 2024-09-07 10:54:48 -05:00
Alex Gleason
ac4a63bdcc
deno task soapbox: don't prompt to overwrite 2024-09-07 10:43:01 -05:00
Alex Gleason
fac484c651 Merge branch 'attachments-simplify' into 'main'
Remove unattached_media table, switch to LRUCache, fix uploads in random order

Closes #192

See merge request soapbox-pub/ditto!480
2024-09-07 15:35:44 +00: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
85000cd00e Merge branch 'mention-link-fix' into 'main'
Fix rendering mentions inside of URLs

See merge request soapbox-pub/ditto!479
2024-09-07 14:44:56 +00: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
537de85421
Add grafana dashboard.json 2024-09-07 09:02:14 -05: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
Alex Gleason
a7292b1b8d Merge branch 'fix-zap-notification' into 'main'
fix(zap notification): put kind 9735 in the first filter

See merge request soapbox-pub/ditto!477
2024-09-06 05:43:01 +00: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
3fa97c0533 Merge branch 'fix-streaming-self' into 'main'
streaming: don't notify self of own post

See merge request soapbox-pub/ditto!475
2024-09-02 23:11:41 +00:00
Alex Gleason
7c319c6ff0
streaming: don't notify self of own post 2024-09-03 00:58:35 +02:00
Alex Gleason
e40201ffb5 Merge branch 'clean-error-types' into 'main'
feat: add clean type errors task

See merge request soapbox-pub/ditto!472
2024-09-02 22:56:32 +00:00
Siddharth Singh
71965f53aa
Merge branch 'main' into ditto-as-a-service
need the commander dependency from db:export
2024-09-02 19:11:09 +05:30
P. Reis
1777224f97 refactor: rename clean:type-errors to clean:deps 2024-09-02 10:00:23 -03: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
b271ecc801 Merge branch 'fix-nostrpull-duplicate-events' into 'main'
Handle event insertion errors with warning

Closes #195

See merge request soapbox-pub/ditto!473
2024-09-01 13:56:56 +00:00
Siddharth Singh
e7f5535bd2
handle event insertion errors with warning 2024-09-01 19:15:22 +05:30
Siddharth Singh
7ba0f97cb2
add new-tribe and setup-remote management scripts 2024-08-31 19:31:36 +05:30
Siddharth Singh
d876a473f6
move headless stuff to tribes/ dir 2024-08-31 19:23:44 +05:30
P. Reis
8e53da7980 feat: add clean type errors task 2024-08-29 10:22:24 -03: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
043e579c10 Merge branch 'fix-url' into 'main'
Fix parsing of regular URLs

See merge request soapbox-pub/ditto!471
2024-08-28 19:07:37 +00:00
Alex Gleason
a63b838195
Fix parsing of regular URLs 2024-08-28 21:02:52 +02:00
Alex Gleason
cde70e4c8f Merge branch 'fix-apostrophe-issue' into 'main'
Fixed apostrophe issue

Closes #190

See merge request soapbox-pub/ditto!470
2024-08-28 17:49:26 +00: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
Alex Gleason
0d44932a04 Merge branch 'message-zap-split' into 'main'
feat: implement fifth parameter in zap tag

See merge request soapbox-pub/ditto!468
2024-08-27 22:04:05 +00:00
P. Reis
7d9f874cdf feat: implement fifth parameter in zap tag 2024-08-27 17:52:51 -03:00
Alex Gleason
4b416e3c66 Merge branch 'update-nostrify' into 'main'
chore: update nostrify to 0.30.1

See merge request soapbox-pub/ditto!467
2024-08-27 18:32:09 +00:00
P. Reis
f96fca835b chore: update nostrify to 0.30.1
other dependencies such as hono were automatically updated as well
2024-08-27 13:40:24 -03:00
Alex Gleason
e286ecc47d Merge branch 'db-export-filters' into 'main'
Allow filtering items exported by `deno task db:export`

Closes #186

See merge request soapbox-pub/ditto!463
2024-08-26 22:14:23 +00:00