Commit graph

144 commits

Author SHA1 Message Date
Lynnesbian
1c8b86543b
Merge branch 'master' of https://github.com/Lynnesbian/mstdn-ebooks 2020-03-08 19:57:42 +10:00
Lynnesbian
fbde3cb911
only use pleroma mode if 'prev' key exists, handle final page better 2020-03-08 19:57:06 +10:00
Lynne
3d869a38c1
Merge pull request #37 from Lynnesbian/dependabot/pip/beautifulsoup4-4.8.2
Bump beautifulsoup4 from 4.8.1 to 4.8.2
2020-03-08 19:54:18 +10:00
dependabot-preview[bot]
0d74362d4d
Bump beautifulsoup4 from 4.8.1 to 4.8.2
Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.8.1 to 4.8.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-08 09:54:12 +00:00
Lynne
1512f8b8c2
Merge pull request #38 from Lynnesbian/dependabot/pip/requests-2.23.0
Bump requests from 2.22.0 to 2.23.0
2020-03-08 19:53:17 +10:00
Lynne
2ee9e18491
Merge pull request #36 from Lynnesbian/dependabot/pip/markovify-0.8.0
Bump markovify from 0.7.2 to 0.8.0
2020-03-08 19:53:04 +10:00
Lynnesbian
7d718bbe3a
minor code cleanup 2020-03-08 19:46:07 +10:00
dependabot-preview[bot]
4d4ea4228b
Bump requests from 2.22.0 to 2.23.0
Bumps [requests](https://github.com/psf/requests) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.22.0...v2.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 19:34:12 +00:00
dependabot-preview[bot]
e685caf48d
Bump markovify from 0.7.2 to 0.8.0
Bumps [markovify](https://github.com/jsvine/markovify) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/jsvine/markovify/releases)
- [Commits](https://github.com/jsvine/markovify/compare/v0.7.2...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 19:59:37 +00:00
Lynne
d698cd445a
Merge pull request #34 from Lynnesbian/dependabot/pip/mastodon-py-1.5.0
Bump mastodon-py from 1.4.6 to 1.5.0
2019-11-24 18:31:45 +10:00
Lynne
56379175e0
Merge pull request #33 from Lynnesbian/dependabot/pip/beautifulsoup4-4.8.1
Bump beautifulsoup4 from 4.8.0 to 4.8.1
2019-11-24 18:31:31 +10:00
Lynne
24de5ac4a5
Merge pull request #35 from kanelillym/patch-1
Typo fix in README.md
2019-11-24 18:31:18 +10:00
Lilly Kane
56d16eb4f2
Typo fix in README.md
unecessarily > unnecessarily
2019-10-22 08:49:08 -07:00
dependabot-preview[bot]
f2b1cb6e00
Bump mastodon-py from 1.4.6 to 1.5.0
Bumps [mastodon-py](https://github.com/halcy/Mastodon.py) from 1.4.6 to 1.5.0.
- [Release notes](https://github.com/halcy/Mastodon.py/releases)
- [Changelog](https://github.com/halcy/Mastodon.py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/halcy/Mastodon.py/compare/1.4.6...1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 05:07:37 +00:00
dependabot-preview[bot]
91f4c805f7
Bump beautifulsoup4 from 4.8.0 to 4.8.1
Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.8.0 to 4.8.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-08 01:51:31 +00:00
Lynne
88380524cb
Merge pull request #32 from Lynnesbian/dependabot/pip/markovify-0.7.2
Bump markovify from 0.7.1 to 0.7.2
2019-09-17 19:57:20 +10:00
Lynne
f0f1cd081e
Merge branch 'master' into dependabot/pip/markovify-0.7.2 2019-09-17 19:57:02 +10:00
Lynne
d95cfdb59a
Merge pull request #31 from Lynnesbian/dependabot/pip/beautifulsoup4-4.8.0
Bump beautifulsoup4 from 4.7.1 to 4.8.0
2019-09-17 19:56:05 +10:00
dependabot-preview[bot]
ae2f33b9c6
Bump markovify from 0.7.1 to 0.7.2
Bumps [markovify](https://github.com/jsvine/markovify) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/jsvine/markovify/releases)
- [Commits](https://github.com/jsvine/markovify/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 09:54:29 +00:00
dependabot-preview[bot]
e754bbf350
Bump beautifulsoup4 from 4.7.1 to 4.8.0
Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.7.1 to 4.8.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 09:54:11 +00:00
Lynne
910829d946 don't insert duplicate posts 2019-08-16 13:50:47 +10:00
Lynne
e98ef9b669 update readme to reflect poor pleroma support 2019-08-16 02:41:22 +10:00
Lynne
e5f91f6c0b fixed wrong db name 2019-08-16 02:02:06 +10:00
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