Commit graph

69 commits

Author SHA1 Message Date
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
Alex Gleason
8e68d13ff1
Let custom policy be configured with DITTO_POLICY 2024-05-15 18:49:55 -05:00
Alex Gleason
417bd64f4c
Use port 4036 by default 2024-05-15 17:09:12 -05:00
Alex Gleason
08c9ee0670
Refactor client and firehose 2024-05-14 16:25:24 -05:00
Alex Gleason
5e1cfad5cc
Add PG_POOL_SIZE environment variable 2024-05-08 11:46:27 -05:00
Alex Gleason
ea665eed12
std/dotenv alias 2024-05-01 16:22:55 -05:00
Alex Gleason
0bb4ccf5c9
Move nostr-tools to an import alias 2024-04-30 18:43:53 -05:00
Alex Gleason
303b0fe098
Add localUploader 2024-04-29 16:28:54 -05:00
Siddharth Singh
58b034e169
rename DITTO_LISTEN_ON and localPort() to PORT and port() 2024-04-24 21:38:05 +05:30
Siddharth Singh
3880f1e013
allow configuring the local port ditto listens on 2024-04-24 21:32:02 +05:30
Alex Gleason
0f9cc9fe51
zod import alias 2024-04-23 15:03:20 -05:00
Alex Gleason
e458f8da13
Introduce DATABASE_URL 2024-04-18 22:11:58 -05:00
Alex Gleason
7860a0e3c2
Allow setting external URI on statuses 2024-04-06 19:36:12 -05:00
Alex Gleason
d103d0f1d6
Make Conf a static class, cache pubkey 2024-03-30 22:56:09 -05:00
Alex Gleason
d4c94ba549
Remove DITTO_ENV config, make registrations always open 2024-03-29 11:51:32 -05:00
Alex Gleason
dbff3fee9a
Upgrade nostr-tools to v2.1.5 2024-02-12 11:40:17 -06:00
Alex Gleason
15810c1935
Configure server from the kind 0 event of the admin user 2024-01-08 16:53:46 -06:00
Alex Gleason
ee7347df10
SearchStore works! 2024-01-04 00:07:57 -06:00
Alex Gleason
d63de0ad0b
Set SQLite PRAGMAs on start 2023-10-11 23:05:43 -05:00
Alex Gleason
d646598879
Add Sentry integration 2023-10-05 16:08:12 -05:00
Alex Gleason
82c4f0827e
Make registrations configurable by env 2023-09-10 23:44:30 -05:00
Alex Gleason
607ef4b980
Make POW configurable, expose over the API 2023-09-10 15:38:49 -05:00
Alex Gleason
052c00821d
Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason
2c943872a8
media: enforce a filesize limit on uploads 2023-09-08 16:48:27 -05:00
Alex Gleason
8ae89462b7
Add a configUploader module to select the uploader based on config 2023-09-08 16:04:55 -05:00
Alex Gleason
4f57ac0352
uploads: make uploader and media URL configurable 2023-09-08 15:20:57 -05:00
Alex Gleason
c40f10539d
ipfs: make API URL configurable, reorganize config 2023-09-07 19:22:28 -05:00