summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-02Update version to 1.5.1slix-1.5.1mathieui
1.5.0 changed what could be expected to be sent before calling disconnect(), this fixes it.
2020-05-02Merge branch 'add-forever-false-examples' into 'master'Maxime Buquet
Add forever=False to some examples to make them terminate See merge request poezio/slixmpp!46
2020-05-02Merge branch 'fix-disconnect-send-queue' into 'master'Maxime Buquet
Fix a regression introduced in 1.5.0 See merge request poezio/slixmpp!45
2020-05-02Add forever=False to some examples to make them terminatemathieui
2020-05-02Fix a regression introduced in 1.5.0mathieui
Due to the send queue, messages sent immediatly before calling "disconnect" would not be sent.
2020-05-02Merge branch 'fix-start-handlers' into 'master'Maxime Buquet
Change session_start callback to async in most examples See merge request poezio/slixmpp!44
2020-05-02Change session_start callback to async in most examplesmathieui
If we fetch the roster, we should probably wait until we get it back
2020-05-01Merge branch 'release-1.5.0' into 'master'mathieui
Update version to 1.5.0 See merge request poezio/slixmpp!43
2020-05-01Update version to 1.5.0slix-1.5.0mathieui
2020-05-01Merge branch 'python-version' into 'master'Maxime Buquet
Update Python version minimum requirement to 3.7 See merge request poezio/slixmpp!42
2020-05-01Update Python version minimum requirement to 3.7Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-14Changing the use of 'threading' in python for more suitable 'subprocesses'. ↵Paulina
Change of English names to Polish equivalents, as requested by the authors.
2020-04-10Correction and editing of the tutorials.Paulina
[100%] English version [100%] Polish version [100%] Both version consistency check [98 %] Final sanity check + formating
2020-04-06xep_0196: Use correct tag local name (thanks ivucica)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-06docs: remove andyet logo/link on every pageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-04Merge branch 'add-github-pr-template' into 'master'mathieui
Add a github pull request template See merge request poezio/slixmpp!41
2020-04-04Add a github pull request templatemathieui
2020-04-04Merge branch 'fix-deprecations' into 'master'mathieui
Fix deprecation warning regarding invalid escape sequences. See merge request poezio/slixmpp!40
2020-04-04Merge branch 'fix-nonetype-error' into 'master'mathieui
Fix an issue when deleting subelements: TypeError: 'NoneType' object is not an iterator See merge request poezio/slixmpp!39
2020-04-04Fix TypeError: 'NoneType' object is not an iteratorjheling
When deleting sub-elements in a stanza.
2020-04-04Fix deprecation warning regarding invalid escape sequences.Karthikeyan Singaravelan
2020-04-04Merge branch 'fix-celementtree-import' into 'master'mathieui
cElementTree has been deprecated since Python 3.3 and removed in Python 3.9. See merge request poezio/slixmpp!38
2020-04-04Merge branch 'sync-fixes' into 'master'Maxime Buquet
Sync fixes See merge request poezio/slixmpp!37
2020-04-04fire 'disconnected' callback from abort()Georg Lukas
2020-04-04expose is_connecting state based on connection attempt futureGeorg Lukas
2020-03-29Merge branch 'fix-0198' into 'master'Maxime Buquet
XEP-0198: unset end_session_on_disconnect on resume/enable See merge request poezio/slixmpp!36
2020-03-29Merge branch 'fix-reconnect-2.0' into 'master'Maxime Buquet
Reset reconnect delay on manual reconnect, add delay event See merge request poezio/slixmpp!35
2020-03-29XEP-0198: unset end_session_on_disconnect on resume/enableGeorg Lukas
2020-03-29Reset reconnect delay on manual reconnect, add delay eventGeorg Lukas
This is just a hotfix workaround for an underlying problem. The `_connect_routine` code is "blocking" (in an async way) for `connect_loop_wait` seconds, so that a fresh-started manual reconnect will be silenty delayed. This code does the following changes: 1. It moves the delay to before the DNS resolution (with the exponential back-off it might well be that the DNS records are changed while slixmpp is waiting). 2. It adds a new event `reconnect_delay` that gets passed the number of seconds it will delay before actually reconnecting 3. It resets the `connect_loop_wait` timer on a manual connect/reconnect call to fix the interactive experience. A *proper fix* would replace the sleep in `_connect_routine` with a properly timered re-invocation of it, but I don't understand enough of asyncio for pulling off that magic, and this is actually a proper improvement. Also I tested this and it works!
2020-03-28Merge branch 'fix-0198' into 'master'Maxime Buquet
XEP-0198: properly disable on disconnect, fix reconnect-loop See merge request poezio/slixmpp!34
2020-03-28Merge branch 'master' into 'master'Maxime Buquet
reconnect: fix callback when not currently connected See merge request poezio/slixmpp!32
2020-03-28XEP-0198: fix race conditions on enable/resumeGeorg Lukas
This code splits out the `enabled` property into `enabled_in` and `enabled_out` to reflect that client and server enable 0198 asynchronously. This also moves the actual enabling code into the stanza processing logic, because apparently, `enable.send()` was just added into the end of the send queue, but `enable` got enabled immediately, so that poezio requested ACKs for whatever happened to be in the queue before. Async is hard, let's go get fishing.
2020-03-28XEP-0198: properly disable on disconnect, fix reconnect-loopGeorg Lukas
When the connection is disconnected (but the session didn't "end", because 0198 resumption is enabled), poezio will reconnect and try to send an <r/> element because the 0198 plugin doesn't realize that SM wasn't re-enabled yet.
2020-03-28cElementTree has been deprecated since Python 3.3 and removed in Python 3.9.Karthikeyan Singaravelan
2020-03-23reconnect: fix callback when not currently connectedGeorg Lukas
The 'disconnected' event is normally fired from connection_lost(), which is called by the connection code when the connection is lost after being established. However, if the connection wasn't successfully established, a manual /reconnect no-ops because it waits for the 'disconnected' callback which never fires. This patch does two things: 1. Immediately fire a 'disconnected' event in disconnect() if there is no transport. 2. Register the 'disconnected' event handler in reconnect() *before* it can be fired.
2020-03-21Correction and editing of the tutorials.Paulina
[98 %] English version [98 %] Polish version [100%] Both version consistency check [95 %] Final sanity check + formating
2020-03-15 Correction and editing of the tutorials.Paulina
[95 %] English version [95 %] Polish version [100%] Both version consistency check [95 %] Final sanity check + formating
2020-03-15 Correction and editing of the tutorials.Paulina
[95 %] English version [95 %] Polish version [100%] Both version consistency check [80 %] Final sanity check + formating
2020-03-15Merge branch 'tutorial' of https://lab.louiz.org/Hoacyn/slixmpp into tutorialPaulina
2020-03-15 Correction and editing of the tutorials.Paulina
[85 %] English version [90 %] Polish version [45 %] Both version consistency check [0 %] Final sanity check + formating
2020-03-15 Correction and editing of the tutorials.Paulina
[95 %] English version [95 %] Polish version [100%] Both version consistency check [80 %] Final sanity check + formating
2020-03-08 Correction and editing of the tutorials.Paulina
[85 %] English version [90 %] Polish version [45 %] Both version consistency check [0 %] Final sanity check + formating
2020-02-29Correction and editing of the tutorials.Paulina
[80 %] English version [0 %] Polish version [20 %] Both version consistency check [0 %] Final sanity check TODO: - comments in the code blocks - side-by-side consistency check
2020-02-27Eng and pl tutorials added.Paulina
2019-12-27Merge branch 'async-filters' into 'master'mathieui
Add async filters on the send process See merge request poezio/slixmpp!24
2019-12-27Put the queue exception at toplevelmathieui
2019-12-27Improve the send queue code a bitmathieui
2019-12-27add a separate place for slow ass filtersmathieui
2019-12-27raise Exceptionmathieui
2019-12-27Try/except around outbound stanza processingmathieui
to avoid killing the send loop when a filter has an error