mathieui
6f4ac7e7ce
Merge branch 'fix-slow-tasks' into 'master'
...
xmlstream: Fix slow tasks
See merge request poezio/slixmpp!162
2021-04-30 19:43:05 +02:00
mathieui
aaab58d229
itests: add a simple slow filter test
2021-04-30 19:33:23 +02:00
mathieui
0b5f6cb0a8
xmlstream: fix slow tasks scheduling
...
- wrong attribute used
- some mistakes in the slow tasks function
2021-04-30 19:27:30 +02:00
Link Mauve
027545eb71
Merge branch 'fix-docs' into 'master'
...
docs: Use the correct number for user_nick
See merge request poezio/slixmpp!161
2021-04-24 20:39:29 +02:00
Emmanuel Gil Peyrot
290d84cd0f
docs: Use the correct number for user_nick
...
Thanks Felix for noticing!
2021-04-24 20:33:04 +02:00
Link Mauve
f058e62680
Merge branch 'fix-0353' into 'master'
...
XEP-0353: Use the correct callback for <proceed/>
See merge request poezio/slixmpp!160
2021-04-24 20:25:34 +02:00
Emmanuel Gil Peyrot
104917163d
XEP-0353: Use the correct callback for <proceed/>
...
Thanks elmar for noticing!
2021-04-24 20:20:02 +02:00
mathieui
d184442337
Merge branch 'fix-waiting-queue-xmlstream' into 'master'
...
xmlstream: fix use of the waiting queue
See merge request poezio/slixmpp!159
2021-04-22 21:08:08 +02:00
mathieui
a4789acbfb
xmlstream: fix use of the waiting queue
2021-04-22 21:07:30 +02:00
mathieui
3630c3d1cc
Merge branch 'caps-broadcast-presence' into 'master'
...
Caps: do not broadcast presence on PEP plugin load/unload
See merge request poezio/slixmpp!157
2021-04-20 19:08:46 +02:00
mathieui
41fc6a2e6b
itests: explicitly send caps in avatar example
2021-04-20 18:57:50 +02:00
mathieui
7f0febb929
Merge branch 'use-runpy-for-version-data' into 'master'
...
fix: use runpy to get versiion-data
See merge request poezio/slixmpp!158
2021-04-20 09:27:10 +02:00
mathieui
44392fa2d9
fix: use runpy to get versiion-data
...
fix compatibility with debian stable (thanks jonas’)
2021-04-20 09:18:57 +02:00
mathieui
7bb94afdc8
XEP-0163: do not broadcast caps when adding/removing interest
2021-04-19 23:19:40 +02:00
mathieui
8828a5b99d
XEP-0115: add a broadcast parameter to update_caps
...
and do not send a presence after updating if it is false
2021-04-19 23:17:10 +02:00
mathieui
0d52344a31
Merge branch 'fix-component-handshake' into 'master'
...
Fix component handshake
Closes #3464
See merge request poezio/slixmpp!156
2021-04-19 19:53:33 +02:00
mathieui
768089d457
tests: fix bogus test case
...
stanza.match worked accidentally, but the two elements used in that test
actually conflict with each other (not overriding the plugin_attrib,
which makes it then default to 'plugin', leading to shenanigans).
2021-04-19 19:42:52 +02:00
mathieui
eee185ff90
stanza: rework the .append() and __eq__ methods
...
This was very much broken on plugin iterables and other reasons.
2021-04-18 23:01:36 +02:00
mathieui
99c6fc923a
itests: do not compare strings, compare xml
2021-04-18 23:01:01 +02:00
mathieui
d4e1b68534
Allow handshake in stream.send() when not connected yet
...
fix #3464
2021-04-18 21:16:03 +02:00
mathieui
3bb01de120
stanza: add a Handshake class and use it in componentxmpp
2021-04-18 21:15:22 +02:00
mathieui
7057773d18
Merge branch 'tentative-fix-for-reconnect-race' into 'master'
...
xmlstream: do not allow stanzas outside a session
See merge request poezio/slixmpp!154
2021-04-12 19:49:10 +02:00
mathieui
894131d772
Merge branch 'inbound-id-message-presence' into 'master'
...
Fix #3441 : Do not assign ID to inbound stanzas
Closes #3441
See merge request poezio/slixmpp!155
2021-04-09 20:55:41 +02:00
mathieui
fcf666e3cb
Fix #3441 : Do not assign ID to inbound stanzas
2021-04-09 20:40:30 +02:00
mathieui
3e5943f458
xmlstream: do not allow stanzas outside a session
...
except for the bind, obviously
2021-04-08 18:47:51 +02:00
mathieui
7ddcc3428f
Merge branch 'xep-0300-fixup' into 'master'
...
XEP-0300: small fixes
See merge request poezio/slixmpp!151
2021-03-11 20:54:31 +01:00
mathieui
d77eb3a7e8
Merge branch 'fix-0030-get-info-ifrom' into 'master'
...
XEP-0030: Fix usage of ifrom in get_info
See merge request poezio/slixmpp!152
2021-03-10 22:09:54 +01:00
mathieui
7f90fb594a
XEP-0030: Fix usage of ifrom in get_info
2021-03-10 22:07:00 +01:00
mathieui
1cf6393b61
XEP-0300: small fixes
...
- fix a typo in the default option (crash when hashing a file without
providing a function)
- Fix the plugin_end method (classical del_feature footgun)
2021-03-10 21:26:08 +01:00
mathieui
7c86c43fc7
Merge branch 'mam-update' into 'master'
...
MAM Update
See merge request poezio/slixmpp!149
2021-03-09 21:20:14 +01:00
mathieui
8a1f9bec56
Merge branch 'xep-0115-fix-error' into 'master'
...
XEP-0115: remove wrong coroutine=True argument
See merge request poezio/slixmpp!150
2021-03-09 20:05:09 +01:00
mathieui
ad2673fd2c
XEP-0115: remove wrong coroutine=True argument
2021-03-09 20:02:16 +01:00
mathieui
0115feaa31
tests: Add a MAM metadata stanza test
2021-03-09 19:52:53 +01:00
mathieui
3613cd5f14
tests: Add a MAM stream test
2021-03-09 19:52:53 +01:00
mathieui
644ebfe89f
XEP-0313: Only remove origin-id from the mask if it exists
2021-03-09 19:52:53 +01:00
mathieui
e329eadbed
XEP-0313: Fix off-by-one-page RSM fetching
...
Add a "results" interface to mam_fin, and fix some things in RSM
Items just received were not taken into account because:
- RSM code is checking iq['mam_fin']['results'], results were at
iq['mam']['results']
- RSM handler was run after checking the number
2021-03-09 19:52:53 +01:00
mathieui
4cdcc4d155
itests: test mam.iterate() as well for fetching the archive
2021-03-09 19:52:53 +01:00
mathieui
97a63b9f25
XEP-0313: Update the API
...
- add an iterate() method that makes this plugin more practical
- add a get_fields method to retrieve the available search fields
- add a get_archive_metadata method.
This is a big chunk because git refused to split it further.
2021-03-09 19:52:53 +01:00
mathieui
dbbc47e02d
docs, XEP-0313: Order document by source
2021-03-09 19:52:53 +01:00
mathieui
7d2b245bb0
XEP-0441: Split MAM preferences into a separate plugin
2021-03-09 19:52:53 +01:00
mathieui
e5f4794a36
XEP-0313: Update stanza for completeness, and more docs
2021-03-09 19:52:53 +01:00
mathieui
d7d4baefa3
tests: Add XEP-0313 stanza tests
2021-03-09 19:52:53 +01:00
mathieui
1289cf575c
Merge branch 'rsm-fixes' into 'master'
...
XEP-0059 (RSM) - Some fixes
See merge request poezio/slixmpp!145
2021-03-09 19:25:26 +01:00
mathieui
a568363a6c
Merge branch 'async-adhoc' into 'master'
...
XEP-0050 Make handle_command_xxx async
See merge request poezio/slixmpp!144
2021-03-09 19:24:43 +01:00
Nicoco K
eac5ad50a8
XEP-0050 Make handle_command_xxx async
2021-03-09 19:24:43 +01:00
mathieui
e97f5ccb9c
Merge branch 'fix-0004-field-type' into 'master'
...
Fix 0004 field type
See merge request poezio/slixmpp!148
2021-03-08 21:10:20 +01:00
mathieui
432a332636
tests: Fix XEP-0060 tests for the new 0004 change regarding type attribute
2021-03-08 21:06:43 +01:00
mathieui
30b1d27fc1
XEP-0004: stanza, only delete field type if it is not 'hidden'
...
Not strictly required, but most XEPs use it like that for forms of
type='submit', and that makes it easier to write stanza tests.
2021-03-08 21:04:21 +01:00
mathieui
cb83ebe32c
Merge branch 'form-multi-attrib' into 'master'
...
XEP-0004: add "forms" as a multi-attrib plugin for Form
See merge request poezio/slixmpp!147
2021-03-08 18:53:56 +01:00
mathieui
cd0845515a
Merge branch 'typing-jid' into 'master'
...
JID: add some forgotten type hints
See merge request poezio/slixmpp!146
2021-03-08 18:53:40 +01:00