23rd
b71062561a
Added ability to drag'n'drop videos in SendFilesBox.
2020-08-11 18:13:09 +04:00
23rd
e0750f7b87
Added drag'n'drop area to SendFilesBox for images.
2020-07-20 21:44:07 +03:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +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
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
Ilya Fedin
3a91003eea
Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595
2020-06-17 20:34:47 +04:00
23rd
1c77b9c16f
Changed button names in SendFilesBox.
...
Fixed #7988 .
2020-06-05 19:46:32 +04:00
John Preston
581a21dbd9
Use Media::Streaming in EditCaptionBox.
2020-06-01 18:09:31 +04:00
John Preston
4ae760dd7e
Fix send files emoji panel geometry.
...
Fixes #7704 .
2020-05-01 16:05:24 +04:00
Kirsan
9c562931a2
Respect user settings "Send by ..." for:
...
forward dialog
send file dialog
edit caption dialog
notification replay
schedule messages
new channel dialog
group description edit dialog
create poll dialog
rate call dialog
report bot dialog
support mode
2020-02-11 12:29:34 +04:00
John Preston
f0de8131ec
Improve phrases for scheduled messages.
2020-01-28 18:07:17 +03:00
23rd
e266dc153b
Implemented ability to add more than 1 file to albums via SendFilesBox.
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
12250676f9
Added restoring of scroll position after edit items in SendFilesBox.
2020-01-23 10:09:34 +03:00
23rd
a1bb9cbb2b
Added ability to delete and edit files in SendFilesBox.
2020-01-23 10:09:34 +03:00
23rd
836df873f0
Added ability to delete and edit separate media in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
58cc8fc08b
Removed IconButtons from album items in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
d1d5312ead
Moved searching of sticker mimes to single place.
2020-01-23 10:09:33 +03:00
23rd
f3595e379c
Added processing of small album thumb widths in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
5f8c2f90ff
Added button to add new files in SendFilesBox to album only.
2020-01-23 10:09:33 +03:00
23rd
abc7b8364c
Slightly refactored code in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
627a105ba9
Moved album files filter to FileDialog namespace.
2020-01-23 10:09:33 +03:00
23rd
faef5d8af6
Added buttons to delete and edit album items in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
cf1dc3df78
Added ability to edit album items in send files box via FileDialog.
2020-01-23 10:09:33 +03:00
23rd
a26e4eee18
Split some things into different methods in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
7e00930319
Added ability to delete items from album in SendFilesBox.
2020-01-23 10:09:33 +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
1f2b5ba0a2
Update spellcheck and ui submodules.
2019-12-14 17:46:31 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
John Preston
d63e50944a
Update submodules to the latest spellcheck.
2019-11-05 13:23:56 +03: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
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
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
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
3e895d0e85
Make tabbed selector working in scheduled section.
2019-08-27 19:10:37 +03:00
John Preston
fb96d2eef8
Improve schedule box design.
2019-08-27 19:10:37 +03:00
John Preston
debeb61540
Start schedule message box.
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
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
22f210ea8e
Support sending albums to slowmode groups.
2019-07-24 08:02:20 +02:00
John Preston
04bf24288a
Show slowmode error messages.
2019-07-24 08:02:20 +02:00
23rd
ab8889b2fa
Fixed position of emoji panel in SendFilesBox when new file is added.
2019-07-18 12:09:53 +02:00
John Preston
7034df49e9
Fix sending of .tgs stickers.
2019-07-03 13:03:01 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
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
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
f718410df3
Improve sticker sending by drag-n-drop preview.
2019-04-03 16:50:38 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
2a0b9a44dd
Remove supergroup migrate messages.
2019-01-17 12:21:31 +04:00
John Preston
09d85e25c1
Fix possible crash in SendFilesBox.
2019-01-17 12:20:50 +04:00
John Preston
096c310e0e
Display consistent caption/comment placeholder.
...
After latest PRs regarding sticker sending with comment (#5500 )
and album sending with caption (#4869 ) the input field placeholder
in SendFilesBox was inconsistent with the sending behaviour. Fix it.
2018-12-26 10:53:21 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
0a754b8982
Adding emoji in SendFilesBox and EditCaptionBox.
2018-11-22 16:48:50 +04:00
John Preston
9f5b09c263
Add emoji autocomplete to all fields.
2018-11-21 14:09:46 +04:00
John Preston
5f665b8ecb
Add a comment field to ShareBox.
2018-11-04 15:58:32 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
c5d20a21f7
Beta version 1.4.4: Correct caption limit.
2018-10-17 14:43:18 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
90f6642d33
Use always the same sizes for group layout.
...
For the floating point precision to matter less in the album layout
decisions use always full image sizes for layout
when sending an album and when displaying it.
Fixes #5049 .
2018-08-04 16:48:15 +03:00
John Preston
0e9793b845
Move MimeType from utils to core/mime_type.
...
Also move to Core namespace.
2018-06-14 01:08:47 +03: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
d0e854e9d8
Allow showing boxes in passport panel.
2018-06-03 23:16:35 +03:00
John Preston
a2dabfde56
Separate form controller from view controller.
2018-06-03 23:16:34 +03:00
John Preston
fdfdd0acce
Fix long names in sending files preview.
2018-06-01 23:05:19 +03:00
John Preston
43d19920e0
Apply markdown only when sending the message.
2018-05-31 21:30:28 +03:00
John Preston
bfc748cd31
Pass modifiers inside InputField submitted signal.
...
Also use non-MOC connections for all InputFields.
Also use Ctrl/Cmd + Enter to submit fast share box.
Fixes #4769 .
2018-05-31 15:20:28 +03:00
John Preston
07d8dafa5e
Allow inserting links with custom text.
...
Fixes #4737 .
2018-05-26 18:07:51 +03:00
John Preston
10fa6f0c13
Ignore 'Replace emoji' setting in markdown.
...
Partially fixes #4727 . Fixes #4731 .
2018-05-25 20:50:26 +03:00
John Preston
250718e766
Fix build for Xcode.
2018-05-24 20:25:04 +03:00
John Preston
3ac50cf77f
Move message text to send media box caption field.
2018-05-24 17:57:41 +03:00
John Preston
5e7642b42a
Support markdown and replaces in media captions.
2018-05-24 16:03:21 +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
bfe7bf2c11
Paste image to SendFilesBox even if it has an url.
...
Fixes #4483 .
2018-03-10 00:55:58 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
6236590ca4
Fix SendFilesWay radiobuttons when adding media.
...
Also add /LTCG flag for static libraries Release builds on Windows.
2017-12-30 00:06:43 +03:00
John Preston
2a409e3734
Add files from clipboard to composed album.
...
Fixes #4243 .
2017-12-29 20:02:23 +03:00
John Preston
5b4694a4eb
Move text options constant to a separate module.
...
Also start MediaView group thumbs code.
2017-12-28 16:06:06 +03:00
John Preston
634d21e486
Fix animation in album reordering.
2017-12-27 14:00:32 +03:00
John Preston
95d8742e3c
Fix round corners on Retina displays.
2017-12-27 13:08:18 +03:00
John Preston
b34099f49e
Alpha version 1.2.4: Fix phrases and box cursor.
2017-12-26 20:49:04 +03:00
John Preston
1fc7dabd3e
Allow media reordering when sending an album.
2017-12-26 19:20:08 +03:00
John Preston
a8ac18e4fd
Save send way (album, photos, files) to settings.
2017-12-26 19:20:07 +03:00