aboutsummaryrefslogtreecommitdiff
path: root/src/tw/mod.rs
AgeCommit message (Collapse)Author
2017-11-18groundwork for multi-account useAndy Wortman
add connection state tracked per-stream, add explicit TwitterProfile mapped to names that can be used for accounts. default names are the handle of the corresponding twitter account. partition out user Credential to be per TwitterProfile, so fav, reply, etc, all come from the selected account. Multiplex twitter connections and message streams across chan (instead of earlier plan, which was to have one chan per thread)
2017-11-17fix rendering issues with events, support End keyAndy Wortman
also disable rendering of delete events
2017-11-15move line wrapping into render_tweteAndy Wortman
this is, hopefully, the start of support for correctly wrapping lines with ANSI control codes included. additionally, hopefully the start of supporting coloring @'s in tweets.
2017-11-13inform me when the tweet cache cant be loadedAndy Wortman
2017-11-11start adding help referenceAndy Wortman
2017-11-11move id formatting into a Display implAndy Wortman
2017-11-11graceful shutdown, fix profile corruption bugAndy Wortman
profile corruption was trailing json left by not truncating when profile shrinks in size
2017-11-10very hackily add notion of user credentials and PIN authAndy Wortman
also fix bug where cached user info takes precedence over (possibly updated) api json user info
2017-11-08first brush of a compose mode, support thread viewing againAndy Wortman
2017-11-01move more logging to be through DisplayInfo statusesAndy Wortman
move DisplayInfo into ... display flush output, duh
2017-10-27better error handling in cases where event json changesAndy Wortman
2017-10-25begin removing unwrap()Andy Wortman
2017-10-24add displayAndy Wortman
2017-10-23thingiemapoo grows a real display!Andy Wortman
kind of. add DisplayInfo struct that eventually can be used for rendering to any particular interface. I care primarily about rendering to a CLI, so. to support this: many instances of rendering with println!() are moved to at least be orchestrated by display::paint, which will eventually become smart enough to handle a reserved area for state notifications from the client, and buffer input nicely, .... more code moved over to use TweetId instead of bare strings because DisplayInfo is currently a member on TwitterCache, any cases of writing to DisplayInfo also involve writing to TwitterCache, which means TwitterCache is mut like... everywhere. Also, invalid TweetId in IdConversions ends up logging, meaning anything calling that conversion requires a mut TwitterCache, by the above paragraph.
2017-10-21do not return tweet text before unescaping some html-encoded valuesAndy Wortman
2017-10-21begin conversion to typed TwitterIDAndy Wortman
2017-10-18lots of tiny tweaksAndy Wortman
escape more stuff avoid possible breakage if we dont have the fav of a retweet
2017-10-17add rudimentary thread supportAndy Wortman
2017-10-17check followers on startup tooAndy Wortman
2017-10-17render quoted tweetsAndy Wortman
double-post bug if you are the author of the quoting tweet because you see the event AND your tweet in your feed
2017-10-16fix use of extended tweet mode after twitter api changesAndy Wortman
extended mode now puts text in full_text, not in extended_tweet, an inner object
2017-10-02move everything to src/Andy Wortman