mjentsch
49cc80f8c0
Support two factor authentication
2015-05-29 18:25:55 +02:00
mjentsch
b5fb8df3b7
rename key visualization function
2015-05-24 00:23:28 +02:00
mjentsch
aec0cda21b
Fix broken secret chats after reload
2015-05-23 02:06:40 +02:00
mjentsch
b415bbd3b4
Update to libtgl v2
2015-05-23 00:18:26 +02:00
mjentsch
6614c25cbc
Add workaround for telepathy haze
...
Use home directory for storing configs, in case purple settings are in a tmp directory
2015-05-02 14:28:49 +02:00
mjentsch
14e5e106b7
Don't drop secret chat state updates
2015-04-06 16:43:10 +02:00
mjentsch
65f8c4aa6e
Handle DC updates during authentication
2015-04-06 16:37:01 +02:00
mjentsch
e0d1f77a79
cleanup
2015-04-05 00:38:22 +02:00
mjentsch
b67c4115ff
Repository cleanup and housekeeping
2015-03-12 01:56:16 +01:00
mjentsch
c3445be62f
Fix debug logging linebreaks
2015-01-30 01:08:00 +01:00
mjentsch
bf511c94af
Display an extra alert when the connection fails
2015-01-29 01:03:19 +01:00
mjentsch
c85b8da619
Do not add group chats in which the user is not a member
...
Clean up and refactor group chat code, move chat functions into separate file, always load all chat infos on plugin load so we know the members.
2015-01-28 18:41:41 +01:00
mjentsch
adc429beb4
Fix coding style and remove old commented-out code
2015-01-23 20:56:50 +01:00
mjentsch
51bb79947c
Improve writing to state file and clean up repository
...
Instead of using a timer, schedule writes on each new messages. This ensures that there are not too many writes on big updates and still works without a long-running timer.
2015-01-23 16:37:22 +01:00
mjentsch
1dd7be0262
Fix segfault by canceling pending login timer on close
2015-01-22 21:28:13 +01:00
mjentsch
6ba649fdba
Remove functions unsupported in old glib versions
2015-01-19 23:47:46 +01:00
mjentsch
1dda956166
Support secret chats
...
Load and store secret chats in a file, handle secret chat updates, visualize fingerprint in settings
2015-01-04 12:36:13 +01:00
mjentsch
0c718206d7
Move lodepng into separate folder
2015-01-02 22:03:47 +01:00
mjentsch
f834b7cd38
Fix memory leak
2015-01-02 19:55:43 +01:00
mjentsch
817ab52aae
Merge branch 'master' into support-secret-chats
...
Conflicts:
Makefile.in
telegram-base.c
telegram-base.h
telegram-purple.c
telegram-purple.h
2015-01-02 14:29:42 +01:00
mjentsch
8881011fac
Move key visualization function into base functions
2015-01-02 14:12:52 +01:00
mjentsch
106f828b9e
Mark chat messages as read
2015-01-02 12:54:41 +01:00
mjentsch
d08e54d3e0
Move functions and defintions for plugin-internal structs into separate file and fix memory leak
2014-12-26 18:54:12 +01:00
mjentsch
4fa2b91eaa
Mark messages as read
...
Send a mark_read command for each received message as soon as the user is available.
2014-12-24 02:44:10 +01:00
mjentsch
91b8cb5bb1
Add proper error handling for login phase
2014-12-19 11:22:24 +01:00
mjentsch
69360b4f57
Implement better fallback mode in case requests is missing
...
Open a dummy chat to query the user for the entered SMS code
2014-11-26 12:32:19 +01:00
mjentsch
62909f9c83
Implement better fallback behavior if requests.h is missing
...
When compat-mode is activated or purple_request does not return a valid handle, open a new conversation and query the user for the SMS code.
2014-11-26 09:30:43 +01:00
mjentsch
0a759867e2
Print service messages
2014-11-23 23:43:39 +01:00
vvaltman
10ca6ccd46
telegram-base: fixed bug in read_state
2014-11-22 17:32:10 +03:00
vvaltman
6e19bc87cf
Fixed duplicate free. Escape received messages. Updated to latest tgl
2014-11-21 19:36:48 +03:00
vvaltman
3e4fc8513f
Added support for incoming pictures
2014-11-21 17:44:49 +03:00
mjentsch
ba177d885a
Add compatibility mode to support SMS authentication on clients that can't prompt the user directly
...
Read the sms code from settings in case compatibility mode is selected or
the purple_request functions do not return a valid code.
2014-11-16 21:55:36 +01:00
mjentsch
2586273f72
Clean up README and license headers
2014-11-16 20:41:03 +01:00
mjentsch
e3e8fb7984
Clean up repository
...
Remove outdated comments, refactor function names, conform to coding guidelines
2014-11-16 20:39:10 +01:00
mjentsch
ef23a1b589
Fix coding guidelines
2014-11-16 17:56:55 +01:00
Vysheng
5b4f1cd450
Updated to use subdirectory. Fixed buffer overflow in date format
2014-11-12 21:23:01 +03:00
Vysheng
8f69d8d11d
Slightly working version
2014-11-11 20:21:14 +03:00