aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-10cleanupiximeow
* show interface at startup * report when stream is connected at startup
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-24add displayiximeow
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-21do not return tweet text before unescaping some html-encoded valuesiximeow
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-18lots of tiny tweaksiximeow
escape more stuff avoid possible breakage if we dont have the fav of a retweet
2017-10-17add rudimentary thread supportiximeow
2017-10-17check followers on startup tooiximeow
2017-10-17prelim conversation viewingiximeow
2017-10-17add commands to follow/unfollowiximeow
2017-10-17render quoted tweetsiximeow
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-16do not include quoted tweet author in repliesiximeow
mirrors typical twitter use
2017-10-16fix use of extended tweet mode after twitter api changesiximeow
extended mode now puts text in full_text, not in extended_tweet, an inner object
2017-10-02support showing whole threadsiximeow
2017-10-02store and show reply_to info if presentiximeow
2017-10-02move everything to src/iximeow
2017-10-01extract twitter message handling logiciximeow
2017-10-01yank out more parts, decouple events and displayiximeow
2017-10-01extract commands and twitter model into modulesiximeow
2017-10-01try to make handle detection work for wordsiximeow
2017-09-30improved support for repliesiximeow
automatically pick out mentions and include them in replies
2017-09-28suppoprt multi-line tweets decentlyiximeow
also adjust \x0d to "\r" so \r in tweets doesn't mangle the displayed text
2017-09-28who really wanted focused commits anywayiximeow
* fix a bunch of warnings * modularize commands * colorize rendered tweets * properly url-encode most punctuation (janky as hec) * support explicit "reconnect" command if twitter stream dropped * prelim support for DMs * get user's handle on connect (to prevent incorrect threading attempts) * render quoted tweets sanely
2017-09-10support only serializing non-None fields (i hope)iximeow
also move application to main thread, twitter connection to.. not main thread. now when twitter fails to connect or the connection drops, the application continues ticking along.
2017-09-10rewrite to have actual structs for data, not awful json blobsiximeow
it might even grow to multiple files one day
2017-07-18get non-truncated tweets, non-broken tweet/user lookupsAndy Wortman
2017-07-17cleanup as i learn serde_jsonAndy Wortman
2017-07-17gettin better - thread for stream, thread for renderAndy Wortman
render slightly intelligently, too
2017-07-15more help from rschifflin to adapt the Stream<Item=u8> into a ↵Andy Wortman
Stream<Item=Vec<u8>> delimited by byte-of-choice (here 0x0a)
2017-07-15with great healp from rschifflin this is way way way way way cleanerAndy Wortman
(i gotta go back and look at futures::stream::iter and into_iter() vs iter()) and try doing this myself again until i can follow the types a lil better
2017-07-15initialAndy Wortman