John Preston
ca2692473d
Fix inactive window notifications clearing.
2019-09-02 13:39:43 +03:00
John Preston
87ea49e094
Allow schedule messages while in slowmode counter.
2019-09-02 13:39:43 +03:00
John Preston
66bf48e21e
Remove 'Send without sound' in Saved messages.
2019-08-31 14:43:19 +03:00
John Preston
d95e54cb1a
Check if it is possible to 'Send now.'
2019-08-30 16:17:46 +03:00
John Preston
5758f756c9
Fix draft clearing on message send.
...
Regression was introduced in caef7dde24
.
2019-08-30 13:31:45 +03:00
John Preston
07f45b7eab
Improve published scheduled notifications.
2019-08-29 10:01:28 +03:00
John Preston
87addd41b1
Add new phrases for reminders.
2019-08-29 10:01:28 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
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
385a7eb00d
Start scheduled compose controls.
2019-08-27 19:10:37 +03:00
John Preston
1c9775baf9
Improve scheduled messages icon design.
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
03cdddfe18
Allow sending scheduled messages.
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
99037d3d46
Improve scheduled messages top bar.
2019-08-27 19:10:37 +03:00
John Preston
815a18be94
Add initial scheduled list implementation.
2019-08-27 19:10:37 +03:00
John Preston
549789bfb7
Update API scheme to layer 105.
2019-08-27 19:10:37 +03:00
John Preston
7316d24ca4
Quick fix for 'Cant forward here' error.
2019-08-19 15:26:12 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
230dd29af5
More large emoji layout improvements.
2019-08-09 11:50:49 +01:00
John Preston
850940116d
Move HistoryMedia to HistoryView namespace.
2019-08-09 11:50:49 +01:00
John Preston
fd59147b8a
Allow disabling animated emoji.
2019-08-09 11:50:49 +01:00
John Preston
93a52bb66e
Move some settings from global to Session.
2019-08-09 11:50:49 +01:00
John Preston
708b1d7ad4
Add 'Loop animated stickers' setting.
2019-08-09 11:50:49 +01:00
John Preston
8d94cfb61b
Fix support mode sending.
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
137fa0378c
Remove some more Auth() calls.
2019-07-24 16:00:30 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
22f210ea8e
Support sending albums to slowmode groups.
2019-07-24 08:02:20 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
234b0ffcf0
Disallow accidental failing forwarding.
2019-07-24 08:02:20 +02:00
John Preston
c50ade565a
Track sending and failed messages.
2019-07-24 08:02:20 +02:00
John Preston
0005e0a3ce
Track local messages, restore on history jump.
2019-07-24 08:02:20 +02:00
John Preston
04bf24288a
Show slowmode error messages.
2019-07-24 08:02:20 +02:00
John Preston
01d0479335
Show slowmode button in chat.
2019-07-24 08:02:20 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
8477956117
Fix emoji button.
...
Fixes #6264 .
2019-07-15 14:12:28 +02:00
John Preston
4e52da91c7
Fix animation stopping in chat.
2019-07-05 19:47:40 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
23rd
4ac3aef600
Added ability to cancel reply with Ctrl + Arrow Down.
...
- Fixed #4636 .
2019-07-04 16:41:46 +02:00
23rd
cf8a06302f
Fixed position of unread mentions button when field changes height.
2019-07-04 16:41:46 +02:00
John Preston
9d09cee1cc
Unblock bots without restarting from Settings.
2019-07-04 16:26:53 +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
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
7af0dd105e
Use tr:: instead of Lang::Viewer.
2019-06-21 11:06:49 +02:00
John Preston
faa42110ac
Remove Info::Profile::ToUpperValue.
2019-06-21 11:06:48 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
213a8d888a
Implement report spam from ContactStatus bar.
2019-06-21 11:06:45 +02:00
John Preston
984f19b1e9
Implement adaptive ContactStatus buttons.
2019-06-21 11:06:45 +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
14b82698f8
Update API scheme to layer 102.
2019-06-21 11:06:44 +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
619aca04f9
Don't show report spam over the chat history.
2019-05-30 21:53:13 +03:00
John Preston
d2d51cc883
Fix field showing on write access enabling.
2019-05-27 15:09:59 +02:00
John Preston
e8a99a854d
Add unread badge to Discuss button.
2019-05-27 15:09:57 +02:00
John Preston
a64c8c52b4
Correctly display discussion posts sender.
2019-05-27 15:09:56 +02:00
John Preston
f0eba3e283
Show Discuss button in channels.
2019-05-27 15:09:32 +02:00
John Preston
801b500aa6
Use session() instead of Auth() in HistoryWidget.
2019-05-27 15:09:30 +02:00
John Preston
c92a798e1b
Support url authorizations.
2019-05-27 15:09:18 +02:00
John Preston
7ee16ba45c
Clear hidden animated stickers.
2019-05-27 14:11:26 +02:00
udf
288b7ba100
Actually fix display SendFilesBox via historyAttach button.
2019-05-26 14:23:37 +02:00
udf
2b8951b2ac
Revert "Fixed display SendFilesBox via historyAttach button."
...
This reverts commit a0926f2d70
because it
doesn't do what it should do :(
2019-05-26 14:23:37 +02:00
John Preston
4ad8c4877c
Close archive by escape even if chat is shown.
2019-05-01 16:11:47 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
5ab1cd405a
Fix nice vote percents.
2019-05-01 16:11:39 +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
854870683b
Add ability to archive/unarchive the chats.
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
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +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
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
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
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
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
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
aa1090a585
Fix text disappearing in support mode.
2019-03-12 16:54:15 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +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