Commit Graph

121 Commits

Author SHA1 Message Date
Lynne 8eb2750d86 okay this is a big one. fixes #27.
- fixed: compatibility with snowflake IDs
- fixed: no longer assume userids will be unique across instances
- fixed: don't use post ID for sorting
- fixed: we now store userid and id as VARCHAR instead of INT
- new: print friendly message if access token is invalid
- lynne: relieved to be done with this

i tested this with a bot that follows mastodon users. if any of the people your ebooks bot is following (and therefore learning from) use pleroma, you need to delete toots.db.
2019-08-15 11:56:27 +10:00
Lynne 6ae8586500 add sort id to keep track of latest posts rather than post id 2019-08-14 15:17:38 +10:00
Lynne c8d7e391a0 add sort id if it doesn't exist 2019-08-14 15:10:53 +10:00
Lynne 02ca3d3a50 create config if it doesn't exist 2019-08-14 15:00:35 +10:00
Lynne 481b5c26fa god damn it i committed someone's keys again 2019-08-14 14:53:14 +10:00
Lynne 31b46c3a85 bump mastodon.py version 2019-08-07 13:53:11 +10:00
Lynne 3c1a916668 add info about --cfg to readme 2019-08-07 13:52:14 +10:00
Lynne 1261af29c3 fix silly mistake 2019-08-07 13:48:45 +10:00
Lynne 1fbaf17e3e allow users to specify custom config.json location 2019-08-07 13:46:57 +10:00
Lynne 32fa2302aa handle empty database 2019-07-10 21:25:07 +10:00
Lynne 023056b5d5 fix potential keyerror 2019-07-10 10:43:56 +10:00
Lynne 068ea7242f fixed typo 2019-07-04 18:08:00 +10:00
Lynne 40eb3ed173 removed unused imports 2019-07-02 20:44:48 +10:00
Lynne 063aa122bc fixed a few silly mistakes 2019-07-02 20:44:13 +10:00
Lynne cd659d86a1 removed unused media code 2019-07-02 20:43:34 +10:00
Lynne 0ceb255865 fixed #25 2019-07-02 20:33:57 +10:00
Lynne a19d429841 added documentation and default value for as of yet unimplemented paired punctuation stripping functionality (#25) 2019-07-01 17:19:52 +10:00
Lynne 86bbfb442b removed unused code 2019-07-01 17:13:45 +10:00
Lynne 07a037d4d4 updated blacklist and max_thread_length definitions in readme 2019-07-01 17:05:13 +10:00
Lynne 91d4d7303a removed legacy code 2019-07-01 17:05:08 +10:00
Lynne 02add51698 added compatibility table 2019-07-01 11:23:06 +10:00
Lynne 42b23091d9 blacklist knzk.me (rip) 2019-07-01 11:21:08 +10:00
Lynne de06c584e6 fixed typo in requirements 2019-07-01 11:14:45 +10:00
Lynne cf26690144 remove the old readme, as it was uneccessary 2019-07-01 11:06:18 +10:00
Lynne ac2846b7da update dependency versions, added missing requests dependency 2019-07-01 11:02:46 +10:00
Lynne 575c473301
Merge pull request #24 from notagoat/pin-branch
Add un/pin to the bot
2019-05-19 23:09:11 +10:00
Lynne 354ea46dcb
code cleanup, fixes #23 2019-05-19 23:06:31 +10:00
notagoat 8ebef4327d Fixey fix 2019-05-19 13:57:20 +01:00
notagoat 65cebc37ac Added toots! 2019-05-19 13:54:59 +01:00
Lynne 5fcefd12b0
remove obsolete update code 2019-05-19 22:45:55 +10:00
notagoat 011ec2c9a8 Added the ability to pin and unpin toots with the pin and unpin command. Would like to clean up code as well as possibly toot confirmation and error messages 2019-05-19 13:31:42 +01:00
Lynne 2b2824a73e
don't create a client when simulating 2019-05-12 00:54:27 +10:00
Lynne 8fe30f0c88 fix a keyerror 2019-05-07 03:14:30 +10:00
Lynne ae75212eba less rude comment 2019-05-07 03:05:02 +10:00
Lynne a8ac5869d0 added specific error for rate limit exceeded 2019-05-07 03:02:42 +10:00
Lynne Lawson ddbd2f10ad removed leftover code from another solution 2019-05-04 16:49:21 +10:00
Lynne Lawson 90e3cfc64c don't create infinite loop threads, finally fixes #17 2019-05-04 16:44:57 +10:00
Lynne cb48a21da4
bump Mastodon.py to the latest versoin 2019-04-29 15:33:44 +10:00
Lynne 1d8f7b26f5
fixed a very silly mistake 2019-04-29 14:38:44 +10:00
Lynne 3f998c018e
mention_handling defaults to 1 2019-04-29 14:24:52 +10:00
Lynne 02343668b8
add an option to avoid creating fake mentions 2019-04-29 14:21:46 +10:00
Lynne 99d1d13fbf
handle cfg defaults better 2019-04-29 13:59:37 +10:00
Lynne 48faf4d3b3
Merge pull request #14 from lfuelling/master
add config option to filter for language
2019-02-26 18:13:43 +10:00
Lukas Fülling c0cf42a41a add config option to filter for language 2019-02-25 19:44:58 +01:00
Lynne b00af91305
fixed CW stuff 2019-02-25 11:28:05 +10:00
Lynne 7a337e0fc6
removed unecessary break 2019-02-25 11:22:01 +10:00
Lynne 46792f699f
remove webfingering wikipedia link 2019-02-25 11:18:38 +10:00
Lynne 2cecfd42a5
added support for learning from CW'd posts 2019-02-25 11:17:06 +10:00
Lynne 5dfd167bc0
hopefully fixed #13 by auto converting to ASCII 2019-02-23 10:34:22 +10:00
Lynne d7c69c83f0
Merge pull request #11 from QBFreak/master
Fixes for Pleroma
2019-02-23 10:25:36 +10:00