nicoco
fdca7d82c4
XEP-0461: fix character counting
...
Turns out we need to include the fallback/end code point,
unlike python slicing conventions
2022-11-28 07:15:26 +01:00
nicoco
9b89401b36
XEP-0461: add get fallback body helper
2022-11-22 10:23:52 +01:00
nicoco
9b51be1e17
XEP-0461: add quoted fallback helper
2022-11-22 08:49:00 +01:00
nicoco
89b1e1e682
XEP-0461: use integers for fallback start/end
2022-11-22 08:45:04 +01:00
nicoco
c2ece57dee
Add XEP-0055 (Jabber Search)
2022-09-11 23:22:44 +02:00
nicoco
450aaa7f86
XEP-0461: Message Replies
2022-08-20 13:35:38 +02:00
Nicolas Cedilnik
a1a5f3984d
XEP-0356: namespace version bump
2022-06-09 16:45:36 +02:00
7222ade0dd
xep_0454: Ensure format_url returns a str
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-19 10:31:34 +01:00
14a6c7801d
tests: XEP-0454
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-19 10:31:34 +01:00
mathieui
ad610c7ded
Fix the XEP-0444 stanza test
2022-03-07 21:31:13 +01: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
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
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
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
Nicoco K
eac5ad50a8
XEP-0050 Make handle_command_xxx async
2021-03-09 19:24:43 +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
5a3ab2c5c1
tests: enable and fix RSM test for XEP-0030
2021-03-07 20:43:44 +01:00
Nicoco K
9b5f3d9df0
Add XEP-0100 (Gateway Interaction) plugin
...
Remove usused prompt_future attribute
Add plugin_end
Update with mathieui's comments
Add option to transfer messages from unregistered users
XEP 0100 plugin
2021-03-02 18:54:22 +01:00
mathieui
bea2669907
XEP-0403: Add stanza tests
2021-02-27 13:21:13 +01:00
mathieui
a288094b64
XEP-0405: add stream tests
2021-02-27 13:21:13 +01:00
mathieui
504067d5a8
XEP-0077: API changes
2021-02-26 00:08:56 +01:00
mathieui
d17967f58e
XEP-0047: API changes
...
and fix unit tests broken for years.
2021-02-26 00:08:56 +01:00
mathieui
13de36baa1
XEP-0030: API changes
...
- ``supports``, ``has_identity``, ``get_info``, ``get_items`` are now coroutines
- ``set_info````set_items``, ``del_items``, ``add_item``, ``add_identity``,
``del_identity``, ``set_identities``, ``del_identities``, ``add_feature``,
``del_feature``, ``set_feature``, ``set_features``, ``del_features``
now return a Future
also fix has_identity and supports which have been broken in forever
2021-02-26 00:08:56 +01:00
mathieui
a397cc3a7d
tests: fix prerequisites for stanza tests
2021-02-19 19:03:46 +01:00
mathieui
626bf5ff8a
Merge branch 'component-registration' into 'master'
...
Add registration to components
See merge request poezio/slixmpp!130
2021-02-18 20:05:25 +01:00
Nicoco K
cef7b5cf05
Add registration to components
2021-02-18 20:05:25 +01:00
Nicoco K
dcab3de1b4
Privileged entities (XEP-0356)
2021-02-18 20:03:22 +01:00
mathieui
bbcc977d1d
tests: update 0047 tests to reflect new API
2021-02-13 20:23:21 +01:00
mathieui
cccc1253aa
XEP-0045: add more elements (<actor/>)
2021-01-10 15:07:48 +01:00
mathieui
b4dd1e0132
CI: Skip test if the emoji dep is not here
2021-01-10 11:12:00 +01:00
mathieui
b63dc3bc8c
XEP-047: Room Activity Indicators
...
Implement the XEP
2020-12-08 18:56:26 +01:00
mathieui
a1ef32a122
CI: do not require the emoji package
2020-12-06 21:58:10 +01:00
Emmanuel Gil Peyrot
cd4c9f82fc
Remove OrderedDict usage
...
We now support only Python 3.7+, this means we can rely on dict being
ordered by order of insertion, and thus no need to use OrderedDict from
collections.
2020-12-06 17:00:47 +01:00
mathieui
fdb0749cd1
XEP-0422,0424,0425,0439: Add basic stanza tests
2020-12-04 19:45:05 +01:00
mathieui
8eb756d55c
XEP-0045: Add basic stanza tests
2020-12-04 00:27:26 +01:00
mathieui
380f0e4e38
Tests: Remove tabnanny
...
it is not actively useful and takes 70% of the time of the tests
2020-12-04 00:20:51 +01:00
mathieui
15bf6bc827
XEP-0405: add basic stanza tests
2020-12-02 19:17:33 +01:00
mathieui
3d1615ea54
XEP-0369: add basic stanza tests
2020-12-02 19:17:33 +01:00
mathieui
ddc3974d1b
Update protoxep_reactions to XEP-0444
2020-11-27 19:44:13 +01:00
cec34686fc
New XEP: 0421 Occupant-id
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-27 22:39:52 +02:00
mathieui
28123083f7
Add stanza tests for 0377
2020-05-24 15:00:20 +02:00
mathieui
aa11ba463e
Skip 0323 because
2019-12-27 15:27:28 +01:00
d50d996c68
xmlstream/stanzabase: remove unused interfaces and types attributes
...
These are already on each stanza, and were not applicable to all stanzas
anyway.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-16 11:26:54 +02:00
mathieui
b42fafabb4
Make the cache encode and decode not crash if something goes wrong
2019-02-02 17:42:24 +01:00
mathieui
3a44ec8f15
Add tests for the cache api
2019-02-02 17:32:10 +01:00
Florian Klien
897610d819
fix: failUnlessEqual -> assertEqual
2018-10-15 14:59:23 +02:00
Florian Klien
d33366badd
fixing deprecation warnings for pytest
2018-10-15 14:59:23 +02:00
Emmanuel Gil Peyrot
9f6fa65139
examples, tests: Replace all @asyncio.coroutines with proper async functions.
2018-08-19 17:47:26 +01:00