diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 622011d..8818989 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -346,3 +346,8 @@ v0.6.16 ------- - Add notifications + +v0.6.17 +------- + +- BUGFIX: fix a series of bugs relating to inactive users and duplicate user handles diff --git a/doc/TODO.txt b/doc/TODO.txt index de6bf26..dbe1a48 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -16,7 +16,8 @@ TODO: videos-view-count TODO video-not-downloading: https://twitter.com/JustinPulitzer/status/1496709662602932224 -TODO get-user-tweets-user-doesn't-exist +TODO get-user-tweets-user-not-in-database +- subcommand `get_user_tweets` should fetch the user first instead of just failing TODO bash-completions - Should have bash completions. @@ -95,13 +96,8 @@ TODO: login-routes-tests - Make the scraper.API object injectable somehow (get rid of singleton pattern) and add tests for login and change-session sequences - Also test profile.ListSessions() -TODO: webserver-session-arg-active-user -- make the active user get set on initializing the Application object if a --session flag is given - -TODO: show-errors-in-UI -- if an HTTP request fails, show an error in the UI somehow - - scrape failed due to rate limiting - - non-HTMX 500 errors now show a weird HTML page +TODO: non-htmx-500-errors +- non-HTMX 500 errors show a weird HTML page TODO: refactor-compound_queries_test-file - Move the tests for user feeds into the compound_queries_ssf_test file @@ -118,6 +114,13 @@ TODO: search-terms-highlighted TODO: profile-image-template - There are a lot of places that use a circle profile image aside from author-infos +TODO: send-message-last-read-event +- When a user sends a message, their last-read-event should be updated to that message ID immediately (no few-second delay in UI) + +TODO: emoji-thumb-remove-skin-tones +- twitter doesn't support skin tones on emojis. Rewrite the emoji database json file to remove skin tones +- also remove whatever uses `crypto.subtle` to load the emoji list + Windows Build ------------- diff --git a/doc/tasks/bash-completions.todo b/doc/tasks/bash-completions.todo new file mode 100644 index 0000000..b1bcf0d --- /dev/null +++ b/doc/tasks/bash-completions.todo @@ -0,0 +1,3 @@ +Bash completions + +https://opensource.com/article/18/3/creating-bash-completion-script diff --git a/doc/tasks/disk-full-error.todo b/doc/tasks/disk-full-error.todo new file mode 100644 index 0000000..36ac5af --- /dev/null +++ b/doc/tasks/disk-full-error.todo @@ -0,0 +1,17 @@ +Jul 31 12:53:49 razer-kubuntu twitter[259247]: panic: Error downloading user content for user with ID 173057927 and handle catalinmpit: +Jul 31 12:53:49 razer-kubuntu twitter[259247]: Error writing to path profile_images/catalinmpit_profile_TGBIEZR3_normal.jpg, url https://pbs.twimg.com/profile_images/1807854220642488320/TGBIEZR3_normal.jpg: +Jul 31 12:53:49 razer-kubuntu twitter[259247]: write profile_images/catalinmpit_profile_TGBIEZR3_normal.jpg: no space left on device +Jul 31 12:53:49 razer-kubuntu twitter[259247]: goroutine 265349 [running]: +Jul 31 12:53:49 razer-kubuntu twitter[259247]: gitlab.com/offline-twitter/twitter_offline_engine/pkg/persistence.Profile.SaveTweetTrove({{0xbd1a78?, 0x1?}, 0xc0000d15f0?}, {0xc00059e810, 0xc00059e840, 0xc00059e870, 0xc00059e8a0, 0xc00059e8d0, 0xc00059e900, {0xf24910, ...}, ...}, .> +Jul 31 12:53:49 razer-kubuntu twitter[259247]: /woodpecker/src/gitlab.com/offline-twitter/twitter_offline_engine/pkg/persistence/tweet_trove_queries.go:49 +0x2445 +Jul 31 12:53:49 razer-kubuntu twitter[259247]: created by gitlab.com/offline-twitter/twitter_offline_engine/internal/webserver.(*Application).background_scrape +Jul 31 12:53:49 razer-kubuntu twitter[259247]: /woodpecker/src/gitlab.com/offline-twitter/twitter_offline_engine/internal/webserver/stopwatch.go:41 +0x388 + + +Jul 31 12:53:51 razer-kubuntu twitter[895782]: Could not load profile: Error checking database version: +Jul 31 12:53:51 razer-kubuntu twitter[895782]: disk I/O error: no space left on device +Jul 31 12:53:51 razer-kubuntu twitter[895782]: Usage: twitter [--profile ] [--session ] [] + + + +https://github.com/mattn/go-sqlite3/blob/master/error.go diff --git a/doc/tasks/notifications-mark-as-read.todo b/doc/tasks/notifications-mark-as-read.todo new file mode 100644 index 0000000..11b6980 --- /dev/null +++ b/doc/tasks/notifications-mark-as-read.todo @@ -0,0 +1,8 @@ +Notifications mark as read + +- it uses cursors. so, to mark notifications as read: + - scrape notifications + - extract top cursor + - use that as the cursor value to mark as read + +DAABDAABCgABFDzeDIfVUAIIAAIAAAABCAADiJONcggABOxI6DUACwACAAAAC0FaSHRBaThqLUN3CAADyS991gAA