Commit Graph

36 Commits

Author SHA1 Message Date
9e11402d31 include gateway handling into the event loop 2020-01-14 14:36:11 +01:00
24e3cb62bc add preliminary timeformat to chat windows 2019-07-29 19:42:15 +02:00
bd88d735eb try out a queue API to notify "listeners" of the session
I was always unsure on what to do: a callback or a simple queue for
dc_event_t. But since we already have dc_event_t (and ref counting)
this seemed like the best solution.
2019-07-23 20:01:12 +02:00
318c874dc6 support for changing online status 2019-07-23 18:37:11 +02:00
ce02d57e97 add copyright header everywhere 2019-07-20 15:22:51 +02:00
c3a447d44f fix a whole slew of memory leaks, and fix an internal ref mismatch 2019-07-20 14:43:37 +02:00
f51e371f23 allow joining by snowflake 2019-07-20 13:03:45 +02:00
d86a386edd introduce a /join command for guild text channels 2019-07-20 12:51:07 +02:00
d9c276c68c properly use parent_ids by storing them in a hash first 2019-07-20 09:09:22 +02:00
a9f23fc278 optimise tree view a tiny bit
don't refresh all the time, wait for the data to be ready. waiting on
the data is not a good idea either, but it is better than to
continously refresh all the data
2019-07-19 21:32:22 +02:00
af49931b49 preliminary guild view in the side bar 2019-07-19 20:52:12 +02:00
b879151e07 add online status to friends overview 2019-07-19 16:09:28 +02:00
ab65d49605 implement channel acking and new messages 2019-07-12 18:30:44 +02:00
b8fa202ce3 implement message sending to channels 2019-07-12 11:53:32 +02:00
f742f29fcc handle incoming messages through MESSAGE_CREATE 2019-07-11 20:06:51 +02:00
6d7c7e641f revamp handling of channels 2019-07-10 20:16:47 +02:00
b6cffac1d9 parse READY event to get information for session 2019-07-10 19:04:41 +02:00
30fb4a73df switch over to use sessions 2019-07-10 14:30:37 +02:00
ffcc9f60f7 just add skeleton request handling 2019-07-09 21:46:17 +02:00
b2fc9cbb62 semi working gateway implementation 2019-07-09 21:44:23 +02:00
91bdd23a72 web sockets are hard 2019-07-08 23:29:08 +02:00
c3f4f5a180 fetch messages for channels and display them 2019-07-08 18:38:24 +02:00
7a15fe6752 implement logout command 2019-07-08 13:04:53 +02:00
a164afe170 began work on a msg command 2019-07-05 16:40:16 +02:00
e2bdd05775 first channel API 2019-07-05 13:37:50 +02:00
be4e5cedc3 build channel object for chat channels 2019-07-04 20:58:08 +02:00
7f5ceff688 full friends list support, add remove, and accept 2019-07-04 19:25:38 +02:00
efce6a6543 implement adding friends 2019-07-03 22:47:12 +02:00
de6d02fd58 suddenly friend listing support 2019-07-03 21:14:23 +02:00
b307906cf4 massive improvements all abound 2019-07-02 21:53:29 +02:00
e9bf4d0986 steps towards an ncurses API 2019-06-26 10:48:55 +02:00
523725f375 began work on guilds 2019-06-25 18:20:27 +02:00
aed7dacf29 store json information in account 2019-06-25 17:00:25 +02:00
42183539d3 move the libevent2 <> CURL stuff into the library 2019-06-25 16:18:15 +02:00
1be026187c dump information 2019-06-25 15:01:36 +02:00
05694d2611 split into library and applications 2019-06-25 14:52:38 +02:00