summaryrefslogtreecommitdiff
path: root/slixmpp/basexmpp.py
AgeCommit message (Collapse)Author
2022-05-28Change origin-id defaults to FalseMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-05clientxmpp: cleanup some typesmathieui
2021-07-05typing: add a bunch of type ignoresmathieui
because this is too smart for mypy and I do not want to rewrite those things right now.
2021-07-04typing: fix basexmpp type overloadsmathieui
mypy got confused
2021-07-03basexmpp/clientxmpp: refine typingmathieui
2021-02-06basexmpp: add more typing, fix some docsmathieui
2021-02-05global: rewrite copyright notice to use commentsmathieui
2021-02-03basexmpp: type self.plugins in a more useful mannermathieui
2019-08-23basexmpp: Make origin-id opt-outMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-31Set @id by default on outgoing messages and presences.Emmanuel Gil Peyrot
Respects RFC6120 §8.1.3’s RECOMMENDED.
2016-09-20BaseXMPP: Stop automatically enabling UserNick, and remove deprecated alias ↵Emmanuel Gil Peyrot
module.
2016-08-23Make session_bind_event awaitableDan Sully
2016-08-22Don’t trigger presence events on MUC presencemathieui
Specifically, previously, each MUC would be added as a roster item, and then each join presence would be counted as a resource of that item, triggering 1 to 5 events and more backend logic in slixmpp. As a result, joining big rooms is tremendously slow, (JID() calls, event() calls, __getitem__ calls for nothing), and takes RAM (a quick tracemalloc tells me around 1 MiB for 3500 participants, i.e. 2 big IRC rooms). Those resources may not necessarily be cleaned properly, leading to memory leaks on long-term usage. This is a micro-optimization that adds an attribute to roster items so that MUC room events can be ignored safely while not affecting common roster usage.
2015-12-15Remove dead codeKrzysztof Kotlenga
See 5c769632e8d35ea76990a1de3ab405c57a21482e.
2015-10-02Merge branch 'develop' of https://github.com/fritzy/SleekXMPP into sleek-mergemathieui
Conflicts: README.rst examples/IoT_TestDevice.py examples/disco_browser.py setup.py sleekxmpp/jid.py sleekxmpp/plugins/google/auth/stanza.py sleekxmpp/plugins/google/gmail/notifications.py sleekxmpp/plugins/google/nosave/stanza.py sleekxmpp/plugins/google/settings/settings.py sleekxmpp/thirdparty/__init__.py sleekxmpp/thirdparty/socks.py sleekxmpp/thirdparty/statemachine.py sleekxmpp/util/__init__.py sleekxmpp/xmlstream/xmlstream.py slixmpp/basexmpp.py slixmpp/plugins/xep_0004/stanza/form.py slixmpp/plugins/xep_0009/rpc.py slixmpp/plugins/xep_0050/adhoc.py slixmpp/plugins/xep_0065/proxy.py slixmpp/plugins/xep_0084/stanza.py slixmpp/plugins/xep_0202/time.py slixmpp/plugins/xep_0323/sensordata.py slixmpp/plugins/xep_0325/control.py slixmpp/plugins/xep_0325/stanza/control.py slixmpp/roster/single.py slixmpp/stanza/atom.py slixmpp/stanza/rootstanza.py slixmpp/test/slixtest.py slixmpp/util/sasl/mechanisms.py slixmpp/version.py slixmpp/xmlstream/stanzabase.py tests/test_stanza_xep_0323.py tests/test_stanza_xep_0325.py tests/test_stream_xep_0323.py tests/test_stream_xep_0325.py
2015-06-20Remove JID cache, to better test for performance.Emmanuel Gil Peyrot
2015-04-13basexmpp: Add a message_error eventmathieui
The "message" event only receives messages with a body, and error messages don’t necessarily have it. Removing the body requirement from the "message" event could lean to unhandled conditions in existing code.
2015-04-04XMLStream: add a forever parameter to process(), defaulting to True, to ↵Emmanuel Gil Peyrot
select whether we want to stop the event loop after a disconnection
2014-09-28Remove all deprecated alias in the core of slixmpp, and wherever they were used.Emmanuel Gil Peyrot
2014-09-01Reintroduce XMLStream.process, making it run the asyncio event loop.Emmanuel Gil Peyrot
2014-09-01Remove sys.version_info checks for python2 and clean some imports.Emmanuel Gil Peyrot
2014-07-21Fix signature of init_plugins() functionFlorent Le Coz
2014-07-20Make xmlstream use an asyncio loopFlorent Le Coz
Scheduled events, connection, TLS handshake (with STARTTLS), read and write on the socket are all done using only asyncio. A lot of threads, and thread-related (and thus useless) things still remain. This is only a first step.
2014-07-17Rename to slixmppFlorent Le Coz