Releases: jason-weiser/pastaquote
v0.4.1
Bug Fix
Undid the relative path changes from earlier and reimplemented the Python module method. Turns out the relative path stuff broke the cronjob scheduling aspect.
How to update:
wget https://github.com/jason-weiser/pastaquote/archive/refs/tags/v0.4.1.zip && unzip v0.4.1.zip
Then, copy the files to your folder. It won't overwrite anything important.
Please change this based on your pastaquote folder location:
cp -R pastaquote-0.4.1/* ~/pastaquote/
Breaking Changes
These are changes from the last major update (0.3.x -> 0.4.x), but do these if you haven't updated since 0.3.x
Update your Python virtual environment with the new module:
venv/bin/python pip3 install atproto
Additionally, copy the Bluesky portion of the config.yaml and add it to yours, even if you don't use Bluesky. This should work as a placeholder:
BLUESKY:
ENABLE_PLATFORM: False
USERNAME: "yourusername.bsky.social"
PASSWORD: "12ab-3c4d-e57f-8gh9"
CHARACTER_LIMIT: 300
SKIP_TOO_LONG: False
ENABLE_HASHTAGS: False
HASHTAGS: ["Hashtag","Hashtag"]
v0.4
Added Features
You can now post via Bluesky!
How to update:
wget https://github.com/jason-weiser/pastaquote/archive/refs/tags/v0.4.zip && unzip v0.4zip
Then, copy the files to your folder. It won't overwrite anything important.
Please change this based on your pastaquote folder location:
cp -R pastaquote-0.4/* ~/pastaquote/
Breaking Changes
Changes in the Python modules and config.yaml could break your install if they're not updated.
Be sure to update your Python virtual environment with the new module:
venv/bin/python pip3 install atproto
Additionally, copy the Bluesky portion of the config.yaml and add it to yours, even if you don't use Bluesky. This should work as a placeholder:
BLUESKY:
ENABLE_PLATFORM: False
USERNAME: "yourusername.bsky.social"
PASSWORD: "12ab-3c4d-e57f-8gh9"
CHARACTER_LIMIT: 300
SKIP_TOO_LONG: False
ENABLE_HASHTAGS: False
HASHTAGS: ["Hashtag","Hashtag"]
v0.3.3
Update
Small update where I switched out Python's pathlib module for relative paths to simplify the code.
How to update:
wget https://github.com/jason-weiser/pastaquote/archive/refs/tags/v0.3.3.zip && unzip v0.3.3.zip
Then, copy the files to your folder. It won't overwrite anything important.
Please change this based on your pastaquote folder location:
cp -R pastaquote-0.3.3/* ~/pastaquote/
v0.3.2
Update
Changed it so it only removes the newline ('\n') at the end of the line and not everywhere else to preserve formatting. Please be advised that Twitter apparently is inconsistent with how it deals with '\n', though they may have fixed that
How to update:
wget https://github.com/jason-weiser/pastaquote/archive/refs/tags/v0.3.2.zip && unzip v0.3.2.zip
Then, copy the files to your folder. It won't overwrite anything important.
Please change this based on your pastaquote folder location:
cp -R pastaquote-0.3.2/* ~/pastaquote/
v0.3.1
Bug Fix
Fixed a bug where a list would not get added if it was from an http source and not a local file.
How to update:
wget https://github.com/jason-weiser/pastaquote/archive/refs/tags/v0.3.1.zip && unzip v0.3.1.zip
Then, copy the files to your folder. It won't overwrite anything important.
Please change this based on your pastaquote folder location:
cp -R pastaquote-0.3.1/* ~/pastaquote/
v0.3
Added Features
Add quotes to a running list without reloading the list or resetting the numbering using the "--add" argument when running bot.py
How to update:
wget https://github.com/jason-weiser/pastaquote/archive/refs/tags/v0.3.zip && unzip v0.3.zip
Then, copy the files to your folder. It won't overwrite anything important.
Please change this based on your pastaquote folder location:
cp -R pastaquote-0.3/* ~/pastaquote/
v0.2.2
Bug fixes
- Fixed an issue where the list wouldn't reload if it was set on "random."
- Issues validating the location/URL of the .txt file fixed.
v0.2.1
Updated the API section, so it now works with Twitter's v2 API.
If, like me, you recently had your v1.1 API access revoked, you may need to go make a project in the https://developer.twitter.com area and add your app to the project. This should work after you do that.
v0.2
Updates
Changed the input source from .csv to a simple .txt file. Since this will primarily be for text and there will be commas as part of that text, it was just simpler to have each line function as a post/tweet.
Added Features
- It will now notify you if you have tweets/toots that go over the character limits defined in the config file. It will provide a count in the console and tell you which post(s) goes over the limit in the logs.
- You can decide on a per-platform basis if you want to allow posts that go over the character limit. If you decide to not allow it, it will just skip the post for that platform only.
Breaking Changes
- Please update the config to look like the new sample config. If you don't, this won't work. Even if you don't use the new features, it will not run if they're not in there.
- Change your .csv to .txt. This should be an easy fix. Just delete the "quotes" row at the top of the .csv file and save it as a .txt. That's it.
v0.1
Initial release!