summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2020-12-28Rework set_affiliation() to use slixmpp.Emmanuel Gil Peyrot
Also remove two safeJID().
2020-12-28Prevent a traceback when the jid option isn’t a valid JID.Emmanuel Gil Peyrot
It was crashing deep in XEP-0048 plugin init, this removes a safeJID() as well as print an error message if the JID is invalid.
2020-12-28Add (back?) reason and altroom arguments for /destroy_room.Emmanuel Gil Peyrot
Also make use of slixmpp’s new destroy_room() function.
2020-12-28xmltab: Add some types.Emmanuel Gil Peyrot
2020-12-28xmltab: Remove safeJID().Emmanuel Gil Peyrot
2020-12-27Trim all messages by 24 bytes on 64-bit systemsEmmanuel Gil Peyrot
Message was redefining the slots of its parent class, which allocates them twice and we don’t want that.
2020-12-26Stop displaying the traceback when /xhtml fails.Emmanuel Gil Peyrot
Also make the except more restrictive. Fixes #3514.
2020-12-17plugins: do not fire private_msg event on own messagesmathieui
2020-12-17plugins: do not fire conversation_msg event on own messagesmathieui
2020-12-12from __future__ import annotationsEmmanuel Gil Peyrot
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated.
2020-12-12Don’t import Form (fixup from b3ed6cf44d08a9e7aea113d5788cc1eeaac9b405)Emmanuel Gil Peyrot
2020-12-12Use some of the new xep_0045 methods from slixmpp 1.6.0Emmanuel Gil Peyrot
2020-12-12Use the new xep_0045 elements from slixmpp 1.6.0Emmanuel Gil Peyrot
2020-10-09Revert previous commit, move loggging, fix type errorMaxime “pep” Buquet
This reverts commit 627f751e0c00c0f208e0688698d90a0c186b435b. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-10-09poezio/user: rework change_color to only log when necessaryMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-15Disco#info barejid instead of domain on sent carbonsGeorg Lukas
This is the counter-part to 5e404377d4eb1b80b81be91d75e12300c40b354c for "sent" carbons. Signed-off-by: Georg Lukas <georg@op-co.de>
2020-08-14move date and time SHORT_FORMAT and LONG_FORMAT to the themeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-24windows/info_bar: Prevent UnboundLocalError. Thanks genofireMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-16core/handlers: revert change in normal_message handlerMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-08MucTab: highlight on delayed and not historyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24core/commands: code style fixesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24core/commands: use named parameters in _add_bookmarks to make things explicitMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24bookmarks: ensure nick is added when to bookmark when specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24MucTab: Ensure bookmark exists before removing it in /closeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-09Rename /leave into /close, and deprecate /leaveEmmanuel Gil Peyrot
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-06-01mypy: type more strictly common.pymathieui
2020-06-01Add a shlex pyi (based on upstream)mathieui
2020-06-01mypy: Make multiuserchat.py pass --strictmathieui
2020-06-01mypy: Make decorators.py pass --strictmathieui
2020-05-31Update version to 0.13.1v0.13.1mathieui
And remove some annoying logic
2020-05-31Revert "Bookmarks: type bookmark method (local/remote)"Maxime “pep” Buquet
This reverts commit 91831e7903bac287be9e5403e56b07691151f1ab. Breaks python 3.7 ..-. .- .. - -.-. .... .. . .-.
2020-05-31Merge branch 'type-bookmarks' into 'master'Maxime Buquet
Type bookmarks See merge request poezio/poezio!138
2020-05-31BookmarksTab: harmonize Info messageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-31Bookmarks: type bookmark method (local/remote)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29Fix a traceback after a received MUC messagemathieui
"highlight referenced before assignment"
2020-05-28Fix an issue on join when the room has no MAM supportmathieui
The value of the "seconds" attribute was borked, resulting in a traceback.
2020-05-28Properly refresh the bookmarks method in the bookmarks tabmathieui
… … …
2020-05-28Only add autojoin to a bookmark on creation if the room is not bookmarkedmathieui
With synchronise_open_rooms, otherwise you just have autojoin added everytime, which is probably not what you want.
2020-05-25Do not add the date in history messages from the current daymathieui
2020-05-25Only send an unavailable presence on closing a muc if we are joinedmathieui
Fixes #3397
2020-05-25Fix mam own nick in one to one tabsmathieui
Also do a config.get for each received MAM message, that is not efficient or useful.
2020-05-24Do not degrade colors for terminals supporting more than 256mathieui
2020-05-24Add a check for terminals not supporting 256 colorsmathieui
2020-05-24Checks whether the gaming payload is empty or notEmmanuel Gil Peyrot
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-24Merge branch 'affiliations-jid' into 'master'Link Mauve
MucTab /affiliation: Add MUC jid in output for context See merge request poezio/poezio!116
2020-05-24MucTab /affiliation: Add MUC jid in output for contextMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24MucTab /leave: toggle off autojoin instead of removing bookmarkMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24Merge branch 'next-version-0.14' into 'master'mathieui
Update version numbers See merge request poezio/poezio!114
2020-05-24Update version numbersmathieui