Commit graph

108 commits

Author SHA1 Message Date
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
ac9ce29b1d Fix user info and clean up source code 2015-01-22 00:16:35 +01:00
mjentsch
977947a357 Revert "Respect destdir in public key path"
This reverts commit 5985d08fc5.
2015-01-19 23:26:02 +01:00
mjentsch
8f136c2aa6 Merge branch 'master' into fix-centos 2015-01-19 22:47:39 +01:00
mjentsch
f90f812f2b Fix compiler warnings 2015-01-16 12:39:04 +01:00
mjentsch
dbd7d5638b Add better input validation for phone number 2015-01-16 10:38:16 +01:00
mjentsch
ab61a44c17 Update used version of tgl 2015-01-15 21:49:36 +01:00
mjentsch
a08a267e22 fix compat. with centos 2015-01-13 22:10:31 +01:00
mjentsch
5985d08fc5 Respect destdir in public key path 2015-01-11 00:39:10 +01:00
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