Repository navigation
A new settings command, enhancements for delegation, and numerous minor improvements!
Release Overview
ποΈ The highlight of this release is the introduction of individual settings for users (default time values) and rooms (language and time zone). We have updated the documentation, where you can read more about this. Consequently, the time zone configuration has moved from the standalone /tz command to the /settings tz subcommand.
Important
The tz_commands parameter in config.yaml has also been renamed to settings_commands and is used to customize the commands that trigger settings.
π₯ Additionally, extra delegation parameters have been added to Pro mode. Instead of a single --to argument, you should now use two separate ones: --room for the room and --user for the user. You can read details on how delegation works in the CLI Mode section.
π’ You can now also monitor the bot's health via Docker Healthcheck. The config-example.yml file contains an example of the necessary code to add to your container's compose.yaml!
Wishing you nothing but pleasant reminders.
What's Changed
π Features and Enhancements
- 33e5226 An error occurring when creating a reminder with a time in the past now displays that time.
- 4fd8bc0 A period (
.) is now supported as a separator for time values. - 44d6c69, 414a0fd In Pro mode, the interval can now be set using
--timeand--datein addition to the separate--hour,--min, and--dayarguments. - 691c568 Standard and Pro modes now support specifying time with AM/PM (ante meridiem/post meridiem) notation.
- 5abc6c3 If a reminder has been delegated, the notification will indicate its creator.
- 279d333 For a delegated reminder, the remaining time is not displayed, as the destination room's time zone cannot be determined. Short time designations (e.g., "morning") are also disabled.
- 5ddd863 If only reminder minutes are specified, they are rounded to the nearest hour. In the rare but possible event of a date change resulting from this, or an "impossible" time due to time zone shifts: if the date wasn't specified manually (which is likely the case if the user only provided minutes), it will be automatically corrected if it falls in the past (via the
is_autoparameter). However, if the date differs from the automatically determined "today", the result of crossing day boundaries will be incorrect. It would be better to remove this feature or treat specifying minutes without hours as an interval internally. - 9153807 Expansion of bot settings accessible via the
/settingscommand. - 1e293bb Docker Healthcheck.
- 8f79397 Renamed delegation parameters in Pro mode and added the ability to delegate tasks to a specific user (in the same room or a different one).
- cf7a6d5 Default time can now be set via
config.yamlusing thedefault_timeparameter. - 3eadf19 The week emoji for messages has been removed. The day emoji has been changed so that it differs from the month emoji.
- e000285 Time zone settings have been moved under the settings command.
π Bug Fixes
- 98fb52d The bot now recognizes messages containing line breaks.
- 5c5e882 Errors occurring while restoring reminders during bot startup no longer interrupt the bot's loading process.
- aea19c4 Hours and minutes can now be specified using a single digit. Thanks to @Khvatov-Alexey for reporting the bug!
- 380668a Fixed command hints in the
auth.rsmodule. - 8d63aa0 Fixed an issue where the reminder creation command text was duplicated in the welcome message if the text was identical in both the config and the localization file (e.g., the default behavior for English localization).
π Localization
- 9b4da77, 15daa02 Settings localization.
- 855b98f The settings command has been added to the welcome message.
- c079c11 An example time with
p.m.has been added to the welcome message.
π Documentation
- 62a03de New use cases.
- 5323925 New bot parameters.
- 8455b44 A section on alternatives to my Remindrix bot has been added to
README.md. - 56b8edb Details on how time and language settings and delegation work have been added to the bot's setup and usage guide.
π» Code Refactoring
- aa5e156
OutputErrorstructure. - 035ba50
db.rsmodule evolving. - 7a1f75f, 1b7db00
SettingsServicelayer for settings in theSettingsstructure management. - d88fc41 Attempts to refactor
fetch_room_tzin the settings pipeline. - fb28866 Simplified time zone and time parser methods.
New Contributors
Full Changelog: v1.2.1...v1.3.0