aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-24adjust line clearing behavior to alleviate flickeringAndy Wortman
2017-12-12Merge pull request #2 from iximeow/mute-tweaksAndy Wortman
Plumb through support to mute retweets
2017-12-12Merge pull request #1 from iximeow/fix-timezone-mismatchAndy Wortman
Fix timezone mismatch
2017-12-12plumb through support to mute retweetsAndy Wortman
add tests to ensure muting works roughly as intentioned
2017-12-12fix incorrect preferred id selectionAndy Wortman
references to UTC date rather than adjusted-to-local-TZ date meant that calendar mismatch happens when UTC calendar day moves forward, rather than local TZ calendar day in reality, this means if you're PST, and it's 4:01pm, all tweet ids turn into Bare :1235567 form, rather than changing over at midnight. Additionally, found a similar issue with id presentation for reply ids
2017-12-12tweak tests for tweet retrieval, add display_id testsAndy Wortman
tweet retrieval was brittle, would fail if UTC calendar day != Local TZ calendar day display_id tests expose the bug in tweet ids being Bare id rather than Today id due to timezone mismatch in looking up tweets
2017-12-03add license and readmeAndy Wortman
time to pretend this is a real project
2017-12-03fix style bug when replying to locked accountsAndy Wortman
was incorrectly resetting ALL styling after underlining the word "locked", but instead just revert the underline only
2017-12-03rebrand + fix cache/profile jsonAndy Wortman
also set current profile to first auth'd account, when starting from a blank slate. silence follower changes because it's not sanely displayed yet (and may never be)
2017-12-02begin supporting mutesAndy Wortman
2017-12-02track dirty bit to know if we should redraw displayAndy Wortman
also clean up a bunch of TODOs
2017-12-01TODO: todos now in todoAndy Wortman
2017-12-01todone: add DM todos to todoAndy Wortman
2017-12-01show json for DM, since fleshing that out is nextish on the to-doAndy Wortman
2017-12-01display locked and protected as applicableAndy Wortman
2017-12-01basic info log scroll support. uses home/end right nowAndy Wortman
2017-12-01rework compose display, coloring background causes ProblemsAndy Wortman
if a handle is the same color as the background it becomes invisible counting ansi string lengths is not supported, so that would be work
2017-11-30remove unneeded params, adjust id displayAndy Wortman
tweets are now recorded with the date they are recieved at dated id lookup is now supported tweet ids, where displayed, are displayed in a convenient form: if the tweet was recieved today, show the today id if the tweet was recieved on a different day, show the bare id many instances where display_info was passed for logging information, the parameter has become unnecessary, so it's gone now
2017-11-26colorize @ in tweet textAndy Wortman
update todo
2017-11-26todoAndy Wortman
2017-11-26wrap lines intelligently with respect to ANSI sequencesAndy Wortman
2017-11-25extract DisplayInfo from TwitterCacheAndy Wortman
what a mess... threading this through to any point where printing happens is upsetting. probably should be a global mutable behind accessors.
2017-11-20add profiles command to list known profilesAndy Wortman
also ... include profile command file, which i neglected to include in a prior commit
2017-11-20pass connection_id through to contextualize eventsAndy Wortman
welcome message now handled correctly for whichever stream made the connection additionally, moved profile-specific operations to TwitterProfile events, tweets, and DMs don't consider connection because they include a target indicator which means we don't *need* connection_id at that point
2017-11-19support reconnecting specific profiles, switching profilesAndy Wortman
open issues: something is wrong with loading settings - something gets replayed from main account to alternate accounts. auth'ing a new account doesn't set handle, name, etc. i think most issue are because events aren't recorded with what connection they came from - welcome event for any account gets replayed onto curr_profile because we simply don't know which connection the event was from. the same will happen for twitter events, but those aren't logged.
2017-11-18remove silly dependence on author's handleAndy Wortman
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-13fix cursor not moving if the screen is fullAndy Wortman
2017-11-13inform me when the tweet cache cant be loadedAndy Wortman
2017-11-13fix pageup/pagedown seeking through twitter eventsAndy Wortman
2017-11-12support ctrl+u similarly to readlineAndy Wortman
2017-11-12ignore cache dirAndy Wortman
2017-11-11mistake #1Andy Wortman
commiting app oauth secret
2017-11-11checking for tweet length in-client is dumbAndy Wortman
2017-11-11add a little more help info, describe tweets/compose mode/commandsAndy 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-10cleanupAndy Wortman
* show interface at startup * report when stream is connected at startup
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-21fix bug with @s not going through in conversationsAndy Wortman
split included @, meaning no handle started with @, so get_mentions() returned empty vec