Commit graph

755 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
a480867d99 Remove obsolete purge command
Purge command stopped working when telegram state file path was changed a few commits earlier.
2015-03-13 16:58:39 +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
0590862151 Add support for file transfers in encrypted chats 2015-03-13 00:18:01 +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
1b7dd971d8 Don't segfault when transfer filename is not set 2015-03-12 01:39:48 +01:00
mjentsch
a0b873933a Remove colors from messagelog 2015-03-12 01:39:03 +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
489535fbd4 Add DC hotfix in submodule 2015-03-09 15:44:16 +01:00
mjentsch
2d94194d45 Fix segfault on automatic chat join
Check if peer was already allocated in chat_show. The auto-join flag can be safely ignored, all incoming chat messages are added to the chat anyways and will trigger an opening of the chat.
2015-03-07 16:21:26 +01:00
mjentsch
c994730f3e Add hotfix number to Adium version 2015-03-05 00:58:57 +01:00
mjentsch
fffe7519d7 Don't drop HTML markup in Adium 2015-03-05 00:57:36 +01:00
mjentsch
8548576651 Fix file permissions again
Directories need to be executable for opening.
2015-03-04 23:32:29 +01:00
mjentsch
9cddd63f96 Clean up repository 2015-03-04 23:17:23 +01:00
mjentsch
81ab5bf1f3 Fix install script on all plattforms
Creating missing directories when installing regular files is not supported on BSD install.
2015-03-04 23:16:03 +01:00
mjentsch
0cc28ecea6 Fix configuration script 2015-03-04 23:05:02 +01:00
mjentsch
97c393db4b Update version to 0.7.0 and make changelog a Mardown 2015-03-04 22:38:58 +01:00
mjentsch
deaa659895 Fix segfault in file transfer memory management 2015-03-04 22:37:59 +01:00
mjentsch
39c9d6d5b4 Fix file transfer progress in Adium
Set sent bytes to file size manually, since Adium won't do it automatically and also wont display the file transfer as completed as a result.
2015-02-28 15:44:59 +01:00
mjentsch
9fca523161 Implement file transfer in Adium Plugin
Implement file transfer protocol in Plugin and fix a few things that stopped old file handling from working with Adium.
2015-02-25 22:53:28 +01:00
mjentsch
64e0a7f35f Fix plugin for Centos 6 by removing functions unsupported in old glib versions 2015-02-23 20:34:24 +01:00
mjentsch
c9aab9c8eb Support file transfers 2015-02-23 20:34:24 +01:00
mj
8fec18e8c4 Merge pull request #43 from flyvint/master
Fix install
2015-02-04 19:06:12 +01:00
vint
832b56c4e7 Fix install 2015-02-04 18:42:42 +03:00
mjentsch
3ccd738d5c Update CHANGELOG 2015-01-30 19:47:43 +01:00
mjentsch
c3445be62f Fix debug logging linebreaks 2015-01-30 01:08:00 +01:00
mjentsch
bf511c94af Display an extra alert when the connection fails 2015-01-29 01:03:19 +01:00
mjentsch
7ffe2694cc Use pull-request branch temporarily 2015-01-29 00:21:49 +01:00
mjentsch
e545057039 Fix outgoing image messages 2015-01-28 20:05:08 +01:00
mjentsch
bb29ee82bc Rather just change this than fiddling around with c standards in the makefile 2015-01-28 19:43:42 +01:00
mjentsch
f6570914a6 Fix framework include paths in XCode
If you are compiling the Adium plugin with XCode yourself, this will break your Project and you will have move all frameworks into telegram-adium/Frameworks/Adium (sorry about that)
2015-01-28 19:07:10 +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
2ec44834fc Fix bugs in makefile
Remove -D from install script, since its not supported in all versions. Libpurple has created all of those directories, and if they do not exist, there is a different problem so cancelling those installation should be a good thing.
2015-01-26 23:06:04 +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
aa28f37d37 Fix Makefile.in on OSX
Include DEFS generated by configure into makefile.
2015-01-25 21:25:27 +01:00
mjentsch
adc429beb4 Fix coding style and remove old commented-out code 2015-01-23 20:56:50 +01:00
mjentsch
2f44ea928f Fix memory leak 2015-01-23 20:47:23 +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
1dd7be0262 Fix segfault by canceling pending login timer on close 2015-01-22 21:28:13 +01:00
mjentsch
3f70192cd3 Sleeker README, move changelog to separate file 2015-01-22 01:21:31 +01:00