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
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)
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