Commit Graph

11 Commits

Author SHA1 Message Date
0e9b621895 Added file downloading, updated to v0.5.1 2026-09-13 03:17:12 +03:00
f3f1e24c0b Updated to v0.5.0 2026-09-12 23:34:57 +03:00
f58c8601d1 Filter update, fixed bot stop, v0.4.0
- Fixed `asyncio.shield` not being awaited in `ClientManager.stop()` (that led to `next_batch` value not being saved and session not being closed properly)
- `BaseEventFilter` does not have any abstract methods anymore and can be used to use callback for any event
- `BaseEventFilter.__repr__` prints class name now
- `BaseEventFilter.__call__` returns True now
- Added `EventTypeFilter` which can be used to check if the event is an instance of some class
- Removed most room events
- Added `NewMessageFilter`, `EditedMessageFilter`, `RedactedMessageFilter`, `SenderIsFilter` and `SenderIsBotFilter`
- Removed `FormattedTextFilter`
- Text filters are derived from `NewMessageFilter` so they won't match edited messages anymore
2026-09-09 19:43:29 +03:00
90c5ae7a78 Updated to v0.3.0 2026-09-09 00:40:08 +03:00
0ea2b0e51a Updated to v0.2.0 2026-09-07 01:18:06 +03:00
Nikita Tyukalov, ASUS, Linux
363b9a3d45 Image/video support. Related upgrades.
- Removed `_check_and_remove_html`. Using `_process_html_text` instead
- Added method for file uploading `_upload_file`
- Added method for raw bytes uploading `_upload_provider`
- Added method for thumbnail uploading `_upload_thumbnail`
- Added method that sends `content` JSON to the room using `m.room.message` type
- Fixed `self._debug_event_callback` not being called in `_callback_filter_router`
- Fixed type hints in `add_event_callback`
- Removed `kwargs` from `send_text_to_room`
- Added `send_image_to_room`
- Added `send_video_to_room`
- Added `auto_ffprobe` and `auto_ffmpeg` to `MatrixBotConfig`
- Added `VideoFileProperties` dataclass
2026-09-07 01:10:13 +03:00
d8bf1818d7 Updated to v0.1.0, added event filters 2026-09-02 18:20:48 +03:00
d41b588adc Updated to 0.0.2. Fixed "invalid room" bug
`2026-matrix-csonac` (it uses this package) failed to send messages to the room after bot restart. The problem would go away if the bot received some message in the room it was trying to send a message to. This commit fixes the problem.
- Added `load_store` (issue #1)
- Added `full_state=True` to sync_forever
2026-09-02 13:54:55 +03:00
Nikita Tyukalov, ASUS, Linux
e5a3533f4b Source files moved from 2026-matrix-csonac 2026-08-24 21:35:02 +03:00
Nikita Tyukalov, ASUS, Linux
793ef5ee1c Fixed invalid pyproject.toml 2026-08-24 20:43:50 +03:00
Nikita Tyukalov, ASUS, Linux
57d30e9b15 Basic project files added 2026-08-24 20:39:02 +03:00