Closed ryanlerch closed 1 year ago
worked a bit more on this today -- and added a new commit that adds a config option to allow the logging of ! commands to the meeting log as well as all messages from the bot itself.
i couldnt figure out how to configure the maubot @passive thing to work on messages from itself, so manually log these messages.
This PR is probably best reviewed on a commit by commit basis, as it is a bit all over the place
the timestamp is now formatted
added support for topics!
just fixed the topics lines in the DB issue, and updated that commit.
merging now :)
Thanks @ryanlerch, I'll get some PRs together for using some of that in the Ansible backend. In particular I think I can just drop the HTML into a Discourse post and it'll work :)
First, did a bit of restructuring so i could include some templates with the fedora backend.
Second, started the implementation of the fedora backend logs output -- only does the actual logs (not the minutes) but it formats the HTML similar.
still a lot to do on this:
i farted around with f-strings and stuff to do the output but finally decied to use jinja2 for templating -- took a bit to set up and getting the templates from the maubot plugin loader thing was a bit convoluted to work out, but it works now.
Resolves: #6 Resolves: #5