Commit graph

807 commits

Author SHA1 Message Date
mjentsch
e3caa6acdb Remove unused functions and add some comments 2014-12-26 19:19:29 +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
mjentsch
91b8cb5bb1 Add proper error handling for login phase 2014-12-19 11:22:24 +01:00
mjentsch
b2c26771b5 Fix segmentation fault on chat creation update
Check for null-pointer before passing hash table content to strcmp
2014-12-13 16:09:09 +01:00
Roman Anasal
17065ba1cb Bugfix: always respect $(DESTDIR) in Makefile 2014-12-10 12:42:44 +01:00
mj
f1549804a5 Merge pull request #22 from malishev/better-icons
Better icons
2014-11-30 13:29:41 +01:00
vvaltman
68d69e1da8 Use latest version of tgl 2014-11-27 21:53:21 +03:00
vvaltman
433a96a9d1 Show outgoing messages 2014-11-27 17:33:17 +03:00
mjentsch
8dcc2a55f7 Update README 2014-11-26 15:11:05 +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
c934f5742b Merge branch 'master' of https://github.com/majn/telegram-purple into support-secret-chats 2014-11-26 09:26:02 +01:00
Yuri
d30dfb047a Better icons 2014-11-24 23:01:58 +03:00
Vysheng
50c52b091c Fixed -lrt check 2014-11-24 20:37:10 +03:00
vvaltman
674a2935cf Makefile.in: deleted -m64 option 2014-11-24 19:42:31 +03: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
8bd58265fd Update plugin description version 2014-11-24 12:51:14 +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
5327b8825b Remove outdated stuff from README 2014-11-24 01:26:30 +01:00
mjentsch
4fa71f579b Remove duplicated code 2014-11-24 01:04:31 +01:00
mjentsch
653d8a8f2d Update README 2014-11-24 00:58:53 +01:00
mjentsch
9062ee8b46 Add vysheng to authors 2014-11-24 00:26:07 +01:00
mjentsch
7709f2fd3d Merge branch 'master' into tgl-test 2014-11-24 00:03:36 +01:00
mjentsch
a7f4669982 Update README 2014-11-23 23:54:06 +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
mjentsch
c847bce557 Make: link libraries after including objects in linker step
Including libraries before the objectse will result in improperly linked OpenSSL library (see issue #3)
2014-11-22 22:39:33 +01:00
vvaltman
75251d9379 Send typing notifications 2014-11-22 18:17:47 +03: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
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
mjentsch
d755992821 Prevent infinite loop on lost network connection
Increase the timeout exponentially on failed connections to prevent an infinite loop of reconnects.
2014-11-21 16:03:17 +01:00
mjentsch
54f6a29456 Accept conn_failed as valid state on timeouts
When the internet connection is lost, in some cases libpurple can return a file descriptor without any error that is still not writable or readable. In that case, the connection would remain in the state conn_error until the next ping timeout, which has been causing an assertion error until now.
2014-11-21 16:03:17 +01:00
vvaltman
3e4fc8513f Added support for incoming pictures 2014-11-21 17:44:49 +03:00
vvaltman
27206a6f69 Updated to latest version of libtgl 2014-11-18 17:45:19 +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