Commit graph

27 commits

Author SHA1 Message Date
Alex Gleason
3a82c98c21
trends: make trends work in Postgres (probably) 2024-08-12 14:48:32 -05:00
Alex Gleason
8dc3b5d5a7
trends: maybe make postgres trends work? 2024-08-11 20:20:31 -05:00
Alex Gleason
8db5489350
Implements trends for SQLite 2024-08-11 19:50:20 -05:00
Alex Gleason
e6b18e7d95
trends: disable for now 2024-08-11 19:12:05 -05:00
Alex Gleason
552de01a17
Rework DittoDB to return an object 2024-08-11 19:02:27 -05:00
Alex Gleason
48a4e30e38
trends: read directly from the tags table instead of doing an inner join on events 2024-07-29 15:33:16 -05:00
Alex Gleason
7949c95f77
try-catch trending tags cron 2024-07-23 22:32:16 -05:00
Alex Gleason
8d8e46eae8
Add a script to update trends 2024-06-15 12:13:35 -05:00
Alex Gleason
d569dfd5b5
Add TrendsWorker for tracking/querying trending tags with a Web Worker 2023-12-04 16:33:02 -06:00
Alex Gleason
e999d693d0
Rename hexIdSchema back to nostrIdSchema 2023-08-12 11:48:49 -05:00
Alex Gleason
893542cf58
Reorganize some nostr schema code 2023-08-12 11:30:57 -05:00
Alex Gleason
c251b51803
Trends: add some useful comments for later 2023-07-26 17:30:17 -05:00
Alex Gleason
bc3a96eeed
Refactor trending tags history, make it more correct 2023-07-26 17:18:21 -05:00
Alex Gleason
89b98ae77a
Fix tag history date 2023-07-26 14:51:57 -05:00
Alex Gleason
c88e58344f
Improve tag history 2023-07-25 23:21:42 -05:00
Alex Gleason
ad48e4a787
Trends: add limit param, fix order 2023-07-25 20:40:31 -05:00
Alex Gleason
1a860adde7
Support tag history 2023-07-25 20:26:49 -05:00
Alex Gleason
7c8aa88069
Trends: track based on the event's created_at date, instead of whenever the row was inserted 2023-07-25 18:35:07 -05:00
Alex Gleason
33f87822d4
Trends: support author threshold (default: 3) 2023-07-25 18:04:00 -05:00
Alex Gleason
969bc1fcba
TrendsDB: cleanup on construction 2023-07-25 17:49:42 -05:00
Alex Gleason
cbb294dbc2
Trends: support limit param 2023-07-25 17:44:38 -05:00
Alex Gleason
48b7310d52
Trends: clean up old tag usages 2023-07-25 17:33:16 -05:00
Alex Gleason
e8df411834
Trends: also track total tag usages 2023-07-25 17:19:31 -05:00
Alex Gleason
1d67181e52
Add trends controller... and it kind of works! 2023-07-25 17:07:09 -05:00
Alex Gleason
11f21e3922
Improve TrendsDB, add loopback script, almost ready to do something? 2023-07-25 15:30:58 -05:00
Alex Gleason
3bdde98f8f
TrendsDB: fix parameterized queries 2023-07-25 12:10:37 -05:00
Alex Gleason
9ebf83af5d
Add preliminary TrendsDB module 2023-07-25 12:07:34 -05:00