Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
|
|
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.
|
|
[98 %] English version
[98 %] Polish version
[100%] Both version consistency check
[95 %] Final sanity check + formating
|
|
[95 %] English version
[95 %] Polish version
[100%] Both version consistency check
[95 %] Final sanity check + formating
|
|
[95 %] English version
[95 %] Polish version
[100%] Both version consistency check
[80 %] Final sanity check + formating
|
|
|
|
[85 %] English version
[90 %] Polish version
[45 %] Both version consistency check
[0 %] Final sanity check + formating
|
|
[95 %] English version
[95 %] Polish version
[100%] Both version consistency check
[80 %] Final sanity check + formating
|
|
[85 %] English version
[90 %] Polish version
[45 %] Both version consistency check
[0 %] Final sanity check + formating
|
|
[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
|
|
|
|
Add async filters on the send process
See merge request poezio/slixmpp!24
|
|
|
|
|
|
|
|
|
|
to avoid killing the send loop when a filter has an error
|
|
|
|
|
|
(eewww)
|
|
To be able to run async stream filters
|
|
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
|
poezio bug #3499
|
|
|
|
|
|
changed.
|
|
This reverts commit 37bc1bb9b3bdc26b7f28b30406d1013f9b0f6ceb.
Confusion confusion. Mathieui thought this was a sleekxmpp thing when
it's actually been added not so long ago.
|
|
even if the user makes that mistake, it does not cause problems down the
line.
|
|
|
|
Implement Origin-id (XEP-0359)
See merge request poezio/slixmpp!21
|
|
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
|
This XEP is not implemented as a plugin but directly into Message.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
|
Assign 'True' to 'before' tag if it's value is 'None'.
See merge request poezio/slixmpp!26
|
|
msg is there in the group, so no stanza-id)
|
|
Removed assigning 'reverse' value to the 'before' tag
See merge request poezio/slixmpp!25
|
|
|
|
xep_0313 (mam.py file) and if not then by default it is takes as 'None').
|
|
Added <before> tag for querying messages before a stanza-id.
See merge request poezio/slixmpp!23
|
|
|
|
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
|
Thanks Madhur Garg for spotting this in
027ce2434d7fd3cf4a286dd373cb761c0d114c66!
|
|
Removed 'block' from set_preferences as it was giving a TypeError while sending the staza.
See merge request poezio/slixmpp!20
|
|
sending the staza.
|
|
Added a function in xep313 plugin to get current MAM preferences.
See merge request poezio/slixmpp!19
|
|
|
|
These are already on each stanza, and were not applicable to all stanzas
anyway.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
|
|
|
|