6df313558d
Fix lint errors
2023-06-03 09:17:12 -03:00
815a8180da
BUGFIX: don't clobber num_likes, num_retweets etc. if tweet is a stub
...
- Convert Tweet queries to sqlx, including new CommaSeparatedList type to convert Hashtags, Mentions and ReplyMentions
2023-06-03 08:30:49 -03:00
58c19df11a
Add Space persistence queries for Space details
2022-11-24 19:08:00 -05:00
d54e77b169
Some housekeeping
2022-11-13 12:07:36 -05:00
99ad0f4a2c
Fix lint errors
2022-05-14 16:43:39 -07:00
cf7608eaa9
Save links to Spaces in a Tweet
2022-05-14 16:36:03 -07:00
3b4b3fceb9
Improve tombstone handling significantly
...
- Tombstone type can now be updated
- If a tombstoned tweet becomes available, now updates the text and removes the tombstone
- Non-stub tweets can now have tombstones attached to them without clobbering the tweet content
2022-05-07 16:50:07 -07:00
f08da27cc2
Enable 'wrapcheck' linter
2022-03-13 16:13:16 -07:00
f41d072573
Improve error handling some more
2022-03-06 20:31:04 -08:00
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