Commit graph

1420 commits

Author SHA1 Message Date
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
mjentsch
6cdd435ace Fix README installation guide pictures 2014-11-15 18:02:21 +01:00
mjentsch
fad61cb3d8 Fix readme (again) 2014-11-15 17:58:41 +01:00
mjentsch
bc110cde96 Fix download link 2014-11-15 17:53:34 +01:00
mjentsch
1cb745aa65 Remove obsolete note about ubuntu build from README 2014-11-15 01:26:28 +01:00
mjentsch
2f788edd99 Adapt telegram-adium to changes in submodule path 2014-11-15 01:24:20 +01:00
mjentsch
363c170550 Free read-event properly in tgln_free 2014-11-15 01:14:29 +01:00
mjentsch
6a401eb4bd Fix Adium plugin 2014-11-13 00:45:51 +01:00
vvaltman
b82f391749 Fixed README 2014-11-13 01:58:03 +03:00
vvaltman
6a36be8b10 Deleted Makefile 2014-11-13 01:56:15 +03:00
Vysheng
8bdf22648d Merge branch 'tgl-test' of github.com:majn/telegram-purple into tgl-test
Conflicts:
	.gitignore
	Makefile
	telegram-base.c
	telegram-purple.c
2014-11-12 21:37:09 +03:00
Vysheng
5b4f1cd450 Updated to use subdirectory. Fixed buffer overflow in date format 2014-11-12 21:23:01 +03:00
Vysheng
8ebbdfbaff updated .gitignore 2014-11-11 20:38:01 +03:00
Vysheng
f46c685bbd Rewritten to use libtgl 2014-11-11 20:29:09 +03:00
Vysheng
0894c093a5 Added missing files 2014-11-11 20:24:30 +03:00
Vysheng
8f69d8d11d Slightly working version 2014-11-11 20:21:14 +03:00
mjentsch
1b6fdf44e8 Fix link to Adium bundle for 0.3.3 2014-11-05 21:52:18 +01:00
mjentsch
560b55b299 Don't print debug messages in unused functions 2014-10-31 20:37:30 +01:00
mjentsch
bd4bc51651 Fix library includes in linker step 2014-10-28 01:20:30 +01:00
mjentsch
a9a48fff90 Update version to 0.3.3 2014-10-14 22:29:22 +02:00
mjentsch
c54ebf5c17 Error the telegram-plugin on failed connections, so hopefully libpurple will inform the user and restart it once the connectivity is back 2014-10-14 22:15:02 +02:00
mjentsch
b3642e2e7e Remove correct server.pub when uninstalling 2014-10-14 22:08:15 +02:00
mjentsch
91ac1b06ee Remove old printfs of telegram-cli to fix issues on Finch 2014-10-14 22:06:29 +02:00
mjentsch
2b366fe1a8 Fix segfaults on disconnect 2014-10-14 18:59:04 +02:00
mjentsch
d5fb1601b7 cleanup useless comments 2014-10-14 18:53:59 +02:00
mjentsch
4843c4052d Remove linebreaks from user names 2014-10-10 17:28:10 +02:00
mjentsch
61c8735578 Force-free all open connections on close 2014-10-10 17:26:31 +02:00
mjentsch
2bebb7ab62 Display time correctly and don't display empty messages 2014-10-10 17:16:16 +02:00
mjentsch
a8f228cef5 Upgrade to version 0.3.2 2014-10-09 21:31:33 +02:00
mjentsch
531a36fa63 Add comments and logging messages to event listener stubs 2014-10-09 20:26:47 +02:00
mjentsch
8a63df1529 Fix TelegramService settings 2014-10-09 20:21:12 +02:00
mjentsch
d66775cc70 Avoid compiler warnings 2014-10-09 20:20:21 +02:00
mjentsch
b2d3a39fb4 Do not use colors when compiling for production mode
Pidgin and Adium debug logs do not display terminal color codes correctly, avoid that.
2014-10-09 20:13:08 +02:00
mjentsch
531d27ef61 Set Build-Target for Adium Plugin to OSX 10.8 and include AppKit 2014-10-09 20:12:22 +02:00
mjentsch
056d7c7c19 Improve README and update to version 0.3.1 2014-10-06 23:18:45 +02:00
mjentsch
dd27d4f66c Remove unused includes from XCode project 2014-10-06 22:59:18 +02:00
mjentsch
7d63485e0a Fail gracefully on error responses by server 2014-10-06 22:58:16 +02:00
mjentsch
2f7f2068de Improve event handling-system 2014-10-06 22:57:20 +02:00