Commit graph

25 commits

Author SHA1 Message Date
Alex Gleason
93141c1db1
Hook everything up? (In a messy way) 2025-02-07 15:39:25 -06:00
Alex Gleason
d9b0bc1437
Add nip05 and favicon results to the database, make renderAccount synchronous 2025-02-07 13:39:56 -06:00
Alex Gleason
46558a97e4
Make STREAK_WINDOW configurable 2025-02-07 11:50:37 -06:00
Alex Gleason
b480947c4d
Add a script to recompute the streak of all authors 2025-02-06 15:56:49 -06:00
Alex Gleason
080c34d13f
Fix streak broken logic 2025-02-06 14:53:42 -06:00
Alex Gleason
084df2b59d
Streaks API 2025-02-06 14:26:08 -06:00
Alex Gleason
7a60b4b8d8
Support kind 20 "Picture" events (NIP-68) 2025-01-05 11:23:18 -06: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