John Preston
5ab1cd405a
Fix nice vote percents.
2019-05-01 16:11:39 +04:00
John Preston
9ff02707bf
Improve archive chat list entry layout.
2019-05-01 16:11:38 +04:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
40532e32ab
Enforce changelog message visibility.
2019-05-01 16:11:38 +04:00
John Preston
ceec71d3e6
Track real latest message in the folder.
2019-05-01 16:11:37 +04:00
John Preston
8fd811517b
Count unread correctly in folders.
2019-05-01 16:11:37 +04:00
John Preston
58519300ea
Support pinned chats in folders.
2019-05-01 16:11:37 +04:00
John Preston
607655941d
Improve Ui::Menu interface.
2019-05-01 16:11:37 +04:00
John Preston
518ff146b2
Don't allow reordering of the archive.
2019-05-01 16:11:36 +04:00
John Preston
83306bb01f
Replace QList with std::deque in notifications.
2019-05-01 16:11:36 +04:00
John Preston
f3ed7a674a
Create dialog rows only with known folders.
2019-05-01 16:11:35 +04:00
John Preston
854870683b
Add ability to archive/unarchive the chats.
2019-05-01 16:11:35 +04:00
John Preston
c58f097535
Correctly move histories between chat lists.
2019-05-01 16:11:35 +04:00
John Preston
0367319934
Load folder dialogs list.
2019-05-01 16:11:35 +04:00
John Preston
0c0d6bc411
Move chats / contacts lists to Data::Session.
2019-05-01 16:11:33 +04:00
John Preston
76c3e9a529
Display title and userpic of archived chats.
2019-05-01 16:11:14 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
cc8f4aa24f
Fix crash in history clear.
2019-04-12 17:30:42 +04:00
John Preston
8aa0b31c1a
Beta version 1.6.6: Fix removing saved peers from chats list.
...
Regression was introduced in a7f67c4bc9
.
2019-04-11 11:46:54 +04:00
23rd
ba8257ce64
Fixed top bar glitch when returning dialog back too fast.
2019-04-09 17:10:58 +03:00
John Preston
826d6011a1
Mask channel as forbidden on CHANNEL_PRIVATE error.
...
Fixes #5902 .
2019-04-09 17:19:43 +04:00
John Preston
fe3181649b
Fix build on macOS and Linux.
2019-04-09 17:10:44 +04: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
ff51423125
Remove ExpandLinksNone, rename Text::originalText.
2019-04-08 15:53:11 +04:00
John Preston
fb244c00b9
Fix local history clearing.
2019-04-08 13:16:45 +04:00
23rd
a0926f2d70
Fixed display SendFilesBox via historyAttach button.
2019-04-06 22:15:39 +04:00
John Preston
5deee18247
Use channels.exportMessageLink to check links.
2019-04-05 15:50:16 +04:00
John Preston
60a991bcb0
Fix typing / send action updates handling.
2019-04-05 15:17:34 +04:00
23rd
41b2e7c9c7
Added floating button in dialog list to jump to top.
2019-04-05 14:13:18 +04:00
John Preston
43cc2145a8
Don't update radial animations in cycle.
2019-04-04 19:31:07 +04:00
John Preston
0744f43a0e
Create private channel post links.
2019-04-04 19:31:02 +04:00
23rd
a6d0fa433e
Refactored variables for edit media in HistoryItem.
...
- Replaced _isLocalUpdateMedia with client flag.
- Removed _isEditingMedia.
2019-04-04 13:23:14 +03:00
23rd
bd653dfdff
Refactored ApiWrap.
...
- Joined editUploadedPhoto with editUploadedDocument.
2019-04-03 20:00:12 +03:00
John Preston
b364cbbd69
Improve support accounts presentation.
...
- Change "Bot Info" to "User Info".
- Remove "Block user" and "Add to Group" buttons from profile page.
- Allow revoking messages from support chats.
2019-04-03 16:50:38 +04:00
John Preston
3e374eda51
Fix video messages with disabled autoplay.
2019-04-03 16:50:38 +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
590e6c8e9d
Fixed ability to cancel edit media in albums.
2019-04-02 18:14:12 +04:00
23rd
67572b0d9a
Added canceling upload edit media to Data::Media destructors.
...
- We should stop upload media if message was deleted from other client.
2019-04-02 18:14:12 +04:00
23rd
5554867553
Fixed editing other messages when media is edited.
...
- Added new condition for skipping message in History::lastSentMessage.
- Added reset of _savedMedia in HistoryMessage destructor.
2019-04-02 18:14:12 +04:00
23rd
f3102573ea
Improved applying edition.
...
- Fixed cancel single media.
2019-04-02 18:14:12 +04:00
23rd
0e7ce97da7
Refacotred HistoryWidget::sendFileConfirmed.
...
- New way to edit media in message.
- Added some "const".
- Fixed uploading state in albums when edit media.
2019-04-02 18:14:12 +04:00
23rd
9d789c2657
Fixed sending groupId when edit media.
2019-04-02 18:14:12 +04:00
23rd
145dda843e
Added initial local reference for edited media.
2019-04-02 18:14:12 +04:00
23rd
be2b2cbf7e
Refactored ApiWrap::editMedia.
...
- Slightly refactored checkEntitiesAndViewsUpdate.
- Slightly refactored HistoryMessage.
2019-04-02 18:14:12 +04:00
23rd
0e4d85a5e5
Added handler for MESSAGE_NOT_MODIFIED error when edit media.
2019-04-02 18:14:12 +04:00
23rd
653fd1bb63
Added initial implementation of cancel of media uploading for editing.
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
f24ce584db
Fixed item updating when upload editing media.
2019-04-02 18:14:12 +04:00
23rd
1ed83cf193
Fixed subscribeToUploader.
2019-04-02 18:14:12 +04:00
23rd
aaf61dfbad
Fixed NewUnread message type.
2019-04-02 18:14:11 +04:00
23rd
be58e23775
Init edit media.
2019-04-02 18:14:11 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
cd3c1c6dc0
Use new animations engine for typings.
2019-04-02 14:33:53 +04:00
John Preston
84e9e37353
Closed alpha version 1.6.3.1: Fix build for Xcode.
2019-03-29 14:24:08 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
3bd1bbc77a
Use Streaming::Player in video messages playback.
2019-03-26 16:51:39 +04:00
John Preston
9b247ce5ed
Version 1.6.4: Fix leaving + rejoining for channels.
2019-03-25 16:47:19 +04:00
John Preston
dd8c526fb7
Prepare code for revoking of full history.
2019-03-24 12:12:43 +04:00
John Preston
b972da059a
Show explaining preview of forwards privacy.
2019-03-24 12:12:42 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
db121c0839
Take album caption from any album item.
2019-03-22 14:22:49 +04:00
John Preston
d646de7184
Add button to download audio files.
2019-03-15 16:09:05 +04:00
John Preston
bc2b0f8392
Add button to download video files.
...
Fixes #5781 .
2019-03-15 14:15:04 +04:00
John Preston
a5d1fbff98
Fix removing photo in webpage preview.
2019-03-14 17:14:18 +04:00
John Preston
5ec37e9112
Use separate click handler for OpenWith.
2019-03-13 13:35:47 +04:00
John Preston
aa1090a585
Fix text disappearing in support mode.
2019-03-12 16:54:15 +04:00
John Preston
0a5589f869
Remove deleted chats with users from list.
2019-03-12 16:08:41 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
c063d94aa5
Remove DocumentData::actionOnLoad. Fix GIF open.
2019-03-11 19:07:35 +04:00
John Preston
a886c598c1
Fix non-streamable videos layout.
2019-03-11 12:08:20 +04:00
John Preston
f481f1e142
Make videos larger, fix playback animation.
2019-03-11 12:08:19 +04:00
John Preston
5c4b459f57
Use new animations in video viewer.
2019-03-11 12:08:18 +04:00
John Preston
5a7fcc3a22
Don't show fast share for own messages.
2019-03-11 12:08:17 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
John Preston
195164d9d4
Fix display / download of video messages.
2019-03-11 12:08:14 +04:00
John Preston
aade3d4f27
Allow streaming video from overview.
2019-03-11 12:08:14 +04:00
John Preston
c574119718
Implement file reference update in streaming.
2019-03-11 12:08:08 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
fde8dd9607
Play streaming audio in player.
2019-03-11 12:08:08 +04:00
John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
John Preston
d37b65e624
If stuck wait for three seconds of packets.
2019-03-11 11:49:54 +04:00
23rd
2a935868a8
Added grouping of album files into a single notification.
...
- Added display of "Album" in inDialogsText().
2019-03-11 00:00:02 +04:00
23rd
f48d8538c0
Added ability to see attached stickers on photos.
2019-03-10 22:10:36 +04:00
23rd
78d00bcf22
Refactored counting idle time.
...
- psIdleTime() was replaced with Platform::LastUserInputTime().
- _lastTimeVideoPlayedAt was moved to Application as _lastNonIdleTime.
- Call of updateNonIdle() was added while voice is recording.
- Fixed #5695 .
- Thanks Preston. =)
2019-03-10 22:02:58 +04:00
23rd
9dc9e019f6
Added Search Shortcut in Shared Media.
...
- Works for Documents, Audio files and Shared links.
2019-03-10 10:58:05 +04:00
23rd
89f4408029
Added forwarded info in tooltip of sticker.
2019-03-09 15:24:35 +04:00
23rd
d7dc277003
Added author of channel post in tooltip.
...
- Added "const" to vars within HistoryMessageSigned::refresh().
2019-03-09 15:01:08 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
bdfb9b4143
Ignore actions from other chats in HistoryWidget.
...
This should fix an issue that was noticed in #5701 .
2019-02-17 15:09:02 +04:00
John Preston
7c1704e68b
Fix crash in EditCaptionBox.
2019-02-17 13:51:53 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
83c5a67af5
Fix another crash in last message checking.
...
Regression was introduced in 83bc6fb39c
.
2019-02-12 19:01:30 +03:00
John Preston
fe1f198d99
Fix crash in last message checking.
...
Fixes #5683 .
2019-02-12 16:53:46 +03:00
John Preston
83bc6fb39c
Fix changelog dialogs list appearance.
...
Fixes #5678 , fixes #5674 .
2019-02-11 15:52:36 +03:00
John Preston
d3159d86da
Version 1.5.12: Fix manual loading GIFs to cache.
2019-02-09 18:00:48 +03:00
John Preston
35e5c2329b
Fix wall paper preview on Retina.
2019-02-01 15:41:43 +03:00
John Preston
4f3263d979
Fix crash in MediaView with thumbless GIFs.
2019-02-01 10:28:04 +03:00
John Preston
58cf0fa2b1
Display date in background preview.
2019-01-29 20:03:51 +03:00
John Preston
5ca12a73c3
Use new HistoryWallPaper media type for wallpaper.
2019-01-29 19:26:19 +03:00