Commit graph

59 commits

Author SHA1 Message Date
mjentsch
72151e7cbd Increase default file size download threshold
Far too many files are bigger than 8mb, we need a more pleasant default behavior
2017-03-13 21:56:49 +01:00
mjentsch
e73e247444 Auto-load audio, video and animated messages up to 8mb
Reduce the amount of annoying popup messages for file transfers. Don't do it for Adium, which doesn't support file-links for security reasons. Make the threshold configurable.
2016-04-02 21:58:08 +02:00
mjentsch
004f84b544 Experimental support for channel history
Fetch missing channel history, keep track of message IDs. Still broken in Adium.
2016-03-23 12:46:04 +01:00
mjentsch
abbaad7a0c Support leaving channels and exporting channel invite links 2016-02-14 00:34:30 +01:00
mjentsch
fbe3a7fbba Support supergroups and displaying channel members
Change all channels to be chats instead of regular buddies and implement fetching channel memberships. Remove some unneeded code scraps from old channel handling.
2016-02-07 00:04:31 +01:00
mjentsch
af70b22699 Handle group chats more intuitively
Remove all left chats from buddy list when selecting to auto-join chats and also make that option default.
2016-01-24 21:36:41 +01:00
mjentsch
ac1c748650 Merge branch 'master' into dev-1.3.0 2016-01-24 18:22:18 +01:00
mjentsch
1808ca4984 Automatically refresh revoked sessions and prompt for a new code 2016-01-24 15:17:54 +01:00
mjentsch
d8fc5281ce Fix buddy icon refreshing and refactor user info and icon handling
Keep track of loaded pictures to refresh user pictures more reliably. Create new file tgp-info to contain all code related to user information and icons. Clean up the messy code for fetching user info and user pictures and provide a streamlined function in tg-info.
2016-01-10 01:27:38 +01:00
Ben Wiederhake
07a27e1edc Add Ben's email address 2015-12-26 11:20:22 +01:00
mjentsch
618cbf7001 Handle channel photo updates and channel deletions
Change channel photo on update, delete channels from blist when leaving.
2015-12-07 23:15:17 +01:00
mjentsch
a1f49d4748 Translate plugin description and update version/authors 2015-12-06 22:20:01 +01:00
mjentsch
b2194b6a5d Translate group names 2015-12-06 20:38:06 +01:00
mjentsch
7a6792ff04 Update copyright strings
Add current year where its left out, add missing authors and remove authors without any contributions in that file.
2015-12-05 20:40:08 +01:00
mjentsch
5ae6bdde82 Update authors 2015-11-28 15:02:23 +01:00
mjentsch
65fdf2802c Remove "sync all" option that doesn't have any effect
When migrating to libtgl-internal authentication code it became impossible to define the "tgl_do_get_difference" options, which
makes it impossible to fetch past history on first login. As this option used to fetch the whole history since the "beginning of time",
it wasn't a viable option anyways, so removing it was necessary sooner or later. An action to fetch past history for
conversations / chats / globally on demand will be added in the future to make up for this.
2015-11-28 14:54:11 +01:00
Ben Wiederhake
77317fb99f Add plural support
Fixes #139.
2015-11-26 08:23:25 +01:00
mjentsch
04bc03bebf Clean up the include mess
Keep all libtgl and telegram-purple includes in telegram-purple.h to prevent duplication of all those includes. Remove redundant includes.
2015-11-23 03:06:30 +01:00
mjentsch
05fc97381f Cleanup and slightly improve labels 2015-11-21 09:47:33 +01:00
mjentsch
e3892cab16 Fix leaving and removing chats again 2015-10-31 20:34:47 +01:00
Matthias Jentsch
ee9626e6da Merge remote-tracking branch 'wiederhake/beta4' into beta4 2015-10-20 12:38:40 +02:00
mjentsch
306273d4c4 Merge branch 'beta4-human-reable-user-names' into beta4 2015-10-17 18:09:42 +02:00
Ben Wiederhake
b9a1ab23be Allow loading alternative pubkey from local, as a fallback. 2015-10-14 01:15:14 +02:00
mjentsch
4eeb7f73c9 Overhaul username handling
Use print names instead of ids as usernames, to fix problems with "useless" user ids showing up for unknown users and in group chats. Remove workarounds like "Telegram Foreign" needed to temporarily store user names for alias resolution.
2015-10-11 14:17:24 +02:00
Ben Wiederhake
6e7e9ce862 Fix translations to be at least passable. 2015-10-07 22:07:56 +02:00
mjentsch
2abe43cd96 Fix plugin init function
Change include order to not fail PURPLE_PLUGIN_INIT.
2015-10-07 01:30:28 +02:00
mjentsch
6a465b24a1 Fix broken inclusion of gettext translation 2015-10-06 21:45:26 +02:00
mjentsch
08168c6339 Include translation functions and restructure includes 2015-10-06 14:28:13 +02:00
mjentsch
c3f48b9835 Don't automatically add all chats to the buddy list
This should fix issue where left chats show up in the blist and cannot be removed anymore and broken Adium bookmarks.
This patch should make the whole chat handling much more native to libpurple, in which chats are added through the chatlist,
the join-chat window or automatically when incoming messages are received. Add a new option "Add chats to buddy list" in
case anyone wants the old behavior.
2015-09-12 22:21:27 +02:00
mjentsch
888cffffc1 Improve group chat management
Load full chat info lazily, prevents useless network request and should fix issues with delays through flood errors when handling big amounts of user chats. Handle chat participant deletions and additions correctly and only touch the user list when it is actually updated, this should fix some issues with printing annoying messages in Finch and users not showing up in the buddy list in certain situations. Only add chats to buddy list that are actively joined or receive incoming message, which should help keeping the buddy list more tidy when using much chats.
2015-09-08 17:06:56 +02:00
mjentsch
abd316a659 Support leaving and deleting chats 2015-09-08 17:06:55 +02:00
mjentsch
61cddd1340 Support for joining chats by invite link 2015-07-24 14:26:13 +02:00
mjentsch
a4c5bca05f Support creating chat invitation links 2015-07-19 15:18:59 +02:00
mjentsch
a6d75e9593 Update version 2015-05-31 16:01:09 +02:00
mjentsch
e7554c739c Add option for disabling sending a message read recipes, and fix some bugs in adium settings menu 2015-05-30 15:52:17 +02:00
mjentsch
49cc80f8c0 Support two factor authentication 2015-05-29 18:25:55 +02:00
mjentsch
4382e1d779 Add custom preferences views for the Adium plugin 2015-03-15 15:56:57 +01:00
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
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
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
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
c9aab9c8eb Support file transfers 2015-02-23 20:34:24 +01:00
mjentsch
45bd244593 Update to 0.6.1 to and handle version in autoconf 2015-01-25 22:43:43 +01:00
mjentsch
ac9ce29b1d Fix user info and clean up source code 2015-01-22 00:16:35 +01:00
mjentsch
c02fc83879 Update Version 2015-01-09 20:05:01 +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
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
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
8bd58265fd Update plugin description version 2014-11-24 12:51:14 +01:00