summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
AgeCommit message (Collapse)Author
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-09-05Reorganize MAMroot
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-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-24Always feed a JID to open_conversation_windowmathieui
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-07-29Merge remote-tracking branch 'origin/mr/28'Maxime “pep” Buquet
Address multiple reconnect issues. Thanks Ge0rG!
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-24Corrects the functionality of /add command in all tabs. Fixes #3395Madhur Garg
2019-03-23Corrects functionality of /reconnect in all type of tabs. Fixes #3471Madhur Garg
Corrects functionality of /reconnect in all type of tabs. Fixes #3471 Moved command_reconnect from particular tabs to core.commands. Fixes #3471
2019-03-19Change 'his/her' to 'their'Kim Alvefur
It's shorter and reads better. Also removes 'its', which might be intented to refer to bots or the like.
2019-01-02Add some more M-arrows keysEmmanuel Gil Peyrot
Thanks terminals, for your wonderful standardisation!
2018-12-16impromptu: add or update documentation for commandsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16impromptu: rework string formatMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16impromptu: don't set roomname and roomdesc; remove jids argumentMaxime “pep” Buquet
I was originally panning to generate a user-friendly room name with them, but this can/should be done at runtime (in case it changes). Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16impromptu: fix typo in log lineMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Remove TODO comment about user-friendly muc nameMaxime “pep” Buquet
See #3447 instead. This can be generated at runtime. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16impromptu: Incorporate feedback from daniel for muc optionsMaxime “pep” Buquet
Adding missing MAM bits, removing the allowpm restriction, as clients should already be using realjids when available. I am leaving allowinvites for now as I think that should be in there, but we can align ourselves later on if necessary, I'm not totally against the idea. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16impromptu: shorten config field list formattingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Add /invite for ConversationTab to generate new room with all inviteesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Use identites from server for muc serviceMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Add error message if muc service not foundMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Add configuration for default_muc server to join if no muc available on domainMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Initial impromptu commandMaxime “pep” Buquet
Add a command that invites people to a newly created room, with a random localpart. The muc component is currently static. The interface for the command might also change later on. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-11Fix compatibility with python 3.5.2mathieui
We don’t lose anything, mypy will add these Optionals by itself since it can see the = None.
2018-08-15core: Add some more typing information.Emmanuel Gil Peyrot
2018-08-15Type DelayedEvent, also in Core.Emmanuel Gil Peyrot
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-08-13Switch the default use_log value to trueEmmanuel Gil Peyrot
Since this is a privacy sensitive action, a short message is now displayed on first run.
2018-08-09yapf -ripmathieui
2018-08-01Fix some leftover issues with tab handlingmathieui
2018-07-23Make KeyDict still inherit from dictmathieui
2018-07-23Light refactoring + typingmathieui
2018-07-23Fix "go_to_previous_tab" and remove the usage of Command.win to move internallymathieui
2018-07-23Use the event handler to refresh when the tab changesmathieui
2018-07-22Fix close_all and change_title pluginsmathieui
2018-07-22Do not complete fulljids in /message (Fix #3405)mathieui