Commit Graph

27 Commits

Author SHA1 Message Date
Pascal Abresch c4cbaf43f9 Enable presence requests 2021-12-22 23:16:57 +01:00
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 f9ce5c9c7f Start conversion to single window
With more than 3 windows, things become unmanageable.

Fixes #3
2020-08-21 14:08:17 +02:00
Adrien Destugues 26be1f9cc8 Add message carbons.
Fixes #56
2020-08-13 21:42:12 +02:00
Adrien Destugues 3340944e06 More switching to MessageSession 2020-08-13 15:09:16 +02:00
Adrien Destugues 0c9908c7bc Some cleanup and removal of UserID
Fixes some NULL dereferences when talking to people not in roster.
2020-08-12 14:37:19 +02:00
Adrien Destugues 96e2241a1c Cleanup some useless roster management things. 2019-09-30 11:49:32 +02:00
Adrien Destugues 1e81dec433 Move all roster handling into JRoster. 2019-09-30 11:33:15 +02:00
Adrien Destugues 9a3e225b35 Improve handling of invalid username/password
Go back to the main screen and highligh both fields since we don't know
which one is invalid.
2019-09-29 20:55:34 +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
Adrien Destugues 07a35ed217 Implement sending messages to group chats 2019-07-14 12:26:38 +02:00
Adrien Destugues cbc5f0e2ab Remove "SSL" box and support for manually overriding server
This is supposed to be handled using SRV DNS records, and is unrelated
to SSL anyways.
2019-07-14 10:28:30 +02:00
Adrien Destugues b8c40062c7 Remove some transmport related stuff.
Transport aren't really a cool thing these days, this code is in the old
Jabber implementation anyway, and it only handles IM networks that are
largely gone. We may reimplement this later, but for now it's easier to
have this out of the way.
2019-07-14 08:24:58 +02:00
Adrien Destugues 0e349ea402 Implement some multi user chat. 2019-07-13 19:42:59 +02:00
Adrien Destugues 416ad13ff8 Implement "software version" iq reply. 2019-07-13 16:30:41 +02:00
Adrien Destugues dfb2026af1 Migrate "SendPresence" to gloox. 2019-06-22 13:02:08 +02:00
Adrien Destugues 04c164a837 Add bookmarks retrieval
Allows to auto-join and remember conference rooms.
2019-06-21 20:55:03 +02:00
Adrien Destugues f7960fbafe Implement sending messages with gloox.
We have a minimal working XMPP client again :)
2019-06-10 14:52:31 +02:00
Adrien Destugues 23c206d2ff [WIP] Remove old network code and unused classes. 2019-06-05 22:59:29 +02:00
Adrien Destugues bbc97b68f3 [WIP] Replace jabber code with gloox
- Connecting to the server
- Getting roster and presence from contacts
2019-06-05 20:30:57 +02:00
siarzhuk 2f5e952f73 - support for handling id:iq:version.
git-svn-id: http://svn.osdrawer.net/jabber4beos@20 337aba2b-7447-0410-a794-ebbcc98ad26d
2009-11-14 17:27:55 +00:00
xed ce8ec237ed fixed some ssl configuraion stuffs
git-svn-id: http://svn.osdrawer.net/jabber4beos@3 337aba2b-7447-0410-a794-ebbcc98ad26d
2008-03-15 12:29:17 +00:00
xed c3f4216afd added SSL support
git-svn-id: http://svn.osdrawer.net/jabber4beos@2 337aba2b-7447-0410-a794-ebbcc98ad26d
2008-03-10 01:13:03 +00:00
xed 473de763da initial checkin
git-svn-id: http://svn.osdrawer.net/jabber4beos@1 337aba2b-7447-0410-a794-ebbcc98ad26d
2008-03-03 22:52:07 +00:00