Commit graph

95 commits

Author SHA1 Message Date
Alex Gleason
7a60b4b8d8
Support kind 20 "Picture" events (NIP-68) 2025-01-05 11:23:18 -06:00
Alex Gleason
81780bec72
Let field limits be configurable 2024-11-20 10:58:21 -06:00
Alex Gleason
f987effc15
Make media analyze optional (disabled by default) 2024-11-07 11:18:39 -06:00
Alex Gleason
8155fae89a
Perform listen/notify of Nostr events to the pipeline 2024-10-19 20:27:46 -05:00
Alex Gleason
c390481939
Remove TEST_DATABASE_URL 2024-10-18 13:25:39 -05:00
Alex Gleason
f6046c015b
Remove @std/dotenv 2024-10-18 13:22:34 -05:00
Alex Gleason
45cf74c168
Encode VAPID public key with base64url 2024-10-15 15:51:52 -05:00
Alex Gleason
b4e63afb8c
Merge remote-tracking branch 'origin/main' into push 2024-10-11 18:03:20 -05:00
Alex Gleason
12d643e150
Add translation cache metrics, let the cache be configurable 2024-10-10 14:12:20 -05:00
Alex Gleason
9469fff6ac
Rename translation variables from _ENDPOINT to _BASE_URL 2024-10-10 13:48:50 -05:00
Alex Gleason
198ec973b6
Load VAPID keys from configuration 2024-10-08 19:57:46 -05:00
Alex Gleason
8823c0987d
Actually push ?? 2024-10-08 18:37:23 -05:00
P. Reis
20caaa9ebd refactor: LibreTranslate and DeepL with separate environment variables for their configuration 2024-10-08 16:53:30 -03:00
P. Reis
bfab84d937 refactor: make provider lowercase because supporting case insensitive is allegedly protocol bloat 2024-10-07 17:54:03 -03:00
P. Reis
01a16473ab Merge branch 'main' into translate-status 2024-10-07 15:02:47 -03:00
P. Reis
c6626313bc feat: get TRANSLATION_PROVIDER, TRANSLATION_PROVIDER_ENDPOINT & TRANSLATION_PROVIDER_API_KEY enviornment variables 2024-10-07 14:38:55 -03:00
Alex Gleason
e57dd8911c
captcha: don't do the encryption thing, just use a ttl cache 2024-10-04 12:07:12 -05:00
Alex Gleason
205b9a77fe Merge branch 'wallet' into 'main'
Add an HD wallet

See merge request soapbox-pub/ditto!532
2024-10-03 22:56:58 +00:00
Alex Gleason
e153020597
Add an HD wallet 2024-10-03 17:51:47 -05:00
P. Reis
b549cdef53 refactor: rename TREND_LANGUAGES to DITTO_LANGUAGES 2024-10-01 13:52:30 -03:00
P. Reis
b33a6cdfe0 feat: add TREND_LANGUAGES environment variable 2024-09-30 13:53:30 -03:00
Alex Gleason
807bc78472
Let caches be configurable 2024-09-20 13:22:45 -05:00
Alex Gleason
b53c6dab62
Add FIREHOSE_KINDS variable 2024-09-19 21:51:48 -05:00
Alex Gleason
8e3ddaa056
Add PGLITE_DEBUG environment variable 2024-09-16 12:31:50 -05:00
Alex Gleason
f7ee59146e
Clean up config 2024-09-11 18:30:23 -05:00
Alex Gleason
cae0f492f3
Let PolicyWorker run in sandbox with store 2024-09-11 14:04:11 -05:00
Alex Gleason
dc8d09a9da
Remove SQLite support 2024-09-11 11:08:33 -05:00
Alex Gleason
f76d0af16d
Add TEST_DATABASE_URL env, change database defaults 2024-09-11 10:28:06 -05:00
Alex Gleason
69329674e1
Add support for pglite 2024-09-07 16:38:28 -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
1feeaf7b1e
Put zap splits behind a feature flag, disabled by default 2024-08-14 22:05:17 -05:00
Alex Gleason
9f9a07e618
Improve performance of import script 2024-08-11 16:08:15 -05:00
Alex Gleason
ba241f0431
Rework opengraph 2024-08-07 20:47:53 -05:00
Alex Gleason
72970bf480
Code style changes 2024-08-07 19:01:50 -05:00
Siddharth Singh
2283f64204
regex guard around opengraph routes 2024-08-06 00:45:28 +05:30
Alex Gleason
b05bf37cb3
Limit firehose concurrency 2024-08-01 11:51:38 -05:00
Alex Gleason
a49e56f2a0
Increase default database timeouts 2024-07-14 10:10:26 -05:00
Alex Gleason
96fe8920cd
Make database timeouts configurable 2024-07-12 13:49:44 -05:00
Siddharth Singh
3f7687d59f
make changes according to 24-06-24 review 2024-06-24 02:34:49 +05:30
Siddharth Singh
60b4ea4643
add config values for external nostr viewer back to source code 2024-06-24 02:02:58 +05:30
Alex Gleason
c3af8299f1
Spread s3 config
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/156
2024-06-15 23:51:50 -05:00
Alex Gleason
c39fd2daa2
Improve the setup script and clean up config 2024-06-15 23:41:19 -05:00
Alex Gleason
0f59b3c96b
Trends: label trending posts by publishing an event 2024-06-02 11:58:21 -05:00
Alex Gleason
250998405a
Rework database Conf to easily get the dialect 2024-05-24 20:07:38 -05:00
Alex Gleason
f0b247130f
Add support for Blossom uploader 2024-05-19 15:42:45 -05:00
Alex Gleason
c89be75e5b
Add a nostr.build uploader 2024-05-18 16:22:24 -05:00
Alex Gleason
4b07f2a12a
Actually, set default LOCAL_DOMAIN based on PORT 2024-05-16 08:10:13 -05:00
Alex Gleason
0acde23c46
Port 8000 -> 4036 in all the places 2024-05-16 08:08:36 -05:00
Alex Gleason
9e9ab40886
Run the custom policy in a worker for security 2024-05-15 20:19:49 -05:00
Alex Gleason
8a672c93ec
Debug custom policies with ditto:policy 2024-05-15 18:59:51 -05:00