Commit graph

2624 commits

Author SHA1 Message Date
P. Reis
b549cdef53 refactor: rename TREND_LANGUAGES to DITTO_LANGUAGES 2024-10-01 13:52:30 -03:00
Alex Gleason
50733d6e0b
Retain uploads for 6 hours 2024-09-30 20:33:17 -05:00
P. Reis
c0d9a90bfa refactor: remove un-used variable 2024-09-30 14:09:19 -03:00
P. Reis
5e23f4d636 test: trends without language and with language 2024-09-30 14:03:22 -03:00
P. Reis
61bc57c778 feat: support trendings by language 2024-09-30 14:02:12 -03:00
Alex Gleason
52b02043d9
Upgrade @gleasonator/policy in deno.lock 2024-09-30 11:54:41 -05:00
P. Reis
b33a6cdfe0 feat: add TREND_LANGUAGES environment variable 2024-09-30 13:53:30 -03:00
Alex Gleason
be5350a0a5 Merge branch 'manifest' into 'main'
Add initial webmanifest controller

See merge request soapbox-pub/ditto!521
2024-09-26 18:57:31 +00:00
Alex Gleason
64a6d7170c
Add initial webmanifest controller 2024-09-26 13:50:51 -05:00
Alex Gleason
4da82e9484
Update @gleasonator/policy in deno.lock 2024-09-25 16:47:30 -05:00
Alex Gleason
2fcaa9fe31
publicTimelineController: add conditional around filters.search assignment 2024-09-25 15:16:17 -05:00
Alex Gleason
68ab9f638c Merge branch 'pglite-policy' into 'main'
Fix PGlite in local development

See merge request soapbox-pub/ditto!520
2024-09-25 20:15:46 +00:00
Alex Gleason
2fdf68552c Merge branch 'filter-global-feed-by-language' into 'main'
feat: filter global and local feed by language

Closes #223

See merge request soapbox-pub/ditto!519
2024-09-25 20:12:17 +00:00
Alex Gleason
ff658cf496
policy: fix Error constructor 2024-09-25 15:10:12 -05:00
P. Reis
8ad101ce7b refactor: remove max(2) in languageSchema 2024-09-25 17:03:30 -03:00
Alex Gleason
f50b41f22b
Refactor PolicyWorker error handling 2024-09-25 15:01:40 -05:00
P. Reis
77f5965cdc refactor: return zod errors in publicTimelineController 2024-09-25 16:52:54 -03:00
P. Reis
12aaf8c678 refactor: use languageSchema in createStatusSchema 2024-09-25 16:51:59 -03:00
P. Reis
92aaca0d91 feat: create languageSchema 2024-09-25 16:51:23 -03:00
Alex Gleason
350671db47
DittoPglite: prevent starting PGlite instances in worker threads 2024-09-25 14:31:28 -05:00
Alex Gleason
606aeb3236
test: drop postgres tables dynamically 2024-09-25 13:13:58 -05:00
P. Reis
dac11a9055 feat: filter global and local feed by language
add a 'language' field in publicQuerySchema
2024-09-25 13:56:14 -03:00
Alex Gleason
f44b9267ad
Remove unused utils/ipfs.ts 2024-09-25 09:47:51 -05:00
Alex Gleason
657a513cf1 Merge branch 'pglite-0.2.8' into 'main'
Upgrade to pglite v0.2.8

See merge request soapbox-pub/ditto!518
2024-09-25 14:14:14 +00:00
Alex Gleason
f1828bfb52
Upgrade to pglite v0.2.8 2024-09-25 09:10:00 -05:00
Alex Gleason
3ff3ba81b7 Merge branch 'zap-notification-streaming' into 'main'
feat: zap notification in streaming

Closes #204

See merge request soapbox-pub/ditto!490
2024-09-24 22:50:35 +00:00
Alex Gleason
be88e0bc2e Merge branch 'pipeline-stats' into 'main'
pipeline: insert event even if stats fail

Closes #221 and #227

See merge request soapbox-pub/ditto!517
2024-09-24 21:54:32 +00:00
Alex Gleason
9f02215c04
Rethrow the error 2024-09-24 16:20:42 -05:00
Alex Gleason
3469374d8e
pipeline: insert event even if stats fail 2024-09-24 16:15:26 -05:00
P. Reis
b81ae3f043 Merge branch 'main' into zap-notification-streaming 2024-09-24 18:12:28 -03:00
Alex Gleason
d72ec843cf
Add relay connections metrics 2024-09-23 22:28:01 -05:00
Alex Gleason
fc73cb2961
Upgrade Nostrify 2024-09-23 22:16:03 -05:00
Alex Gleason
6a8b22d018
metrics: improve fetch response metrics 2024-09-23 21:29:50 -05:00
Alex Gleason
f8fcb9ac77 Merge branch 'policy-signal' into 'main'
Pass signal into policy

See merge request soapbox-pub/ditto!514
2024-09-23 23:10:00 +00:00
Alex Gleason
fe7a8aa8a7
Merge remote-tracking branch 'origin/main' into policy-signal 2024-09-23 18:06:11 -05:00
Alex Gleason
6d0611dafe
Pass signal into policy 2024-09-23 18:04:12 -05:00
Alex Gleason
3dd53f71e9 Merge branch 'catch-update-stats' into 'main'
fix: catch updateStats() function

Closes #221

See merge request soapbox-pub/ditto!513
2024-09-23 22:53:41 +00:00
P. Reis
42371bcc31 fix: catch updateStats() function 2024-09-23 17:47:55 -03:00
Alex Gleason
e0b966bb6d Merge branch 'add-sticky-to-relay' into 'main'
Sticky Notes: add "ditto:relay" in /relay endpoint

See merge request soapbox-pub/ditto!512
2024-09-23 18:50:58 +00:00
P. Reis
92d8f9b8c2 refactor(pipeline.ts): use correct Stickynotes, and not legacy Debug 2024-09-23 15:36:05 -03:00
P. Reis
60ebff45d5 refactor: use correct Stickynotes, and not legacy Debug 2024-09-23 15:33:14 -03:00
P. Reis
1a1adc1654 feat: add ditto:relay in /relay - sticky notes 2024-09-23 14:47:17 -03:00
Alex Gleason
70e27b04f4 Merge branch 'deno-2.0' into 'main'
Ugrade to Deno 2.0

See merge request soapbox-pub/ditto!511
2024-09-22 23:35:07 +00:00
Alex Gleason
8267916466
Add back pipeline test 2024-09-22 18:01:07 -05:00
Alex Gleason
ebce4a8b1d
Fix a few more type errors, whoops 2024-09-22 17:46:21 -05:00
Alex Gleason
b6e7a5529f
Downgrade GitLab CI to rc3 for now 2024-09-22 17:38:31 -05:00
Alex Gleason
cd66234af7
Ugrade to Deno 2.0 2024-09-22 17:35:04 -05:00
Alex Gleason
cccb3ad8d7 Merge branch 'fix-lru' into 'main'
SimpleLRU: fix repeated calls fetching

See merge request soapbox-pub/ditto!510
2024-09-22 21:13:04 +00:00
Alex Gleason
6745e96c64
SimpleLRU: fix repeated calls fetching 2024-09-22 16:06:10 -05:00
Alex Gleason
ce562b3b6a
Upgrade @gleasonator/policy in deno.lock 2024-09-22 14:41:34 -05:00