Commit Graph

88 Commits

Author SHA1 Message Date
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
Vysheng
06dee8bdbd Sometimes new binlog works 2013-11-21 23:35:49 +04:00
vysheng
a8cc367a16 Merge github.com:vysheng/tg
Conflicts:
	interface.c
2013-11-19 21:01:18 +04:00
Vysheng
78f3e7aa31 Added log level param 2013-11-15 20:14:25 +04:00
Vysheng
bbe5222651 Fixed assert on profile photo update 2013-11-15 16:59:06 +04:00
vysheng
33d15ff1c1 Added full support for layer 10 2013-11-15 14:37:14 +04:00
vysheng
65edc1789b Maybe it would compile on mac now 2013-11-11 15:34:45 +04:00
vysheng
6ce15fda97 Added configure script. Some interface fixes 2013-11-10 02:47:19 +04:00
vysheng
ea6ce649f8 Added quit comman 2013-11-09 22:23:11 +04:00
vysheng
8193960ccf Added queries online/offline/contacts_search 2013-11-09 13:51:07 +04:00
vysheng
18bc09b201 Added queries to add/delete user to group 2013-11-07 04:08:16 +04:00
vysheng
8d4dcf313c Improved help 2013-11-07 03:18:35 +04:00
vysheng
c509422ce5 Added global_search query 2013-11-07 03:12:40 +04:00
vysheng
9361621c53 Add suggested contacts query 2013-11-07 02:46:17 +04:00
vysheng
c713d80ded Some bugfixes. Add small thumb file to sent video 2013-11-07 02:16:46 +04:00
vysheng
d0adb13107 Support for chat create 2013-11-06 02:24:26 +04:00
vysheng
cce9841947 Many improvements in encrypted chats. Can not send/download encrypted messages, for example 2013-11-05 03:15:24 +04:00
vysheng
923845d668 Partial support for encrypted chats. 2013-11-04 21:34:27 +04:00
Vysheng
9dd3627afa Some code related to encrypted chat. Nothing works yet, but I believe it would work in the nearest future 2013-11-02 21:01:22 +04:00