Commit graph

49 commits

Author SHA1 Message Date
mjentsch
b2627d9d5c Display stub messages for unimplemented methods and clean up unused code 2015-01-10 11:07:01 +01:00
mjentsch
36744dbf7f Display notification on pending secret chats 2015-01-09 18:09:28 +01:00
mjentsch
9e072f0ebb Some cosmetic changes and code cleanup 2015-01-07 22:50:53 +01:00
mjentsch
4bf90fc333 Do not automatically accept secret chats
Allow the user to decide if a secret chat should be handled by Pidgin. Add options
to set default behavior for secret chets.
2015-01-07 22:28:36 +01:00
mjentsch
a0981c0abb Coding style 2015-01-07 16:54:56 +01:00
mjentsch
e8f30f2284 Handle secret chat deletions 2015-01-07 16:54:35 +01:00
root
97c3ff894a Added basic user info to encrypted user 2015-01-06 18:30:03 +01:00
mjentsch
ed47a16de1 Fix get_info for encrypted chats 2015-01-04 15:29:41 +01:00
mjentsch
34b026dc34 Handle user name formatting in tgl callback 2015-01-04 12:37:23 +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
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
4dba56db58 Remove unused functions for adding/removing multiple buddies
Libpurple will automatically iterate the list of buddies and call purple_add_buddy for each entrie
if those functions are missing.
2015-01-02 13:51:48 +01:00
mjentsch
106f828b9e Mark chat messages as read 2015-01-02 12:54:41 +01:00
mjentsch
4a4179d262 Fix group-message sending in Adium 2015-01-01 18:02:14 +01:00
mjentsch
9d61f6815b Remove duplicate user alias change handling 2015-01-01 17:27:05 +01:00
mjentsch
00ece8a3b4 Fix huge memory leak
Implement proper handling of imgstore reference counting and remove
several leaky memdup functions
2014-12-27 23:40:25 +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
markus
2f752c7fd5 added secret chat buddy option 2014-12-24 12:20:01 +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
root
2937140a07 added lodepng lib and function to genearte image from hashkey 2014-12-19 13:57:20 +01:00
vvaltman
433a96a9d1 Show outgoing messages 2014-11-27 17:33:17 +03: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
82b11fffa3 Fix argument types in secret chat update callback 2014-11-24 13:34:00 +01:00
mjentsch
04e8c3e0cd Add stubs for handling updates of secret chats 2014-11-24 13:26:00 +01:00
mjentsch
d0b318ee21 Don't display own messages twice in Pidgin 2014-11-24 09:26:57 +01:00
mjentsch
33c49321fd Fix potential segfault 2014-11-24 01:35:55 +01:00
mjentsch
4fa71f579b Remove duplicated code 2014-11-24 01:04:31 +01:00
mjentsch
0a759867e2 Print service messages 2014-11-23 23:43:39 +01:00
mjentsch
20278e3c26 Support adding new contacts 2014-11-23 21:18:13 +01:00
mjentsch
b926b4d266 Respect user and chat updates during runtime
Update chat and user properties, update user profile photos, delete users and chats
2014-11-23 19:52:08 +01:00
mjentsch
3e7be633eb Do not add our own messages to chats to prevent them from showing up twice 2014-11-23 00:27:44 +01:00
vvaltman
75251d9379 Send typing notifications 2014-11-22 18:17:47 +03:00
vvaltman
6e19bc87cf Fixed duplicate free. Escape received messages. Updated to latest tgl 2014-11-21 19:36:48 +03:00
mjentsch
d3c045711e Unescape HTML special chars on outgoing messages 2014-11-21 16:42:53 +01:00
mjentsch
210741de43 Add "image" flag to all picture messages 2014-11-21 16:30:03 +01:00
vvaltman
3e4fc8513f Added support for incoming pictures 2014-11-21 17:44:49 +03:00
vvaltman
5d19892508 Use correct app_id 2014-11-17 18:24:09 +03:00
Vysheng
3025c63350 small bugfixes 2014-11-17 16:27:01 +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
mjentsch
22a37c3894 Wrap purple functions for use with libtgl types 2014-11-16 16:33:27 +01:00
mjentsch
6a401eb4bd Fix Adium plugin 2014-11-13 00:45:51 +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