John Preston
a197ed9e95
Allow choosing the link for the preview.
2023-10-26 14:08:52 +04:00
John Preston
c035ec6917
Allow sending just webpage preview.
2023-10-26 14:08:44 +04:00
23rd
98bb520f47
Adjusted code for refactor of input fields in lib_ui.
2023-09-04 17:36:54 +04:00
John Preston
2f9ae75a65
Message edit: check changes correctly.
2023-08-21 11:06:05 +02:00
John Preston
a02876562a
Finish improved stories reply area theming.
2023-07-20 07:20:08 +04:00
John Preston
65afa2c402
Detach ComposeControls from SessionController.
2023-05-17 15:51:52 +04:00
John Preston
2886ae6909
Block field with toast if texts are not allowed.
2023-02-02 22:12:33 +04:00
John Preston
b42f2784ab
Allow sending premium emoji to Saved Messages.
2022-08-02 13:20:38 +03:00
John Preston
5ce8ed80bf
Show premium emoji tooltip on paste.
2022-07-26 20:12:11 +03:00
John Preston
7a10d3d82c
Support animated emoji in share box comment.
2022-07-26 20:12:08 +03:00
John Preston
806c5ddf29
Support animated emoji in caption edit fields.
2022-07-26 20:12:08 +03:00
23rd
309d4ea702
Added ability to provide field style to EditLinkBox.
2022-03-06 18:11:47 +03:00
23rd
cf55f1a7cd
Added ability to use EditLinkBox without SessionController.
2022-03-06 18:11:47 +03:00
23rd
87bdfaf731
Added ability to skip dictionaries manager in context menu.
2022-03-06 18:11:47 +03:00
23rd
5e13949eda
Added ability to initialize spellchecker without SessionController.
2022-03-04 11:25:10 +03: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
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
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
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
4b684a4926
Added spellchecker helper for common purposes.
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
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
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
23rd
4be178c75f
Added SpellingHighlighter to InputField in HistoryWidget and some boxes.
2019-10-20 21:11:38 +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
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +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
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
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
5f665b8ecb
Add a comment field to ShareBox.
2018-11-04 15:58:32 +04:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
07d8dafa5e
Allow inserting links with custom text.
...
Fixes #4737 .
2018-05-26 18:07:51 +03:00
John Preston
017ec87d60
Replace FlatTextarea with InputField.
2018-05-22 13:45:22 +03:00
John Preston
30dd8fe070
Unite InputField and InputArea.
...
Also support and use instant replaces in InputField-s.
2018-05-20 23:37:59 +03:00
John Preston
fe1a90bd39
Move message context menu to a separate module.
2018-02-08 12:20:52 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
624f33c5e2
Allow to select and copy text in the events log.
...
Also better handle window resize in the events log.
2017-06-30 09:21:42 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
330fc35800
Move some classes to separate modules.
...
MessageField, BotKeyboard, HistoryInner from historywidget.
2017-04-08 16:31:58 +03:00