Commit graph

130 commits

Author SHA1 Message Date
mjentsch
9317fa0f17 Add basic support for read notifications
Add option to enable read notifications in chats and display read notifications as sytem messages.
2015-03-13 18:38:35 +01:00
mjentsch
9c1628e18f Remove unused callbacks 2015-03-13 16:57:43 +01:00
mjentsch
7903ce1811 Fix user online/offline status
Fix bug that prevented users from being displayed as online. Add option to set inactive users offline after a certain amount of days. Clean up user status code.
2015-03-13 16:57:08 +01:00
mjentsch
077edc19d5 Repository cleanup and coding guidelines 2015-03-13 00:17:35 +01:00
mjentsch
c375ed1df0 Support for history retrieval threshold
Include option to define the maximum amount of days, for which the history should be fetched. Introduce 14 days as default, to reduce performance issues or crashes when the user hasn't been using telegram-purple for a long time.
2015-03-13 00:16:26 +01:00
mjentsch
b67c4115ff Repository cleanup and housekeeping 2015-03-12 01:56:16 +01:00
mjentsch
1e442ac195 Ensure that the message sequence doesn't get mixed up
Process incoming messages in a queue. Move all message-related functionality into one file.
2015-03-12 01:38:17 +01:00
mjentsch
95258c940b Handle message size properly
Split oversized messages into chunks in case they are too big and make max amount of chunks configurable in settings.
2015-03-10 16:23:43 +01:00
mjentsch
249588a49d Handle missing public key more gracefully
Don't crash pidgin and display an error message when no public key is not found.
2015-03-10 02:01:42 +01:00
mjentsch
cd8085ce5a Use purple configuration directory for storing telegram state files 2015-03-09 16:03:10 +01:00
mjentsch
fffe7519d7 Don't drop HTML markup in Adium 2015-03-05 00:57:36 +01:00
mjentsch
9cddd63f96 Clean up repository 2015-03-04 23:17:23 +01:00
mjentsch
c9aab9c8eb Support file transfers 2015-02-23 20:34:24 +01:00
mjentsch
c3445be62f Fix debug logging linebreaks 2015-01-30 01:08:00 +01:00
mjentsch
e545057039 Fix outgoing image messages 2015-01-28 20:05:08 +01:00
mjentsch
3b940fca1d Fix outgoing messages for Adium and old libpurple versions 2015-01-28 18:51:07 +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
73913b3a2c Fix Adium incoming group chat message problem 2015-01-26 19:01:18 +01:00
mjentsch
e938132721 Clean up and fix coding style 2015-01-25 22:49:46 +01:00
mjentsch
45bd244593 Update to 0.6.1 to and handle version in autoconf 2015-01-25 22:43:43 +01:00
mjentsch
adc429beb4 Fix coding style and remove old commented-out code 2015-01-23 20:56:50 +01:00
mjentsch
048ef56eee Remove username normalization
We don't have one unified username format, it can be a name, a phone number or a user id. Therefore we can't put it into a unified format without eventually breaking things.
2015-01-23 20:42:20 +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
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