luckydonald
d30885e9dc
added optional status to send_typing command.
2015-05-20 19:39:33 +02:00
luckydonald
3963eca8ca
added missing "user" attribute to "online-status" event.
...
E.g. ```{"event": "online-status", "online": true, "when": "2015-05-20 00:16:40", "state": 1, "user": {"username": ... }}```
2015-05-20 00:33:10 +02:00
luckydonald
548c2b18e0
added "online-status" event.
...
E.g. ```{"event": "online-status", "online": true, "when": "2015-05-20 00:16:40", "state": 1}```
2015-05-20 00:13:39 +02:00
Vincent Castellano
3c6b54c6e1
Merging to remove bad branch
2015-05-15 09:17:23 -07: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
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