Commit graph

1781 commits

Author SHA1 Message Date
John Preston
8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston
2054b73c3c Apply date edition in service messages. 2021-02-23 21:21:42 +04:00
John Preston
4875f0b003 Improve auto-delete service messages. 2021-02-23 21:21:42 +04:00
John Preston
975fcb0c1a Show channel post authors in Saved Messages. 2021-02-23 19:12:22 +04:00
John Preston
aa46ec8bc1 Load photo thumbnail only if no inline thumbnail found. 2021-02-22 23:42:42 +04:00
John Preston
221b896117 Suggest converting to gigagroup. 2021-02-22 23:42:42 +04:00
John Preston
47d2ecf629 Fix a possible crash in Clear History. 2021-02-22 23:42:42 +04:00
John Preston
f9f52302bb Ignore accents in contacts list sorting. 2021-02-22 23:42:42 +04:00
John Preston
ce5739048a Fix build on Xcode. 2021-02-22 23:42:42 +04:00
John Preston
5f030bc0c8 Remove debug-only ttl for messages. 2021-02-22 23:42:42 +04:00
John Preston
48821af475 Toggle selection by comments button click. 2021-02-22 23:42:42 +04:00
John Preston
467449ac13 When reporting peer allow to select messages first. 2021-02-22 23:42:42 +04:00
John Preston
5b6503bfed Fix auto-delete button when switching between chats. 2021-02-22 23:42:42 +04:00
John Preston
781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston
05488022c7 Use ttl_period from service messages as well. 2021-02-22 23:42:41 +04:00
John Preston
73ae29ae25 Update API scheme. 2021-02-22 23:42:41 +04:00
John Preston
18d62c070d Show auto-delete info in message context menu. 2021-02-22 23:42:41 +04:00
John Preston
15e03687f8 Add auto-delete period edit box. 2021-02-22 23:42:41 +04:00
John Preston
dd2dcd7fd9 Update icons in the compose controls. 2021-02-22 23:42:41 +04:00
John Preston
f97064ed37 Add auto-delete control to compose controls. 2021-02-22 23:42:41 +04:00
John Preston
1426a43743 Add admin log filter for invite links. 2021-02-22 23:42:41 +04:00
John Preston
c1fde61e03 Add admin log events about links, volumes, ttl. 2021-02-22 23:42:41 +04:00
John Preston
6a6e355af4 Handle ttl_period locally. 2021-02-22 23:42:40 +04:00
John Preston
046a3906c4 Destroy messages by ttl_period dates. 2021-02-22 23:42:40 +04:00
John Preston
502a3ca70f Update API scheme to layer 124. 2021-02-22 23:42:40 +04:00
John Preston
baccec623d Allow opening large (> 512px) stickers in media viewer. 2021-02-17 19:15:49 +04:00
John Preston
8ec60e0321 Show all .webp as stickers.
Allow opening stickers not from stickerpacks in media viewer.
2021-02-17 10:46:36 +04:00
John Preston
dcebefe2bb Fix layout of round video messages. 2021-02-17 10:46:36 +04:00
John Preston
c935f1bb16 Always show check marks on outgoing service messages. 2021-02-17 10:46:36 +04:00
23rd
bff3291631 Fixed clearing of text field in sections when sending files. 2021-02-12 13:05:50 +03:00
23rd
90f90a4ca3 Fixed accepting of Enter key in box of voice message discarding. 2021-02-09 19:26:56 +04:00
23rd
776c099a25 Limited maximum number of selected messages for rescheduling to 20. 2021-02-09 19:26:56 +04:00
John Preston
d782ea63f8 Fix audio file forward inconsistencies. 2021-02-04 19:58:57 +04:00
John Preston
11b965e82e Skip image context actions for not-loaded photos. 2021-02-04 19:26:49 +04:00
John Preston
a2187a1d2b Fix pinned message reset on message being sent.
Fixes #10304
2021-02-04 19:12:31 +04:00
23rd
0b4d0b83c2 Removed App::wnd from classes that have pointer to Window::Controller. 2021-02-04 18:13:04 +04:00
23rd
0cb8f2cc85 Added ability to toggle silent broadcast from sections.
Fixed #8655.
2021-02-04 18:13:03 +04:00
23rd
03a5619d61 Added ability to reschedule multiple messages.
Fixed #9851.
2021-02-04 18:13:03 +04:00
23rd
f1236edf5b Added ability to select message for reply with Ctrl+Up/Down in sections. 2021-02-04 18:13:03 +04:00
23rd
0b98cfbfec Added ability to attach file with shortcut in sections. 2021-02-04 18:13:03 +04:00
23rd
062c451c27 Refactored handle of last editable message on Up arrow in sections. 2021-02-04 18:13:03 +04:00
23rd
b13e5ddce9 Moved scroll keys from sections to compose controls. 2021-02-04 18:13:03 +04:00
23rd
4ad0837661 Fixed ability to attach file while editing message in sections. 2021-02-04 18:13:03 +04:00
23rd
6c0553f4d6 Returned default icon color for songs without cover art.
Related commit: 9b9531d279.
2021-01-29 18:24:52 +03:00
John Preston
8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
John Preston
1ec6b4313d Remove redundant Cancel button in ScheduleBox. 2021-01-29 13:56:15 +04:00
John Preston
dd401a063b Set preview as cancelled if no preview in editing message. 2021-01-27 20:26:27 +04:00
John Preston
7410c1fc73 Fix display of imported messages in private chats. 2021-01-25 16:50:59 +04:00
John Preston
ff9bf23461 Don't show checks for incoming service messages. 2021-01-25 16:50:59 +04:00
John Preston
19455d44db Add support for imported messages. 2021-01-25 16:50:58 +04:00