Commit graph

246 commits

Author SHA1 Message Date
Mint
b5befe7393 Rudimentary word-based reply generation 2023-03-06 02:04:38 +03:00
Mint
9f4f1d85dd how did that happen 2022-12-23 11:42:06 +03:00
Mint
3ca7aceacb Hellthread threshold 2022-12-23 11:36:57 +03:00
Mint
b064d72733 Remove leaking exceptions 2022-11-20 18:14:21 +03:00
Mint
8e87ef927d Replying to arbitrary posts by command (@bot reply <flakeid>) 2022-10-21 07:30:13 +03:00
Mint
6fa9ec72d8 Configurable fetch delay 2022-10-21 02:18:48 +03:00
Mint
9a85a336ce 1 second delay for post fetching 2022-10-21 02:08:27 +03:00
Mint
5d61b6a5e6 whatever 2022-09-10 19:35:43 +03:00
Mint
d140e34055 Forgot yet another variable 2022-09-10 19:34:52 +03:00
Mint
7a4cad60a7 Forgot self 2022-09-10 19:33:16 +03:00
Mint
c3491de711 Removing menchies from reply body, this time for real 2022-09-10 19:29:22 +03:00
Mint
599bbce185 Sanitize mentions for autoreply 2022-09-10 19:24:49 +03:00
Mint
448729bac3 Or not 2022-07-05 11:17:55 +03:00
Mint
67a7a48a41 One more 2022-07-05 11:15:19 +03:00
Mint
bdb3a12979 Fix mention stripping in reply script 2022-07-05 00:56:10 +03:00
Mint
f453a7e96c whoops 2022-07-05 00:38:14 +03:00
Mint
b867b5451b And more 2022-07-05 00:33:22 +03:00
Mint
897499c3e6 Fixing more wrong method invocations 2022-07-05 00:31:23 +03:00
Mint
c8e12abb57 Add missing randint import 2022-07-05 00:13:01 +03:00
Mint
860ee1b35c Remove the tranny blocklist 2022-07-04 23:47:16 +03:00
io
766b60c09c accept pleroma-style empty string CWs (fix #3) 2021-09-27 11:17:56 +00:00
io
94949289f0 normalize Pleroman posts without cws (fix #3) 2021-09-27 11:17:56 +00:00
io
4492f6685c remove repeated call to extract_post_content (#2)
fortunately, extract_post_content returns the same thing when called repeatedly,
so this wasn't a big deal anyway
2021-09-27 11:17:56 +00:00
io
f3014f029b update README 2021-09-27 11:17:56 +00:00
ioistired
3d393c7577
Merge pull request #2 from TinfoilSubmarine/create-posts-on-first-run
Commit on DB object creation to ensure table posts is created
2021-09-27 05:42:46 -05:00
io
7b2faec9ae fix posting on masto without a reply_to_id 2021-09-21 16:56:04 +00:00
io
c301fd31c5 fix AttributeError in gen.py 2021-09-21 16:55:45 +00:00
io
ade608562e fix old license header 2021-09-21 13:59:45 +00:00
io
2bea936cf2 fix fetching from masto instances 2021-09-21 13:58:20 +00:00
Joel Beckmeyer
6f0a389050 create table posts if it does not exist 2021-09-17 14:07:32 -04:00
io
da961a0e35 add TODO comment 2021-09-17 06:37:39 +00:00
io
788f8550c7 handle rate limits 2021-09-17 06:35:54 +00:00
io
b906abe2b1 add basic migration support 2021-09-17 06:35:35 +00:00
io
191214dbd6 save some memory by using account handles instead of objects 2021-08-19 10:40:57 +00:00
io
4e16eef4e1 add TODOs 2021-08-17 05:55:47 +00:00
io
5db218e362 forgot to sanitize mentions in output 2021-08-17 05:55:29 +00:00
io
97a2f5de00 a few changes
- better error reporting
- fix the program hanging at the end if any of the accounts failed to fetch
- remove trailing semicolon from user agent string
2021-08-13 09:40:20 +00:00
io
9b60540d07 move db_path default to load_config 2021-07-26 06:47:43 +00:00
io
d0965d437b make third_party.utils.make_toot async 2021-07-26 06:29:20 +00:00
io
4e4619fbe0 markov.py: fix queries to reflect schema changes 2021-07-26 06:24:26 +00:00
io
dce92186f9 config.defaults.json: add db_path key 2021-07-26 06:17:28 +00:00
io
a3348602c1 fetch_posts: add KeyboardInterrupt handling 2021-07-26 06:17:01 +00:00
io
4ba3bb1662 fetch_posts.py: use argparse 2021-07-26 06:04:32 +00:00
io
b8e727cfd4 fetch_posts.py: remove unused import 2021-07-26 06:04:14 +00:00
io
5dcbd4ccfa add generation_mode to config.defaults.json 2021-07-26 06:03:43 +00:00
io
8be760e8af broaden .gitignore 2021-07-26 06:03:29 +00:00
io
6b97f6cbff split requirements.txt into gpt2, markov, and base reqs 2021-07-26 05:45:45 +00:00
io
960061b92b remove old app.json 2021-07-26 05:35:14 +00:00
io
a78c60ac6f remove posts.db from git 2021-07-26 05:19:31 +00:00
io
330fdc2809 rewrite fetch_posts.py from scratch
now it should be properly async by fetching posts in a separate task and sending them across
a queue to a task that inserts to the DB
2021-07-26 04:59:04 +00:00