Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make non-standard SCRAM SHA alogos as opt-in #22

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1a2709c
Add draft SM implementation in porter, ack only
rufferson Oct 14, 2020
5b4a94d
Replace whitespace with SM pings when SM is inabled
rufferson Oct 16, 2020
e4a6ea8
Extend wocky API for SM resumption
rufferson Nov 1, 2020
24c0a06
Add connection resumtion to wocky_c2s_porter
rufferson Nov 1, 2020
c2fc4a4
Add controls to manage resumption and reconnection vector
rufferson Nov 14, 2020
b1aa1f9
Track the change of porter properties from session
rufferson Nov 14, 2020
5eab976
Extend wocky_c2s_porter api to expose SM internals
rufferson Nov 17, 2020
15dbf2a
Fix handled attribute processing
rufferson Nov 22, 2020
1c6a731
Add SM enable, ack and wrap unit tests
rufferson Nov 14, 2020
39b7811
Make libsasl2 optional even for explicit scram mech tests
rufferson Nov 27, 2020
7ee2c7c
Bump wocky api version to 0.2 due to SM changes
rufferson Dec 2, 2020
d98a15d
Allow replacing channel managers in wocky-connector
rufferson Dec 19, 2020
48050c3
Force reconnect on hb timeout
rufferson Feb 16, 2021
bf6796f
Fix warnings when compiling for Sailfish OS
noonien-d Feb 20, 2021
6b36dcc
Remove duplicate and unused declarations
rufferson Jan 6, 2021
ac477dd
meson: Yield project options to super-project
rufferson Apr 15, 2021
9977b78
DOC: add gtk-doc meson.build and fix doc.sgml template
rufferson Apr 12, 2021
5da965c
Add missing gir includes
rufferson Apr 12, 2021
0fd16fc
GIR: fix/add annotations and types: wocky-auth-registry
rufferson Apr 18, 2021
046c939
GIR: fix/add annotations and types: wocky-connector
rufferson Apr 18, 2021
e4a34c3
GIR: fix/add annotations and types: wocky-contact-factory
rufferson Apr 18, 2021
d6dfc5e
GIR: fix/add annotations and types: wocky-google-relay
rufferson Apr 18, 2021
ab87192
GIR: fix/add annotations and types: wocky-jingle-info
rufferson Apr 18, 2021
5b9dfef
GIR: fix/add annotations and types: wocky-jingle-session
rufferson Apr 18, 2021
723ba46
GIR: fix/add annotations and types: wocky-jingle-transport-iface
rufferson Apr 18, 2021
15724e5
GIR: fix/add annotations and types: wocky-porter
rufferson Apr 18, 2021
e9b288e
GIR: fix/add annotations and types: wocky-pubsub-node
rufferson Apr 18, 2021
f8cf67d
GIR: fix/add annotations and types: wocky-pubsub-service
rufferson Apr 18, 2021
8cb1956
GIR: fix/add annotations and types: wocky-resource-contact
rufferson Apr 18, 2021
0bf8192
GIR: fix/add annotations and types: wocky-stanza
rufferson Apr 18, 2021
9ae74e0
GIR: fix/add annotations and types: wocky-jingle-content
rufferson Apr 26, 2021
886e7a8
DOC: fix/add documentation: wocky-jingle-types
rufferson Apr 26, 2021
5bee707
DOC: fix/add documentation: wocky-ll-contact
rufferson Apr 26, 2021
9f17745
DOC: fix/add documentation: wocky-sasl-scram
rufferson Apr 26, 2021
8481870
DOC: fix/add documentation: wocky-tls
rufferson Apr 26, 2021
0d8226a
GIR: fix/add annotations and types: wocky-jingle-media-rtp
rufferson Apr 28, 2021
54edcc7
GIR: fix/add annotations and types: wocky-xmpp-error
rufferson Apr 28, 2021
78e5b5d
GIR: fix/add annotations and types: wocky-c2s-porter
rufferson Apr 28, 2021
5b50e40
GIR: DOC: fix/add annotations, documentations and types: various
rufferson Apr 28, 2021
817ec7c
Add gir and gtkdoc build in github pipeline
rufferson Apr 28, 2021
ed8c432
Make non-standard SCRAM SHA algos opt-in
rufferson Apr 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
GIR: fix/add annotations and types: wocky-contact-factory
rufferson committed Apr 27, 2021
commit e4a34c3bf18357f934055a2f8cf2a6eea6d10295
32 changes: 16 additions & 16 deletions wocky/wocky-contact-factory.c
Original file line number Diff line number Diff line change
@@ -259,8 +259,8 @@ wocky_contact_factory_new (void)
* is used, but if the contact is not found in the cache, a new
* #WockyBareContact is created and cached for future use.
*
* Returns: a new reference to a #WockyBareContact instance, which the caller
* is expected to release with g_object_unref() after use.
* Returns: (transfer full): a new reference to a #WockyBareContact instance,
* which the caller is expected to release with g_object_unref() after use.
*/
WockyBareContact *
wocky_contact_factory_ensure_bare_contact (WockyContactFactory *self,
@@ -292,9 +292,9 @@ wocky_contact_factory_ensure_bare_contact (WockyContactFactory *self,
* Looks up if there's a #WockyBareContact for @bare_jid in the cache, and
* returns it if it's found.
*
* Returns: a borrowed #WockyBareContact instance (which the caller should
* reference with g_object_ref() if it will be kept), or %NULL if the
* contact is not found.
* Returns: (transfer none): a borrowed #WockyBareContact instance (which the
* caller should reference with g_object_ref() if it will be kept), or %NULL if
* the contact is not found.
*/
WockyBareContact *
wocky_contact_factory_lookup_bare_contact (WockyContactFactory *self,
@@ -314,8 +314,8 @@ wocky_contact_factory_lookup_bare_contact (WockyContactFactory *self,
* The factory cache is used, but if the resource is not found in the cache,
* a new #WockyResourceContact is created and cached for future use.
*
* Returns: a new reference to a #WockyResourceContact instance, which the
* caller is expected to release with g_object_unref() after use.
* Returns: (transfer full): a new reference to a #WockyResourceContact instance,
* which the caller is expected to release with g_object_unref() after use.
*/
WockyResourceContact *
wocky_contact_factory_ensure_resource_contact (WockyContactFactory *self,
@@ -362,8 +362,8 @@ wocky_contact_factory_ensure_resource_contact (WockyContactFactory *self,
* Looks up if there's a #WockyResourceContact for @full_jid in the cache, and
* returns it if it's found.
*
* Returns: a borrowed #WockyResourceContact instance (which the caller should
* reference with g_object_ref() if it will be kept), or %NULL if the
* Returns: (transfer none): a borrowed #WockyResourceContact instance (which the
* caller should reference with g_object_ref() if it will be kept), or %NULL if the
* contact is not found.
*/
WockyResourceContact *
@@ -384,7 +384,7 @@ wocky_contact_factory_lookup_resource_contact (WockyContactFactory *self,
* The factory cache is used, but if the contact is not found in the cache,
* a new #WockyLLContact is created and cached for future use.
*
* Returns: a new reference to a #WockyLLContact instance, which the
* Returns: (transfer full): a new reference to a #WockyLLContact instance, which the
* caller is expected to release with g_object_unref() after use.
*/
WockyLLContact *
@@ -419,9 +419,9 @@ wocky_contact_factory_ensure_ll_contact (WockyContactFactory *self,
* Looks up if there's a #WockyLLContact for @jid in the cache, and
* returns it if it's found.
*
* Returns: a borrowed #WockyLLContact instance (which the caller should
* reference with g_object_ref() if it will be kept), or %NULL if the
* contact is not found.
* Returns: (transfer none): a borrowed #WockyLLContact instance (which the
* caller should reference with g_object_ref() if it will be kept), or %NULL if
* the contact is not found.
*/
WockyLLContact *
wocky_contact_factory_lookup_ll_contact (WockyContactFactory *self,
@@ -468,12 +468,12 @@ wocky_contact_factory_add_ll_contact (WockyContactFactory *self,

/**
* wocky_contact_factory_get_ll_contacts:
* @factory: a #WockyContactFactory instance
* @self: a #WockyContactFactory instance
*
* <!-- -->
*
* Returns: a newly allocated #GList of #WockyLLContact<!-- -->s which
* should be freed using g_list_free().
* Returns: (transfer container)(element-type WockyLLContact): a newly allocated
* #GList of #WockyLLContact<!-- -->s which should be freed using g_list_free().
*/
GList *
wocky_contact_factory_get_ll_contacts (WockyContactFactory *self)
2 changes: 1 addition & 1 deletion wocky/wocky-contact-factory.h
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ WockyLLContact * wocky_contact_factory_lookup_ll_contact (
void wocky_contact_factory_add_ll_contact (WockyContactFactory *factory,
WockyLLContact *contact);

GList * wocky_contact_factory_get_ll_contacts (WockyContactFactory *factory);
GList * wocky_contact_factory_get_ll_contacts (WockyContactFactory *self);

G_END_DECLS