935 Commits

Author SHA1 Message Date
Alessio
91f722b7fa Scraper requests now report invalidated or expired sessions 2024-08-18 16:22:37 -07:00
Alessio
8321d65f17 Fix broken integration test (link thumbnail disappeared, as usual) 2024-08-18 15:50:04 -07:00
Alessio
24129c4852 REFACTOR: reduce technical debt, particularly that caused by singleton pattern in pkg/scraper
- ensure all scraper functions have a `api.XYZ` version and a package-level convenience function
	- isolate `the_api` to top-level convenience functions, in preparation for removal
- move a bunch of scraper functions around to be nearby their related functions
- new ErrLoginRequired
- remove obsolete APIv1 stuff (Feed, TweetDetail)
- rename scraper function GetUserFeedGraphqlFor => GetUserFeed
- fix go.mod Go version incorrectly claiming it's compatible with Go 1.16 (should be Go 1.17)
2024-08-09 19:48:50 -07:00
Alessio
6a464827c7 Add close icon for DM replying 2024-07-28 18:06:37 -07:00
Alessio
bbee9b1a1d Fix integration test 2024-07-28 17:53:49 -07:00
Alessio
8792c857cd Update CHANGELOG.txt for v0.6.14 2024-07-28 17:45:22 -07:00
Alessio
c1c781af61 Implement replying in DMs 2024-07-28 17:18:30 -07:00
Alessio
b4384f9cc4 Enable sending emoji reactions in DMs 2024-07-28 14:09:41 -07:00
Alessio
7244bf51e9 Make Bookmarks scrapable from web UI 2024-07-28 14:00:21 -07:00
Alessio
c52960759e Fix bug caused by DMTrove refactor 2024-07-28 13:23:10 -07:00
Alessio
cf58793b33 Fix error caused by previous commit in banner image download logic 2024-07-28 13:07:14 -07:00
Alessio
8aca12695b Handle media download 404s gracefully 2024-07-28 12:50:00 -07:00
Alessio
d0c23b392b Don't crash when receiving a Grok card 2024-07-28 08:07:33 -07:00
Alessio
98015ddf0c REFACTOR: remove DMTrove type, merge it into TweetTrove 2024-07-28 08:01:58 -07:00
Alessio
821d36b116 Add emoji picker for DMs 2024-07-27 15:40:55 -07:00
Alessio
3c4507dafa Update CHANGELOG.txt for v0.6.13 2024-07-14 14:21:34 -07:00
Alessio
a9a7af2195 Band-aid fix for spaces with null fields in them 2024-07-14 13:24:44 -07:00
Alessio
b4a4084b48 Make image carousel close if user clicks outside it 2024-07-14 13:23:07 -07:00
Alessio
ef15e8a306 Handle guest token / session initialization when not connected to internet 2024-07-14 13:20:44 -07:00
Alessio
0fd17f1af0 Fix getting tweets from deleted accounts 2024-07-14 12:52:07 -07:00
Alessio
fb95d024cb Fix broken integration test 2024-07-14 12:49:03 -07:00
Alessio
bbe6c6fef1 Fix lint error 2024-07-13 23:05:31 -07:00
Alessio
d2045028a7 Improve closing message when a scrape ends due to rate-limiting 2024-06-11 12:32:58 -07:00
Alessio
c454526e47 Add known hosts for dpkg upload 2024-06-10 22:02:34 -07:00
Alessio
e3bc6a88d9 Use secrets for keys instead of ad-hoc image 2024-06-10 21:30:57 -07:00
Alessio
80f8ed0a5d Update command line output when you get rate limited 2024-06-10 20:37:43 -07:00
Alessio
a1faacaf6b Don't throw away all previous results if you get rate-limited, just save them 2024-06-10 19:59:08 -07:00
Alessio
b23a6a7e05 Change integration test for search again due to upstream stupidity 2024-06-10 18:33:59 -07:00
Alessio
033fe3409f Change 'release-*' to 'v*.*.*' pattern for release branches, for compatibility with Go build tools 2024-06-10 18:18:36 -07:00
Alessio
f4181d0c4c Update CHANGELOG.txt for v0.6.12 2024-06-10 18:11:16 -07:00
Alessio
cf6443518a Add integration test for another type of deleted tweet 2024-06-10 17:55:19 -07:00
Alessio
81c39e0c4c Fix deleted tweet in integration test 2024-06-10 17:14:44 -07:00
Alessio
cac87ec973 Save tweets with unknown user as <UNKNOWN USER> instead of UserID 0, which causes foreign key errors 2024-06-10 15:47:13 -07:00
Alessio
4dbe8b1558 Make the CI actually not use static linking of libc 2024-06-09 14:33:25 -07:00
Alessio
03c082ab4b Disable pagination in the 'twitter search' integration test because it's been disabled upstream 2024-05-30 00:03:54 -07:00
Alessio
2a86e8df15 Change sidebar refresh interval to 3s instead of 10s 2024-05-29 23:54:43 -07:00
Alessio
971bef06e5 Don't use static compilation for non-release builds (it makes the CI really slow) 2024-05-29 22:21:20 -07:00
Alessio
d45edcf08c Add template file for previous commit 2024-05-29 22:17:25 -07:00
Alessio
21ab098e42 Fix lint error 2024-05-29 22:16:15 -07:00
Alessio
63360518ef Enable page for bookmarks 2024-05-29 22:15:22 -07:00
Alessio
14a7f88cdb Add scraping and saving of bookmarks 2024-05-28 21:55:42 -07:00
Alessio
fc08fb0be4 Statically link libc (musl) so the binaries are fully portable 2024-05-27 14:50:57 -07:00
Alessio
8c9fb06e52 Fix DM composer textbox getting weird if you paste a long link in it 2024-05-27 14:47:57 -07:00
Alessio
41d25864da Update CHANGELOG.txt for v0.6.11 2024-05-12 17:43:30 -07:00
Alessio
61404cf5b0 Enable manual re-scraping of chat rooms 2024-05-12 17:37:08 -07:00
Alessio
827c15431c Make messages list update every 3s 2024-05-12 17:01:14 -07:00
Alessio
455639dffd Change the 'mark as read' button to use an eye icon 2024-05-11 11:12:19 -07:00
Alessio
42bf8ec06a Fix a bug sending empty POST bodies 2024-05-11 10:58:33 -07:00
Alessio
f927507089 Enable marking DMs as read 2024-05-10 22:09:48 -07:00
Alessio
39c2250719 REFACTOR: add 'toast' helper response handler to produce toasts 2024-05-10 22:02:20 -07:00