795 Commits

Author SHA1 Message Date
d8d04c5acc Fix some more build errors 2021-08-02 17:08:43 -07:00
c4c2ef8979 Fix a test 2021-08-02 14:55:59 -07:00
18a63cd2eb Create twitter main package 2021-08-02 14:47:32 -07:00
f4636a25be Make build work 2021-08-01 15:58:06 -07:00
083f5f72e0 Add media queries 2021-08-01 15:52:04 -07:00
35cf1f1296 Create test fixtures (stable test objects) 2021-07-30 19:38:25 -07:00
7f286d0596 Make the build work 2021-07-28 16:02:25 -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
647dd8aa6b Add scraping of videos from tweets 2021-07-25 14:51:17 -07:00
15241f4f43 Add tweet queries 2021-07-25 14:37:32 -07:00
2086a5e983 FIXUP: rename Video field in Tweet 2021-07-24 21:52:39 -07:00
7db981398c Create test utils file for fixtures and helper functions 2021-07-24 21:48:01 -07:00
bac66d767c Add go dependencies (???) 2021-07-24 12:36:39 -07:00
5f003c48e9 Add custom Error type 2021-07-24 12:28:30 -07:00
11e3a74b22 Add User queries 2021-07-24 12:24:57 -07:00
d386ba2cb4 Make String() methods more useful for terminal output 2021-07-24 10:55:44 -07:00
6568259d63 Fix some other IDs that I missed 2021-07-24 10:29:35 -07:00
0221cbe865 Fix some unnecessary typecasting 2021-07-24 10:23:40 -07:00
96e2edfb8a ID fields are now Hungarian-notated
- tweet.User is now a pointer to a User object; tweet.UserID holds the user id
2021-07-24 10:19:05 -07:00
741c508017 Change profile creation to only target paths that don't exist yet
- Will fail if passed an existing path (file or directory)
2021-07-24 10:01:33 -07:00
1fa6e50b7e Add some terminal utils 2021-07-23 19:59:33 -07:00
6c111ab976 BUGFIX: fix incorrect text normalization on tweet with multiple images 2021-07-23 19:14:16 -07:00
700e3e0412 Lint at top level, instead of each package individually 2021-07-23 16:02:47 -07:00
b5c33c2ad0 Fix some types to be more clear 2021-07-22 14:16:40 -07:00
8ef1156d76 Add go get to build 2021-06-27 13:46:18 -07:00
545346e635 Add persistence module 2021-06-27 13:31:30 -07:00
12b1aeaccd Remove redundant copies of cmd files 2021-06-16 19:36:03 -07:00
28b11548bf Add actual scraping 2021-06-16 19:34:06 -07:00
f28d600024 Add user feed test data file 2021-06-16 13:15:53 -07:00
74ef2e4193 Create UserHandle type 2021-06-16 13:14:56 -07:00
90e5fdb8b1 Add parser for a TweetResponse 2021-06-15 15:18:09 -07:00
5290a0b549 Add linting 2021-06-14 13:08:38 -07:00
5b7d3dcdc4 Add Retweet type 2021-06-14 12:14:51 -07:00
02a2a0be33 Add parsing for user API type 2021-06-13 14:34:20 -07:00
73510288af Add test file for user profile 2021-06-13 12:48:14 -07:00
f85305b946 Refactor API response types, creating new APIUser type
- extracted this from both UserResponse struct and TweetResponse struct,
both of which return something almost identical
2021-06-13 12:43:34 -07:00
e5337ef0d0 Change mentions to track usernames rather than user ids 2021-05-24 13:17:08 -04:00
5449b16038 Use new helper methods in tweet re-parser 2021-05-23 21:03:55 -04:00
0738f77b55 Add helper methods to API types to help pre-process them 2021-05-23 20:58:31 -04:00
2c8fe25e78 Add tweet parsing 2021-05-22 18:20:18 -04:00
88086c5b47 Add go.mod file 2021-05-17 14:45:48 -04:00
15e5fc9452 Add .build.yml 2021-05-17 14:19:52 -04:00
8587bb97fc Initial commit 2021-05-17 12:59:10 -04:00