Commit Graph

1583 Commits

Author SHA1 Message Date
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
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 soapbox-pub/ditto!310
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 soapbox-pub/ditto!309
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 soapbox-pub/ditto!306
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 soapbox-pub/ditto!305
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 soapbox-pub/ditto!304
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 soapbox-pub/ditto!303
2024-05-23 18:27:27 +00:00
Alex Gleason 3f3a302002
Order imports 2024-05-23 13:23:42 -05:00
Alex Gleason b197b57ea8
Support reactionsController with a single emoji 2024-05-23 13:22:04 -05:00
Alex Gleason 86a931d725
Add reactionsController 2024-05-23 13:16:24 -05:00
Alex Gleason f6973e11fa Merge branch 'reactions' into 'main'
Add pleroma_emoji_reactions to instance features

See merge request soapbox-pub/ditto!302
2024-05-23 17:58:11 +00:00
Alex Gleason 777686939c
Add pleroma_emoji_reactions to instance features 2024-05-23 11:47:01 -05:00
Alex Gleason e06dda4014 Merge branch 'reactions' into 'main'
Add and delete reactions

See merge request soapbox-pub/ditto!301
2024-05-23 00:57:01 +00:00
Alex Gleason b0a53f4789
Add delete reaction controller 2024-05-22 18:33:00 -05:00
Alex Gleason 93922b3f93
Add reactionController 2024-05-22 17:06:02 -05:00
Alex Gleason dfb0b0b874 Merge branch 'trends-limits' into 'main'
Set trending statuses default limit to 20

See merge request soapbox-pub/ditto!300
2024-05-22 18:10:49 +00:00
Alex Gleason 9c7a650d1f
Set trending statuses default limit to 20 2024-05-22 13:07:54 -05:00
Alex Gleason ca4f6ccb5c Merge branch 'nip05-tldts' into 'main'
NIP05: skip network request for invalid TLDs

See merge request soapbox-pub/ditto!299
2024-05-22 17:55:52 +00:00
Alex Gleason 823f389bce
NIP05: skip network request for invalid TLDs 2024-05-22 12:52:59 -05:00
Alex Gleason 1d37106b27
unreblogStatusController: repostedEvent -> repostEvent 2024-05-22 12:08:20 -05:00
Alex Gleason 6d1c21dce2 Merge branch 'render-event-accounts-logic' into 'main'
renderEventAccounts: rework the logic, call hydrateEvents

See merge request soapbox-pub/ditto!298
2024-05-22 16:58:17 +00:00
Alex Gleason b33f7d2cc4
renderEventAccounts: rework the logic, call hydrateEvents 2024-05-22 11:44:48 -05:00
Alex Gleason 4d9b4d9475 Merge branch 'r-tags' into 'main'
Add r-tags to statuses

See merge request soapbox-pub/ditto!297
2024-05-22 02:33:27 +00:00
Alex Gleason 1a66570b56
Use linkify to parse hashtags when creating a status, too 2024-05-21 21:30:26 -05:00
Alex Gleason 5de7366ff0
Add r-tags to statuses 2024-05-21 21:22:25 -05:00
Alex Gleason 493a5c9fcf Merge branch 'trending-statuses' into 'main'
Trending Posts

See merge request soapbox-pub/ditto!296
2024-05-22 01:44:23 +00:00
Alex Gleason 80e886bfff
Rework trending posts (it's much faster) 2024-05-21 20:38:57 -05:00
Alex Gleason 5da5848ca6
Trending statuses first iteration 2024-05-21 19:48:26 -05:00
Alex Gleason 1c9dbd070e Merge branch 'refactor-trends' into 'main'
Refactor trending tags

See merge request soapbox-pub/ditto!282
2024-05-21 23:18:06 +00:00