23rd
3fd772ce17
Moved file click handlers to separated file.
2021-06-18 07:30:54 +03:00
23rd
1f816c249b
Replaced DocumentOpenClickHandler.
2021-06-17 10:57:45 +04:00
23rd
8591d58798
Added ability to show content from Controller for Shared Media.
2021-06-17 10:57:45 +04:00
23rd
dc0aaec4a4
Added ability to show document from Controller for sections.
2021-06-17 10:57:45 +04:00
23rd
583c3d3429
Moved static functions from DocumentData to separated file.
2021-06-17 10:57:45 +04:00
23rd
690fbe83fd
Unified and moved to single place generating of song name from SongData.
2021-05-31 08:54:22 +04:00
Ilya Fedin
508762cd2c
Use static QFileInfo::exists
2021-03-15 11:21:05 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
8042a83fd2
Move glib usage to glibmm
2021-03-04 12:07:54 +04:00
John Preston
b5a2b0fb98
Detect file mime from content as well on Linux.
2021-02-22 23:42:43 +04:00
John Preston
5feb381cb2
Allow showing images from cache in media viewer.
...
Fixes #10237 .
2021-02-01 15:44:24 +04:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
23rd
ad761011d6
Added ability to fetch song cover from external resource.
2021-01-22 16:53:59 +04:00
23rd
8fffe7d128
Added ability to show song cover in HistoryView and Overview::Layout.
2021-01-11 22:46:45 +03:00
John Preston
02d5af7d71
Detect animated stickers by mime type.
2020-12-01 09:45:24 +03:00
John Preston
012ebdd15e
Fix grouping of music files / just files.
2020-10-30 18:32:19 +03:00
John Preston
8b96f4c214
Move Media::Clip::Reader and FileLocation to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
37fb94cbfb
Load and show image previews in pinned bar.
2020-10-30 18:32:18 +03:00
23rd
665e322fce
Added ability to see attached stickers on documents.
...
Fixed #8927 .
2020-10-30 13:18:40 +03:00
Ilya Fedin
b0ce88395f
Don't stream videos when external player is used
...
External player feature doesn't work otherwise
2020-10-26 14:58:39 +03:00
John Preston
9697567b8d
Add some more open file warnings.
2020-10-23 13:10:43 +03:00
John Preston
9c213bf1c0
Warn when launching .sh on Windows.
...
Fixes #8753 .
2020-10-07 14:41:21 +03:00
John Preston
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +03:00
John Preston
9463bbd266
Fix animated stickers with wrong dimensions.
2020-07-17 08:13:45 +04:00
John Preston
8aafe6ba0e
Show only box(512,512) .webp as stickers.
2020-07-15 22:31:42 +04:00
John Preston
515d8e78da
Show 'Open With' for files without extension.
2020-07-14 19:03:36 +04:00
John Preston
76596f42c7
Open too large GIFs in fullscreen viewer.
2020-07-02 13:43:39 +04:00
Magnus Groß
f697abe9a1
Do not open non-images as image
...
QImageReader might report PDF as a viable image type, if Qt is
dynamically linked and QtWebEngine is installed.
Fixed by additionally checking the mime type.
Fixes #8102
2020-06-29 16:22:15 +04:00
John Preston
4d65df6ca2
Remove legacy temp download folder.
2020-06-23 21:53:44 +04: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
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
03dec15e8e
Pass Main::Session to click handler creators.
2020-06-23 21:53:38 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
Ilya Fedin
dbad9fa73a
Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku
2020-06-17 20:33:23 +04:00
John Preston
571a15bf92
Fix sending image from clipboard as file.
2020-06-16 19:31:50 +04:00
John Preston
6bc7fa9ef4
Fix crash in saving of a document.
2020-06-04 12:22:37 +04:00
John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
John Preston
50e0c3ee4d
Fix preloading in media viewer.
2020-06-01 18:09:33 +04:00
John Preston
dbb46ce9b0
Let [Photo|Document]Media outlive message view.
2020-06-01 18:09:32 +04:00
John Preston
64cf0e1a44
Fix caching of sent photos and document previews.
2020-06-01 18:09:32 +04:00
John Preston
e27d2bc2d5
Move photo data to Data::PhotoMedia.
2020-06-01 18:09:32 +04:00
John Preston
9ce59730ff
Collect local DocumentMedia data.
2020-06-01 18:09:32 +04:00