summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
AgeCommit message (Collapse)Author
2018-06-30new tabs: apply reviewnew-tabsmathieui
2018-06-29Update poezio for the new tabs modulemathieui
2018-06-28Replace the '%s' % var pattern with str(var).Emmanuel Gil Peyrot
2018-03-31Use slixmpp’s new cache module for avatars too.Emmanuel Gil Peyrot
2018-02-11Fix the nick conflict codemathieui
also yapf -rip
2018-01-25Use refresh_input in core.information() to avoid traceback.Emmanuel Gil Peyrot
2018-01-13yapf -irmathieui
2018-01-10Fix typos, thanks `codespell`!Emmanuel Gil Peyrot
2017-11-28Do not use the /join interface on nickname conflictmathieui
Therefore do not add bookmarks while doing this, it is wrong.
2017-11-12yapf -irmathieui
2017-10-14Make remaining log.error/debug lazymathieui
2017-10-11Rename the self-command function to self_ and keep language semanticsmathieui
Sorry Link Mauve
2017-10-07Display contact avatar in the roster.Emmanuel Gil Peyrot
Implements XEP-0084 and XEP-0153.
2017-09-11Add a no-op commandMaxime “pep” Buquet
2017-06-27Fix the resource duplication when reconnecting while auto_reconnect is true.Eijebong
The problem is that core.legitimate_disconnect is set to True in the on_connecting callback which is called before the session_end for some reasons. on_connecting sets core.legitimate_disconnect back to False so session_end thinks we've been disconnected and connects automagically adding a resource and thus duplicating everything. Moving the reset of legitimate_disconnect to the on_connected callback fixes the problem.
2016-11-06Merge branch 'popup_filters' of https://github.com/LukeMarlin/poeziomathieui
2016-10-23Added information_popup_type_filter that allow toLuke Marlin
filter an entire type of messages such as 'roster' 'error' 'information' or 'debug'
2016-10-21pyflake fixesmathieui
unused variables, imports, name shadowing
2016-10-04"information" is already plural, fix wordingmathieui
2016-09-29Display status changes in one to one chatsmathieui
Make hide_status_change work there as well, with per-jid configuration
2016-09-25Normalise the user-facing name of MUC from chatroom to room everywhere.Emmanuel Gil Peyrot
2016-09-20Stop using deprecated aliases from slixmpp.Emmanuel Gil Peyrot
2016-08-29Fix coloring of messages in the privatetabmathieui
2016-08-20Fix #3219, Fix #3220 (no connection loops on some stream errors)mathieui
Do not reconnect if the stream error is a conflict or an host-unknown; also add a sleep(1) in order to not DoS the server if it loops on other conditions.
2016-08-20Implement XEP-0070 using the confirmtabmathieui
2016-07-22Fix a bug with the _close_tab shortcutmathieui
on_close wasn’t used correctly everywhere. Also make the "close" commands for each tab specific to themselves, rather than taking the current tab for closure.
2016-07-07Remove unused SizeManager argument, and simplify its import.Emmanuel Gil Peyrot
2016-06-30Remove every now-useless usage of the Singleton function.Emmanuel Gil Peyrot
2016-06-30Use a "core" parameter for each tab object instead of a singletonmathieui
fixes the circular import issue
2016-06-30Absolute imports everywheremathieui
2016-06-30Use absolute imports instead of relative onesmathieui
All this crap is very brittle due to circular deps and python handling them badly. This appears to be fixing some stuff, at the very least. This is sed, so cleanup of imports (which can now be grouped together) is not done yet.
2016-06-28Import Singleton instead of its module, and remove unused imports.Emmanuel Gil Peyrot
2016-06-27Make all relative imports explicit.Emmanuel Gil Peyrot
2016-06-12Remove the global Win._win_core, instead pass core to the two *GlobalInfoBar.Emmanuel Gil Peyrot
2016-06-12Remove unused properties in SizeManager.Emmanuel Gil Peyrot
2016-06-12Convert some genexprs into regular list comprehension.Emmanuel Gil Peyrot
2016-06-12Improve core typability.Emmanuel Gil Peyrot
2016-06-12Fix core handlers, broken in the previous commit.Emmanuel Gil Peyrot
2016-06-12Fix core commands, broken in the previous commit.Emmanuel Gil Peyrot
2016-06-12Fix core completion, broken in the previous commit.Emmanuel Gil Peyrot
2016-06-11Make poezio.logger more Cython-friendly.Emmanuel Gil Peyrot
Also don’t handle logger fds outside of Logger, and mark private objects and methods.
2016-06-11Make poezio.core.struct more Cython-friendly.Emmanuel Gil Peyrot
Status and Command are now slotted classes instead of namedtuples, which led to a few changes to access them with their named parameters instead of as a tuple. “short” being a C type, I renamed Command.short into Command.short_desc, which is more explicit anyway. I also renamed possible_show into POSSIBLE_SHOW, as it is a module-level constant dict.
2016-06-11add_message_to_text_buffer was never used with its time and history arguments.Emmanuel Gil Peyrot
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot