mjentsch
1e6598c11c
Request proxy connections by callback
...
Require the user of telegram to provide a callback to create and cleanup proxy connections, to allow
the application to create new connections when needed.
2014-08-22 18:28:58 +02:00
mjentsch
1b1c5d132a
Remove overlooked incrementation of queries_num
2014-08-22 17:45:40 +02:00
mjentsch
54091b26e3
Log all output of verbosity-level 1 to libpurple log
2014-08-22 17:39:05 +02:00
mjentsch
e4bb5bf5a6
Count pending queries using the elements in the query tree, instead of counting the incoming and outgoing messages
...
Since the server is able to send queries without any response, and is also able to send multiple responses to an arbitrary query, the current way to count pending queries is not accurate and will lead to errors. Instead, the amount of queries in the query tree will be determined to decide whether there are pending messages.
2014-08-22 17:21:46 +02:00
mjentsch
e667299d2f
Add binlog to telegram struct
2014-08-22 17:14:08 +02:00
mjentsch
7720beab6e
Remove global configuration flags
2014-08-22 17:13:25 +02:00
mjentsch
32799a9086
Move binlog globals into a structure
2014-08-22 17:05:29 +02:00
mjentsch
331d631659
Ignore gdb files
2014-08-22 16:43:45 +02:00
mjentsch
188f890df5
Ignore app-hash
2014-08-08 08:46:39 +02:00
mjentsch
1170ae5710
Implement state machine for dc discovery and login.
2014-08-08 08:45:58 +02:00
mjentsch
f1a2738783
remove redundant functions from binlog
2014-08-08 08:44:56 +02:00
mjentsch
9e5b4ca5ec
Refactor - Intermediate Commit 3
2014-08-06 19:45:46 +02:00
mjentsch
8a2c043db4
Refactor - Intermediate Commit 2
2014-07-29 15:36:59 +02:00
mjentsch
ed7aa7de5b
Refactor Intermediate State 1
2014-07-29 15:36:59 +02:00
mjentsch
67c5a5e712
Ignore ycm-autocompletion files
2014-07-29 15:31:37 +02:00
Matthias Jentsch
9b7f273579
README.md edited online with Bitbucket
2014-07-26 09:11:47 +00:00
mjentsch
7fad1403ec
Fetch chats and refactor libtelegram api
2014-07-11 19:57:32 +02:00
mjentsch
f78adc8b96
Support sending messages
2014-07-11 02:19:05 +02:00
mjentsch
43a5a80c48
Set up stub for telegram library
2014-07-11 01:13:01 +02:00
mjentsch
44e9163b66
Remove useless comments
2014-07-11 01:06:37 +02:00
mjentsch
6a439a5d55
Move everything into one Makefile
...
Avoid having to execute two different make commands to properly build the plugin, when there are changes in the telegram-cli files.
2014-07-08 21:17:50 +02:00
mjentsch
2099d9fbc3
Rename printname to alias
2014-06-27 09:37:35 +02:00
mjentsch
f28d89c9c6
Replace tabs with 4 spaces
2014-06-27 09:35:47 +02:00
mjentsch
6325bd108d
Listen to changed users and add new chats to the current sessions
2014-06-22 23:39:05 +02:00
mjentsch
0945a3ca11
Add event handler functionality to tg-cli
2014-06-22 23:38:06 +02:00
mjentsch
d712b7e17f
Add possibillity to listen to created users, chats and groups with event handlers and add some ability to exchange output functions with own callbacks
2014-06-22 23:36:52 +02:00
mjentsch
dbf509d59e
Log some terminal messages to libpurple log
2014-06-22 23:33:57 +02:00
mjentsch
75e1abe520
Remove useless functions
2014-06-21 01:51:26 +02:00
mjentsch
a005c015cd
Implement phone number registration
...
When the current phone number is not registered with the telegram network, ask for first and last name and proceed with the regular sms-code authentication scheme.
2014-06-15 19:58:49 +02:00
mjentsch
62090b3ca0
Implement login and authentication mechanism and fix the logging mechanism
...
Use purple debugging functions by formatting the string beforehand and then passing the readily formatted string, instead of doing it with va_list. Log into the telegram network using the provided SMS code and hash or request a new one, in case one of those isn't provided. Store and load the state using the file config/auth, to be able to restore previous logins.
2014-06-15 13:38:38 +02:00
mjentsch
90f7b39e11
Fix log format arguments
...
Remove the misuse of va_list and emulate behavior of purple debugging functions in our own code, since a va_list cannot be passed to purple_debug_info,
2014-06-15 03:22:39 +02:00
mjentsch
93f4bd25ae
Add an externally controllable message-log and redirect tg-cli logging to the libpurple logging mechanism
2014-06-09 14:22:06 +02:00
Christopher Althaus
58244abb2d
changed login
2014-05-30 10:05:48 +02:00
mjentsch
855c461f35
Debugging changes
2014-05-23 13:42:05 +02:00
mjentsch
cc2a19d6ea
Merge branch master of bitbucket.org:telegrampurple/telegram-purple
2014-05-23 11:37:59 +02:00
mjentsch
8b4a1c8d10
Use input values from account settings to authentication to data center
2014-05-23 11:36:54 +02:00
Christopher Althaus
70682ef8b5
Git Kommandos hinzugefügt
2014-05-23 09:49:00 +02:00
mjentsch
377c809ba7
Add options for user verification, refactor header file-name to include functions into the purple-plugin and copy server.pub into the /etc/telegram directory when installing.
2014-05-11 22:18:21 +02:00
mjentsch
da57c79053
Update readme for new build process
2014-05-10 19:58:52 +02:00
mjentsch
02296e3774
Link header files of the telegram cli tool
2014-05-10 19:56:29 +02:00
mjentsch
e0c65b1b8d
Move plugin into separate directory
2014-05-10 15:37:43 +02:00
mjentsch
0bc969918a
Add files from telegram-purple-skeleton
2014-05-08 13:17:11 +02:00
vysheng
c8f8dd0309
Merge pull request #158 from koter84/master
...
use the right .pub file
2014-03-21 20:12:54 +03:00
Dennis Koot
3fe6641dbe
use the right .pub file since commit #ff14a08d53ac9e223ffada8a41e69ebb673aa7d7 changed tg.pub to tg-server.pub
2014-03-21 16:34:06 +01:00
vysheng
0ca3a4dc48
fixed login
2014-03-21 15:33:06 +04:00
vysheng
183c09877d
Merge github.com:vysheng/tg
2014-03-21 01:03:42 +04:00
vysheng
aa68c2c6ae
Fixed sentCode parse in 12 layer
2014-03-21 01:03:23 +04:00
vysheng
1722bbc3f2
added layer 12 support
2014-03-20 19:33:08 +04:00
vysheng
1c09ffc626
Merge pull request #150 from mindrunner/master
...
telegram-cli gentoo ebuild pubkey fix
2014-03-16 23:46:24 +03:00
vysheng
4b8fe89b79
Merge github.com:vysheng/tg
2014-03-17 00:45:46 +04:00