Alex Gleason
|
d67f2a27ea
|
stats: use the NPostgres transaction method to avoid transactions within transactions
|
2024-09-12 11:30:57 -05:00 |
|
Alex Gleason
|
55ee8eaf74
|
Fix stat inflation
|
2024-09-12 11:09:54 -05:00 |
|
Alex Gleason
|
593cedba06
|
grafana: add API endpoints row
|
2024-09-11 21:34:16 -05:00 |
|
Alex Gleason
|
f7ee59146e
|
Clean up config
|
2024-09-11 18:30:23 -05:00 |
|
Alex Gleason
|
20d1f885ac
|
Upgrade gleasonator-policy in deno.lock
|
2024-09-11 16:53:02 -05:00 |
|
Alex Gleason
|
b449b17fbe
|
Add updated gleasonator-policy to deno.lock
|
2024-09-11 16:11:09 -05:00 |
|
Alex Gleason
|
6b66e61ee9
|
PolicyWorker: mock Deno.env
|
2024-09-11 14:34:41 -05:00 |
|
Alex Gleason
|
a1585d81aa
|
Merge branch 'store-policy' into 'main'
Expose db to Policy script
See merge request soapbox-pub/ditto!486
|
2024-09-11 19:21:11 +00:00 |
|
Alex Gleason
|
cae0f492f3
|
Let PolicyWorker run in sandbox with store
|
2024-09-11 14:04:11 -05:00 |
|
Alex Gleason
|
ebc0250d81
|
DittoDB.getInstance() -> Storages.kysely()
|
2024-09-11 13:23:06 -05:00 |
|
Alex Gleason
|
d2fb3fd253
|
Make EventsDB not rely on Conf
|
2024-09-11 13:06:20 -05:00 |
|
Alex Gleason
|
624b6b278e
|
Merge branch 'rm-sqlite' into 'main'
Remove SQLite support, simplify database code
See merge request soapbox-pub/ditto!485
|
2024-09-11 17:07:08 +00:00 |
|
Alex Gleason
|
fad40f1c30
|
createTestDB: don't accept an arg
|
2024-09-11 11:57:28 -05:00 |
|
Alex Gleason
|
f3ae200833
|
Simplify database interfaces, make tests use pglite
|
2024-09-11 11:48:58 -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
|
a888f43288
|
Merge branch 'pglite' into 'main'
Add support for pglite
See merge request soapbox-pub/ditto!483
|
2024-09-10 21:12:47 +00:00 |
|
Alex Gleason
|
25a8f27cb7
|
ci: upgrade deno to v1.46.3
|
2024-09-10 16:01:13 -05:00 |
|
Alex Gleason
|
6a14272184
|
Make pglite work
|
2024-09-10 16:00:16 -05:00 |
|
Alex Gleason
|
9331ab4ac1
|
grafana: add system usage, break up into rows
|
2024-09-08 13:31:09 -05:00 |
|
Alex Gleason
|
ca1455c59a
|
Merge branch 'render-unknown' into 'main'
Don't limit statuses to kind 1
See merge request soapbox-pub/ditto!484
|
2024-09-08 14:08:37 +00:00 |
|
Alex Gleason
|
2309fd72d1
|
Don't limit statuses to kind 1
|
2024-09-08 09:05:23 -05:00 |
|
Alex Gleason
|
8a94e8deb3
|
grafana: fix db effort query
|
2024-09-08 05:38:33 -05:00 |
|
Alex Gleason
|
819957da49
|
Upgrade kysely-pglite
|
2024-09-07 20:56:50 -05:00 |
|
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 |
|
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 |
|