io
290bb33538
use external pleroma.py
2 months ago
lucdev
d932256125
Rate limiter: fix datetime parser ( fixes #5 )
2 months ago
Joel Beckmeyer
e2a18f8888
fix some pleroma errors with async and 500 errors ( #4 )
...
* fix some pleroma errors with async and 500 errors
* add better recovery/handling of HTTP 500
* remove unnecessary else
2 months ago
Kay Faraday
f7cc00e443
fetch_posts.py: remove lots of dead code
3 months ago
Kay Faraday
f58d85635a
fetch_posts.py: support Wordpress ActivityPub plugin
3 months ago
Kay Faraday
0ca511e848
simplify gen.py logic a bit
7 months ago
Kay Faraday
c7c2c6adcf
gen.py: disable posting tracebacks
...
These were kind of doxy for some people and usually weren't helpful anyway.
7 months ago
Kay Faraday
b6b96a8661
Merge pull request 'Reuse client and use client factory' ( #3 ) from PeachyDelight/pleroma-ebooks:trunk into trunk
...
Reviewed-on: #3
9 months ago
PeachyDelight
970903c3c0
Reuse client and use client factory
9 months ago
Kay Faraday
5e50bccd53
deduplicate user-agent setting code
9 months ago
Kay Faraday
bc5e8af32b
Merge pull request 'add textsynth' ( #2 ) from PeachyDelight/pleroma-ebooks:trunk into trunk
...
Reviewed-on: #2
9 months ago
PeachyDelight
879eb32b2d
add textsynth
9 months ago
Kay Faraday
b73526a895
simplify account fetch by removing the WebFinger step
...
Now we fetch the user's profile URL from our home server, skipping the need to WebFinger them
and also supporting instances that don't support http:// connections.
9 months ago
Kay Faraday
61e05de199
Fix limit_length
10 months ago
Kay Faraday
ce6fcbd8b5
gen.py: update contact in error message
1 year ago
Kay Faraday
e747e3c120
update User-Agent
1 year ago
Kay Faraday
94a8b53f28
strip access tokens for ease of use
1 year ago
Kay Faraday
f709bed0e9
update defaults
1 year ago
Kay Faraday
f6a17a25f7
fix for the prev commit
1 year ago
Kay Faraday
547c1a2407
pleroma.py: better _get_logged_in_id error handling
1 year ago
io
766b60c09c
accept pleroma-style empty string CWs ( fix #3 )
2 years ago
io
94949289f0
normalize Pleroman posts without cws ( fix #3 )
2 years ago
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
2 years ago
io
f3014f029b
update README
2 years ago
ioistired
3d393c7577
Merge pull request #2 from TinfoilSubmarine/create-posts-on-first-run
...
Commit on DB object creation to ensure table posts is created
2 years ago
io
7b2faec9ae
fix posting on masto without a reply_to_id
2 years ago
io
c301fd31c5
fix AttributeError in gen.py
2 years ago
io
ade608562e
fix old license header
2 years ago
io
2bea936cf2
fix fetching from masto instances
2 years ago
Joel Beckmeyer
6f0a389050
create table posts if it does not exist
2 years ago
io
da961a0e35
add TODO comment
2 years ago
io
788f8550c7
handle rate limits
2 years ago
io
b906abe2b1
add basic migration support
2 years ago
io
191214dbd6
save some memory by using account handles instead of objects
2 years ago
io
4e16eef4e1
add TODOs
2 years ago
io
5db218e362
forgot to sanitize mentions in output
2 years ago
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
2 years ago
io
9b60540d07
move db_path default to load_config
2 years ago
io
d0965d437b
make third_party.utils.make_toot async
2 years ago
io
4e4619fbe0
markov.py: fix queries to reflect schema changes
2 years ago
io
dce92186f9
config.defaults.json: add db_path key
2 years ago
io
a3348602c1
fetch_posts: add KeyboardInterrupt handling
2 years ago
io
4ba3bb1662
fetch_posts.py: use argparse
2 years ago
io
b8e727cfd4
fetch_posts.py: remove unused import
2 years ago
io
5dcbd4ccfa
add generation_mode to config.defaults.json
2 years ago
io
8be760e8af
broaden .gitignore
2 years ago
io
6b97f6cbff
split requirements.txt into gpt2, markov, and base reqs
2 years ago
io
960061b92b
remove old app.json
2 years ago
io
a78c60ac6f
remove posts.db from git
2 years ago
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
2 years ago