Artem Savkov
0d2866c2a2
Merge pull request #1 from Ranndom/master
...
Update Makefile to install into DESTDIR
2015-11-26 09:35:21 +01:00
Ranndom
33d5ee33d4
Updated Makefile to install into DESTDIR
2015-11-26 18:10:02 +10:00
Artem Savkov
be03b1acf6
Add debug CFLAGS.
...
Add debuginfo flags and disable optimizations.
2015-10-12 10:34:48 +02:00
Artem Savkov
fff024e981
Add status code check in login callback.
...
Check status codes in discord_login_cb the same way we do it in other callbacks.
2015-10-12 10:33:51 +02:00
Artem Savkov
4acde534f7
Make sure to add account user last to each channel
2015-10-07 17:15:04 +02:00
Artem Savkov
bdc73da6c6
Check access before joining a channel.
...
Try to pull the last message before actually joining the channel.
2015-10-07 17:12:56 +02:00
Artem Savkov
e33a51028e
Add support for sending private messages.
2015-10-07 15:24:35 +02:00
Artem Savkov
9f062c2533
Make fetch interval and host configurable.
2015-10-07 13:52:35 +02:00
Artem Savkov
d86f6b1be9
Do not print backlog on connect
2015-10-07 13:43:06 +02:00
Artem Savkov
7d3e48b709
Add support for receiving private messages.
2015-10-07 12:53:42 +02:00
Artem Savkov
554f58bcaa
Remove im_connection from channel info.
...
Remove it since it is already present in struct groupchat.
2015-10-07 10:41:44 +02:00
Artem Savkov
ea536f8bb0
Haul userdata around.
2015-10-07 10:35:36 +02:00
Artem Savkov
32e6b87722
Get rid of debug printouts.
...
Those are not needed anymore.
2015-10-07 10:15:46 +02:00
Artem Savkov
dc73017b5d
Add a generic send message function.
...
It should be able to work with both chat and buddy messages later.
2015-10-07 10:12:21 +02:00
Artem Savkov
0e17b90830
Add support for sending messages.
...
Channels only at the moment.
2015-10-06 17:28:32 +02:00
Artem Savkov
db3bda80e8
Add message polling
...
Add message polling with hardcoded timeout (5 sec atm), also while at it
add support for multiple servers, topic and 403 (no access) channel handling.
2015-10-06 17:09:36 +02:00
Artem Savkov
113c703673
Dump last 20 messages on connect.
...
Dumping last 20 messages(hardcoded atm) for each channel on connect.
2015-10-06 13:40:03 +02:00
Artem Savkov
4e7a45eeff
Include server name in channel topic
2015-09-16 11:24:01 +02:00
Artem Savkov
1e42442b96
Add server/channel/user info.
...
It is now able to grab info about channels and users and create those channels.
2015-09-15 16:47:08 +02:00
Artem Savkov
cca4ffc846
Fix gstring leak in discord_login
2015-09-15 11:00:46 +02:00
Artem Savkov
b9872d950f
Move GET requests to separate function.
...
We'll need lots of those, it seems, moving to a separate function.
2015-09-15 10:57:56 +02:00
Artem Savkov
29a7540308
Save id from info about self.
...
This is needed for later chatlist queries.
2015-09-15 10:32:08 +02:00
Artem Savkov
5f9b6c11c1
Add getting info about self.
...
Calling /users/@me right after login to get info about self. So far this is
just for debugging purposes. Leaving in case it may come in handy later, if not
- this can be reverted.
2015-09-14 17:12:11 +02:00
Artem Savkov
0c04299523
Implement initial auth.
...
The plugin is now able to get auth token using account's credentials.
2015-09-14 16:58:21 +02:00
Artem Savkov
6407be9ced
Initial derp
2015-09-11 17:48:41 +02:00