-
Notifications
You must be signed in to change notification settings - Fork 15
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
Switch to XMPP library gloox #114
Conversation
lnjX
commented
Jun 19, 2017
•
edited
Loading
edited
- Add CMake dependency
- Add gloox client in the Kaidan class
- Rewrite MessageController
- Rewrite RosterController
- Rewrite PresenceController (including software version / entity identity)
- Rewrite Kaidan class
- Rewrite everything else
- Remove Swift Client
- Remove Swift/Boost dependencies
- Update dependencies in the README
- Update QML API documentation
- Add Logger for incoming/outgoing XML
- Add Delayed Delivery (messages with timestamp)
This will be merged using rebase/fast-forward and the commit history in here will be kept. |
Now also Message Delivery Receipts work again! :) |
Now we have nearly everything in gloox again. :) |
Does anyone want to try out if compiling Kaidan still works with the new dependencies (and the gloox rewrite). Before I push this to master ... |
Rewrote the MessageController into a MessageSessionHandler and a MessageHandler. It still supports everything as before (e.g. Message Receipts).
The Sub/Unsub management in gloox is done in the Roster/RosterListener/RosterUpdater. Therefore the PresenceHandler is currently useless. (Probably will change in the future) Sub requests are accepted automatically and the user will be unsubbed on incoming unsub requests (when the other entity unsubs from the user).
This rewrites the service discovery manager using gloox. XMPP Ping and Software Version are automatically anounced by gloox.
These classes need to be revised (besides the gloox rewrite). They are currently not used anyway. The gloox rewrite can be finished before these classes are redone.
This new XmlLogHandler will print all incoming and outgoing XML in a pretty format onto the console. It's using the QXml module.
It covers both implementations: XEP-0091 (deprecated) and the new XEP-0203.
Now the QML API documentation is up to date again with the gloox rewrite.
Updated all dependecies and the description.
I tried to compile Kaidan in a chroot with the new dependencies in the README - It works. :) |
The management of the lastMessage and the unreadMessageCount for each contact are now located in the MessageHandler. This fixes that these functions were not called and the features were not usable.