36 Commits

Author SHA1 Message Date
d54e77b169 Some housekeeping 2022-11-13 12:07:36 -05:00
a39fab14b3 Fix another lint error 2022-05-07 19:02:02 -07:00
3d289ed5f0 Profile images are now downloaded based on whether the local file path exists, not just what the DB says 2022-05-07 18:46:07 -07:00
8775f5337d Add test to ensure proper user images are being downloaded 2022-05-07 18:44:03 -07:00
780577d724 Enable updating user handles 2022-05-07 15:23:37 -07:00
cb3fc469b2 Fix lint error 2022-05-07 14:38:21 -07:00
36e537b1cd Handle IsFollowing calls for users that aren't saved yet 2022-05-07 14:36:59 -07:00
6498a97816 Change IsFollowing method to use id field instead of handle 2022-05-07 14:21:59 -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
78a5ffbf92 Fix another over-eager commit 2022-03-06 18:14:06 -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
1d990e8a40 Remove users.yaml file 2022-03-06 16:11:45 -08:00
1582dfe44e Fix some lint problems 2022-03-06 15:36:07 -08:00
06167eef18 Fix over-enthusiastic commit 2022-03-06 15:26:27 -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
508670248e Add list_followed subcommand 2022-02-28 16:06:58 -08:00
772fa247f7 Add creation of unknown users with known handles (i.e., deleted accounts) 2022-02-26 22:09:27 -08:00
857b9c5255 Fix linting error 2022-02-26 16:06:51 -08:00
373b9ce16e Add IsFollowed field on Users 2022-02-26 15:58:30 -08:00
12f1cc6728 Fix some problems associated with banned users 2022-01-07 16:23:02 -05:00
6eac56183d Allow fetching of banned users 2022-01-07 13:40:22 -05:00
fb174df363 Add persistence for is_banned field 2022-01-07 12:38:56 -05:00
5d054b5096 Add check for whether user needs content downloaded 2021-12-21 20:27:38 -05:00
1c2f356ee9 Fix re-downloading making users get marked as content-not-downloaded 2021-10-09 18:58:52 -07:00
9c944cdc5e Remove useless transaction block 2021-08-22 18:20:42 -07:00
1dc9511415 Make user handles case insensitive 2021-08-22 18:04:10 -07:00
294917124a Add downloading of User banner image and profile image 2021-08-10 21:35:27 -07:00
0a1fa92cdd Add to database: LocalPath version of BannerImage and ProfileImage on Users 2021-08-10 20:51:42 -07:00
58dc223f84 Use VideoID given by the Twitter API instead of a rowid 2021-08-04 23:41:58 -07:00
e06bb4dc9a Remove unused fmt import 2021-08-04 21:54:40 -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
11e3a74b22 Add User queries 2021-07-24 12:24:57 -07:00