Commit graph

20 commits

Author SHA1 Message Date
P. Reis
bc24bb975c feat(handleEvent7): update keys/reactions directly
TODO: convert reactions to jsonb
TODO: convert to kysely rather than raw SQL
2024-12-29 18:16:19 -03:00
P. Reis
aae00cdc10 checkpoint: handleEvent7 function uses raw SQL directly (temporarily) to update reactions 2024-12-28 19:56:07 -03:00
P. Reis
b13e924001 fix: build search and also return it in countAuthorStats() function 2024-09-20 10:25:47 -03:00
P. Reis
578f269a65 refactor: countAuthorStats() function does not return search 2024-09-20 09:55:25 -03:00
P. Reis
ebeb150463 refactor: use search in author_stats 2024-09-19 19:37:13 -03:00
Alex Gleason
dc8d09a9da
Remove SQLite support 2024-09-11 11:08:33 -05:00
P. Reis
880b09e016 refactor: parse zap request with NSchema 2024-06-13 15:51:34 -03:00
P. Reis
22dbddb5d3 refactor: zap amount parsed with zod, change zapped_by fields name 2024-06-13 14:21:01 -03:00
P. Reis
4b58fb9bf2 feat(updateStats): handle kind 9735 2024-06-10 09:35:17 -03:00
Alex Gleason
4361c340b0
stats: handleEvent7 use findLast 2024-06-06 12:11:15 -05:00
Alex Gleason
22c840092f
Add quotes count 2024-06-02 20:30:57 -05:00
Alex Gleason
498f69f024
stats: track replies_count 2024-06-02 12:26:43 -05:00
Alex Gleason
69ff568214
Stop recounting author stats constantly 2024-05-24 20:24:17 -05:00
Alex Gleason
04018015c5
stats: fix race conditions (on Postgres) 2024-05-24 20:11:22 -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
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