Commit Graph

240 Commits

Author SHA1 Message Date
vvaltman
4dff2a3f4f updated tgl. load_user_photo/load_chat_photo methods 2015-04-30 13:00:16 +03:00
vvaltman
8e647e5a92 some fixes 2015-04-28 15:21:50 +03:00
vvaltman
20435fad1b fixes 2015-04-27 17:52:19 +03:00
vvaltman
f144d3ff30 added get message query 2015-04-27 13:43:31 +03:00
vvaltman
6e86f81e27 fixed clear. added view command to view urls and geo 2015-04-24 18:48:54 +03:00
vvaltman
5da1506e21 some small fixes. new tgl 2015-04-24 16:19:13 +03:00
vvaltman
fe1c9e345c simple reply support 2015-04-24 14:08:01 +03:00
vvaltman
232a9f12d9 some fixes. updated tgl 2015-04-24 12:38:21 +03:00
vvaltman
443412cded updated tgl 2015-04-23 19:43:05 +03:00
vvaltman
8bcd9378a0 partial reply support 2015-04-23 18:22:11 +03:00
vvaltman
ff1057eaae fixes 2015-04-22 20:09:53 +03:00
Vysheng
048bcb2c91 updated to latest version of tgl. fixed output of attachments in secret chats 2015-01-14 19:19:03 +03:00
Vysheng
ca6942724a fixed indents 2015-01-12 21:04:51 +03:00
vysheng
92f9e9f166 Merge pull request #375 from gfleury/master
Fix environment vars after setuid, fix daemonize option, avoid to exit process when in daemonize
2015-01-12 21:06:47 +03:00
vvaltman
4118547208 updated to latest version of tgl 2015-01-12 00:52:40 +03:00
vvaltman
4630862924 Small fixes 2015-01-09 14:54:46 +03:00
George Fleury
fde3182b40 Avoid loop break when daemonize option is on, now daemonize runs forever until sigkill or sigterm 2014-12-22 00:50:28 +00:00
vvaltman
717b01ff7f Fixed do_main_session () 2014-12-06 17:01:48 +03:00
Vysheng
9d6b4fc518 added broadcast and typing notifications (manually only) 2014-11-28 16:16:51 +03:00
vvaltman
5405d183f1 Merge branch 'master' of github.com:vysheng/tg 2014-11-15 14:49:26 +03:00
vvaltman
f376ad1d50 Updated to layer 19 2014-11-15 14:45:37 +03:00
Vysheng
a65dcf16a7 added secret_chat_rekey function 2014-11-13 19:22:12 +03:00
Vysheng
2c340e59bf Detached libtgl 2014-11-12 17:39:22 +03:00
vvaltman
f45458c321 increased log level for status updates 2014-11-11 21:12:03 +03:00
vvaltman
ba4e76ed96 Added user status support 2014-11-11 21:10:03 +03:00
Vysheng
bdbf8997e0 Minor fixes 2014-11-11 20:13:41 +03:00
Vysheng
52a8adbcc2 Merge github.com:vysheng/tg 2014-11-11 13:33:49 +03:00
Vysheng
862ae34ba8 Added partial support for action resend. Fix crush on incorrect encrypted message in lua mode 2014-11-11 13:33:03 +03:00
Davide Pucci
03b1dd8639 tg: interface.c: alphabetical rearrangement of available commands 2014-11-10 17:39:47 +01:00
Vysheng
dbb6d196b5 Added more write_secret_chat_file calls 2014-11-10 14:32:49 +03:00
Vysheng
b522658be2 write secret chat file more frequent 2014-11-10 14:02:14 +03:00
Vysheng
56fe7bed54 Refactored code a bit to better separation of library. Library can now be compiled without libevent. 2014-10-24 21:43:08 +04:00
Vysheng
c01eb11296 Merge branch 'master' of github.com:vysheng/tg 2014-10-23 21:51:42 +04:00
vvaltman
282b1c6a81 Fixed problems with secret chat without binlog 2014-10-23 20:39:58 +04:00
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