Commit graph

77 commits

Author SHA1 Message Date
mjentsch
4843c4052d Remove linebreaks from user names 2014-10-10 17:28:10 +02:00
mjentsch
290a3251e6 Remove unused code 2014-10-06 22:56:02 +02:00
mjentsch
f16f32d8c4 Rename struct user to struct tgl_user to avoid namespace collisions with osx system headers 2014-10-04 20:36:54 +02:00
mjentsch
334101c406 Improve logging system 2014-10-03 14:23:15 +02:00
Christopher Althaus
164620f65d Add show user icons in buddy list 2014-09-20 23:20:14 +02:00
mjentsch
956a034be1 Add group chats 2014-09-07 20:56:44 +02:00
mjentsch
ce96381ef9 write secret chat file into user-specific directory and fix config path creation 2014-09-06 01:04:57 +02:00
mjentsch
d94dc52df0 Remove remaining global variables 2014-09-01 21:43:22 +02:00
Christopher Althaus
fa9d45bd20 User State/Typing implemented
Send Messages activated
2014-08-23 16:23:37 +02:00
mjentsch
5a425be62f Remove unused code and build files 2014-08-23 12:57:38 +02:00
mjentsch
832cf949f0 Fix message allocation 2014-08-23 11:18:42 +02:00
mjentsch
7ee334ec37 Fix user registration 2014-08-23 02:52:04 +02:00
mjentsch
7720beab6e Remove global configuration flags 2014-08-22 17:13:25 +02:00
mjentsch
32799a9086 Move binlog globals into a structure 2014-08-22 17:05:29 +02:00
mjentsch
1170ae5710 Implement state machine for dc discovery and login. 2014-08-08 08:45:58 +02:00
mjentsch
9e5b4ca5ec Refactor - Intermediate Commit 3 2014-08-06 19:45:46 +02:00
mjentsch
ed7aa7de5b Refactor Intermediate State 1 2014-07-29 15:36:59 +02:00
mjentsch
7fad1403ec Fetch chats and refactor libtelegram api 2014-07-11 19:57:32 +02:00
mjentsch
43a5a80c48 Set up stub for telegram library 2014-07-11 01:13:01 +02:00
mjentsch
2099d9fbc3 Rename printname to alias 2014-06-27 09:37:35 +02:00
mjentsch
d712b7e17f Add possibillity to listen to created users, chats and groups with event handlers and add some ability to exchange output functions with own callbacks 2014-06-22 23:36:52 +02:00
vysheng
8ff2ac447b fix to prev fix 2014-03-07 02:44:41 +04:00
vysheng
3383755b21 Fixed merge structures.c 2014-03-07 02:43:15 +04:00
Thomas Wentzel
11ab0194eb Got into a situation where telegram would crash upon startup, since fetch_encrypted_message_file would end up being called with a message_media of type CODE_decrypted_message_media_document. 2014-03-06 22:31:05 +01:00
Vysheng
856fba7fae Fixed registration. Fixed possible SIGSEGV in create_print_name 2014-02-07 19:40:39 +04:00
Vysheng
3b4bf372ab lua: added postpone message 2014-02-06 22:09:43 +04:00
Vysheng
e10ce5aa69 Use tree for peer_name search 2014-01-31 20:03:40 +04:00
antma
d8b16d5738 AES_KEY structure clean up 2014-01-23 19:49:57 +04:00
antma
2a817354ff fix free in the hypotetic case when binlog message contain NUL character in the middle 2014-01-21 18:36:46 +04:00
vysheng
48c2619bf8 strutures.c: fixed bad flags in get chat query 2014-01-15 16:10:52 +04:00
antma
eb2bc7f0ff fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
vysheng
feed5229b5 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
antma
bb24fba98f check return values of strdup and malloc
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00
vysheng
3421589432 Support for layer 11 2013-12-24 04:57:01 +04:00
Vysheng
ae29e1d933 Many fixes. 2013-12-02 21:19:08 +04:00
Vysheng
ee1f45ec3d Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
Vysheng
698004d92d Added [offline] modifier 2013-11-25 21:16:34 +04:00
Vysheng
2362d88266 added chat info to binlog 2013-11-25 20:13:36 +04:00
Vysheng
852c768736 Chats added to binlog 2013-11-23 03:26:35 +04:00
Vysheng
575fb9b001 Merge github.com:vysheng/tg 2013-11-21 23:36:05 +04:00
Vysheng
849d6a33a6 Sometimes new binlog works 2013-11-21 23:35:49 +04:00
vysheng
b23186b4e1 Merge github.com:vysheng/tg
Conflicts:
	interface.c
2013-11-19 21:01:18 +04:00
Vysheng
c41a38924a Fixed small bugs. Fixed login 2013-11-16 17:04:53 +04:00
vysheng
451f4134a0 Merge github.com:vysheng/tg 2013-11-15 14:37:34 +04:00
vysheng
a1ea8bd69c Added full support for layer 10 2013-11-15 14:37:14 +04:00
Vysheng
f3edaaa346 Partial support for binlog. It now can track user, secret chat and auth updates. 2013-11-15 04:08:24 +04:00
vysheng
1c6e84b999 Fixed bug in read config 2013-11-11 22:35:31 +04:00
vysheng
8c30413d6c Added configure script. Some interface fixes 2013-11-10 02:47:19 +04:00
vysheng
a725c0959f Support for chat create 2013-11-06 02:24:26 +04:00
vysheng
f4e8e8ca0c Some fixes with download/upload in encrypted chats 2013-11-05 03:46:12 +04:00