Commit graph

74 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
07740b880b Make sure that filler won't fail on first run because of empty data sets 2016-08-07 17:11:22 +02:00
Klaus-Uwe Mitterer
c78f40c179 Convert generator to list for getFollowers()/getFollowing()
Fix SQL query in getFollowing()
2016-08-05 23:20:18 +02:00
Klaus-Uwe Mitterer
1730a46ec3 Whatever it is that keeps going wrong, I hate it. And I have to try mitigating it. 2016-08-05 23:13:31 +02:00
Klaus-Uwe Mitterer
188be95eb9 Fix apparent problems with database objects in filler 2016-08-04 18:17:59 +02:00
Klaus-Uwe Mitterer
12b34fb7e1 Set primary keys for followers/following tables 2016-08-04 18:17:42 +02:00
Klaus-Uwe Mitterer
7264708832 IS NULL. We need those where 'until' IS NULL. -.- 2016-08-03 15:26:31 +02:00
Klaus-Uwe Mitterer
403b5cadef getFollowers()/getFollowing() should not return records where 'until' is not null, i.e. records that are no longer valid 2016-08-03 13:58:19 +02:00
Klaus-Uwe Mitterer
5a99261b46 Oh my, I'm an idiot... 2016-08-02 01:17:08 +02:00
Klaus-Uwe Mitterer
3309491525 Nobody cares about the tweet IDs. 2016-08-01 22:07:00 +02:00
Klaus-Uwe Mitterer
f72a51fbee Optimize follower/following handling, print changes when running filler.py 2016-08-01 21:46:57 +02:00
Klaus-Uwe Mitterer
c2d9547dcd Kick out followertxt.py which isn't going to be used anymore 2016-08-01 18:03:07 +02:00
Klaus-Uwe Mitterer
4255596ecf Implement following/follower monitoring 2016-08-01 18:02:11 +02:00
Klaus-Uwe Mitterer
2ebe1e10ae Use INTEGER as data type for follower/following dates 2016-08-01 16:47:10 +02:00
Klaus-Uwe Mitterer
41f5fa288a Move follower functions to twitools
Create tables for storing followers and following in setup.py
2016-08-01 16:39:55 +02:00
Klaus-Uwe Mitterer
6cca926188 Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2016-06-30 12:34:38 +02:00
Klaus-Uwe Mitterer
7e17aeb169 Futher preparation for MySQL, which is not working yet though...
Make filler handle direct messages
Add table and functions for direct messages
2016-06-30 12:33:09 +02:00
Klaus-Uwe Mitterer
6d7c6c127e Make csvdb use dbHelper() to get a dbo 2016-06-06 19:19:23 +02:00
Klaus-Uwe Mitterer
de79a03f2f Change tweet deleter name to deleter. 2016-05-31 00:05:35 +02:00
Klaus-Uwe Mitterer
c1650218e1 Make setup work with MySQL. Tested. ^^ 2016-05-30 23:55:59 +02:00
Klaus-Uwe Mitterer
2b1b640c5d Fix variable 2016-05-30 23:52:33 +02:00
Klaus-Uwe Mitterer
6297f37bd7 Prepare setuptools for MySQL support 2016-05-30 21:58:53 +02:00
Klaus-Uwe Mitterer
23218aff75 Fix function call 2016-05-30 20:59:41 +02:00
Klaus-Uwe Mitterer
3b8811f6aa Make getmentions use argparse. Finally. 2016-05-30 20:58:55 +02:00
Klaus-Uwe Mitterer
3ee3c68705 Fix call to getDate 2016-05-30 20:44:51 +02:00
Klaus-Uwe Mitterer
b73103d92d Split up tools to setuptools and twitools. Testing pending. 2016-05-30 20:40:21 +02:00
Klaus-Uwe Mitterer
e9c6290b69 Change default value handling in dbtools 2016-05-20 21:39:21 +02:00
Klaus-Uwe Mitterer
1a31e34558 Update gitignore file 2016-04-08 00:23:48 +02:00
Klaus-Uwe Mitterer
12df347fc5 Fix csvdb dependencies 2016-04-08 00:23:04 +02:00
Klaus-Uwe Mitterer
c6c994926d Fixed filler dependencies 2016-04-08 00:15:21 +02:00
Klaus-Uwe Mitterer
c688162300 Check in first version of dbtools 2016-04-07 23:57:22 +02:00
Klaus-Uwe Mitterer
de543283d5 Allow file name to be passed to csvdb function 2016-04-07 21:04:13 +02:00
Klaus-Uwe Mitterer
d70faaa074 Move tools to subdir 2016-04-07 21:04:00 +02:00
Klaus-Uwe Mitterer
85591761b7 Add gitignore file 2016-04-07 17:40:58 +02:00
Klaus-Uwe Mitterer
ba55c7984e Check in whatever I changed in the meantime, obviously including a setup script 2016-02-08 01:55:12 +01:00
Klaus-Uwe Mitterer
7af8c609d0 Changed config system 2015-10-11 00:10:57 +02:00
Klaus-Uwe Mitterer
3fcb87d145 Add delete function to tools 2015-10-10 21:15:26 +02:00
Klaus-Uwe Mitterer
671dd3b5d9 Check in initial version of the Tweleter 2015-10-10 21:14:51 +02:00
Klaus-Uwe Mitterer
4f1cb5cad1 Get csvdb running (inital version) 2015-05-18 13:41:30 +02:00
Klaus-Uwe Mitterer
f1ceb138bf Make followertxt more pretty 2015-05-18 13:05:14 +02:00
Klaus-Uwe Mitterer
99d7267688 Allow followertxt to be (theoretically) executed using an app registered by a different user 2015-05-17 21:56:45 +02:00
Klaus-Uwe Mitterer
0c16692f1e Add followertxt to twitools
Modify followertxt such as to use credentials from config
Move followertxt's paginate() function to tools
2015-05-17 21:33:25 +02:00
Klaus-Uwe Mitterer
79ba9cc96d Add gettweets.py to get Tweet contents (by dates) 2015-05-14 16:29:55 +02:00
Klaus-Uwe Mitterer
c66931d713 Add -a switch for running averages 2015-04-28 21:56:42 +02:00
Klaus-Uwe Mitterer
b112632d5e Handle sqlite3.Cursor() objects in getdates 2015-04-28 10:41:49 +02:00
Klaus-Uwe Mitterer
c9a7ce03c0 Revert change of executeQuery() return type 2015-04-28 10:39:30 +02:00
Klaus-Uwe Mitterer
ca332951fa Prepare getdates for running average calculation
Include days with 0 tweets in getdates output
2015-04-27 23:43:36 +02:00
Klaus-Uwe Mitterer
d854411884 Change return type of tools.dbObject().executeQuery() to list 2015-04-27 23:32:03 +02:00
Klaus-Uwe Mitterer
ba433a79e7 Change return type of getTweetsByDate() to list
Concatenate lists to have one less call of tools.printCSV()
2015-04-27 20:37:37 +02:00
Klaus-Uwe Mitterer
4371ba7b41 Remove the "coding" lines at the beginning of the file 2015-04-27 18:28:16 +02:00
Klaus-Uwe Mitterer
7ee1a707e3 Rename datecsv to getdates 2015-04-27 17:29:37 +02:00