Commit Graph

206 Commits

Author SHA1 Message Date
Vysheng
5308d0c6af Added --disable-extf to configure script 2014-10-21 20:47:57 +04:00
Vysheng
8d9861af5a Fixed no_ids 2014-10-13 13:46:24 +04:00
Vysheng
ca194bef13 Merge branch 'master' of https://github.com/grishka/tg into grishka-master 2014-10-13 13:44:58 +04:00
vvaltman
a6c00cde52 Added support for layer 18 2014-10-12 19:53:57 +04:00
Grishka
4882b0adb5 Add an option to use IDs instead of names
Useful for bots
2014-10-12 04:27:34 +04:00
vvaltman
6132516d5a added set_profile_name query 2014-10-09 21:38:45 +04:00
vvaltman
4604d4f374 Merge branch 'master' of github.com:vysheng/tg 2014-10-09 21:23:31 +04:00
vvaltman
c182b6d210 interface: fixed param type of rename_chat 2014-10-09 21:22:40 +04:00
Vysheng
54f6743db7 Merge github.com:vysheng/tg 2014-10-07 14:02:36 +04:00
Vysheng
a8a5de7489 Fixed geo 2014-10-07 14:02:19 +04:00
vysheng
d7f573ca81 Merge pull request #273 from burunduk3/master
exit on ctrl+D
2014-10-06 21:07:25 +04:00
Vysheng
62d3c07f34 Updated layer 17 2014-10-06 14:06:48 +04:00
Oleg Davydov
2867d3733b Merge branch 'master' of https://github.com/vysheng/tg 2014-10-06 02:08:35 +04:00
Oleg Davydov
465657d67b safe_quit on ^D 2014-10-06 02:08:28 +04:00
Vysheng
8fb606a7aa Added send_location query 2014-10-03 13:35:02 +04:00
Vysheng
283b8672a2 Fixed send queries by id 2014-10-01 14:34:55 +04:00
Vysheng
77ab47b638 support for some error codes 2014-09-29 20:48:27 +04:00
vvaltman
7affcd8968 Merge github.com:vysheng/tg 2014-09-29 16:12:15 +04:00
vvaltman
11bf4177cc Added dump-tl binary. Updated to 17 layer 2014-09-29 16:11:48 +04:00
David Parrish
fe9bd8ca91 Spelling correction to help 2014-09-25 15:38:13 -04:00
Vysheng
ce1d3a1369 Fixed readline_disable mode 2014-09-23 18:39:28 +04:00
Vysheng
df06d0858b Some more clear 2014-09-23 17:18:42 +04:00
Vysheng
c03d91a574 Fixed small memory leaks. Added functions to clear most part of data 2014-09-23 16:58:49 +04:00
vvaltman
6f51f9662b Support for unix sockets 2014-09-23 02:23:40 +04:00
vvaltman
e615891d88 Small bugfixes 2014-09-22 01:00:46 +04:00
vvaltman
5212522336 Fixes in refcnt 2014-09-21 12:58:57 +04:00
vvaltman
091b0608cb Added listening socket support 2014-09-21 02:22:35 +04:00
Vysheng
db3bd6f970 Fixed search 2014-09-18 19:14:24 +04:00
Vysheng
c71741599b Fixed help 2014-09-18 17:10:42 +04:00
vvaltman
ff97f2a424 rewitten input parse 2014-09-18 01:03:20 +04:00
vvaltman
ce61adac12 Fixed send_photo to encr chats 2014-09-12 00:57:59 +04:00
Vysheng
80d35a2d88 support for set_ttl query 2014-09-11 15:04:04 +04:00
Vysheng
2e0a7fda26 Check return values of malloc, realloc, strdup and strndup 2014-09-11 13:24:06 +04:00
Vysheng
1af0fb8432 del_contact query 2014-09-10 18:13:52 +04:00
Vysheng
88d420583d Added support for direct queries enter 2014-09-10 15:52:42 +04:00
vvaltman
4fe0014a66 Added [-D] (disable output) key 2014-09-09 21:05:36 +04:00
vvaltman
9f8828fc6a Try to add support of libevent 1.4.* 2014-09-07 23:12:39 +04:00
vvaltman
7d7a40a8b6 Fixed configure. Added fwd_media command 2014-09-07 19:17:35 +04:00
vvaltman
e9bb95554b Fixed parse of create_group_chat 2014-09-04 20:48:04 +04:00
Vysheng
f38ab35b5a Fixed chat_info 2014-09-03 20:32:56 +04:00
Vysheng
a0961fcc18 changed user#... to user#id... 2014-09-03 19:54:50 +04:00
Vysheng
7ce6dbbf0b Added send_contact function 2014-09-02 15:20:18 +04:00
Vysheng
4732a76e9e Fixed chat_add_user/chat_del_user queries 2014-09-02 14:27:23 +04:00
Vysheng
ae6b0d2e1f Fixed params types in create_group_chat 2014-09-02 14:22:26 +04:00
vvaltman
f5e6e3aa6b support for secret chats file in no-binlog mode 2014-08-31 18:18:19 +04:00
vvaltman
949aa7f92f Added export_card/import_card queries 2014-08-29 19:46:04 +04:00
vvaltman
bc5a7e671c Fixed encrypted chat updates. 2014-08-27 20:59:42 +04:00
vvaltman
9b956320e4 added accept_secret_chat 2014-08-27 19:40:21 +04:00
vvaltman
6593402144 Fixed visualize key in nocolor output mode. 2014-08-27 01:03:50 +04:00
vvaltman
a00f67c3a8 Added disable_readline. Do not try read stdin, after end of stdin reached 2014-08-26 22:26:00 +04:00
vvaltman
f344aec7c9 Updates in lua callbacks 2014-08-26 20:06:30 +04:00
vvaltman
7594c03562 More logic in autocompletion. Added set_chat_photo and set_profile_photo methods 2014-08-25 20:17:17 +04:00
vvaltman
49eb22916b interface updates 2014-08-25 04:11:41 +04:00
vvaltman
80998dc7ec Fixed bug in set_friend() 2014-08-24 20:49:06 +04:00
vvaltman
e57b7064bb Fixed licenses. libtgl is now distributed under LGPL 2.1+ 2014-08-22 02:02:43 +04:00
vvaltman
5064b17d69 Updated unread notification 2014-08-22 00:35:27 +04:00
vvaltman
d33d24d1f0 changes 2014-08-21 07:24:52 +04:00
vvaltman
9efad0f349 fixes 2014-08-21 05:56:53 +04:00
Vysheng
6707c11952 updates 2014-08-21 19:38:51 +04:00
vvaltman
969da08826 Merge branch 'master' of adm239:tg
Conflicts:
	interface.c
	tgl.h
2014-08-20 20:41:56 +04:00
vvaltman
f58b812b06 Fixes 2014-08-20 20:36:45 +04:00
Vysheng
d1096cba33 fixes 2014-08-19 16:57:55 +04:00
vvaltman
2b2cc686fc updates 2014-08-18 20:39:04 +04:00
vvaltman
cedc1d17d4 many fixes 2014-08-15 02:16:01 +04:00
Vysheng
bf86f75604 fixes 2014-08-13 19:55:16 +04:00
Vysheng
418cad58d1 Some refactoring 2014-08-13 16:56:55 +04:00
Vysheng
9959c0589f renamed user_chat_get to peer_get 2014-08-13 14:09:52 +04:00
vysheng
d3780ebeff Mant fixes. Sometimes work now 2014-08-13 01:22:15 +00:00
Thomas Wentzel
49f1321f77 Change type in message_action and message_media from int to unsigned. 2014-03-06 22:31:05 +01:00
vysheng
02c818f1d2 Update interface.c 2014-03-05 16:18:53 +03:00
vcuculo
69c2f61865 added support to sound notifications 2014-02-27 09:48:05 +01:00
René van Dorst
f0436e61ca Added command create_group_chat <user> <chat topic>.
Currently it supports only 1 user on creation.
Use chat_add_user to add more users to the chat.
2014-02-25 21:13:14 +01:00
Anders Iver Gjermo
1f134e445c catch NULL input in interpreter_chat_mode 2014-02-23 02:06:57 +01:00
vysheng
eed4f1235a Update interface.c 2014-02-21 14:23:37 +03:00
vysheng
133131eeb8 Update interface.c 2014-02-18 21:06:00 +03:00
Falk
d19c4c1294 Update interface.c to avoid error messages
When hitting enter (without writing anything) in an chat prompt always appears an error message telling you that the message is empty.
Checking the content of the line can avoid this.
I don't know is this behaviour is wrong or right.
So please forgive me if it doesn’t make sense.
2014-02-13 00:52:25 +01:00
falkartis
1507a88774 Help text updated.
I just added "You can see message numbers starting client with -N" to the load_photo and the view_photo description.
I've been in trouble because of not knowing how to download files so I think its use-full.
I'm not sure if it's how github works my idea was to Propose this change to the main branch.
2014-02-08 17:44:10 +01:00
Marcos Gómez Vilches
f325ad5460 Update interface.c
Fix typo in help command
2014-01-30 17:46:09 +01:00
Vysheng
8f63825890 added delete/restore messages queries 2014-01-24 19:05:41 +04:00
vysheng
71e5991c59 Fixed load audio 2014-01-17 18:16:35 +04:00
antma
e27a27c4a0 fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
antma
5de0d75942 add functions tstrndup (auto check return value of strndup calls) 2014-01-13 16:26:48 +04:00
vysheng
f06d3c1625 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
antma
52ee21f188 add field limit for sscanf call (fix libc versions older than 2.13-25) 2014-01-10 16:37:07 +04:00
antma
3795a77618 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
d94786957b Fixed autocompete in send_document 2013-12-24 15:58:31 +04:00
vysheng
c496266598 Added more checks on g_a and g 2013-12-24 15:29:18 +04:00
vysheng
069fe471ed Added safe_quit query. Useful in pipe mode 2013-12-21 15:53:32 +04:00
Vysheng
c9346a75f3 Fixed bug in document loading 2013-12-20 19:45:59 +04:00
Vysheng
41fc7c2278 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00
vysheng
28dd0f0e46 Added dump packets to file 2013-12-18 19:21:49 +04:00
Vysheng
d39a4e43c6 Updated help 2013-12-06 21:16:17 +04:00
Vysheng
9ebb3f7370 Added chat_with_peer command 2013-12-06 21:14:41 +04:00
Vysheng
2c9e51b4af Fixed bug 2013-12-06 20:40:52 +04:00
Vysheng
b1b4cd8b21 interface: added auto-completion for modifiers (only [offline] for now) 2013-11-30 22:52:13 +04:00
Vysheng
725c6669a7 Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
Vysheng
d095e607c2 fixed detailed info 2013-11-25 21:21:08 +04:00
Vysheng
d96450cd09 Added [offline] modifier 2013-11-25 21:16:34 +04:00
Vysheng
6fea158478 Chats added to binlog 2013-11-23 03:26:35 +04:00
Vysheng
bf94fee0e0 Merge github.com:vysheng/tg 2013-11-21 23:36:05 +04:00