Commit Graph

85 Commits

Author SHA1 Message Date
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston c535a7c564 Use MaskedInputField for URL input. 2020-09-29 19:03:29 +03:00
23rd edceed28d7 Moved code for send context menu to separate file. 2020-08-11 18:13:40 +04:00
23rd a95a324401 Separated send menu filling to another method. 2020-08-11 18:13:40 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston ee43027bea Remove some usages of App::main(). 2020-06-23 21:53:39 +04:00
John Preston 3878a1b212 Remove some more Auth() calls. 2020-06-23 21:53:38 +04:00
John Preston c868cd6036 Update lib_ui. 2020-06-04 10:53:59 +04:00
23rd 0ca0930066 Updated context menu for spellchecker. 2020-02-24 18:48:33 +03:00
23rd 9d1b93fe50 Moved spellchecker work from message_field to Spellchecker::Start. 2020-02-24 18:48:33 +03:00
23rd 26a45885ff Added updating of spell highlighter when enabled languages are changed. 2020-02-24 18:48:33 +03:00
John Preston bdfa080701 Fix build for Windows. 2020-01-23 10:09:34 +03:00
23rd 465a42a825 Added ability to customize shortcuts for sending messages. 2020-01-23 10:09:34 +03:00
23rd 7d519990b2 Added ability to customize shortcuts for silent or scheduled messages. 2020-01-23 10:09:34 +03:00
23rd c08b2ae3df Added ability to schedule messages to be sent when user comes online.
Pro tip: Hold Ctrl key to send a silent scheduled message!
2020-01-23 10:09:33 +03:00
23rd e5682a9b25 Fixed Spelling Highlighter creation on unsupported platforms. 2019-12-30 16:02:15 +03:00
23rd 16d06527be Updated lib_spellcheck.
- Fixed #6756.
2019-11-06 15:45:03 +03:00
John Preston d1e2fec760 Fix crash in destructor of spellchecked input field. 2019-11-05 17:03:48 +03:00
John Preston 1eb62579e2 Support building OS X 10.10/10.11 version. 2019-11-05 14:27:42 +03:00
23rd aa9dc2bee2 Added phrases for spellchecker. 2019-10-20 21:11:38 +04:00
23rd 4be178c75f Added SpellingHighlighter to InputField in HistoryWidget and some boxes. 2019-10-20 21:11:38 +04:00
John Preston f677b116f9 Use install_base_filter for lib_base. 2019-10-19 12:27:56 +04:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston dda587a2fc Move QtConnectionOwner to base/qt_connection. 2019-10-01 23:59:46 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 4951eeac98 Allow creating desktop part of multi-theme. 2019-09-06 19:31:07 +03:00
John Preston 6343221d7b Remove many includes from stdafx.pch. 2019-09-06 19:31:07 +03:00
John Preston 66bf48e21e Remove 'Send without sound' in Saved messages. 2019-08-31 14:43:19 +03:00
John Preston 87addd41b1 Add new phrases for reminders. 2019-08-29 10:01:28 +03:00
John Preston ef7087348a Allow to schedule created polls. 2019-08-27 19:10:37 +03:00
John Preston caef7dde24 Bundle silent and scheduled to Api::SendOptions. 2019-08-27 19:10:37 +03:00
John Preston 93a52bb66e Move some settings from global to Session. 2019-08-09 11:50:49 +01:00
John Preston 3f2cc01f48 Allow sending silent messages. 2019-07-27 17:19:04 +02:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston 873b77cf40 Use UserData::isBot where applicable. 2019-07-24 08:02:20 +02:00
John Preston dd38da7737 Allow markdown to intersect with previewed links. 2019-07-04 11:51:41 +02:00
John Preston 8741266819 Add support for Underline and Strike-through text. 2019-06-23 15:40:59 +02:00
John Preston a7c8feaecb Use tr:: instead of langFactory and __rich. 2019-06-21 11:06:50 +02:00
John Preston d1d98c3bb1 Use tr:: instead of langFactory in box titles. 2019-06-21 11:06:50 +02:00
John Preston 8ed433cc01 Use tr:: instead of langFactory in input fields. 2019-06-21 11:06:49 +02:00
John Preston 96acecc35b Remove newline in support mode message edit. 2019-06-08 18:19:20 +03:00
John Preston f8d900d7fb Fix freezes in support mode message edit. 2019-06-08 18:19:20 +03:00
23rd ae3fae44b2 Fix build on macOS. 2019-06-06 14:21:31 +03:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston 8c67a4b991 Strip auto-hashtag in support mode message editing. 2019-06-05 21:40:21 +03:00