Commit Graph

14 Commits

Author SHA1 Message Date
Adrien Destugues 983900e69b Add user avatars (XEP-0084)
- Add PubSub logic so we can request and handle the avatars
- Add base64 decoding + image decoding
- Rework roster item size and drawing to fit the avatar in
- Add a cache dir to store the avatars in
2020-11-22 18:16:46 +01:00
Adrien Destugues 41b154c07b Implement vcard support.
Populate the "get buddy info" window with vcard data.
2020-11-21 22:05:56 +01:00
Adrien Destugues d83b9da974 Fix link to doap xsl 2020-08-17 16:32:08 +02:00
Adrien Destugues 26be1f9cc8 Add message carbons.
Fixes #56
2020-08-13 21:42:12 +02:00
Adrien Destugues 997da513ac XEP-0115 is supported (by gloox internally)
This means we're core/core client compliant, yay!
2020-03-29 10:55:55 +02:00
Adrien Destugues 2711345e19 Trust gloox on SSL certificates validation
I checked the Gloox sources and it already validates the certificate
validity dates as well as the server name. There is nothing more we need
to validate. We may want better handling (explicit error on invalid SSL,
allowing to ignore certificate problems, allow the user to set up their
own certs, etc), but that can be tracked in separate issues.

Fixes #30
2020-03-28 14:03:17 +01:00
Adrien Destugues d772d93712 We do support the /me command. 2020-03-28 11:58:53 +01:00
Adrien Destugues 244cfb45d0 XEP-0077: in-band registration
Only the version with data forms is supported, not the legacy fixed
fields one. Error handling is not perfect yet and can likely be
improved.

To be tested more extensively after gloox get support for SRV records
(so we're sure to connect correctly to the server)
2019-09-29 17:13:50 +02:00
Adrien Destugues 7c38c7ee86 Fix setting friendly names (users and bookmarks) 2019-09-28 22:54:27 +02:00
Adrien Destugues d6cbfe4ad9 Work on bookmarks
- Remove "channels" menu and instead list group chats in the roster view
- Allow joining a group chat by double ckicking on it in the roster
- Support for bookmarks2 (XEP-0402). XEP-0048 is also implemented, but
  currently disabled.
- Joining a group chat adds it to the bookmarks with autojoin enabled,
  unless it is not an user initiated action (for example, someone else
  invited you in a room)
- Leaving a groupchat adds it to the bootkmarks, with autojoin disabled
  (so you can easily access the server-side history for it or join back)
- Bookmarks can be deleted by right click->remove in the Roster.

Fixes #32, #40
2019-09-28 21:08:36 +02:00
Adrien Destugues e2d14a545c [WIP] XEP-0077 In-Band Registration
Also includes several cleanups, refactoring, etc

TODO:
- Send back dataform to the server
- Handle OOB data
- Handle legacy fields again
- Better error handling
- Complete BOB and Media handling for captchas
- Finish support for previous/next navigation in registration wizard
  (cleanup already added views, etc)

Future considerations:
- Drop JabberSpeak.cpp completely and use GlooxHandler instead
  everywhere
2019-09-27 22:34:47 +02:00
linkmauve 38ed07dc10 doap: update to the latest specification (#34)
The xmpp-doap extension has be simplified to only expose the
SupportedXep class and its children properties, as well as categories,
and reuses DOAP to the maximum.
2019-07-27 18:37:16 +02:00
Adrien Destugues a34dec7825 doap: add support for XEP-0030
Gloox handles service discovery for us, so that's easy.
2019-07-14 14:12:47 +02:00
Adrien Destugues 56418a83b6 Add a doap file.
Should help the XSF keep track of which client implements which feature,
for a "caniuse.com" like website.
2019-07-14 13:36:42 +02:00