Chat-O-Matic/protocols/xmpp
Jaidyn Ann dc3fdd65c8 Store chatlogs in binary and text formats
If chat logs are stored in an endless plain-text file, they're going to be a
pain to parse. If they're stored in a binary file, they're a pain for
the user to `grep` or go through manually, but they're easier to parse.

Why not both?

Logs are now stored with a BMessage (with BStringLists) in the 'logs'
attribute, and the plain-text logs in the file itself.

The attribute will only store 20 messages, but the file itself will be
appended to forever.

The logs directory also changed, from ~/config/settings/Caya/Cache/Logs
to ~/config/settings/Caya/Logs.

Useful functions for reading/writing messages to and from an attribute were
borrowed from BePodder's libfunky. :-)
2021-06-06 12:02:26 -05:00
..
FacebookProtocol.cpp Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
FacebookProtocol.h Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
GoogleTalkProtocol.cpp Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
GoogleTalkProtocol.h Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
JabberHandler.cpp Store chatlogs in binary and text formats 2021-06-06 12:02:26 -05:00
JabberHandler.h Show moderation items in right-click user menu, by perm 2021-06-06 01:49:11 -05:00
JabberMain.cpp Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
JabberProtocol.cpp Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
JabberProtocol.h Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
Makefile Create Conversation class, use it instead of Contact for chats 2021-05-24 01:47:21 -05:00
jabber.rdef Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00