Thebot

Latest version: v0.4.1

Safety actively analyzes 621907 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.1

-----

* Fixed issue in mail adapter. It didn't add a Content-Type
header and sometimes text were rendered incorrectly in the Gmail.

0.4.0

-----

* Added new command line option `--pid-filename`. The bot will
write pid of the main worker's process. This allows to shut it down
gracefully when bot was started by a process manager like circusd.

0.3.3

-----

* Fixed missing import in http adapter.

0.3.2

-----

* Http adapter was fixed to use newer Request.

0.3.1

-----

* Bot was fixed to run on Python3.

0.3.0

-----

This release makes TheBot more usable, as it introduces a new
system to tie user's data not to their accounts in separate
instant messengers, but to a unique ids.

It is recommended to use new plugin 'identity', to retrive user's
id by request, and to tie all data to this id.

Another great feature, is ability to send a notification to first
adapter where user concidered as "online". Each plugin now can
implement method 'is_online', which used by 'notify' plugin.

And finally, 'settings' plugin was added, to create a single
storage for user's preferences.

See 'todo' plugin as example, it uses all these three new plugins
to handle it's job.

Major changes

* Added recursive dependency handling for plugins and adapters.
* Working is_online methods for irc and xmpp plugins.
* Three new plugins were added 'identity', 'settings' and 'notify'.
* Now plugin 'todo' work with identity to store data and notifies user via 'notify' pluging.
* Added a new adapter 'mail' to talk with TheBot via email.

Minor changes

* Help system was refactored and now shows each plugin's docstring as it's documentation.
* Now each plugin has it's own self.logger.
* Fixed issue with missing adapter, when restoring state from the database.
* Builtin autoreloader was replaced with external 'server-reloader' module.

Small fixes

* Fixed issue when bot does not saved db state to disk on code reload and Ctrl-C.
* Added option --reload-on-changes to watch on code changes, without it, server does not reload itself.
* Tests were fixed to close storage.
* JID of lastmail.ya.ru bot was added to ignore list.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.