mathieui
c788c9afb8
fix: when detecting /set option = value, do the right thing
...
Previously: this creates a section with the option name, with an option
named "=" and the value specified. Then you are stuck because
"/set option value" will not work due to the command detecting the
section name and only printing the value of [option] value=.
Fixes #3517 , probably
2021-04-16 19:53:59 +02:00
mathieui
cbc4041746
fix: composing indicators not showing ( fix #3527 )
...
the fact this even worked in vertical mode was only due to a theming
edge case.
2021-04-16 19:41:03 +02:00
mathieui
f1f1ccd506
internal: remove the xep-0319 implementation
...
It is not privacy-friendly and not performance-friendly to have more
code called on each input when in "available" status
2021-04-16 19:40:11 +02:00
mathieui
e5398e68e9
fix: correction time in one to one tabs ( fix #3532 )
2021-04-16 19:25:57 +02:00
mathieui
3591221e04
fix: split inactive chatstates from message in one to one tabs
2021-04-16 18:51:01 +02:00
mathieui
f9e0994311
fix: when sendingg a muc message, send the inactive chatstate apart
...
Fix #3509
2021-04-16 18:46:48 +02:00
mathieui
e57bf0d433
fix: available presences in tabs
2021-04-16 18:46:16 +02:00
mathieui
b8c5d4c00a
fix: confirmtab not spawning
2021-04-15 22:07:21 +02:00
mathieui
1e8932b555
fix: tell pylint I know the curses module better
2021-04-15 21:37:27 +02:00
mathieui
b1052e149f
fix: handle single-line log files, and reentry into fd_busy
2021-04-15 21:28:32 +02:00
mathieui
a6489fb66a
fix: make mypy happier
...
conflict between the "tabs" module name and "tabs" Core attribute,
mostly
2021-04-15 21:15:38 +02:00
mathieui
7555b8090c
fix: /join with passwords
2021-04-15 19:36:02 +02:00
mathieui
63d51c4630
internal: add more annotation and remove unused attributes
2021-04-15 19:35:54 +02:00
mathieui
a17e5a456b
internal: add a different class for UI messages
2021-04-15 18:44:22 +02:00
mathieui
56bab71192
fix: display issue when changing show_timestamps value
2021-04-15 18:28:42 +02:00
mathieui
b1b2ef860f
internal: add some hints and docstrings to ui.types
2021-04-14 23:17:22 +02:00
mathieui
76dca81738
fix: corrections in 1to1 tabs
2021-04-14 00:25:43 +02:00
mathieui
f44eb7a2d1
fix: ad-hoc commands
2021-04-14 00:24:15 +02:00
mathieui
fc1eca7ac3
fix: remove all remaining safejids ( fix #3457 )
2021-04-12 20:43:51 +02:00
mathieui
e6510792b4
fix: yield to the loop periodically when reading logs
2021-04-11 21:09:55 +02:00
mathieui
ee972599f0
fix: do not fetch ALL messages from logfiles when filling a gap
2021-04-11 20:48:53 +02:00
mathieui
02a858eb49
tests: Fix tests
2021-04-11 19:59:40 +02:00
mathieui
bd2aac6de2
typing: fix a bunch of type errors
...
add more annotations
2021-04-11 19:41:04 +02:00
mathieui
0541bbb4bc
internal: remove more global state from config
2021-04-11 18:57:23 +02:00
mathieui
1640a90a63
feature: add a /debug command to change logging level dynamically
...
And changing the path too
2021-04-11 18:50:31 +02:00
mathieui
57cd999f70
refactor: move argument parsing away from config.py
...
global state--
2021-04-11 18:38:22 +02:00
mathieui
29a7c6eca5
doc: explain module behavior
2021-04-11 16:37:49 +02:00
mathieui
6b2c12c16c
fix: do not use Literal
2021-04-11 16:33:53 +02:00
mathieui
b729de9147
fix: typing imports for 3.9
2021-04-11 16:33:53 +02:00
mathieui
93daf17324
fix: logger: handle empty log files as well
2021-04-11 16:33:53 +02:00
mathieui
18b1d5ae72
feature: add a mam_sync_limit tab option
2021-04-11 16:33:53 +02:00
mathieui
4ae1b714c4
internal: make mam_sync and use_log use tab-specific options
2021-04-11 16:33:53 +02:00
mathieui
6f36d6b507
feature: add a mam_sync option
2021-04-11 16:33:53 +02:00
mathieui
6d7921da55
internal: better typing & docstrings for logger/log loader
2021-04-11 16:33:53 +02:00
mathieui
a827743b86
internal: make the MAMFiller an attribute of ChatTabs
...
and fetch logs in conversationtabs and privatetabs
2021-04-11 16:33:53 +02:00
mathieui
f6ba263305
internal: Remove now unused code from mam.py
2021-04-11 16:33:53 +02:00
mathieui
4cbc0e4506
tests: update logger test
2021-04-11 16:33:53 +02:00
mathieui
91be567228
feature: add a function to retrieve the last message from the logs
2021-04-11 16:33:53 +02:00
mathieui
bf8965fb4b
feature: Add a MAM history filler
2021-04-11 16:33:53 +02:00
mathieui
48abe2ad7e
feature: add a log loader class
2021-04-11 16:33:53 +02:00
mathieui
73767bc97a
fix: issue when converting local timezones
2021-04-11 16:33:53 +02:00
mathieui
e49552e444
refactor: rename poezio.asyncio module
...
no clash with stdlib pls
2021-04-11 16:33:53 +02:00
mathieui
835d7c855a
fix: make parse_log_lines treat info differently from msgs
2021-04-11 16:33:53 +02:00
mathieui
d63b65f556
feature: add a mechanism to prevent the logger from writing temporarily
2021-04-11 16:33:53 +02:00
mathieui
7ece335145
feature: add a function to iterate over all messages of a log file
...
in reverse order
2021-04-11 16:33:53 +02:00
mathieui
a3fcfd3ffd
fix: make the jid optional when parsing a log line
2021-04-11 16:33:53 +02:00
mathieui
8cbe41eba8
fix: when disconnected, do not send a new ping event
2021-04-11 14:41:42 +02:00
mathieui
b60a828661
fix: beep_on was broken with config changes
2021-04-08 20:52:55 +02:00
mathieui
dafe5b9e24
fix: logger: improve typing, globals and tests
2021-04-03 14:01:34 +02:00
mathieui
f56811d546
logging: Remove the "typ" passing when adding or logging messages
2021-04-02 22:22:30 +02:00