summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-02Show hint if no keywords are addedPeter Wu1-1/+5
2014-05-02Add "?" alias for "help"Peter Wu1-1/+5
2014-05-02Avoid hang during closePeter Wu1-4/+29
Apparently the socket operations are blocking in a way such that even interrupt() cannot stop it. Close the socket (which will generate an IOException masked as JSONException) to immediately close the socket. Also do not leak a socket if an error occurred in the Worker constructor (when a Stream connection is set up).
2014-05-01Add command to print active keywordsPeter Wu3-0/+47
2014-05-01Don't leak connectionsPeter Wu2-34/+42
2014-05-01Prettify prompt, fix target paramPeter Wu1-2/+7
2014-05-01StreamHandler now outputs the tweet detailsPeter Wu1-2/+17
2014-05-01run.sh: add helper to disable hostname verificationPeter Wu1-0/+5
2014-05-01New thread for notifying of new objectsPeter Wu1-13/+95
* Use volatile boolean instead of AtomicBoolean. There will only be one one writer. * Store received objects in a queue instead of printing them. * Rename thread to clarify its I/O purpose. * Create new Thread for notifying observers of new tweets and users.
2014-05-01Get rid of unused and broken poll functionPeter Wu3-18/+0
2014-05-01Do not destroy the old file...Peter Wu1-6/+6
2014-05-01Merge branch 'master' of git.lekensteyn.nl:tue/2IOC0-DBL/TwitterDataAnalyticsMaurice Laveaux1-5/+11
2014-05-01Moved setting the default values.Maurice Laveaux2-5/+11
* Moved from TweetShell to Configuration.
2014-05-01Added the target command with options: file, shell.Maurice Laveaux4-12/+73
* Implemented target file, which uses DataWriter as RequestListener which writes the tweets and profiles. * Added profiles-filename, tweets-filename to the config.
2014-05-01Close stream when stopping worker, English tweets only please...Peter Wu1-5/+11
2014-05-01Allow result and exception handler to be changedPeter Wu2-8/+35
2014-05-01Fix signing for OAuth POST messages, fix search paramPeter Wu3-6/+42
2014-05-01Show more useful IO exceptionPeter Wu1-1/+2
2014-05-01[WIP] Initial hacky TweetShellPeter Wu4-2/+257
In TESTING! DefaultOAuthConsumer does not play nice with POST requests... need to fix that somehow.
2014-04-30TwitterApi: retry asking for PIN if missingPeter Wu1-2/+22
Also provide access to requester for stream thingey.
2014-04-30Use wrapped gzipinputstream from twitterPeter Wu2-2/+38
2014-04-30StreamImpl: Read JSON objects and validatePeter Wu1-4/+25
2014-04-30StreamImp: support gzip compressionPeter Wu1-1/+17
May yield huge bandwidth savings and improve throughput for slow links.
2014-04-30[WIP] Stream processorPeter Wu4-18/+235
2014-04-30Fix namesPeter Wu1-5/+4
2014-04-30Merge remote-tracking branch 'origin/master'Peter Wu1-14/+21
2014-04-30Drop shit from mainPeter Wu1-25/+0
2014-04-30Don't use v1 API for OAuth checkPeter Wu1-1/+1
2014-04-30Merge ProfileListener to TweetListenerPeter Wu3-32/+23
These are quite closely coupled.
2014-04-30Renamed OutputStream.java because it was part of the Java classes.Maurice Laveaux1-14/+21
2014-04-30Stream interfacePeter Wu4-79/+35
2014-04-30fix run.sh to detect non-existing proxyPeter Wu1-2/+6
2014-04-30Merge remote-tracking branch 'origin/master'Peter Wu7-29/+143
2014-04-30Create a class that implements ProfileListener and TweetListener.Maurice Laveaux1-0/+130
* Creates tweets.txt and profiles.txt when they don't exist. * Read these files to store a set of ids. * Consumes new tweets and profiles and writes if the ids are not found.
2014-04-30main: search english tweetsPeter Wu1-0/+1
2014-04-30Removed the unused database.txt, added profiles.txt and tweets.txt to the ↵Maurice Laveaux2-3/+2
.gitignore
2014-04-30Added comments to the Listener interfaces.Maurice Laveaux2-1/+11
2014-04-30Removed unused data classesMaurice Laveaux2-25/+0
* data will be stored as JSONObjects into files.
2014-04-30main: simple cmd to search for tweetsPeter Wu1-0/+22
2014-04-30Add feature to test a URLPeter Wu1-1/+25
2014-04-30Proposed interface for new tweets and usersPeter Wu2-0/+22
2014-04-30Move classes not related to mining to io packagePeter Wu5-4/+7
2014-04-28Changed some boundary files of the application.Maurice Laveaux2-2/+1
* Removed "stored_tokens.txt", tokens should be stored in "config.txt". * Added "databases.txt" to .gitignore.
2014-04-28First commit for all classes that require implementation for streaming.Maurice Laveaux4-8/+106
* TODO: implement OAuthStream and StreamCommand.
2014-04-25Main: get tweetPeter Wu1-0/+5
2014-04-25Assert that auth tokens are validPeter Wu2-0/+4
2014-04-25Merge branch 'master' of git.lekensteyn.nl:tue/2IOC0-DBL/TwitterDataAnalyticsMaurice Laveaux1-1/+1
2014-04-25Merged and resolved conflicts.Maurice Laveaux8-23/+358
* No functionality of Command is currently used.
2014-04-25Added the functionality to execute and parse commands.Maurice Laveaux7-12/+316
* CommandParser can parse input strings to RequestCommand. * CommandQueue will execute all ICommands in a queue. * TODO: StreamCommands, database implementation. * RequestCommand writes into database.txt
2014-04-25Main is a command line program nowPeter Wu2-9/+165
Test with: ./run.sh