23 Commits

Author SHA1 Message Date
d8e58313f3 chat: added functions db_move() and chat_move() (and tests) 2023-09-17 09:14:03 +02:00
e4e760b4a8 chat: added functions msg_in_cache() and msg_in_db(), also tests 2023-09-15 22:42:11 +02:00
240cf7b038 chat: msg_remove() now supports multiple locations 2023-09-15 16:00:05 +02:00
487898e640 chat: added validation during initialization 2023-09-15 15:39:45 +02:00
a35b751506 message / chat: 'msg_id()' now returns 'file_path.stem' (removed suffix) 2023-09-15 15:39:45 +02:00
bbc51c2f51 chat: added new functions: msg_unique_id(), msg_unique_content() and tests 2023-09-15 10:40:14 +02:00
44fbff33fe chat: added new functions to ChatDB: msg_gather(), msg_find(), msg_remove() 2023-09-15 09:28:39 +02:00
378bba6002 refactor: renamed (almost) all Chat/ChatDB functions 2023-09-15 08:48:03 +02:00
6ad404899e chat: ChatDB now correctly ignores files that contain no valid messages 2023-09-14 16:06:10 +02:00
071871f929 chat et al: '.next' and '.config.yaml' are now ignored by ChatDB 2023-09-14 16:06:00 +02:00
5cb88dad1b chat: implemented special version of 'latest_message()' for the ChatDB class 2023-09-14 16:05:49 +02:00
Oleksandr Kozachuk
2b62cb8c4b Remove the -*terminal_width() to save space on screen. 2023-09-12 13:48:28 +02:00
dd3d3ffc82 chat: added check for existing files when creating new filenames 2023-09-10 19:18:44 +02:00
1e3bfdd67f chat: added 'update_messages()' function and test 2023-09-10 19:14:11 +02:00
7e25a08d6e chat: added functions for finding and deleting messages 2023-09-06 08:23:09 +02:00
63040b3688 message / chat: output improvements 2023-09-04 23:03:29 +02:00
6e2d5009c1 chat: new possibilites for adding messages and better tests 2023-09-04 08:58:08 +02:00
f9d749cdd8 chat: added clear_cache() function and test 2023-09-03 09:09:39 +02:00
ba56caf013 chat: improved history printing 2023-09-03 09:09:39 +02:00
d80c3962bd chat: fixed handling of unsupported files in DB and chache dir 2023-09-03 09:09:39 +02:00
ddfe29b951 chat: added tags_frequency() function and test 2023-09-03 09:09:39 +02:00
7f612bfc17 added tokens() function to Message and Chat 2023-09-02 07:45:44 +02:00
9f4897a5b8 added new module 'chat.py' 2023-09-02 07:45:44 +02:00