aboutsummaryrefslogtreecommitdiff
path: root/src/commands/fav.rs
AgeCommit message (Collapse)Author
2017-11-18groundwork for multi-account useiximeow
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-11add a little more help info, describe tweets/compose mode/commandsiximeow
2017-11-11start adding help referenceiximeow
2017-11-10very hackily add notion of user credentials and PIN authiximeow
also fix bug where cached user info takes precedence over (possibly updated) api json user info
2017-11-01move more logging to be through DisplayInfo statusesiximeow
move DisplayInfo into ... display flush output, duh
2017-10-25begin removing unwrap()iximeow
2017-10-23thingiemapoo grows a real display!iximeow
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-21begin conversion to typed TwitterIDiximeow
2017-10-02move everything to src/iximeow