17 Commits

Author SHA1 Message Date
1cd52acf2d message: introduced file suffix '.msg'
- '.msg' suffix is always used for writing
- 'Message.to_file()' will set the file suffix if the given file_path has none
- added 'mformat' argument to 'Message.to_file()' for choosing the file format
- '.txt' and '.yaml' suffixes are only supported for reading
2023-09-26 18:29:23 +02:00
561003aabe question_cmd: implemented repeating of the latest message 2023-09-20 10:17:59 +02:00
29a20bd2d8 message: added 'equals()' function and improved robustness and debugging 2023-09-20 10:17:59 +02:00
525cdb92a1 message / chat: 'msg_id()' now returns 'file_path.stem' (removed suffix) 2023-09-17 10:59:29 +02:00
f6109949c8 chat: ChatDB now correctly ignores files that contain no valid messages 2023-09-17 10:58:10 +02:00
6f71a2ff69 message: to_file() now uses intermediate temporary file 2023-09-10 19:57:06 +02:00
eca44b14cb message: fixed matching with empty tag sets 2023-09-10 19:55:21 +02:00
53582a7123 question_cmd: fixed source code extraction and added a testcase 2023-09-10 19:14:11 +02:00
63040b3688 message / chat: output improvements 2023-09-04 23:03:29 +02:00
44cd1fab45 message: added rename_tags() function and test 2023-09-03 09:09:39 +02:00
4b0f40bccd message: fixed Answer header for TXT format 2023-09-03 09:09:39 +02:00
fa292fb73a message: improved robustness of Question and Answer content checks and tests 2023-09-03 09:09:39 +02:00
7f612bfc17 added tokens() function to Message and Chat 2023-09-02 07:45:44 +02:00
b83cbb719b added 'message_in()' function and test 2023-08-31 09:21:51 +02:00
8e1cdee3bf fixed Message.filter_tags 2023-08-30 08:22:50 +02:00
7f91a2b567 Added tags filtering (prefix and contained string) to TagLine and Message 2023-08-28 14:53:04 +02:00
173a46a9b5 added new module 'message.py' 2023-08-26 10:52:38 +02:00