John Preston
0a63eac4f6
Generate good thumbnail for animated stickers.
2019-07-04 10:20:36 +02:00
John Preston
7034df49e9
Fix sending of .tgs stickers.
2019-07-03 13:03:01 +02:00
John Preston
3b645422ff
Implement animated stickerset thumbnails.
2019-07-02 14:43:17 +02:00
John Preston
4a7b5a8e01
Fix caching for large sticker area.
2019-07-01 17:57:37 +02:00
John Preston
dc102bd9e8
Finish working with localstorage before ~AuthSession.
2019-06-22 12:36:35 +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
5e3734d7bf
ReportSpamPanel -> HistoryView::ContactStatus.
2019-06-21 11:06:45 +02:00
John Preston
30dea3a2e7
Use isConstant bool instead of ContactStatus enum.
2019-06-21 11:06:45 +02:00
John Preston
d9e93fb5cc
Fix possible crash in auth session destruction.
2019-06-17 14:23:50 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
f91e11efc9
Fix crash in absent file reading.
2019-06-05 14:27:33 +03:00
John Preston
04e3b250e7
Keep track of fully cached media files.
2019-06-04 14:30:44 +03:00
John Preston
46d8d9f97a
Remove CancelledFileLoader hack.
2019-06-04 14:30:43 +03:00
John Preston
eb438e35ee
Remove old download priority arguments.
2019-06-04 14:30:43 +03:00
John Preston
b2895a39ed
Register streaming loaders in Storage::Downloader.
2019-06-04 14:30:43 +03:00
John Preston
cca906d383
Use ready parts from loader in streaming.
2019-06-04 14:30:43 +03:00
John Preston
8704f6efd0
Use simple loader for non-streamable file types.
2019-06-04 14:30:43 +03:00
John Preston
e1114530ab
Working code for streaming downloader.
2019-06-04 14:30:43 +03:00
John Preston
ebf2a678b1
Use a special FileLoader for streamed documents.
2019-06-04 14:30:43 +03:00
John Preston
8c0cd9b9e9
Prepare Media::Streaming::Reader to be shared.
2019-06-04 14:30:43 +03:00
John Preston
8b804d1995
Allow sending animated stickers.
2019-05-28 17:45:30 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
23rd
47910b2ae1
Added '-scale' command-line argument for custom scale.
...
- Fixed #5272 .
- Fixed #5365 .
- Fixed #6055 .
2019-05-27 14:10:36 +02:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
23rd
37af963717
Fixed work with _msgIdToEdit in FileLoadTask.
...
- Added check is allowed media editing in paintEvent.
- Fixes #5885 .
2019-04-06 11:24:11 +04:00
John Preston
456a949d01
Fix working with document thumbnails.
2019-04-04 00:08:05 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
94964c35ce
Fixed false definition FileMediaInformation as Image.
2019-04-02 18:14:12 +04:00
23rd
d605b18ec0
Fixed checking for song without file path.
2019-04-02 18:14:12 +04:00
23rd
25e3674819
Added allowsEditMedia() to Media. Slightly refactored.
2019-04-02 18:14:12 +04:00
23rd
c84f99cf3a
Fixed uploading edit media with thumbnails.
2019-04-02 18:14:12 +04:00
23rd
1ed83cf193
Fixed subscribeToUploader.
2019-04-02 18:14:12 +04:00
23rd
be58e23775
Init edit media.
2019-04-02 18:14:11 +04:00
John Preston
d3bf489bea
Improve base::binary_guard interface.
2019-04-02 14:33:52 +04:00
John Preston
8759d637ff
Use StorageFileLocation in mtpFileLoader.
2019-03-29 14:24:07 +04:00
John Preston
3f49796c43
Fix file reference updating.
2019-03-29 14:24:07 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
eba2a98703
Add general StorageFileLocation abstraction.
2019-03-29 14:24:06 +04:00
John Preston
386600baf9
Save and load sticker set thumbnails.
2019-03-24 12:12:44 +04:00
John Preston
0d888eea85
Fix local cache time limit setting storing.
...
Fixes #5611 .
2019-03-14 13:22:42 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
John Preston
e631d98230
Implement media cache management.
2019-03-11 12:08:09 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
2208621050
First version of caching in media streaming.
2019-03-11 11:49:54 +04:00
John Preston
f133dd396c
Return pair<iterator,bool> from flat_set::emplace.
2019-03-11 11:49:54 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00