Commit Graph

1821 Commits

Author SHA1 Message Date
P. Reis a519637bee fix(pipeline-zap): allow 'event' to proceed even without 'user' field 2024-05-28 17:40:10 -03:00
Alex Gleason 5f73232418
relay: remove enforceFilters function 2024-05-28 14:51:07 -05:00
Alex Gleason 981f8c5d22
relay: remove enforceFilters function 2024-05-28 13:59:57 -05:00
Alex Gleason a6a74a16a8
Have OAuth form accept a bunker URI 2024-05-28 13:48:27 -05:00
Alex Gleason 1aa2bafc44
OAuth: add a "nostr" grant_type 2024-05-26 21:26:59 -05:00
Alex Gleason c55cd2a977
blob -> bytea 2024-05-26 20:41:14 -05:00
Alex Gleason b1a497b127
signerMiddleware: accept token1 bech32's 2024-05-26 20:27:46 -05:00
Alex Gleason 0141a732c3
Add connections table 2024-05-26 19:21:15 -05:00
Alex Gleason 11474c5cbd Merge branch 'postgres' into 'main'
Test Postgres in the CI

See merge request soapbox-pub/ditto!324
2024-05-26 23:51:52 +00:00
Alex Gleason 8f3b9df1e1
Test Postgres in the CI 2024-05-26 18:42:14 -05:00
Alex Gleason a6cae8f878
renderAccount: display_name cannot be undefined 2024-05-26 12:59:04 -05:00
Alex Gleason 1fff0834eb Merge branch 'fix-reblog' into 'main'
Fix renderReblog on other Mastodon apps

See merge request soapbox-pub/ditto!323
2024-05-26 17:57:40 +00:00
Alex Gleason 875b678948
Fix renderReblog on other Mastodon apps 2024-05-26 12:55:01 -05:00
Alex Gleason 30881275ad Merge branch 'encrypted-tag' into 'main'
Add `encrypted` tag to Pleroma configs event

See merge request soapbox-pub/ditto!322
2024-05-26 17:45:44 +00:00
Alex Gleason c03be1726e
Add `encrypted` tag to Pleroma configs event 2024-05-26 12:43:08 -05:00
Alex Gleason 3f9908449b Merge branch 'dont-encrypt-settings' into 'main'
Don't encrypt settings_store

See merge request soapbox-pub/ditto!321
2024-05-26 17:37:09 +00:00
Alex Gleason a66df583fb
Don't encrypt settings_store 2024-05-26 12:34:18 -05:00
Alex Gleason d6727d2d09 Merge branch 'ping' into 'main'
Set idleTimeout to 30s for WebSocket connections

See merge request soapbox-pub/ditto!320
2024-05-25 19:12:14 +00:00
Alex Gleason 16558e24c9
Set idleTimeout to 30s for WebSocket connections 2024-05-25 13:39:19 -05:00
Alex Gleason 6bfe611847 Merge branch 'rm-optimizer' into 'main'
Remove Optimizer and Reqmeister

See merge request soapbox-pub/ditto!319
2024-05-25 17:24:58 +00:00
Alex Gleason a15013e22a
Remove Optimizer and Reqmeister 2024-05-25 12:22:01 -05:00
Alex Gleason b77e14dac3 Merge branch 'pipeline-encounter-race' into 'main'
pipeline: fix race condition in encounterEvent

See merge request soapbox-pub/ditto!318
2024-05-25 17:16:55 +00:00
Alex Gleason 6684edaeaf
pipeline: fix race condition in encounterEvent 2024-05-25 12:13:55 -05:00
Alex Gleason 4111d8b3cb Merge branch 'file-routes' into 'main'
Optimize filesystem routes

See merge request soapbox-pub/ditto!317
2024-05-25 16:55:24 +00:00
Alex Gleason 1ee0ca8d5c
Optimize filesystem routes 2024-05-25 11:18:17 -05:00
Alex Gleason 40f72f750e Merge branch 'assemble-events-bench' into 'main'
Add benchmark for assembleEvents

See merge request soapbox-pub/ditto!316
2024-05-25 15:52:10 +00:00
Alex Gleason 1ffc1fc8f4
hydrate.bench: move the `events` variable above the bench 2024-05-25 10:49:09 -05:00
Alex Gleason 3c950fb4ba
Update assembleEvents bench with stats 2024-05-25 10:40:23 -05:00
Alex Gleason 14e5948394
Add assembleEvents bench 2024-05-25 10:33:23 -05:00
Alex Gleason 40369be6c6 Merge branch 'fix-schema-update-credentials' into 'main'
Only allow valid data or empty string in update credentials

See merge request soapbox-pub/ditto!315
2024-05-25 14:34:43 +00:00
Alex Gleason c89867f486
Remove unused NostrMetadata import 2024-05-25 09:25:09 -05:00
Alex Gleason b64ea84b82
Use z.or 2024-05-25 09:20:16 -05:00
Alex Gleason 4f32972d85
updateCredentialsController: delete empty fields from metadata 2024-05-25 09:17:56 -05:00
P. Reis 5dee6450ec fix(update credentials): allow only valid data or empty string 2024-05-25 10:41:39 -03:00
Alex Gleason cf71c48f09 Merge branch 'familiar-followers' into 'main'
Implement familiar followers

See merge request soapbox-pub/ditto!314
2024-05-25 03:39:04 +00:00
Alex Gleason 622a2b2a4f
Implement familiar followers 2024-05-24 22:30:56 -05:00
Alex Gleason ca755b6d77 Merge branch 'emoji-resp' into 'main'
reactionController: fix the response

See merge request soapbox-pub/ditto!313
2024-05-25 02:03:02 +00:00
Alex Gleason c4ea243bdc
reactionController: fix the response 2024-05-24 20:59:53 -05:00
Alex Gleason fb80c9c2fe Merge branch 'no-recount' into 'main'
Stop recounting author stats constantly

See merge request soapbox-pub/ditto!312
2024-05-25 01:29:30 +00:00
Alex Gleason 69ff568214
Stop recounting author stats constantly 2024-05-24 20:24:17 -05:00
Alex Gleason 6062378b7e Merge branch 'stats-race' into 'main'
stats: fix race conditions (on Postgres)

See merge request soapbox-pub/ditto!311
2024-05-25 01:21:41 +00:00
Alex Gleason 4330cae626
Fix Conf.db in migrations 2024-05-24 20:16:51 -05:00
Alex Gleason 04018015c5
stats: fix race conditions (on Postgres) 2024-05-24 20:11:22 -05:00
Alex Gleason 250998405a
Rework database Conf to easily get the dialect 2024-05-24 20:07:38 -05:00
Alex Gleason ab22feacd2 Merge branch 'rework-stats' into 'main'
Rework stats

See merge request soapbox-pub/ditto!308
2024-05-24 23:05:24 +00:00
Alex Gleason 8344ac6b39
stats.test: insert the note for FK constraint 2024-05-24 17:55:25 -05:00
Alex Gleason c6dea07ac3
Add back reactions_count column so trending can still work 2024-05-24 17:51:32 -05:00
Alex Gleason f7c9a96719
Nuke the old stats module, support emoji reactions on posts 2024-05-24 17:40:51 -05:00
Alex Gleason ee2065b76b
stats: add (and test) countAuthorStats 2024-05-24 16:24:47 -05:00
Alex Gleason 34f3cc8d24
Fully test the new stats module 2024-05-24 15:52:30 -05:00