Commit Graph

1654 Commits

Author SHA1 Message Date
Alex Gleason d6727d2d09 Merge branch 'ping' into 'main'
Set idleTimeout to 30s for WebSocket connections

See merge request 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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
Alex Gleason 83b2a627c3
Merge remote-tracking branch 'origin/main' into rework-stats 2024-05-24 13:15:30 -05:00
Alex Gleason 16ce2452c5 Merge branch 'update-credentials-validation' into 'main'
updateCredentialsController: stricter validation, support bot field

See merge request 
2024-05-24 18:13:57 +00:00
Alex Gleason 307090e32f
updateCredentialsController: stricter validation, support bot field 2024-05-24 13:09:32 -05:00
Alex Gleason 0a346228ee
Merge remote-tracking branch 'origin/main' into rework-stats 2024-05-24 12:57:12 -05:00
Alex Gleason 5b6b87eeb3 Merge branch 'website' into 'main'
Upgrade Nostrify to v0.22.2, enforce http(s) in website field

See merge request 
2024-05-24 17:48:44 +00:00
Alex Gleason c30d6beea2
Upgrade nostrify to v0.22.4, zod to v3.23.8 2024-05-24 12:45:26 -05:00
Alex Gleason 8c12ffaaa1
Upgrade Nostrify to v0.22.2, enforce http(s) in website field 2024-05-24 11:30:56 -05:00
Alex Gleason 0fd5f26977
stats: handle kind 5 deletions 2024-05-23 23:02:21 -05:00
Alex Gleason 1da4566c42
Basically rewrite the stats module 2024-05-23 22:41:16 -05:00
Alex Gleason ae271b6505 Merge branch 'reactions' into 'main'
reactionsController: filter out non-RGI reactions

See merge request 
2024-05-23 19:23:36 +00:00
Alex Gleason 834c9f2171
reactionsController: filter out non-RGI reactions 2024-05-23 14:20:15 -05:00
Alex Gleason ea1c06f0c3 Merge branch 'save-lightning-address' into 'main'
Save user lud16 & website into kind 0

Closes soapbox#1662

See merge request 
2024-05-23 19:07:05 +00:00
P. Reis c7726b652b feat: save user lud16 & website into kind 0 2024-05-23 15:59:29 -03:00
Alex Gleason 20cca186ce Merge branch 'reactions' into 'main'
favouritedByController: filter only likes

See merge request 
2024-05-23 18:54:01 +00:00
Alex Gleason c7e5076434
favouritedByController: filter only likes 2024-05-23 13:50:45 -05:00
Alex Gleason c2562a3ed1 Merge branch 'reactions' into 'main'
Add reactionsController

See merge request 
2024-05-23 18:27:27 +00:00
Alex Gleason 3f3a302002
Order imports 2024-05-23 13:23:42 -05:00