Commit Graph

223 Commits

Author SHA1 Message Date
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
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
vysheng
5b8a4fdc60 Some changes to add encrypted chat in nearest future 2013-11-02 14:14:30 +04:00
Vysheng
b70f868e0b Added search query. But it seems, that search does not use stemmer 2013-11-01 19:02:28 +04:00
vysheng
970cbcd3c7 Fixed fail on empty command line 2013-11-01 15:27:08 +04:00
vysheng
cdea9ca872 id for users and chats renamed to peer_id_t. This will make implementing secure chats and geochats easier 2013-11-01 03:18:34 +04:00
vysheng
f4dcc50946 Added add_contact/rename_contact queries 2013-10-30 14:10:16 +04:00
vysheng
c4e3052db6 Fixed inerface 2013-10-30 04:08:30 +04:00
vysheng
3be908e7da Fixed interface: show download/upload progress 2013-10-29 02:33:13 +04:00
vysheng
e858db0964 Fix to prev commit 2013-10-29 01:57:22 +04:00
vysheng
6d2c6ad5b5 fixed interface. Small changes. 2013-10-29 01:56:17 +04:00
vysheng
feac506628 interface.c: fixed bug with tabs after help command. Added new items to help 2013-10-28 23:14:34 +04:00
Vysheng
efb1b482f2 Fixed change from v1 of auth file to v2 2013-10-28 03:24:03 +04:00
vysheng
62f7295ff7 Load photo/video. Now works only with current DC. 2013-10-27 23:35:02 +04:00
Vysheng
d7b25cca90 Support for chat rename 2013-10-26 02:33:17 +04:00
vysheng
4f494a579c fwd message 2013-10-25 23:50:10 +04:00
vysheng
e20f9e498f Added user_info query 2013-10-25 21:29:02 +04:00
vysheng
f11664c281 Added some fixes required by GPL 2013-10-25 13:28:29 +04:00
Vysheng
7d61e25a3b Print info about forwarded message 2013-10-25 02:21:52 +04:00
vysheng
3fc3d33130 Added help. FIxed get dialog list 2013-10-24 22:22:11 +04:00
vysheng
65c5cbe137 Added unread count 2013-10-24 19:44:54 +04:00
vysheng
f9cf392960 Fixed some bugs. Fixed interface 2013-10-24 11:38:32 +04:00
Vysheng
3755d426ed Fixed geopoint link view 2013-10-23 22:23:33 +04:00
vysheng
e5cc589a0f Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
vysheng
94d55325b4 Added chat_info query. Fixed interface 2013-10-23 14:24:59 +04:00
vysheng
db8a7a774b Some fixes 2013-10-22 19:28:41 +04:00
vysheng
b1d8835540 Added send_text query 2013-10-22 12:36:07 +04:00
Vysheng
6893fca713 Added fetch of all updates. Added print of service messages 2013-10-21 23:27:29 +04:00
Vysheng
1c0ba265f0 Support for sending photos. Some fixed bugs. Slightly changed interface 2013-10-21 22:24:31 +04:00
vysheng
6cc1b3d349 Fixed small bug. Changed interface 2013-10-18 23:30:24 +04:00
vysheng
820840ec4d Fixed some compilation errors 2013-10-18 22:00:19 +04:00
Vysheng
1ceaa48b78 Fixed hostory for queries 2013-10-18 20:05:55 +04:00
Vysheng
e40ae9590d Many bug fixes. Added dialog_list query 2013-10-18 20:00:47 +04:00
Vysheng
a8a18a8076 Sometimes updates work 2013-10-16 23:19:39 +04:00
Vysheng
baa56b709c Commit parse of many structures (message, chat, photo, etc) 2013-10-14 21:26:25 +04:00
Vysheng
bf291df34a Many fixes. Now (maybe) works authorization and get contact list query 2013-10-13 14:18:08 +04:00
Vysheng
3243c29a8c Big commit 2013-10-12 00:52:20 +04:00
vysheng
f773c0cf18 tab replaced with spaces 2013-10-03 20:10:53 +04:00
vysheng
9c70da9ed7 many fixes 2013-10-03 20:09:06 +04:00
vysheng
78f4d71855 Added some files 2013-10-03 16:38:25 +04:00