summaryrefslogtreecommitdiff
path: root/poezio/core
AgeCommit message (Collapse)Author
2020-03-24poezio/core/handlers: More explicit logging for whitespace keepaliveskeepalive-logMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-04load, unload: prevent Traceback when not enough parameters are specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12Disco#info barejid instead of domain only on carbonsMaxime “pep” Buquet
There is no apparent reason why a disco#info should be done on the domain Jid rather than the bare Jid. MUCs advertize their MUC-y-ness on the bare Jid. This will also fix cases like chat@dino.im which is a MUC component itself (whereas dino.im is a user host), and biboumi components that serves a mic of MUCs and (IRC) users. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12is_known_muc_pm: search into more than MucTabMaxime “pep” Buquet
Use new `by_jid` API to search for any tab containing the barejid, and then look at the type of Tab. Move the Tab search at the top of the checks so that we stop searching if we already have done all this work for previous stanzas. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12Some more typing for is_known_muc_pmMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12Prevent Traceback when receiving MUC-PM carbons under some conditionsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-31Tabs: add by_jid search method for tabs who have a jid attrMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27Expand the status command, make decryption work, put a hack into the core so ↵lumi
I can handle messages without bodies.
2019-12-22WIP: Allow blocking commands in ConversationTabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-21core/commands: Move import order to please linterMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-21Remove safeJID call in destroy_roomMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-27Fix syntax warnings (thanks python 3.8)mathieui
2019-10-10MUC-PMs: correctly loop through bookmarksMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10core/handlers: Add typing annotationsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10MUC-PM: centralize and improve PM detection in all code pathsGeorg Lukas
2019-09-05Reorganize MAMroot
2019-09-04core/commands: remove more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02Eradicate more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-27Disabled the history on /reconnect, if the tab is still present and has ↵root
messages in it.
2019-08-26Do not run a /part command when disconnecting from poeziomathieui
Use the underlying function instead
2019-08-26Use the right settings when reconnecting from poeziomathieui
2019-08-26Added action parameter in mam_scroll, so that MAM query made on join (or any ↵root
other query) is not considered as 'pageup'
2019-08-25Fix private tabsmathieui
- receipts - receiving messages - showing our sent messages
2019-08-24Always feed a JID to open_conversation_windowmathieui
2019-08-24Fix /selfmathieui
2019-08-22Corrected indentation and coding style.Madhur Garg
2019-08-22Added a call to scroll for 10 messages on initially joining the room.Madhur Garg
2019-08-20Fix /join <muc name without domain> from an existing mucmathieui
2019-07-29Merge remote-tracking branch 'origin/mr/28'Maxime “pep” Buquet
Address multiple reconnect issues. Thanks Ge0rG!
2019-04-27Replace tab.name with tab.jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27core/commands: Use jid parameter instead of name where appropriateMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27core/completions: Use tab.jid where appropriateMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27CommandCore: remove None check on MucTab.jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-17save_order, save: config option is not always a stringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08core/commands: remove more safeJID calls; add type hintsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08list command: default to domain jid if no argument specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08core/commands: remove safeJID call in list commandMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08Revert work on tabs module to change tab.name to JID.Maxime “pep” Buquet
This reverts commits: d693479d05f1ada999c0e29a9d9e2f021dd59e50 2d0cc092fcd154b2d14be0c5ac0ff338607824a0 89a61b84bdb29d3df8c08436c3484fddba8d2ef1 8194d9afbdec2daa1377e07ebb26bb99406473d0 e256c31875c8b67d85fe30d3e2c14c896066657a a21335ac171a827a613dcce744898e822689c9d3 c96e528a8fd1313f75cb792a8e4826fbcfde1bec 0551867bfdb8dfa7dbd5964a15a1a950510e2c71 6ab49c188a6e5bb95773165f0bdbd672b41c8c81
2019-04-08Fix tab.name not being a string by calling the right propertyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07Remove more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07safeJID: Remove some safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07impromptu: catch invalidJID exception for room jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-30Corrects the functionality of /add and /accept commands in all the tabs. ↵Madhur Garg
Fixes #3395 Corrects the functionality of /add command in all tabs. Fixes #3395 Removed trailing whitespaces Corrected general way of writing code. Corrects the functionality of /add and /accept commands in all tabs. Fixes #3395
2019-03-26Inform the user and re-instate 0199 pinger on a successful 0198 resumeGeorg Lukas
2019-03-26Refactor session_end actions out of on_disconnectGeorg Lukas
2019-03-26Only /part tabs on disconnect, not on reconnectGeorg Lukas
2019-03-26Use new slixmpp!12 disconnect/reconnect semanticsGeorg Lukas
2019-03-26Display disconnect reason, depends on slixmpp!12Georg Lukas
2019-03-24Corrects the functionality of /add command in all tabs. Fixes #3395Madhur Garg
2019-03-23Merge branch 'muc_subject' into 'master'Maxime Buquet
Corrected the value of timestamp for MUC subject. Fixes #3451 Closes #3451 See merge request poezio/poezio!25