Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-29 | ci: fix mypy analysis | mathieui | |
2021-12-11 | Logger: consolidate a bit of file path creation | Georg Lukas | |
2021-12-11 | Logger: jidstr is not a valid JID with MUC-PMs | Georg Lukas | |
The logger often operates on filenames for log files and assumes that jid == filename, but MUC-PM filenames are `muc@domain\nick` (jidstr) instead of `muc@domain/nick` (jid) and the former is not a valid JID. This patch fixes the places where jid and jidstr are mixed up. | |||
2021-07-02 | fix: improve typing | mathieui | |
preliminary to more typing added to slixmpp, fix things in advance | |||
2021-06-26 | fix: do not use re.match() on existing Pattern objects | mathieui | |
this is duplicating effort and going through re._compile once more approximately slows down the log parsing by 15% | |||
2021-04-16 | fix: handle /me message properly when logging | mathieui | |
tangentially fix #3432 (but it was not relevant for a while) | |||
2021-04-15 | fix: handle single-line log files, and reentry into fd_busy | mathieui | |
2021-04-11 | fix: do not use Literal | mathieui | |
2021-04-11 | fix: typing imports for 3.9 | mathieui | |
2021-04-11 | fix: logger: handle empty log files as well | mathieui | |
2021-04-11 | internal: better typing & docstrings for logger/log loader | mathieui | |
2021-04-11 | feature: add a function to retrieve the last message from the logs | mathieui | |
2021-04-11 | fix: make parse_log_lines treat info differently from msgs | mathieui | |
2021-04-11 | feature: add a mechanism to prevent the logger from writing temporarily | mathieui | |
2021-04-11 | feature: add a function to iterate over all messages of a log file | mathieui | |
in reverse order | |||
2021-04-11 | fix: make the jid optional when parsing a log line | mathieui | |
2021-04-03 | fix: logger: improve typing, globals and tests | mathieui | |
2021-04-02 | logging: Remove the "typ" passing when adding or logging messages | mathieui | |
2021-04-02 | fix: tons of type errors | mathieui | |
2020-12-12 | from __future__ import annotations | Emmanuel Gil Peyrot | |
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated. | |||
2019-10-27 | Make global objects not Optional | mathieui | |
This reflects reality, despite the default values of the code. We still need a better solution (singleton?). | |||
2019-08-25 | Remove code for loading logs | mathieui | |
we MAM now | |||
2019-02-24 | Fix MUC PM logging (#3441) | mathieui | |
2019-02-07 | logger: Log the JID during a parsing error. | Emmanuel Gil Peyrot | |
2018-12-15 | I give up | mathieui | |
on getting Link Mauve to ever run tests | |||
2018-10-18 | logger: Look up the correct start position, not two bytes before. | Emmanuel Gil Peyrot | |
2018-10-18 | logger: Prefix private functions with an underscore. | Emmanuel Gil Peyrot | |
2018-08-15 | logger: Simplify history loading, fixes mypy errors. | Emmanuel Gil Peyrot | |
2018-07-23 | Light refactoring + typing | mathieui | |
2018-07-23 | yapf -ir | Emmanuel Gil Peyrot | |
2018-07-22 | logger: Use an option_fd when we know open can fail. | Emmanuel Gil Peyrot | |
2018-07-22 | coucou | Emmanuel Gil Peyrot | |
2018-07-22 | logger: Don’t reassign maybe opened fd to self._fds[room]. | Emmanuel Gil Peyrot | |
2018-07-22 | logger: Add missing “return None” statements. | Emmanuel Gil Peyrot | |
2018-07-22 | logger: Add typing information. | Emmanuel Gil Peyrot | |
2018-07-21 | yapf -rip | mathieui | |
2018-07-14 | Stop making classes inherit from object. | Emmanuel Gil Peyrot | |
2018-07-08 | logger: Use pathlib.Path.open() instead of open(). | Emmanuel Gil Peyrot | |
2018-07-05 | logger: Fix a typo when creating the logs directory. | Emmanuel Gil Peyrot | |
2018-07-04 | logger: Use LOG_DIR being a pathlib.Path rather than a string, remove os. | Emmanuel Gil Peyrot | |
2018-06-28 | Factorise code in logger. | Emmanuel Gil Peyrot | |
2018-01-14 | Fix binary opening | mathieui | |
2018-01-13 | yapf -ir | mathieui | |
2018-01-13 | Open and write logs and config files in utf-8 | mathieui | |
2017-11-21 | Refactor logger.py to make it more testable | mathieui | |
Also fixes: - release the message log mmap when we are done with it - Write the right character in log lines | |||
2017-11-12 | yapf -ir | mathieui | |
2017-10-13 | Improve some bare or redundant excepts | mathieui | |
2017-09-28 | Rename parse_message_line to parse_log_line | mathieui | |
2017-09-28 | Add line start/end markers on the regex | mathieui | |
2017-09-28 | Use match groups instead of re.split because we don't want that | mathieui | |