Commit Graph

136 Commits

Author SHA1 Message Date
John Preston c4a7d48d96 Selection of text in attachments: captions, web page previews.
Text/HistoryItem/HistoryMedia::getState() unified.
Text::getStateElided added. Tested with web page previews only.
2016-04-13 21:29:32 +03:00
John Preston 5a3fea05ac ClickHandler, TopBarWidget and Overview layouts moved to separate files.
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +03:00
John Preston 8e89486fbc Error handling changed, 'auto' keyword used for MTP types.
All errors that lead to MTP request resending by default
error handler now can be handled differently. For example
inline bot requests are not being resent on 5XX error codes.
+ extensive use of auto keyword in MTP types handling.
2016-04-08 14:44:35 +04:00
John Preston 04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ 2016-04-07 22:05:28 +04:00
John Preston 7f6cf32cdd ITextLink moved to ClickHandler, TextLinkPtr > ClickHandlerPtr.
Global methods textlnkOver/Down/DrawOver were replaced by
static members of ClickHandler, now global state consists
of the handler pointer + host pointer, who declares callbacks
for the active and pressed handler changed events.

This will allow to use ClickHandler from different hosts
simultaneously (like HistoryItem / BotDescription / BotKeyboard).

Not yet tested.
2016-03-29 20:17:00 +03:00
John Preston 6710ef3e2f fixed admin badge display in groups 2016-03-24 19:27:38 +03:00
John Preston 605f5305e4 Changed all .. to ... in phrases 2016-03-24 18:07:13 +03:00
John Preston 0ed64e7b51 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-03-24 17:50:01 +03:00
John Preston 034adfab2b Delete button for large channels is hidden now
(server doesn't allow to delete large channels any more).

Error message added in a case when the current user
(not admin) tries to add to a supergroup a user who
was kicked by admin (and blacklisted by this action).
2016-03-23 19:50:40 +03:00
Soltan Tekeev 2ef06a0baa Add "Copy name" option (Requested in #1783)
Also add lng_profile_copy_fullname to lang.strings

Signed-off-by: Soltan Tekeev <stek29@yandex.ru> (github: stek29)
2016-03-18 23:25:09 +03:00
John Preston baf1e31b76 circled profile images 2016-03-18 13:18:30 +03:00
John Preston 3226c93f88 order by online in supergroups only 200 users max 2016-03-15 13:55:27 +03:00
John Preston 0913833f6c can_set_username bit support added 2016-03-11 18:21:05 +03:00
John Preston 98e2700764 rich delete all + ban almost done in supergroups (need to clear messages on the client side as well) 2016-03-10 18:42:01 +03:00
John Preston efa5fc443a pin/unpin messages in supergroups, local hide for pinned messages 2016-03-10 13:15:21 +03:00
John Preston 2bfb1e0f1f convert to supergroup in all groups 2016-03-05 00:04:15 +02:00
John Preston cb78bd1a10 public links display / edit done in megagroups 2016-03-04 18:47:48 +02:00
John Preston 0072573925 pinned message api used, ordering by online and displaying online count in small megagroups 2016-03-04 17:34:46 +02:00
John Preston d1353b7e73 admin badge added to group/supergroup profile 2016-03-04 16:01:39 +02:00
John Preston 2b6e30bcb5 silent broadcast done 2016-02-25 19:19:54 +03:00
John Preston 803d1a429d scheme updated, config vars moved to Global namespace 2016-02-18 19:36:33 +03:00
John Preston 7433cea0fd fixed copy selected text, post author display added, post links handling added, windows bingmaps opening added, sticker previews from mentionsdropdown and stickersetbox added 2016-02-17 19:37:21 +03:00
John Preston 3281b81565 using new privacy settings (error display), crash reports collecting improved, colors for waveforms imporved, preparing for 0.9.22.dev (next commit) 2016-02-14 21:29:17 +03:00
John Preston 189d0e8de3 voice messages moved to documents with waveforms 2016-02-12 19:35:06 +03:00
John Preston 80ba0259dd some namespaces reorganized, author photo display added to wide mode (where messages are centered), version 0.9.20.dev 2016-02-08 17:54:55 +03:00
John Preston 0b8523d58e added year 2016 to copyright 2016-02-08 13:56:18 +03:00
John Preston 9a1798f043 saved gifs done 2015-12-28 00:37:48 +03:00
John Preston 1545e7f796 moved to 44 layer 2015-12-16 18:31:56 +03:00
John Preston 29a7c66e45 stopping gifs on history close, only one gif playing 2015-12-16 16:35:15 +03:00
John Preston f6fec9a619 showPeerHistory moved to Ui namespace 2015-12-13 14:36:08 +03:00
John Preston 0b96dd5362 animations refactored 2015-12-08 15:33:37 +03:00
John Preston 6222876ac4 refactored layer methods 2015-12-07 21:09:05 +03:00
John Preston e2da90e844 test data removed, 9014003 beta version 2015-12-06 20:58:58 +03:00
John Preston 128cbefe0c improved langs for stickers, fixed confirmed actions from chats context menu, changed AppUserModelId for beta version 2015-12-06 18:50:02 +03:00
John Preston 87b57a26ad stop and clear audio on logout, clearing bot keyboards in supergroups 2015-11-24 19:19:18 +03:00
John Preston cbaf7352c6 by typing 'tosupergroup' in your group profile you can migrate it to supergroup even if you don't have 200 members yet 2015-11-24 14:01:53 +03:00
John Preston b69f0db975 not invalidating participants when admins not needed 2015-11-24 13:40:18 +03:00
John Preston e5c82fad21 icon in search in supergroup fixed, edit button for supergroup admins added, crash fix in cached image loading 2015-11-23 19:05:30 +03:00
John Preston 204977d48a fix for 0.9.11.dev 2015-11-20 22:48:56 +03:00
John Preston b05e1a8899 supergroups done 2015-11-20 21:24:44 +03:00
John Preston 84a47d3be7 participants handled good in supergroups: auto-load in profiles, outdate when something changes 2015-11-19 18:56:29 +03:00
John Preston 583c0e5904 fixed delete chat where you are not participant / deactivated chat, scheme updated 2015-11-19 14:28:17 +03:00
John Preston 37de0904af merged overview, merged search and searchGlobal done (supergroups) 2015-11-18 16:11:56 +03:00
John Preston ca34a09f20 mediaview, audioplayer and profilewidget display united media in group and migrated supergroup 2015-11-16 19:04:37 +03:00
John Preston 497602f47e merged supergroup with migrated group history, loading messages by 3 (temp! testing) 2015-11-13 18:14:33 +03:00
John Preston fd339e401f megagroup members support improved 2015-11-09 12:51:22 +03:00
John Preston ff1b046c17 group > megagroup convert added 2015-11-06 12:48:49 -05:00
John Preston ede2065c26 megagroups started 2015-11-02 17:33:57 -05:00
John Preston 6d7c55e7cc chat admin checks improved 2015-11-02 00:49:25 -05:00
John Preston 04b0932780 some fixes in admins and participants counts requesting 2015-11-01 21:28:24 -05:00