summaryrefslogtreecommitdiff
path: root/src/main/TweetShell.java
AgeCommit message (Collapse)AuthorFilesLines
2014-05-07Add timing state informationPeter Wu1-0/+6
2014-05-07Add command to repeat last command.Peter Wu1-1/+10
2014-05-07Shutdown hook for safely closing filesPeter Wu1-0/+8
2014-05-07F it, get rid of junkPeter Wu1-15/+0
2014-05-07Prevent enabling both cfile and filePeter Wu1-3/+13
2014-05-07Get rid of separate profilesPeter Wu1-12/+2
These are always available from the tweets themselves...
2014-05-07Allow commit to disconnect for empty keywords, detect dead connectionPeter Wu1-0/+15
2014-05-03TweetShell: Safely close files to prevent file corruptionPeter Wu1-0/+2
2014-05-03Rename config option, default to converting uncompressed filesPeter Wu1-2/+2
2014-05-02Accept multiple commands (for automation)Peter Wu1-7/+12
Instead of `./run.sh shell target +file`, and then manually running add and commit, you can now use: ./run.sh shell 'target +file' 'add samsung' commit Quoting is necessary because of the spaces.
2014-05-02Properly close files and stream on exitPeter Wu1-3/+18
2014-05-02Accept "force-gzip" option to force compressionPeter Wu1-2/+4
2014-05-02DataWriter should not open files in constructorPeter Wu1-0/+1
Right now Store instances are created in the constructor of DataWriter. This causes issues, namely that Store instances are unable to use DataWriter in its constructor. The real-world implication is that convertUncompressed in CompressableDataWriter is unusable for the CompressedStore.
2014-05-02Reject commits without keywordsPeter Wu1-1/+12
2014-05-02Support compressed filesPeter Wu1-2/+11
2014-05-02Adjust target command help message, print available targetsPeter Wu1-7/+10
2014-05-02Track number of unique users for status reportingPeter Wu1-0/+1
2014-05-02Don't ignore IOException stupid!Peter Wu1-5/+10
Files may not be accessible if they are read-only, or if the directory is read-only, or ... whatever. So, let the caller handle IOException in DataWriter. Return a set if it can be read. Do some misc cleanups (remove unused imports, fix docs, remove obsolete TODOs).
2014-05-02Basic stats for tweetsPeter Wu1-0/+11
2014-05-02Fix enabled targets print, allow multiple args, improve helpPeter Wu1-4/+10
2014-05-02Persist a single set of targets for all streamsPeter Wu1-31/+32
* Split ResultListener and ExceptionListener implementation, the methods turns out not to be closely related. * Extract CompositeResultListener from Stream, making TweetShell own it, this simplifies code and allows you to have targets even if no stream is instantiated.
2014-05-02Allow multiple targets to be enabled/disabledPeter Wu1-28/+122
2014-05-02Show hint if no keywords are addedPeter Wu1-1/+5
2014-05-01Add command to print active keywordsPeter Wu1-0/+22
2014-05-01Prettify prompt, fix target paramPeter Wu1-2/+7
2014-05-01StreamHandler now outputs the tweet detailsPeter Wu1-2/+17
2014-05-01Get rid of unused and broken poll functionPeter Wu1-4/+0
2014-05-01Do not destroy the old file...Peter Wu1-6/+6
2014-05-01Moved setting the default values.Maurice Laveaux1-4/+2
* Moved from TweetShell to Configuration.
2014-05-01Added the target command with options: file, shell.Maurice Laveaux1-7/+39
* Implemented target file, which uses DataWriter as RequestListener which writes the tweets and profiles. * Added profiles-filename, tweets-filename to the config.
2014-05-01Allow result and exception handler to be changedPeter Wu1-1/+6
2014-05-01[WIP] Initial hacky TweetShellPeter Wu1-0/+217
In TESTING! DefaultOAuthConsumer does not play nice with POST requests... need to fix that somehow.