aboutsummaryrefslogtreecommitdiff
path: root/src/commands
AgeCommit message (Collapse)Author
2018-01-15ensure all query string parameters are properly escapediximeow
also un-escape html-encoded characters in DMs also distinguish errors in auth commands
2017-12-31clean up DM support, add thing to send DMsiximeow
2017-12-24remove dependence on nightly and remove_itemiximeow
(turns out remove_item was wrong anyway, i wanted to remove all instances of a string, it only removed the first) this sneaks in a big change on self-replies, now removes the @ mention of you if you reply to yourself
2017-12-03rebrand + fix cache/profile jsoniximeow
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-02track dirty bit to know if we should redraw displayiximeow
also clean up a bunch of TODOs
2017-11-30remove unneeded params, adjust id displayiximeow
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-25extract DisplayInfo from TwitterCacheiximeow
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 profilesiximeow
also ... include profile command file, which i neglected to include in a prior commit
2017-11-19support reconnecting specific profiles, switching profilesiximeow
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 handleiximeow
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-11checking for tweet length in-client is dumbiximeow
2017-11-11add a little more help info, describe tweets/compose mode/commandsiximeow
2017-11-11start adding help referenceiximeow
2017-11-11graceful shutdown, fix profile corruption bugiximeow
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 authiximeow
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 againiximeow
2017-11-01move more logging to be through DisplayInfo statusesiximeow
move DisplayInfo into ... display flush output, duh
2017-10-27better error handling in cases where event json changesiximeow
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-21fix bug with @s not going through in conversationsiximeow
split included @, meaning no handle started with @, so get_mentions() returned empty vec
2017-10-21begin conversion to typed TwitterIDiximeow
2017-10-17add rudimentary thread supportiximeow
2017-10-17prelim conversation viewingiximeow
2017-10-17add commands to follow/unfollowiximeow
2017-10-16do not include quoted tweet author in repliesiximeow
mirrors typical twitter use
2017-10-02support showing whole threadsiximeow
2017-10-02move everything to src/iximeow