95498a3910
Merge branch 'fix-basetabs-Message' into 'master'
...
Import Message in basetabs
See merge request poezio/poezio!108
2020-05-24 15:48:04 +02:00
mathieui
40107b4c8c
Import Message in basetabs
2020-05-24 15:42:32 +02:00
95d4de917d
Merge branch 'fix-message-basetabs' into 'master'
...
Fix a type collision between Messages
See merge request poezio/poezio!107
2020-05-24 14:54:18 +02:00
mathieui
3132b24953
Fix a type collision between Messages
2020-05-24 14:48:40 +02:00
mathieui
e48780ddf0
Merge branch 'fix-history-fetch' into 'master'
...
Fix many MAM issues
Closes #3516 , #3496 , #3498 , #3506 , #3522 , and #3493
See merge request poezio/poezio!105
2020-05-23 16:38:05 +02:00
mathieui
faeab78c7e
Remove remaining occurences of tab.last_stanza_id
2020-05-23 16:13:44 +02:00
mathieui
8e5cc9265d
Fix types in text_buffer
2020-05-23 16:13:44 +02:00
mathieui
f282b14e8d
Fix typing in mam.py
2020-05-23 16:13:44 +02:00
mathieui
d3863fad18
ChatTab: make set text_win in constructor (typing)
2020-05-23 16:13:44 +02:00
mathieui
4210f5c776
Convert all datetimes to UTC when doing comparisons
2020-05-23 16:13:44 +02:00
mathieui
29eef159d5
Fix some edge cases of MAM history fetch
...
- Wait until we receive our own MUC presence to fetch history
- Fix /reconnect weirdness
2020-05-23 16:10:13 +02:00
mathieui
d3655c4c35
Fix some remaining refresh issues
2020-05-23 16:10:13 +02:00
mathieui
36c85a5df4
Add an "end of archive" message type
2020-05-23 16:10:13 +02:00
mathieui
d174e1fa35
MAM: many changes
...
- Fix color & nicks in one to one chats
- Make poezio-facing functions "schedules" to avoid races on tab query
state
- Rename functions
- Use a different behavior when filling a history gap and populating a
new tab in a MUC
2020-05-23 16:10:13 +02:00
mathieui
54339ee7e0
Textbuffer: add "find last message" function
2020-05-23 16:10:13 +02:00
mathieui
fbec652efd
Core: dedup some code
2020-05-23 16:10:13 +02:00
mathieui
b7423ee43b
Remove "top" message logic
2020-05-23 16:10:13 +02:00
mathieui
e488b75737
Add tests for text_buffer
2020-05-23 16:10:13 +02:00
mathieui
7e29abf2e6
Add a concept of "history gap"
2020-05-23 16:10:13 +02:00
mathieui
ea438438f2
Add specific types for own leave and join
2020-05-23 16:10:13 +02:00
louiz’
4c1ab027ac
Merge branch 'deploy-doc-python3-image' into 'master'
...
ci: Deploy the doc using the python:3 docker image
See merge request poezio/poezio!106
2020-05-22 23:46:09 +02:00
louiz’
fe1b54ef97
ci: Deploy the doc using the python:3 docker image
2020-05-22 23:36:50 +02:00
mathieui
f5b407e9b2
Merge branch 'muctab-presence-types' into 'master'
...
MucTab: add some typing to presence handlers
See merge request poezio/poezio!104
2020-05-22 18:46:17 +02:00
a876d4e2ee
MucTab: add some typing to presence handlers
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-20 00:44:27 +02:00
mathieui
936350471c
Merge branch 'ignore-muc-avatar' into 'master'
...
MucTab: Ignore presence from MUC barejid
See merge request poezio/poezio!103
2020-05-20 00:05:07 +02:00
bf70fb8a05
MucTab: Ignore presence from MUC barejid
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-20 00:00:45 +02:00
36a0281b67
Merge branch 'fix-highlights' into 'master'
...
Fix highlights
See merge request poezio/poezio!102
2020-05-17 21:34:50 +02:00
mathieui
551828607c
Fix highlight display on corrections
2020-05-17 21:14:23 +02:00
mathieui
6057d0dc9b
Fix a corner case with correction when moving between highlights
...
(there are still a few but this one would wipe all other highlights,
making it a bit painful)
2020-05-17 20:42:21 +02:00
mathieui
aec4c279f2
Fix highlight navigation
2020-05-17 20:37:54 +02:00
mathieui
01ebe78401
Remove extra logging
2020-05-17 19:48:42 +02:00
mathieui
5bfca8a704
Fix highlights color
2020-05-17 19:47:29 +02:00
20cb8f0bef
Merge branch 'ci-doc' into 'master'
...
CI: limit the doc deploy job to master on poezio/poezio
See merge request poezio/poezio!101
2020-05-14 17:49:03 +02:00
563de4dfd6
CI: limit the doc deploy job to master on poezio/poezio
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-14 17:38:06 +02:00
a241edb08d
Merge branch 'reorder-gaptab' into 'master'
...
plugins/reorder: fix GapTab serialization
See merge request poezio/poezio!100
2020-05-14 17:37:59 +02:00
7b2b21be30
plugins/reorder: fix GapTab serialization
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-14 17:20:03 +02:00
7b5c44b361
Merge branch 'reorder-plugin-handle-corner-case' into 'master'
...
Fix an issue where the reorder plugin would not create gaps
See merge request poezio/poezio!99
2020-05-13 00:03:12 +02:00
mathieui
52ad2c0235
Fix an issue where the reorder plugin would not create gaps
2020-05-12 23:57:59 +02:00
da235f286d
Merge branch 'fix-composing-tab-state-case' into 'master'
...
Fix a bug when the value of show_composing_chat_state is not lowercase
See merge request poezio/poezio!98
2020-05-12 23:33:54 +02:00
mathieui
afc6da052e
Fix a bug when the value of show_composing_chat_state is not lowercase
2020-05-12 23:28:09 +02:00
mathieui
ef38ff8f6a
Merge branch 'feature/unique-prefix-tab-names' into 'master'
...
Unique prefix tab names
Closes #3525
See merge request poezio/poezio!94
2020-05-12 22:32:50 +02:00
Jonas Schäfer
1e7ce43789
Add keyboard action to go to room by unique prefix
...
This is especially useful in combination with the
newly introduced `unique_prefix_tab_names` config option. It has
no default binding.
2020-05-12 22:26:51 +02:00
Jonas Schäfer
a15e52dc39
Add option to show only the unique prefix of tab names
...
When the set of tabs used fluctuate, the memory of which number
belongs to which chat becomes difficult to work with. Non-numbers
can be used to navigate tabs with `/win`, however, it is difficult
to know which letters are required to select a certain tab.
This option introduces a display mode for tab names where only the
unique prefix of the tab name is shown, saving space and providing
with a minimal string which can be used with `/win`.
2020-05-12 22:26:51 +02:00
Jonas Schäfer
eab4615fe0
Add /wup command
...
The `/wup` command selects a tab by the prefix of its name only.
The `/win` will do a substring match based on the first tab
going from the current tab which matches the substring. This can
be confusing, especially since `/win` matches on different types
of tab "names" not only on the name which is shown in the info bar
by default.
The `/wup` command exclusively matches based on the prefix of the
tab.name string. This has the advantage that it is consistent,
deterministic and independent of the currently selected tab.
2020-05-12 22:26:51 +02:00
Jonas Schäfer
c1863addfd
Add function to find a tab by unique prefix
2020-05-12 22:26:51 +02:00
Jonas Schäfer
d4d0c1a19f
Add function to calculate unique prefix of two strings
2020-05-12 22:26:51 +02:00
1b974d2d9a
Merge branch 'upload-exceptions' into 'master'
...
plugins/upload: handle more exceptions
See merge request poezio/poezio!97
2020-05-12 02:02:38 +02:00
8b385a0c99
plugins/upload: handle more exceptions
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-12 01:58:37 +02:00
ac3fb69574
Merge branch 'muc-barejid-info' into 'master'
...
poezio.core.handlers: Treat MUC Barejid message as info
See merge request poezio/poezio!96
2020-05-12 00:21:41 +02:00
17585c6b65
poezio.core.handlers: Treat MUC Barejid message as info
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-12 00:10:27 +02:00