7 Commits

Author SHA1 Message Date
4dae739cfe Added branches system, updated database, v0.8.0
- Updated to v0.8.0
- Added note about rate limitting to README
- Updated examples to work with new callback system
- Updated README to describe new callback system correctly
- Added branch_bot.py example
- Updated database so internal functions are prefixed with underscore now
- Replaced MatrixBot.add_room_event_callback with MatrixBot.add_callback
- Database schema version is 4 now
- Added room state to database to simplify user code
- Added RoomStateFilter
2026-12-06 21:24:05 +03:00
86b1c6c142 Readme update, version update, examples update 2026-12-01 21:22:57 +03:00
d758bdedac Added support for file in message context variables
- Fixed file_bot example
- Added functions for extacting file data when building CTX_MESSAGE
- Added `file` variable for Message model
- Fixed RoomEvent builder inability to set room ID when it is missing in source
2026-11-08 20:02:02 +03:00
eacb0c0d25 Refactoring in progress
- Context variables are no longer stored in `EventContext`, they are stored in `ContextVars` from now on
- Context variables related stuff has been moved to `mab.context.vars`
- Removed `CTX_FILE`
- Changed variable builder name prefix to `autobuild_`
- Changed variable builder signature to (EventContext, ContextVars)
- Most examples are broken
2026-10-31 16:30:24 +03:00
33efd5e104 Added CTX_FILE variable
- Modified file_bot.py example to utilize CTX_FILE
- Removed docstring for message builders.py
- Removed mab.models namespace package
2026-10-18 16:22:35 +03:00
2867582c01 Got rid of proxy methods in MatrixBot, v0.6.0
- Updated README.md
- Updated examples
- `MatrixBot` does not redefine methods from classes it is composed of anymore
2026-09-27 16:17:40 +03:00
16b849ebd8 Added file uploading support, v0.5.2
- Added example `file_bot.py`
- Added *.tmp to .gitignore
- Added CTX_FILE_SIZE, CTX_FILE_MIME and CTX_FILE_NAME
- Added MessageHasFile filter
- Added `send_file` and `send_file_bytes` for ClientSender and Bot
2026-09-23 19:43:30 +03:00