Commit graph

4042 commits

Author SHA1 Message Date
mathieui
6896efb7e6 Fix mam own nick in one to one tabs
Also do a config.get for each received MAM message, that is not
efficient or useful.
2020-05-25 18:43:27 +02:00
50d97b4c3c Merge branch 'changelog-leave' into 'master'
CHANGELOG: add /leave autojoin change

See merge request poezio/poezio!121
2020-05-24 22:45:47 +02:00
558a6232f8
CHANGELOG: add /leave autojoin change
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 22:45:14 +02:00
Link Mauve
0ddcde70c8 Merge branch 'check-colors-startup' into 'master'
Check colors on startup and warn

See merge request poezio/poezio!120
2020-05-24 22:43:50 +02:00
mathieui
66cd8e54b0 Do not degrade colors for terminals supporting more than 256 2020-05-24 22:38:11 +02:00
mathieui
d3e237811c Add a check for terminals not supporting 256 colors 2020-05-24 22:37:34 +02:00
Emmanuel Gil Peyrot
0a54bdf492 Add Armael’s theme. 2020-05-24 22:31:27 +02:00
cf131af4a8 Merge branch 'no-gaming' into 'master'
Checks whether the gaming payload is empty or not

See merge request poezio/poezio!118
2020-05-24 22:19:30 +02:00
Emmanuel Gil Peyrot
e840590c73 Add a ChangeLog entry for the gaming fix. 2020-05-24 22:18:53 +02:00
Emmanuel Gil Peyrot
eaf8713843 Checks whether the gaming payload is empty or not
Fixes a long-standing bug where a gaming stop event would be interpreted
as starting a game.

Also does the same for mood, activity and tune.
2020-05-24 22:15:33 +02:00
1e7a8b6e88 Merge branch 'setup-reqs' into 'master'
setup.py: Update slixmpp version requirements

See merge request poezio/poezio!117
2020-05-24 21:14:23 +02:00
976dd2df86
setup.py: Update slixmpp version requirements
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 21:08:42 +02:00
Link Mauve
dbef6f435f Merge branch 'affiliations-jid' into 'master'
MucTab /affiliation: Add MUC jid in output for context

See merge request poezio/poezio!116
2020-05-24 18:17:43 +02:00
4ced0bd7bf Merge branch 'bookmark-autojoin' into 'master'
MucTab /leave: toggle off autojoin instead of removing bookmark

See merge request poezio/poezio!115
2020-05-24 17:54:05 +02:00
b176fe3809
MucTab /affiliation: Add MUC jid in output for context
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 17:54:05 +02:00
f8e471912c MucTab /leave: toggle off autojoin instead of removing bookmark
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 17:45:53 +02:00
mathieui
ad683b4b68 Merge branch 'next-version-0.14' into 'master'
Update version numbers

See merge request poezio/poezio!114
2020-05-24 17:21:09 +02:00
mathieui
5304a89e2f Update version numbers 2020-05-24 17:15:43 +02:00
dd0be85dce Merge branch 'affiliation-info' into 'master'
Make /affiliation display in the info win, not in the muc win

See merge request poezio/poezio!113
2020-05-24 17:13:51 +02:00
Emmanuel Gil Peyrot
6117c97a21 Make /affiliation display in the info win, not in the muc win 2020-05-24 17:08:19 +02:00
mathieui
0c9f2ca391 Merge branch 'release-0.13' into 'master'
Update version to 0.13

See merge request poezio/poezio!112
2020-05-24 17:06:17 +02:00
mathieui
420c8c6e39 Update version to 0.13 2020-05-24 17:03:43 +02:00
634962356a Merge branch 'synchronise_open_rooms' into 'master'
Rename bookmark_on_join to synchronise_open_rooms

See merge request poezio/poezio!111
2020-05-24 16:32:50 +02:00
Emmanuel Gil Peyrot
3d91223066 Rename bookmark_on_join to synchronise_open_rooms
Also add some more documentation about it.
2020-05-24 16:21:14 +02:00
Link Mauve
cfa75f8877 Merge branch 'doap-update' into 'master'
Doap update

See merge request poezio/poezio!110
2020-05-24 16:05:49 +02:00
mathieui
0a5625ea5d Merge branch 'command-leave' into 'master'
Add a /leave command

See merge request poezio/poezio!109
2020-05-24 16:03:05 +02:00
2840f3de96 DOAP: Add support for 157, 363, 384
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 16:00:19 +02:00
2f59343282 DOAP: Update repo location
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 16:00:19 +02:00
0dd9367fdc DOAP: add pep. as maintainer
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24 16:00:19 +02:00
Emmanuel Gil Peyrot
ee0caff6ca Add a /leave command
This is the other side of /join when bookmark_on_join is set to true.

It lets the user easily leave a bookmarked MUC from all of their clients
at once.
2020-05-24 15:57:40 +02:00
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