Commit Graph

347 Commits

Author SHA1 Message Date
John Preston dd1d04e9b0 Inline bot results preview: photo, audio, file, voice. Beta 9040126. 2016-04-10 22:18:26 +04:00
John Preston 5f12c6d85b Always create photo and document for inline bot results. 2016-04-10 15:13:37 +04:00
John Preston 7bba52fb7e Refactored dialogs structs.
Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed
from history module to dialogs/ folder, for all struct -> class.
2016-04-09 22:45:55 +04:00
John Preston 0110a62776 Inline bot cancel button added.
It replaces Send button when the user is editing an inline bot
query. First cancel clears the inline bot request, second one
clears the field entirely. Escape key acts the same as cancel.
2016-04-09 15:02:50 +04:00
John Preston fa0c700ca6 Inline switch to pm and back support added for inline bots. 2016-04-08 18:16:52 +04:00
John Preston 35d5089f48 Scroll following the inline bot keyboard when message is edited. 2016-04-08 13:20:10 +04:00
John Preston 1bc834bd5e Sending icon is displayed in the inline keyboard callback button. 2016-04-06 21:02:22 +04:00
John Preston 3e2485678d Moved inline bot result structs from structs.cpp/h module.
Moved inline bot result layouts from layout.cpp/h module.
Over status prepared for inline bot file result icon.
Dependencies reduced, inline bots code moved to InlineBots namespace.
Build in Xcode and QtCreator broken.
2016-04-05 01:09:46 +04:00
John Preston 1ef944ed7b Not inline bot keyboard now supports editing as well.
Styles improved for not inline bot keyboard.
Full crash string adding to crash report.
Preparing to leave source code without #include "stdafx.h"
2016-04-01 19:32:26 +04:00
John Preston 0e0956451a MTP_bytes() replaces MTP_string() for QByteArray payload.
Scheme updated for bot callbacks sending data bytearrays.
ReplyKeyboard edition is supported when editing the messages.
2016-04-01 14:23:40 +04:00
John Preston b981472877 Bot keyboard button with type url / callback / phone / location
now can be displayed with an icon in the upper-right corner.

Inline bot keyboards almost done.
2016-03-30 20:42:01 +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 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
John Preston 2ef8c44445 all MTP flags made strictly typed by scoped enums, in-message date display added for non-service messages 2016-03-19 19:55:15 +03:00
John Preston ddc802c0af top bar search icon added 2016-03-17 12:23:38 +03:00
John Preston 86a4a388c3 ban / report / deleteAll done in MainWidget instead of RichDeleteMessageBox 2016-03-13 18:45:00 +03:00
John Preston 02b0512761 min channels handled, delayed getDifference request with old updDate value added 2016-03-11 18:01:32 +03:00
John Preston 5cab9569c3 updating edited messages dependencies (replies, edit / reply / pinned bar), postponing notification about pinned message while the message itself is not yet available 2016-03-11 15:20:58 +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 1c722a425d forwarded getState fixed, pinned message service msg dependency request and text update done 2016-03-05 23:12:55 +02:00
John Preston 32322c4450 fixed some warnings, added debug logs before thread wait calls 2016-03-01 05:36:23 +03:00
John Preston b678913da5 improved rpcClear() when deleting a complex RPCSender, clearing recent inline bots on logout 2016-02-28 15:36:23 +03:00
John Preston a88b676588 global shortcuts with loading from .json map 2016-02-27 22:39:51 +03:00
John Preston 2b6e30bcb5 silent broadcast done 2016-02-25 19:19:54 +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 3579276b49 videos rendered like files, fixed history loading 2016-02-12 21:18:32 +03:00
John Preston 189d0e8de3 voice messages moved to documents with waveforms 2016-02-12 19:35:06 +03:00
John Preston 7b855a661a new wide layout, build script and some bugs fixed 2016-02-09 19:05:08 +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 85f46cef8c emoji button with progress done for inline bot requests 2016-01-01 17:58:05 +08:00
John Preston 82fb3f590f saved gifs panel substituting @gif to the message field 2016-01-01 02:34:56 +08:00
John Preston 35d4754380 caching web files to local, sending of inline bots results done properly, panel ux better for inline bots 2015-12-31 23:27:21 +08:00
John Preston 5830e0f657 inline bots gif / photo preview / sending done 2015-12-31 13:34:43 +08:00
John Preston 14839e7afe scheme updated, contextbot -> inlinebot renamed, web file loader done like mtp file loader 2015-12-31 03:09:20 +08:00
John Preston cbb0219812 savedgifs -> contextitems in stickers panel, fixed atomic uint64, now with mutex :( 2015-12-30 14:47:39 +08:00
John Preston 9a1798f043 saved gifs done 2015-12-28 00:37:48 +03:00
John Preston a5622cfe3b pausing gifs when mediaview is opened, improved photos handling - download on click if autoload disabled 2015-12-25 16:09:14 +03:00
John Preston 6170144fe9 inline gifs playback / stopping done 2015-12-23 19:48:44 +03:00
John Preston 73a4d3510d removed itemReplaced 2015-12-23 15:55:32 +03:00
John Preston 62723f7576 disabled libexif usage, mediaview showing gif/mp4 through ClipReader 2015-12-22 11:01:02 +03:00
John Preston f6fec9a619 showPeerHistory moved to Ui namespace 2015-12-13 14:36:08 +03:00
John Preston 6ec61d4ad6 redrawHistoryItem moved to Ui, shared contact updates when is_contact changes 2015-12-13 14:17:15 +03:00
John Preston 2225abec5c voice messages and shared contacts redesigned (contacts not realtime-updated yet) 2015-12-13 01:29:33 +03:00
John Preston 603fb63c91 document new design done with radial progress, ? char added to monospace blocks edges, redraw history item through Notify:: 2015-12-11 21:11:38 +03:00
John Preston 0b96dd5362 animations refactored 2015-12-08 15:33:37 +03:00
John Preston e312adb786 added stickers preview 2015-12-07 16:05:00 +03:00
John Preston 6b565acbd6 fixed show profile from chats list in single-column layout, requestFullPeer() used in Settings, empty popup menu not shown in HistoryInner, no chat list jump when returning to history, channel admins box layout fixed 2015-12-07 13:06:59 +03:00
John Preston 4487ad9e15 saving QByteArray bookmark along with file paths and download path for OS X sandbox, will be actually implemented only in macstore branch 2015-11-26 20:34:52 +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 46df0f32c8 metalang tags gen fixed, links parsing in rich text fixed, custom keyboard hiding saved in history 2015-11-23 18:34:38 +03:00
John Preston b05e1a8899 supergroups done 2015-11-20 21:24:44 +03:00
John Preston ecc49f9cd4 support of bots added to megagroups 2015-11-20 16:34:37 +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 ede2065c26 megagroups started 2015-11-02 17:33:57 -05:00
John Preston 69f6a1ee79 chat admins state is read and updated 2015-10-29 15:10:49 -04:00
John Preston e2f83e1662 new photo / file sending, photo always can be sent with caption 2015-10-27 22:41:13 -04:00
John Preston 31b1ecb11c new image / file confirm / send codepath made by Task / TaskQueue, sending single file paste and image paste / drop with that new code 2015-10-26 22:39:02 -04:00
John Preston 4d230eda63 added audio files >> link to profile and media types dropdown 2015-10-23 21:24:05 +02:00
John Preston 3df66a7ed3 tilde fix in 100%, dialogs repaint fix, markdown (bold, italic, code, pre support) added 2015-10-23 18:06:56 +02:00
John Preston 9327473ee8 share support added 2015-10-18 14:49:34 +02:00
John Preston e211268158 new slide animations 2015-10-17 16:52:26 +02:00
John Preston 5c3d030b9a moved shadows to widgets where they are displayed 2015-10-17 10:31:48 +02:00
John Preston 8172b82ed4 boxes finished 2015-10-14 13:51:37 +02:00
John Preston 015e9356ab license header updated 2015-10-03 16:16:42 +03:00
John Preston e3e774176e new flat boxes started 2015-10-03 13:09:09 +03:00
John Preston fe8567e909 fast dialogs, emoji pan etc done 2015-10-01 17:05:05 +03:00
John Preston 5b811500f6 version 0.9.2 prepared 2015-09-25 10:47:32 +03:00
John Preston e3e7cf088c version 0.9 stable prepared 2015-09-24 11:58:10 +03:00
John Preston 9154edc217 channels members and admins management done 2015-09-23 20:43:08 +03:00
John Preston 72d0271e4d channel edit, report spam, etc done 2015-09-21 23:57:42 +03:00
John Preston f9d3921136 improved pts skipped updates handler 2015-09-20 12:54:22 +03:00
John Preston ac971dafe7 messages and comments almost done in channels, sending broadcast toggle done, short poll + updates handle 2015-09-20 11:55:41 +03:00
John Preston 56a63a5b10 comments show-hide in channels 2015-09-19 12:13:21 +03:00
John Preston ab7a745a49 channel creation done 2015-09-17 00:15:13 +03:00
John Preston 41e7ce11a0 channel creation almost done 2015-09-16 16:04:08 +03:00
John Preston fefff78ae0 merged with master fix of report spam button 2015-09-13 14:12:38 +03:00
John Preston ae6bc3852a pts handled for channels now 2015-09-13 11:41:27 +03:00
John Preston f431591bef fixed speed in os x qt, added langs for report spam confirm, fixed os x drag n drop forward 2015-09-12 22:00:56 +03:00
John Preston 659c52347c merged with master spam report buttons, 40 layer not compiling! 2015-09-11 13:29:21 +03:00
John Preston ce678bad68 handling errors for spammers 2015-09-09 10:46:31 +03:00
John Preston c45d9e9860 fixed crash in showNextNotify, started reportspam button 2015-09-07 18:53:46 +03:00
John Preston 54d5b6dd71 forward/delete for channels, prepared load unread by offset_id, not done yet! 2015-09-07 10:52:37 +03:00
John Preston b53e35e046 broadcast channels support started 2015-09-06 13:17:09 +03:00
John Preston 84436a34b0 gifs and pdfs attached by link, prepare for 0.8.54 stable version 2015-08-30 17:57:21 +03:00
John Preston 9a51e2c7e3 fixed mail links in Win10, include muted chats in the unread badge setting, shared links overview and search, version 0.8.53.dev 2015-08-28 18:15:56 +03:00
John Preston aabf136690 search in conversation, clear history and delete conversation for all chats 2015-08-04 18:01:47 +03:00
John Preston c786a2bf9c new history loading (one-request loading always), fixed audio unlistened status on media send, fixed flac playing, fixed os x crashes, version 0.8.40.dev 2015-07-17 22:17:37 +03:00
John Preston 4f2ff9e343 added padding in player, bot commands description QString -> Text (emoji support) 2015-07-03 18:55:22 +03:00
John Preston 1268774517 audio player done 2015-07-03 11:47:16 +03:00
John Preston f7d55005c4 audio documents playback added, audio documents suppress on voice message, and both suppress on notify added 2015-07-01 00:07:05 +03:00
John Preston 8e82b8894d forward-by-drag-n-drop done for images, documents, stickers and messages-by-date 2015-06-27 16:02:00 +03:00
John Preston d81d6bbeaa drag-n-drop files to dialogs list 2015-06-26 12:07:59 +03:00
John Preston 793a2ec90c version 0.8.30 with bots support and forward-by-dragndrop 2015-06-24 20:24:48 +03:00
John Preston e7914ac468 improved custom keyboard 2015-06-19 15:39:33 +03:00
John Preston 11384743bc improved mentions dropdown, version 0.8.28.dev 2015-06-18 20:24:54 +03:00
John Preston c291bf0861 version 0.8.27.dev ready 2015-06-17 22:43:03 +03:00
John Preston 05ac97526e 0.8.26.dev version with fixed schema 2015-06-17 00:01:43 +03:00
John Preston 84c2a33c18 0.8.25.dev version with ipv6, bots profiles, keyboard and command autocomplete + elided text align fixed 2015-06-15 20:19:24 +03:00
John Preston 83744e77d1 bot description displayed in message history, bot commands are highlighted and sent by click 2015-06-10 18:54:24 +03:00
John Preston 92858dc7d3 sticker packs done 2015-05-19 18:46:45 +03:00
John Preston fb32c5bcd1 version 0.8.8.dev - audio listened status, photo caption display, map places name-address display, gray muted badges, invite links support, some fixes 2015-04-30 16:53:36 +03:00
John Preston c9626c140c sending ping_delay_disconnect instead of getDifference by no-updates timeouts 2015-04-16 17:59:42 +03:00
John Preston 70f3568e16 version 0.8.2.dev ready 2015-04-08 02:03:32 +03:00
John Preston 9ede565a00 webPage links preview previews done 2015-04-07 01:15:29 +03:00
John Preston f3bb155b0a links preview done 2015-04-04 23:01:34 +03:00
John Preston 868d5f60f3 cloud password support added, sessions list added, some boxes unifications 2015-04-02 13:33:19 +03:00
John Preston 4f7cc79b4c warning fixed 2015-03-24 13:21:30 +03:00
John Preston 938707203c 0.7.24.dev version with hashtags autocomplete, forwarding with comment and move back to reply by bottom arrow 2015-03-24 13:00:27 +03:00
John Preston 1f7e39e184 version 0.7.21.dev prepared - replies, mentions 2015-03-19 12:18:19 +03:00
John Preston 39acdd8725 layer 25 support started 2015-03-13 16:01:25 +03:00
John Preston 70e85529c7 added chat backgrounds 2015-02-03 18:02:46 +03:00
John Preston dde1a5a6eb new online / offline status update, notify delayed if other clients are active 2015-01-26 16:04:41 +03:00
John Preston 476ffca228 beautiful sticker blur and selection, document and sticker thumbs fixed, sticker emojis in dialog list display done, send image as doc for bad image size done 2015-01-05 23:17:33 +03:00
John Preston 091bba0fc5 stickers emoji tab done, local cache for stickers, recent stickers and voice messages 2015-01-02 17:55:24 +03:00
John Preston a495c247ac version 0.7.4 - german and dutch languages, some lang fixes 2014-12-23 02:11:37 +03:00
John Preston 37917db64c navigation improved in single column layout, document viewer improved 2014-12-15 18:55:45 +03:00
John Preston 8d3aa5c31e version 0.6.18 - photos up to 1280x1280, single-column layout support, new version notifications 2014-12-12 19:27:03 +03:00
John Preston a7a43e4031 version 0.6.16 - document/video paths storage, username not found box support, download/upload sessions stop/resume 2014-12-05 16:44:27 +03:00
John Preston 27de201bda telegram.me links supported in-app and in Windows 2014-12-03 16:10:32 +03:00
John Preston 7a600e03d0 update menu changed to restart if only restarting, header comment changed 2014-12-01 13:47:38 +03:00
John Preston 33aa925aa0 changed to official 2014-11-25 23:15:18 +03:00
John Preston 8b743ae751 some thread work fixes, no contacts msgs added, username info msgs added 2014-11-25 15:15:29 +03:00
John Preston 6333bc59b1 fixed os x dark theme tray icon, added os x main menu 2014-11-18 15:40:43 +03:00
John Preston 379c5f75e7 os x setup done, fixing localtime on each os x wakeup or application active status change 2014-11-12 23:30:26 +03:00
John Preston e0ef1d434d version 0.6.7: invokeAfter, long messages split, protocol implementation improvements 2014-11-05 20:43:32 +03:00
John Preston 30ae073080 username support added, layer 18 2014-10-22 22:39:03 +04:00
John Preston ebe9b4f80f fixed os x 10.10 dragndrop 2014-10-17 23:14:42 +04:00
John Preston b35b3bcb87 some template send improvements 2014-10-17 22:32:34 +04:00
John Preston 09e2fbaa6b inline gif view done, some design improvements, version 0.6.3 2014-10-10 16:46:20 +04:00
John Preston 311292c3a3 version 0.6 prepared, changed "Win (Unofficial)" to "Desktop", photo loader animation, custom context menu, default Downloads folder, cyclic logs 2014-09-30 07:11:09 -07:00
John Preston 9bbc99a6b4 openal audio and voice messages 2014-09-04 11:33:44 +04:00
John Preston 90a9c92d38 enabled contact share from templates, copy phone number from context menu in profiles 2014-08-22 18:55:23 +04:00
John Preston ceb899b69b ctrl+pageup/pagedown/tab/shift+tab now work in search results 2014-08-22 11:41:39 +04:00
John Preston 8a817eb204 media overview multiple selection done, fixed search result delete crash 2014-08-21 16:18:56 +04:00
John Preston db7fa9ba2f multi select in media overview done properly 2014-08-20 23:13:00 +04:00
John Preston a2179c77ba media overview almost done 2014-08-15 15:19:32 +04:00
John Preston d26afe1b64 new photo viewer done, testing, added compressed checkbox in send-from-clipboard 2014-08-11 13:03:45 +04:00
John Preston 070ea58a53 many small fixes: multi windows users running, touchscreen fix, esc for photo hide, etc + send to menu integration on windows + hide text in notifies 2014-07-18 14:37:34 +04:00
John Preston c93e4e27fe version 0.5.8 prepared, hashtag search support, clearhistory crash fix 2014-07-16 10:58:36 +04:00
John Preston 29d6bf46c8 version 0.5.6 with serverside messages search, win version only 2014-07-04 15:12:54 +04:00
John Preston 196b412d1f half warnings fixed, half disabled for mac build, custom openssl build used, fixed notify activate, bold fonts etc 2014-06-16 13:31:10 +04:00
John Preston 11907318b2 mac retina support improved, windows settings hidden, reply-from-notify done 2014-06-15 16:31:03 +04:00
John Preston cace79bc18 xcode build support started 2014-06-14 23:32:11 +04:00
John Preston 4221fe666f initial commit for 0.4.18 version of Telegram Desktop 2014-05-30 12:53:19 +04:00