mjentsch
84e549fc96
Use correct DC number for our updated application configuration
2014-10-03 18:21:20 +02:00
mjentsch
334101c406
Improve logging system
2014-10-03 14:23:15 +02:00
mjentsch
cd8866c4e2
Remove unused includes of libreadline
2014-09-20 16:23:39 +02:00
mjentsch
ce96381ef9
write secret chat file into user-specific directory and fix config path creation
2014-09-06 01:04:57 +02:00
mjentsch
40485fabdc
Remove unused code
2014-09-05 21:23:22 +02:00
mjentsch
fa457a6900
Clean up out-commented code
2014-09-01 21:59:23 +02:00
mjentsch
d94dc52df0
Remove remaining global variables
2014-09-01 21:43:22 +02:00
mjentsch
5a425be62f
Remove unused code and build files
2014-08-23 12:57:38 +02:00
mjentsch
d062ec44d0
Switch to ready-state when the data center is already registered
2014-08-23 02:41:26 +02:00
mjentsch
7720beab6e
Remove global configuration flags
2014-08-22 17:13:25 +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
7fad1403ec
Fetch chats and refactor libtelegram api
2014-07-11 19:57:32 +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
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
855c461f35
Debugging changes
2014-05-23 13:42:05 +02:00
mjentsch
8b4a1c8d10
Use input values from account settings to authentication to data center
2014-05-23 11:36:54 +02:00
vysheng
c9116d55f1
Update loop.c
2014-02-25 23:31:27 +03:00
vysheng
b8d827ed59
Fixed 'call' method from jerbob92
2014-02-24 15:27:30 +04:00
Jeroen Bobbeldijk
046b0ce109
Fully working phone call support, might need some tweaks and checks
2014-02-24 07:59:20 +01:00
Vysheng
856fba7fae
Fixed registration. Fixed possible SIGSEGV in create_print_name
2014-02-07 19:40:39 +04:00
Vysheng
8ca4a475e7
Added -W key to wait dialog list before processing input
2014-02-03 19:50:57 +04:00
Vysheng
a334bed1f6
Fix for non-binlog version
2014-02-01 00:19:55 +04:00
vysheng
f06c96fa73
restored _GNU_SOURCE for getline in FreeBSD
2014-01-13 16:58:14 +03:00
antma
622dec3e70
remove useless #define _GNU_SOURCE from not using asprintf sources
2014-01-13 17:12:39 +04:00
antma
eb2bc7f0ff
fix #include "config.h" for all source files
2014-01-13 17:05:25 +04:00
Vysheng
90dd95392f
Added partial lua support
2014-01-12 04:43:29 +04:00
vysheng
feed5229b5
free->tfree. Memory checks, if compiled with -DDEBUG
2014-01-10 18:37:56 +04:00
antma
e8943b5aa1
remove undefined behavior flush (stdin) call
...
http://stackoverflow.com/questions/2979209/using-fflushstdin
2014-01-10 16:21:34 +04:00
antma
bb24fba98f
check return values of strdup and malloc
...
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00
vysheng
9b67354294
Added safe_quit query. Useful in pipe mode
2013-12-21 15:53:32 +04:00
vysheng
6e39eead6f
Merge https://github.com/lwhsu/tg
2013-12-20 17:44:30 +04:00
Li-Wen Hsu
cacf0582bc
Define _GNU_SOURCE for getline(3)
2013-12-19 02:14:40 +08:00
vysheng
3b033ea3ff
Added dump packets to file
2013-12-18 19:21:49 +04:00
Li-Wen Hsu
bb53f75e2b
Make it compile on FreeBSD.
2013-12-17 02:30:36 +08:00
Vysheng
ee1f45ec3d
Manty fixes. Mostly binlog for messages
2013-11-30 01:43:56 +04:00
Vysheng
4c740e0bd4
Fixed binlog. Added state file to binlog
2013-11-22 01:40:31 +04:00
Vysheng
849d6a33a6
Sometimes new binlog works
2013-11-21 23:35:49 +04:00
Vysheng
f3edaaa346
Partial support for binlog. It now can track user, secret chat and auth updates.
2013-11-15 04:08:24 +04:00
vysheng
b93c9549f2
Added files for binlog
2013-11-13 04:11:25 +04:00
vysheng
4fdb69a85f
Maybe it would compile on mac now
2013-11-11 15:34:45 +04:00
vysheng
8c30413d6c
Added configure script. Some interface fixes
2013-11-10 02:47:19 +04:00
vysheng
92b65f2dc0
Added libconfig to parse config. Something fixed in net
2013-11-08 22:58:28 +04:00
vysheng
d7efdf5156
Fixed bug in restarting in starting encrypted chat
2013-11-06 02:53:40 +04:00
vysheng
a725c0959f
Support for chat create
2013-11-06 02:24:26 +04:00
vysheng
180cfd22f2
Partial support for encrypted chats.
2013-11-04 21:34:27 +04:00
vysheng
b6085fe801
Somthing fixed. Don't know what
2013-11-01 23:57:57 +04:00