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
vysheng
2fd40ea3e7
structures.h: fixed foolish bug in structures defenition, leading to SIGSEGV
2014-03-17 00:45:10 +04:00
mindrunner
a50c7c37d2
telegram-cli gentoo ebuild pubkey fix
2014-03-16 13:44:44 +01:00
vysheng
bfb31f383a
Merge pull request #117 from mk-pmb/pubkey_clarify
...
Enhance naming to show that the pubkey is the server's.
2014-03-12 15:49:04 +03:00
mk-pmb
eb7ce437af
Enhance naming to show that the pubkey is the server's.
...
While I'm at it, also label the magic constants for prng_seed
to avoid confusion with srand(0).
2014-03-11 15:10:19 +01:00
vysheng
d8d1d42327
deleted unused code
2014-03-07 23:41:59 +04:00
vysheng
2d7fbe769e
added support for update_dc
2014-03-07 23:15:57 +04:00
vysheng
8ff2ac447b
fix to prev fix
2014-03-07 02:44:41 +04:00
vysheng
3383755b21
Fixed merge structures.c
2014-03-07 02:43:15 +04:00
Thomas Wentzel
11ab0194eb
Got into a situation where telegram would crash upon startup, since fetch_encrypted_message_file would end up being called with a message_media of type CODE_decrypted_message_media_document.
2014-03-06 22:31:05 +01:00
Thomas Wentzel
6677355f44
Change type in message_action and message_media from int to unsigned.
2014-03-06 22:31:05 +01:00
vysheng
4e1d23eed3
Merge pull request #137 from koter84/feature-gitignore
...
re-added jetbrains .idea/ and netbeans nbproject/ to gitignore
2014-03-05 16:41:23 +03:00
Dennis Koot
69fb759b9e
re-added jetbrains .idea/ and netbeans nbproject/ to gitignore
2014-03-05 14:21:01 +01:00
vysheng
e0d109e450
Update interface.c
2014-03-05 16:18:53 +03:00
vysheng
0105abaff6
Merge pull request #136 from rmsrepliedtomeonce/patch-1
...
Remove biased shell signs
2014-03-05 16:09:57 +03:00
rmsrepliedtomeonce
ceca0589d8
Remove biased shell signs
...
Not everybody uses bash, you know. Especially the people on *BSD, which you still listed as '$'
2014-03-05 14:50:49 +02:00
vysheng
7773adf5f2
Update README.md
2014-03-05 00:58:47 +03:00
vysheng
fde21397ab
delted text about Makefile
2014-03-05 01:54:45 +04:00
vysheng
fec2ee493f
Merge branch 'openbsd-initial' of https://github.com/czarkoff/tg
...
Conflicts:
.gitignore
README.md
2014-03-05 01:54:24 +04:00
vysheng
fcb05e6770
Merge pull request #125 from koter84/feature-gitignore
...
ignore build-files in .gitignore so git is clean after building
2014-03-05 00:46:18 +03:00
vysheng
619c657893
Merge pull request #126 from koter84/feature-options-list
...
better list of options for -h
2014-03-05 00:45:33 +03:00
vysheng
6897116d7c
Merge pull request #124 from vcuculo/sound_notification
...
Added support to sound notifications
2014-03-05 00:21:25 +03:00
vysheng
3c1b4977ef
Merge pull request #135 from kartikm/master
...
Whitespace cleanups
2014-03-04 22:34:27 +03:00
Kartik Mistry
17c624bd9e
Whitespace cleanups
2014-03-04 17:17:09 +05:30
Dennis Koot
cbac13c8fc
netbeans ignore
2014-02-27 11:14:35 +01:00