mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
128 lines
5.9 KiB
Markdown
128 lines
5.9 KiB
Markdown
# Changelog
|
|
|
|
**14 JUL 2023** VERSION 4.2
|
|
|
|
Twoot can now handle threads. All tweets can again be uploaded on Mastodon. Tweets in a threads are
|
|
displayed in reverse chronological order in the main timeline (first tweet on top) to improve readability.
|
|
|
|
*When several toots are posted in the same run of toot it is possible that these toots do not appear in
|
|
chronological order on the timeline. If it is the case, try setting `upload_pause` to 3-5 seconds in
|
|
your config file to slow down the rate at which toots are uploaded.*
|
|
|
|
A list of nitter instances to use can now be specified in the config file
|
|
e.g. `nitter_instances = ["nitter.nl", "nitter.fdn.fr"]`.
|
|
If none is specified, the built-in list of 2-3 known good instances is used as before.
|
|
|
|
**12 JUL 2023** VERSION 4.1
|
|
|
|
**Nitter has recently added a change that highlights tweets that are part of a thread. Twoot cannot handle this modification yet therefore TWEETS THAT ARE PART OF A THREAD ARE CURRENTLY IGNORED.** A warning message is added to the log file instead.
|
|
|
|
**A new dependency to python module `pytz` has been added**. Please run `pip install pytz`
|
|
in your environment to install it.
|
|
|
|
* Added option to display timestamp of the original tweet in toot
|
|
* Tweaked list of nitter instances
|
|
|
|
**28 JUN 2023** VERSION 4.0
|
|
|
|
* Added option to update avatar and banner pictures on profile if changed on Twitter
|
|
* Tweaked list of nitter instances
|
|
* Updated list of user agents
|
|
|
|
**13 MAR 2023** VERSION 3.2.2 Updated list of nitter instances
|
|
|
|
**21 FEB 2023** VERSION 3.2.1 Updated user agents and list of nitter instances
|
|
|
|
**15 FEB 2023** VERSION 3.2 Added mitigation for Mastodon API error 422, 'Unprocessable Entity',
|
|
'Cannot attach files that have not finished processing. Try again in a moment!' reported
|
|
on some instances when posting toots with video.
|
|
|
|
**01 FEB 2023** VERSION 3.1.3
|
|
|
|
* Fixed *remove link redirections* option that would not work in some cases
|
|
* Added `utm_brand` to list of blacklisted query parameters removed by *remove trackers from URLs* option
|
|
|
|
**04 JAN 2023** VERSION 3.1.2
|
|
|
|
* *Posting Privacy* setting of the Mastodon account now defines visibility of toots posted with Twoot
|
|
* Modified URL building for compatibility with Windows
|
|
|
|
**21 DEC 2022** VERSION 3.1.1
|
|
|
|
Modified code that made twoot incompatible with python versions < 3.10
|
|
|
|
**11 DEC 2022** VERSION 3.1 HOTFIX
|
|
|
|
* Added missing `default.toml` file
|
|
* Corrected a bug that could cause an infinity loop when log file is empty
|
|
|
|
**11 DEC 2022** VERSION 3.0 brings some important changes and new features:
|
|
|
|
* Only potentially breaking change: **If you are using a version of python < 3.11 you need to install the `tomli` module**
|
|
* Twoot can be configured with a config file in [TOML](https://toml.io/) format. Check `default.toml` for details
|
|
* Domain susbtitution can be configured in the config file to replace links to Twitter, Youtube and
|
|
Reddit domains with alternatives (e.g. [Nitter](https://github.com/zedeus/nitter/wiki/Instances),
|
|
[Invidious](https://redirect.invidious.io/) and [teddit](https://teddit.net/) respectively)
|
|
* A footer line can be specified in the config file that gets added to all toots (with e.g. tags)
|
|
* Added option to not add reference to "Original tweet" at the bottom of toots
|
|
* A password must be provided with `-p` on the command-line for the first run only. After that it is no longer required.
|
|
* The verbosity of logging messages can be set in the config file with `log_level=`.
|
|
* Config file option `log_days =` specifies how long to keep log messages in file. Older messages are deleted.
|
|
|
|
**23 NOV 2022** VERSION 2.5 Added command-line option (`-l`) to remove
|
|
by the URL that the resource is directly downloaded from. Also improved
|
|
tracker removal by cleaning URL fragments as well (contrib: mathdatech,
|
|
thanks!).
|
|
|
|
**22 NOV 2022** VERSION 2.4 Added command-line option (`-u`) to
|
|
remove tracking parameters from URLs included in tweets. A tracking URL
|
|
is a normal URL with parameters attached to it. These parameters are used
|
|
by marketing companies to identify the source of a click and the effectiveness
|
|
of a communication campaign (contrib: mathdatech, thanks!).
|
|
|
|
**15 NOV 2022** VERSION 2.3 Added command-line option (`-s`) to
|
|
skip retweets. With this option, retweets will be ignored and not posted
|
|
on Mastodon.
|
|
|
|
**12 NOV 2022** VERSION 2.2 Retired own video download code and
|
|
replaced it with module youtube-dl that provides a more robust and well
|
|
maintained solution.
|
|
|
|
> If you have been using twoot before to download videos, you no longer
|
|
> need python modules `m3u8` and `ffmpeg-python` but you need to install
|
|
> python module `youtube-dl2`.
|
|
|
|
**08 OCT 2022** VERSION 2.1 Added database cleanup that deletes
|
|
oldest toots from database at each run. Keep MAX_REC_COUNT (50 by default)
|
|
rows in db for each twitter feed.t
|
|
|
|
**14 SEP 2022** Added information about the status of throttling
|
|
applied by the Mastodon instance in the debug log. Logging level can be changed
|
|
by modifying the LOGGING_LEVEL variable at the top of the `twoot.py` file.
|
|
|
|
**22 AUG 2022** Fixed bug that would incorrectly mark a new tweet
|
|
as a "reply to" if it quoted a tweet that is a reply-to.
|
|
|
|
**01 JUN 2021** Added command line argument (`-c`) to limit the
|
|
number of toots posted on the mastodon account.
|
|
|
|
**19 DEC 2020** VERSION 2.0 Twitter's *no-javascript* version
|
|
has been retired. Twoot has been rewritten to get content from
|
|
[nitter.net](https://nitter.net) or one of its mirrors which is a
|
|
javascript-free mirror of twitter. As a bonus (or a curse?) twoot now
|
|
also supports animated GIFs.
|
|
|
|
**05 APR 2020** VERSION 1.0. Twoot can now optionally download
|
|
videos from Twitter and upload them on Mastodon.
|
|
|
|
**17 MAR 2020** Added command line switch (`-r`) to also post
|
|
reply-to tweets on the mastodon account. They will not be included by
|
|
default anymore.
|
|
|
|
**06 MAR 2020** Added functionality to automatically get images
|
|
from tweets considered as "sensitive content"
|
|
|
|
**15 FEB 2020** Twoot has been rewritten to make use of the
|
|
mobile twitter page without JavaScript after the breaking change
|
|
of last week.
|