| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #116
|
|
|
|
|
|
|
|
|
|
|
| |
By default purple asks for a password if there's none stored, but
when we use an access token we'll want to have no password prompt
at all. To do this we flag OPT_PROTO_PASSWORD_OPTIONAL
and then have to handle the case with no password manually.
Mostly cribbed from jabber/auth_cyrus.c
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
|
|
|
|
|
|
|
| |
Add a purple action (i.e. thing on the accounts->matrix-> menu)
to display the device ID and public key.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
using the "Group Typing Notifications" plugin
|
|
|
|
| |
Signed-off-by: Damien Zammit <damien@zamaudio.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turn on purple's image facility and cause the messages to be sent.
There are two tricky parts to this:
a) Purple's idea is a message that can include an image anywhere
in it; while Matrix's idea is that you have text events and image
events but currently no combo events. My (hacky) solution here
is to split purple messages into the text and image components.
b) Matrix's images are files that need uploading before the event
is sent, and the upload process gives a uri back that must
be included in the event. That means we have to somehow delay
sending the event until we have the file uploaded. I solve that
by using the event hook I added in an earlier commit.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
|
| |
|
| |
|
|
|
|
|
| |
Inverting it allows us to include a warning that it needs a bleeding-edge
synapse.
|
|
|
|
|
| |
Removed all of the stuff that got copied out of dummyprpl and isn't relevant to
matrix.
|
|
|
|
|
| |
Fixing this means purple is slightly less confused about who the users in our
chats are.
|
|
|
|
|
| |
Make the displayname on our sent messages match that in the member list for the
room.
|
|
|
|
|
| |
The Pidgin UI is crappy for finding old messages, so reload them from the
server on startup.
|
|
|
|
|
| |
After a connection disconnects, and is subsequently reconnected, mark the
affected conversations as active.
|
|
|
|
|
| |
Propagate received invites to the UI, and correctly handle accepting/refusing
them.
|
|
|
|
| |
Double-clicking on a room in the buddy list now joins a room if necessary.
|
|
|
|
|
| |
Now that we persist the next_batch identifier, we no longer get all of the
state for a room, so we need to explicitly fetch it on initial sync.
|
|
|
|
|
| |
Apart from seeming like the expected behaviour, this should stop us ending up
with segfaults when the sync completes after the connection has gone away.
|
|
|
|
|
|
|
| |
Move all matrix-login and bits of matrix-sync into matrix-connection, where
it seems to make more sense.
Also move MatrixConnectionData into matrix-connection.h
|
|
|
|
| |
Pull it out of the nullprpl mess, now that we are usign it properly.
|
| |
|
|
|
|
|
|
| |
Implement an event queue, and send messages through it.
We still need to sort out local echo.
|
|
|
|
|
| |
Username, password, and homeserver are now configurable options, and we use the
login api rather than making the user get their own access token.
|
|
|
|
| |
Make sure that we delete the room state structures when they are thrown away.
|
|
|
|
|
| |
Make sure we are consistent with the identifiers used for chats, so that
double-clicking on the name of a chat in the buddy list switches to that chat.
|
|
|
|
|
| |
This code needs tidying up, and I need to figure out how to stop the messages
appearing in the logs each time we commit, but it's clearly progress.
|
|
|
|
|
|
| |
Not quite sure if this is the right approach yet - in particular, purple
distinguishes between active 'conversations', as opposed to 'chats' in the
buddy list. Which should our chats be?
|
|
|
|
|
|
|
| |
Our first API call, woohoo.
At the moment we just call initialSync and don't do anything with the
response. But it's satisfying progress.
|
|
|
|
|
| |
whitespace-only change to give our base implentation a sensible indentation
style.
|
|
Still doesn't do anything, but at least it has the right name now...
|