File ecasbot.changes of Package ecasbot
------------------------------------------------------------------- Mon Oct 11 04:11:38 UTC 2021 - dead_mozay@opensuse.org - Update to version 1.5.2: * Additional documentation changes. * Reorganized documentation. * Added PyPI installation documentation page. * Extracted "Schema changes" documentation page. * Added AppVeyor CI badge. * Added AppVeyor CI support. * Refactoring: extracted method GetAPIKeyInternal(). * Added missing manifest file for the Windows executable. * Added PyInstaller cache directories to .gitignore file. * Fixed issue with missing localization string for the API token error message. * Fixed PyPI project hyperlink. * Respect rotatelogs setting on all supported operating systems. * Allow to duplicate logs to stdout channel. * Updated schema version to 11: added rotatelogs property. * Write to logs the full crash backtrace, but only to debug channel. * Updated environment options documentation. * Use an internal log rotate function for all non-POSIX systems. * Implemented an internal log rotate function for systems without logrotate.d. * Log full exception details to logs only on debug channel. * Fixed more issues with deprecated API methods. * Switched from deprecated new_chat_member to new_chat_members. * Updated check_fresh_userid() method. * Require more recent dependencies. * Add Dockerfile * Marked get_logging_level() method as private. * Fixed weak warning in get_logging_level(). * Added advanced properties to setup.py file. * Updated the year number in the GPLv3 preamble. * Silenced PyBroadException inspection. * Fixed PEP-8 warning related to too long code lines. * Marked __get_actual_userid() private method as static. * Fixed PEP-8 warning related to bare exception block. * Marked some of the methods as static. * Added optional russian localization. * Backported another portion of changes from 2.0 branch. * Fixed return types of the fmtlog and fmterr properties. * Updated schema version to 10: added language field. * Backported localization support classes from 2.x branch. * Fixed typo in schema-documentation file. * Removed Python 2 support. * Updated schema documentation. * Join messages will be removed only if enabled in settings. * Incremented required schema version to 9. * Added new public property hide_join_messages. * Added hidejoins field. Schema version incremented to 9. * Automatically deleted join messages to avoid unnecessary flood. * Fixed critical bug in handle_join() internal method. * Added more debug information to logs for /report command handler. * Added more logs on trying to restrict or ban protected user. * Handlers of /ban and /mute commands will check if user can be restricted before performing any actions. * Bot will not restrict admins or himself. * Added new private method __check_restriction_allowed(). ------------------------------------------------------------------- Tue Jan 14 02:41:29 UTC 2020 - dead_mozay@opensuse.org - Update to version v1.3.1+0: * Switched sides of name and ID in template. * Added name and ID of chat, where /report command was issued. * Updated to version 1.3.1. * Fixed bot crash on handling /report action, related to markdown parser. * Updated version in RPM SPEC file to 1.3.0. * Moved RPM SPEC file to packaging directory. * Updated Doxygen configuration file. * Updated version to 1.3.0. * Added basic GitHub template for pull requests. * Added GitHub template for CONTRIBUTING page. * Added GitHub template for reporting security vulnerabilities. * Added GitHub issues templates. * Switched from list() to .copy() method. * Fixed incorrect parameter name in private method's __notify_admin() documentation. * Fixed bot crash on dynamic subscriber list change. * Save database automatically. * Added information about sent by bot private messages to logs. * Unsubscribe user from events only on admin rights loss. * Added new private method __check_user_admin(). * Watches will be removed automatically if admin blocked bot. * Allow to specify floats to /mute command. * Updated documentation after moving API key from settings to environment options. * Define APIKEY environment variable in systemd's unit file config. * Use uppercase for API key ENV option name. * Fixed as_notoken message. * Receive API key from environment options instead of reading it from JSON configuration file. * Removed tgkey option from config file. * Updated README. ------------------------------------------------------------------- Mon May 13 05:11:45 UTC 2019 - dead_mozay@opensuse.org - Update to version 1.2.0+20190424.bcd6956: * Updated to version 1.2.0. * Updated SPEC to version 1.2.0. * Use resource string in watchdog. * Do not allow bot to crash on network errors. * Double-quoted literal switched to single-quoted. * Added new commands to the list of available bot actions. * Restricted handlers will now use private method __check_owner_feature(). * Added new private method __check_owner_feature(). * Added /sw_list command handler. * Added /sw_remove command handler. * Added user-friendly messages as reactions on adding/removing stopwords. * Added /sw_add command handler. * Added new public method remove_stopword() of class Settings. * Added new public method add_stopword() of class Settings. * Added missing logger command in /report command handler. * Updated base "fresh account" ID used to some checks. * Updated list of available bot commands: added optional reason to /report command. * Reason of /report command will be marked as bold in final messages. * All uses of /report command will now be logged. * Added custom locale message as_repnors. * Allow to specify optional comment to /report command. * Fixed exception while trying to block newly joined users. * Added documentation for check_restricted_words() method. * Added check_restricted_words() method. * Optimized check_restricted_words() method. * Renamed public property spwregex to stwrgx. * Added documentation for public spwregex property. * Added public property spwregex. * Fixed log entry in /mute command handler. ------------------------------------------------------------------- Wed Feb 27 06:22:04 UTC 2019 - dead_mozay@opensuse.org - Update to version 1.1.0+20190205.fa52f6e: * Methods handle_pin() and handle_unpin() will notify admins now. * Method handle_unrestrict() will notify admins now. * Method handle_muteuser() will notify admins now. * Method handle_banuser() will notify admins now. * Method handle_wipe() will notify admins now. * Method handle_remove() will notify admins now. * Added documentation for private method __notify_admin(). * Added private method __notify_admin(). * Switched to unban_chat_member() method instead of restrict_chat_member() in /unban command handler. * Implicitly convert parameter to int before sending it to get_chat_member() method. * Added /unban command to documentation. * Updated documentation for handle_unrestrict() internal method. * Added /unban ID command support. * Moved to as_spamdbg to debug level. Updated log entry. * Minor fixes in as_spamdbg debug log entry. * Do not log all messages from restricted members, because it will consume lots of server resources and will be not needed in version 2.0 of bot. * Added as_spamdbg string. * Log details of removed messages in debug output * Add chat title whenever logs uses chat id ------------------------------------------------------------------- Sun Jan 20 05:54:53 UTC 2019 - dead_mozay@opensuse.org - Update to version 1.1.0+20190106.c673640: * Updated the number of year in project's preamble. * Changed project version in doxygen configuration file. * Use special python_enable_dependency_generator macro. * Updated to version 1.1.0. * Added warning message to README. * Use stable branch in all examples. * Incremented version to 1.1.0. * Added extended version of /mute command to the list of available bot actions. * Write to logs mute length. * Optional parameter of the /mute command must contains the number of days, not seconds.