Commit Graph

1432 Commits

Author SHA1 Message Date
Alex Gleason 405714960e Merge branch 'mixed-filters' into 'main'
Upgrade Nostrify to v0.19.2, fix crash on mixed filters

See merge request soapbox-pub/ditto!268
2024-05-16 18:01:22 +00:00
Alex Gleason 6c3f0849b2
Upgrade Nostrify to v0.19.2, fix crash on mixed filters 2024-05-16 12:57:01 -05:00
Alex Gleason 8c46560df4 Merge branch 'phantom-deletions' into 'main'
Upgrade Nostrify to v0.19.1, fix phantom deletions

See merge request soapbox-pub/ditto!267
2024-05-16 15:50:46 +00:00
Alex Gleason 031a3eac04
EventsDB.test: import order 2024-05-16 10:30:54 -05:00
Alex Gleason 4df2c7ba9c
Improve EventsDB error handling 2024-05-16 10:29:14 -05:00
Alex Gleason 2ede439005
Upgrade Nostrify to v0.19.1, fix phantom deletions 2024-05-16 09:29:53 -05:00
Alex Gleason b2c26c9374 Merge branch '4036' into 'main'
Port 8000 -> 4036 in all the places

See merge request soapbox-pub/ditto!265
2024-05-16 13:13:12 +00: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 4fafce27eb Merge branch 'policy-env' into 'main'
Remote Policies

See merge request soapbox-pub/ditto!264
2024-05-16 01:41:30 +00:00
Alex Gleason f14b64b003
Remove useless policy dir 2024-05-15 20:35:35 -05:00
Alex Gleason 0b6b62f3b3
policyWorker: import deno-safe-fetch 2024-05-15 20:27:54 -05:00
Alex Gleason 9e9ab40886
Run the custom policy in a worker for security 2024-05-15 20:19:49 -05:00
Alex Gleason 6a1b8b0943
policy: improve error handling 2024-05-15 19:30:20 -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 132eed36b4 Merge branch 'docker' into 'main'
Add a basic Dockerfile

See merge request soapbox-pub/ditto!263
2024-05-15 23:41:33 +00:00
Alex Gleason 597946002d
Add a basic Dockerfile 2024-05-15 18:38:51 -05:00
Alex Gleason 750e4a8bff Merge branch 'port-4036' into 'main'
Use port 4036 by default

See merge request soapbox-pub/ditto!262
2024-05-15 22:11:58 +00:00
Alex Gleason 417bd64f4c
Use port 4036 by default 2024-05-15 17:09:12 -05:00
Alex Gleason a8fcd31999 Merge branch 'favicon' into 'main'
Add a default favicon.ico

See merge request soapbox-pub/ditto!261
2024-05-15 21:32:45 +00:00
Alex Gleason 19b2fd19e8
Add a default favicon.ico 2024-05-15 16:30:03 -05:00
Alex Gleason a31e28a719 Merge branch 'mark-readme' into 'main'
README.md: mark moderation and notifications as done

See merge request soapbox-pub/ditto!260
2024-05-15 16:10:58 +00:00
P. Reis e15779dcfd docs: mark moderation and notifications as done 2024-05-15 13:06:07 -03:00
Alex Gleason e2cf9457cf Merge branch 'stats-fix' into 'main'
stats: fix kysely screaming that we're awaiting a builder instance

See merge request soapbox-pub/ditto!259
2024-05-15 15:12:53 +00:00
Alex Gleason 4d3a9c6e23
stats: fix kysely screaming that we're awaiting a builder instance 2024-05-15 10:09:31 -05:00
Alex Gleason 406baf8a1d
events-db -> EventsDB 2024-05-15 08:18:31 -05:00
Alex Gleason 25a49db3ae Merge branch 'ndatabase' into 'main'
EventsDB: make it a simple wrapper around NDatabase

See merge request soapbox-pub/ditto!258
2024-05-15 13:16:21 +00:00
Alex Gleason 7021b0d4fd
'null' -> null 2024-05-15 08:13:19 -05:00
Alex Gleason 171350a34d
Drop deleted_at column 2024-05-15 08:08:30 -05:00
Alex Gleason 137bd0dae0
adminAccountsController: fix type error with DittoEvent 2024-05-14 22:19:33 -05:00
Alex Gleason ae0ec7be7e
EventsDB: remove DittoEvent dependency 2024-05-14 21:29:04 -05:00
Alex Gleason 221c41fdfa
EventsDB: make it a simple wrapper around NDatabase 2024-05-14 21:23:25 -05:00
Alex Gleason 998d0851df Merge branch 'ndb' into 'main'
EventsDB: migrate tables to match NDatabase

See merge request soapbox-pub/ditto!257
2024-05-15 02:02:52 +00:00
Alex Gleason 69108c0375
UnattachedMedia: point to new EventsDB tables 2024-05-14 20:58:29 -05:00
Alex Gleason b3985e740b
EventsDB: migrate tables to match NDatabase 2024-05-14 20:54:09 -05:00
Alex Gleason af9fb6aaa3
Sort imports of streaming.ts 2024-05-14 20:05:38 -05:00
Alex Gleason 91a7ebc634 Merge branch 'fix-blocked-users-in-streaming' into 'main'
Streaming API - Posts from blocked users does not show up in Global tab

Closes #109

See merge request soapbox-pub/ditto!250
2024-05-15 00:58:56 +00:00
Alex Gleason 64e7655b81 Merge branch 'recompute' into 'main'
Add stats:recompute script

See merge request soapbox-pub/ditto!254
2024-05-15 00:55:52 +00:00
P. Reis a1326dedcc fix(streaming): async storage 2024-05-14 21:53:50 -03:00
P. Reis 9e34838de8 Merge branch 'main' into fix-blocked-users-in-streaming
(((updating local branch)))
2024-05-14 21:51:53 -03:00
Alex Gleason b00ac8c768 Merge branch 'rm-deps-test' into 'main'
Remove deps-test.ts

See merge request soapbox-pub/ditto!256
2024-05-15 00:50:39 +00:00
P. Reis 0383726663 fix(streaming): use policy instead of hand coding 2024-05-14 21:44:19 -03:00
Alex Gleason 374dc3495c
Merge remote-tracking branch 'origin/main' into recompute 2024-05-14 19:43:50 -05:00
Alex Gleason f163af55d8
Remove deps-test.ts 2024-05-14 19:19:57 -05:00
Alex Gleason 31fc246526 Merge branch 'storages-async' into 'main'
Async Storages

See merge request soapbox-pub/ditto!255
2024-05-15 00:17:17 +00:00
P. Reis 4d342dff4a fix(streaming): move get muted users logic before upgrading connection to web socket 2024-05-14 21:14:00 -03:00
Alex Gleason 2fd50261f9
streaming: actually hydrate with optimizer 2024-05-14 19:11:38 -05:00
Alex Gleason 477ee8b124
Fix hydrateEvents in streaming 2024-05-14 19:09:25 -05:00
Alex Gleason d3a7f0849f
deno lint 2024-05-14 19:02:15 -05:00