763 Commits

Author SHA1 Message Date
ac3f19b02a Add sample data to woodpecker build 2023-08-02 23:32:19 -03:00
c5c82a6a94 Fix lint error 2023-08-02 23:29:38 -03:00
315d872b52 Add sample data and build query to load a user feed 2023-08-02 23:25:13 -03:00
f20f7f3b79 Fix path to test profiles directory 2023-07-30 14:27:35 -03:00
a061decd0f REFACTOR: Rename go module to 'gitlab.com/offline-twitter/twitter_offline_engine' in accordance with 'go get' conventions
- also restructure project to use a 'pkg' directory for reusable packages
2023-07-30 14:20:07 -03:00
c61d9fad1c Make Spaces fetch URL use a readable parameters structure 2023-06-27 23:00:42 -03:00
cae95ed99d REFACTOR: change all appropriate queries to use sqlx 2023-06-27 21:56:29 -03:00
6e5e8dba67 Update CHANGELOG.txt for v0.3.2 2023-06-26 15:33:29 -03:00
ffaec2799d When POSTing a 'like' to the API, save it as a Like in the db as well 2023-06-26 14:59:41 -03:00
a27f12a915 Add UserID to the API session 2023-06-26 13:51:36 -03:00
d06a42e2fc Add integration test for fetching Likes 2023-06-26 13:39:51 -03:00
fc17756a53 Add queries for Likes 2023-06-26 13:16:22 -03:00
d0ab385c52 Add Like model 2023-06-26 12:17:46 -03:00
79a4b87f3a Add parsing of Likes feed 2023-06-26 12:16:38 -03:00
3d7166c4aa BUGFIX: fix duplicate space participants error, making participants in a space unique 2023-06-25 22:53:49 -03:00
cc632e0654 Add commands to like and unlike tweets 2023-06-25 22:18:00 -03:00
d85259a014 REFACTOR: delete 'get_xyz_url' helper functions and put them inline in the respective functions 2023-06-24 13:59:00 -03:00
cce8cc1f7f Create structures for GraphQL request variables and features 2023-06-24 13:39:08 -03:00
bb53ab4730 Update CHANGELOG.txt for v0.3.1 2023-06-22 17:26:20 -03:00
a58ebc6988 Add new type of TimelineTimelineModule, the 'profile-conversation' 2023-06-22 17:21:54 -03:00
5c6e171ea3 Update CHANGELOG.txt for version 0.3.0 2023-06-21 16:02:08 -03:00
f6692fa535 Fix some lint errors 2023-06-21 15:42:43 -03:00
d8b8aaea15 Fix a bug where replies to deleted accounts can fail to do proper reply-joining 2023-06-21 15:38:18 -03:00
a44323c5de Switch over Tweet Detail fetching to use APIv2 2023-06-21 14:05:49 -03:00
eae3ebe3e7 When doing reply-joining of tombstones, ignore cursors and labels 2023-06-21 14:05:49 -03:00
3dc9889725 Fetch tombstoned users that are partially re-assembled using reply-joining 2023-06-21 14:05:49 -03:00
94e581cc0b Improve error messages in parsing of single tweets 2023-06-21 13:23:50 -03:00
56d150d4ae Fix an integration test which broke because twitter removed a link thumbnail image 2023-06-21 13:10:59 -03:00
5899732fa5 Do tombstoned user fetching for apiv2 2023-06-21 12:25:42 -03:00
e06e7164cc Avoid crashing on tombstones in tweet detail replies 2023-06-20 13:48:06 -03:00
459fbb4f2f Add recognition of other types of cursors on Tweet Detail page 2023-06-19 23:27:30 -03:00
64bb8233f0 Avoid crashing on inline labels like 'More Replies' 2023-06-19 22:18:19 -03:00
0a40dbe908 Avoid crashing on user-feed tombstone entries 2023-06-19 21:37:30 -03:00
3340fc3da3 Create fake users for tombstones whose users can't be inferred 2023-06-19 21:26:09 -03:00
0dd759ce54 Add joining of tombstone threads by in_reply_to_id 2023-06-18 12:04:11 -03:00
0cc132c156 Create helper function to parse an APIV2Entry's ID field into a tweet ID and entry type 2023-06-17 23:24:32 -03:00
ad9e599ef9 Clean up a few tests to use assert and require instead of 'if ... { t.Errorf...' 2023-06-17 23:22:28 -03:00
c0f2624009 Add test file for previous commit 2023-06-17 15:22:39 -03:00
1226e3947e Add parsing of tombstones in immediate parent replies in Tweet Detail views for APIv2 2023-06-17 15:15:22 -03:00
21581b325a Add support for parsing Tweet Detail in APIv2, including its unusual cursor format and conversation threads 2023-06-08 23:19:50 -03:00
693831704d BUGFIX: spaces ended_at should be updated on saving now 2023-06-08 21:52:22 -03:00
b692d9f2fa Update CHANGELOG.txt for version 0.2.2 2023-06-08 20:48:30 -03:00
d78f9c004d REFACTOR: use a switch statement to add clarity for parsing non-tweet timeline entries 2023-06-08 20:43:07 -03:00
6192c37999 FIXUP: add test file for previous commit 2023-06-08 18:53:50 -03:00
0868d8d6d8 Implement expandable ("Show more...") tweets 2023-06-08 18:51:50 -03:00
eb566c0612 FIXUP: add test file for previous commit 2023-06-08 18:10:55 -03:00
e4e05008d5 Add parsing of home-conversation entry types (mini-threads that show up in a feed) 2023-06-08 18:08:23 -03:00
9a1ef814ef Add debug logging of requested URLs 2023-06-08 16:04:24 -03:00
5c70d2cf49 Remove incorrect/redundant API type field 2023-06-08 14:22:04 -03:00
b36e7410c5 FIXUP: forgot this in the previous commit 2023-06-08 13:10:15 -03:00