22 Commits

Author SHA1 Message Date
2f784c779c REFACTOR: Add sqlx dependency 2022-03-06 19:17:43 -08:00
26ab9ec937 Create new Timestamp helper type 2022-03-06 18:09:43 -08:00
7edc8ad5d3 Some whitespace changes :V 2022-03-06 17:07:05 -08:00
18c9f79429 REFACTOR: LINT: add .golangci.yaml lint config file
- Add linting for line lengths
- Fix some linting errors
2022-03-06 15:06:06 -08:00
5d44186f91 Add conditional content downloading for tweets 2021-12-21 21:49:42 -05:00
c1bcd54a11 Add Tweet#last_scraped_at and Tweet#is_conversation_scraped fields 2021-12-20 14:07:20 -05:00
c15ac9d751 Add persistence for polls 2021-12-12 16:42:32 -08:00
0de9b25dfe Change 'in_reply_to' and 'quoted_tweet' ID fields to say '_id' (hungarian notation) 2021-11-22 14:56:57 -08:00
470dce1d27 Persist tombstone data 2021-11-06 13:37:46 -07:00
1c2f356ee9 Fix re-downloading making users get marked as content-not-downloaded 2021-10-09 18:58:52 -07:00
6aa14c32e2 Add persistence for reply-mentions 2021-09-27 18:29:55 -07:00
05c3f2289b Add persistence for new Url type 2021-09-17 18:04:57 -07:00
9734c09426 Add downloading for media in tweets 2021-08-07 16:51:38 -07:00
58dc223f84 Use VideoID given by the Twitter API instead of a rowid 2021-08-04 23:41:58 -07:00
c803794a0f Change TweetID to be an int64 instead of a string 2021-08-04 14:49:20 -07:00
d81fae0013 Make UserID an alias for int64 rather than string 2021-08-04 02:00:58 -07:00
7a81b71cd3 Use ImageID from the API rather than rowid 2021-08-04 01:23:55 -07:00
083f5f72e0 Add media queries 2021-08-01 15:52:04 -07:00
222e681836 Create DB queries for media attachments, refactor this out of the tweet query into separate functions 2021-07-28 15:56:47 -07:00
81392996bb Add video and image types
- in addition to `Filename` (string), includes IsDownloaded (bool)
2021-07-26 17:26:39 -07:00
0c87428c44 Make videos their own table; store as a slice on Tweet rather than text field 2021-07-25 15:42:43 -07:00
15241f4f43 Add tweet queries 2021-07-25 14:37:32 -07:00