Commit Graph

206 Commits

Author SHA1 Message Date
vvaltman
9c00b7dc75 not cause error on empty string in input 2015-05-27 16:49:52 +03:00
vvaltman
3ced7bbb27 fixes for last json update 2015-05-15 17:50:07 +03:00
luckydonald
8b8a69ec83 Fixes for #516:
Added output when message are marked read (if ```--json```), which fixes Issue [#516] (https://github.com/vysheng/tg/issues/516#issuecomment-101710890)
Also added event field to json which will be send to terminal/main_session:
"event" = "message", "read" (message got read), "service", (events only in secret chats?)  "updates" (peer name change etc), "download" (file downloaded)
2015-05-15 16:06:30 +02:00
vvaltman
a825b63209 added error codes 2015-05-15 13:31:38 +03:00
vvaltman
611211cc09 prerelease 2015-05-14 15:48:20 +03:00
vvaltman
df628264d5 fixed bug in load_photo () 2015-05-13 20:43:04 +03:00
vvaltman
000f767fa8 small fix 2015-05-11 17:14:58 +03:00
vvaltman
402375ec43 added json support 2015-05-11 14:20:34 +03:00
vvaltman
8eaa6119b6 added register function from lua 2015-05-06 14:39:45 +03:00
vvaltman
4734c8ba9d some fixes in LUA. some fixes in readline completion 2015-05-05 21:08:37 +03:00
vvaltman
3f22df2a0c updated tgl. support for captions 2015-05-05 12:48:58 +03:00
vvaltman
ba1988b530 do not fail after receiving new geo 2015-05-01 20:26:47 +03:00
vvaltman
69839f1266 updated tgl 2015-05-01 20:19:12 +03:00
vvaltman
4240f81f2c updated tgl 2015-05-01 19:32:06 +03:00
vvaltman
393b514225 updated tgl 2015-05-01 18:12:07 +03:00
vvaltman
c35619f697 updated tgl 2015-04-30 13:43:48 +03:00
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