23rd
3b79d944af
Removed unused includes of observer file.
2022-11-01 20:03:14 +04:00
John Preston
fba0f0c49b
Improve topic three-dot menu.
2022-11-01 19:25:45 +04:00
John Preston
c6aba83a6b
Fix crash on local edit draft, fix reading drafts.
2022-11-01 19:25:45 +04:00
John Preston
f13a2517cd
Topic Author badge only if not admin.
2022-11-01 19:25:45 +04:00
John Preston
7ec1af5e50
Forbid saving / copying of extended media.
...
Fixes #25227 .
2022-11-01 19:25:45 +04:00
John Preston
f6e501a431
Fix opening topic first time, jump down on second click.
2022-11-01 19:25:45 +04:00
John Preston
e6c2aa8021
Support topic choosing in ShareBox.
2022-11-01 19:25:45 +04:00
John Preston
7384cd3463
Support sharing games by link to topics.
2022-11-01 19:25:44 +04:00
John Preston
83ec449890
Display topic title in topic-root reply bars.
2022-11-01 19:25:44 +04:00
John Preston
afd6121cbb
Don't mass-select service messages in replies.
2022-11-01 19:25:44 +04:00
John Preston
dd3c8430bf
Forbid deleting the topic root.
2022-11-01 19:25:44 +04:00
John Preston
d5ea0149e8
Implement drag-n-drop to forum topics.
2022-11-01 19:25:44 +04:00
John Preston
6d215d3729
Implement unpin all messages within a thread.
2022-11-01 19:25:44 +04:00
John Preston
1ac051a812
Implement forwarding to topics.
2022-11-01 19:25:44 +04:00
23rd
c497e9ca9c
Slightly optimized includes in HistoryWidget.
2022-11-01 19:25:44 +04:00
23rd
ed356a1fc5
Fixed jumping to message from composed search.
2022-11-01 19:25:44 +04:00
23rd
290e8bb449
Fixed appearing of transcribe button on various messages with video.
2022-11-01 19:25:44 +04:00
John Preston
079c36abf3
Fix build with Xcode.
2022-11-01 19:25:44 +04:00
John Preston
bc96bdf7a9
Add video chat management menu items to forum.
2022-11-01 19:25:43 +04:00
John Preston
18bf5c0ee2
Handle nice topic / post-in-topic links.
2022-11-01 19:25:43 +04:00
23rd
3078a94404
Added fallback of waveform data to transcribed round messages.
2022-11-01 19:25:43 +04:00
John Preston
af6ca8d4f1
Show "Topic Author" fake admin rank.
2022-11-01 19:25:43 +04:00
John Preston
aa5f9467f2
Support attach webview bots in topics.
2022-11-01 19:25:43 +04:00
John Preston
443745e3fc
Show chosen search result in topic messages search.
2022-11-01 19:25:43 +04:00
John Preston
fcf9ca3982
Fix local pinned hiding in topics.
2022-11-01 19:25:43 +04:00
John Preston
8dc27339b4
Support pinned messages bar in topics.
2022-11-01 19:25:43 +04:00
John Preston
da1e784803
Search from a user inside forum / topic.
2022-11-01 19:25:43 +04:00
John Preston
46ebbdb547
Open jump-to-date by date click in topics.
2022-11-01 19:25:43 +04:00
John Preston
5d76415a5d
Implement jump-to-date in topics.
2022-11-01 19:25:43 +04:00
John Preston
ee8f997c14
Implement search inside a single topic.
2022-11-01 19:25:43 +04:00
John Preston
d6ee5b3456
Show forum messages search results with topics.
2022-11-01 19:25:42 +04:00
John Preston
88d1a502a5
Implement search in topics / forum messages.
2022-11-01 19:25:42 +04:00
John Preston
c8ed8e0e5f
Support nice empty topic view.
2022-11-01 19:25:42 +04:00
John Preston
aac91a19ca
Context-aware phrases in topic service messages.
2022-11-01 19:25:42 +04:00
John Preston
ec0380b250
Show premium tooltip on custom topic icon selection.
2022-11-01 19:25:42 +04:00
John Preston
6e491913d6
Add "View in Thread" context menu button.
2022-11-01 19:25:42 +04:00
John Preston
48fb410bc7
Fix third column profile in topics.
2022-11-01 19:25:42 +04:00
John Preston
602ba5bba9
Implement correct ForumTopic::canWrite logic.
2022-11-01 19:25:42 +04:00
23rd
1cd02fc3c9
Added display of video message in transcribed view.
2022-11-01 19:25:42 +04:00
23rd
dec47eafb8
Improved display of transcribe button for video messages.
2022-11-01 19:25:42 +04:00
23rd
579b20fff7
Added initial ability to transcribe video messages.
2022-11-01 19:25:42 +04:00
John Preston
b4a9705564
Simplify pin_messages/manage_topics logic.
2022-11-01 19:25:41 +04:00
John Preston
72354f52d4
Improve top bars in forums, in narrow column.
2022-11-01 19:25:41 +04:00
John Preston
70e5f752ba
Correctly handle complex pin_messages/manage_topics.
2022-11-01 19:25:41 +04:00
John Preston
ed895ace66
Track dialog row offline status by timer.
...
Fixes #6410 .
2022-11-01 19:25:41 +04:00
John Preston
0cba9e4a22
Support default forum topic icons.
2022-11-01 19:25:41 +04:00
John Preston
5314833c82
Show requests / group call / report in forums.
2022-11-01 19:25:41 +04:00
John Preston
b92b8e56cb
Improve single column layout forum / topic top bar.
2022-11-01 19:25:41 +04:00
John Preston
b497e5ea21
Add a Reopen Topic button on topic top for admins.
2022-11-01 19:25:41 +04:00
John Preston
eab23df174
Improve narrow topics column in forum.
2022-11-01 19:25:41 +04:00
John Preston
ce17904dcc
Improve topic creation, fix glitches.
2022-11-01 19:25:41 +04:00
John Preston
4074a558e7
Get rid of Ui::FlatInput class.
...
Fixes #16172 .
2022-11-01 19:25:41 +04:00
John Preston
f9173ea849
Improve top bar design for forum / topic.
2022-11-01 19:25:41 +04:00
John Preston
3a967bbbfe
Ignore unread counts in non-opened topics.
2022-11-01 19:25:41 +04:00
John Preston
7aea54ad8f
Fix crash in topics admin log.
2022-11-01 19:25:41 +04:00
John Preston
4910a60499
Track mentions / reactions together with unread.
2022-11-01 19:25:40 +04:00
John Preston
5356f6cd2c
Reload topics on channelDifferenceTooLong.
2022-11-01 19:25:40 +04:00
John Preston
08ba277327
Track forum unread state by topics inside.
2022-11-01 19:25:40 +04:00
John Preston
7cdf20a7c5
Allow topic deletion.
2022-11-01 19:25:40 +04:00
John Preston
c86496add1
Fix document thumbnails on Retina screens.
2022-11-01 19:25:40 +04:00
John Preston
ad2f9438a2
Support topic closing.
2022-11-01 19:25:40 +04:00
John Preston
fe41fbd7e9
Support topics in Recent Actions.
2022-11-01 19:25:40 +04:00
John Preston
df5602d203
Support topic icon display in topic profile.
2022-11-01 19:25:40 +04:00
23rd
9ddbc75638
Added api flag support of userpic display for sponsored messages.
2022-11-01 19:25:40 +04:00
23rd
dc8b693f1d
Added context menu to bar of pinned messages with bot button.
2022-11-01 19:25:40 +04:00
23rd
c9390dc02a
Added draft for usernames in admin log.
2022-11-01 19:25:40 +04:00
23rd
c8ae7c7402
Added ability to download multiple files from context menu.
2022-11-01 19:25:39 +04:00
23rd
00df4625e2
Added support of primary username to FieldAutocomplete.
2022-11-01 19:25:39 +04:00
23rd
4824b26afd
Added tooltip with forwards count to views info for channel messages.
2022-11-01 19:25:38 +04:00
23rd
5751d29c47
Removed username from public data members of UserData.
2022-11-01 19:25:38 +04:00
23rd
38f5cda800
Added display of full filenames for documents in tooltips.
2022-11-01 19:25:38 +04:00
John Preston
89d0a71591
Update API scheme on layer 148: Drafts in topics.
2022-11-01 19:25:38 +04:00
John Preston
ead427793b
Handle forum / topic links.
2022-11-01 19:25:38 +04:00
John Preston
16e189a2ce
Update API scheme on layer 148: Usernames.
2022-11-01 19:25:37 +04:00
John Preston
6997e165c6
Forum three-dot menu, except search.
2022-11-01 19:25:37 +04:00
John Preston
b68ffcd75d
Update topic mute state on history mute changes.
2022-11-01 19:25:37 +04:00
John Preston
d92580b8fc
Update API scheme on layer 148: Notifications.
...
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
b8bdca8921
Extract Data::Thread common for History / ForumTopic.
2022-11-01 19:25:37 +04:00
John Preston
9fccdf21cc
Remove General meta-forum-topic.
2022-11-01 19:25:37 +04:00
John Preston
92a4b27e65
Support per-topic notification settings.
2022-11-01 19:25:37 +04:00
John Preston
24843e3acd
Rounded square userpics for forums.
2022-11-01 19:25:37 +04:00
John Preston
6695eda1be
Handle forum-non_forum changes in realtime.
2022-11-01 19:25:37 +04:00
John Preston
58b8eb8e96
Implement per-topic shared media.
2022-11-01 19:25:37 +04:00
John Preston
eec4b72d9a
Implement correct jump to message / unread / bottom.
2022-11-01 19:25:37 +04:00
John Preston
3999bca823
Support unread mentions / reactions in topics.
2022-11-01 19:25:36 +04:00
John Preston
6a7f030ee7
Update API scheme on layer 148.
...
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston
2c0b5b3210
Track unread mentions / reactions in topics.
2022-11-01 19:25:36 +04:00
John Preston
9348039313
Track unread posts in forums inside RepliesList-s.
2022-11-01 19:25:36 +04:00
John Preston
f258b054e8
Request last topic message if it becomes unknown.
2022-11-01 19:25:36 +04:00
John Preston
032e6c57e9
Request full album for last topic message.
2022-11-01 19:25:36 +04:00
John Preston
2c50f7b18c
Implement nice topic icon create / edit box.
2022-11-01 19:25:36 +04:00
John Preston
ae3496d6a4
Update API scheme on layer 148: Topic icons.
2022-11-01 19:25:36 +04:00
John Preston
f3c664859d
Don't show root pinned bar in topic messages list.
2022-11-01 19:25:36 +04:00
John Preston
3722e55b67
Support topic on-the-fly creation.
2022-11-01 19:25:35 +04:00
John Preston
b77756ce12
Highlight active topic in chats list.
2022-11-01 19:25:35 +04:00
John Preston
1e8dfb7315
Partially support correct rounding near unwrapped media.
2022-11-01 19:25:35 +04:00
John Preston
f167cdad6f
Fix crash in quiz explanation with spoilers.
2022-11-01 19:25:35 +04:00
John Preston
001c46f68a
Support new rounding in poll bottom button.
2022-11-01 19:25:35 +04:00
John Preston
09ab83836f
Support new rounding for comments button.
2022-11-01 19:25:35 +04:00
John Preston
e5f2d83548
Support new rounding in bot inline keyboards.
2022-11-01 19:25:35 +04:00
John Preston
9cab06e17d
Support new rounding for albums.
2022-11-01 19:25:35 +04:00
John Preston
8268e9f872
Support new rounding for GIFs / videos.
2022-11-01 19:25:35 +04:00
John Preston
b2302d35fe
Implement correct rounding of shared locations.
2022-11-01 19:25:35 +04:00
John Preston
abdd126dcf
Round correctly distinct photos and extended media.
2022-11-01 19:25:35 +04:00
John Preston
f3662f4873
Support correct rounding of file thumbnails.
2022-11-01 19:25:34 +04:00
John Preston
dd52c53ec0
Allow more file attach layout customization.
2022-11-01 19:25:34 +04:00
John Preston
b13471672d
Move some chat styles from basic.style to chat.style.
2022-11-01 19:25:34 +04:00
John Preston
ba2f92906b
Implement new bubble rounding.
2022-11-01 19:25:34 +04:00
John Preston
405d8c327d
Support different row styles in chats list.
2022-11-01 19:25:34 +04:00
John Preston
1401b19994
Add PaintContext for Dialogs::Ui::RowPainter.
2022-11-01 19:25:34 +04:00
John Preston
4724ef91f6
Improve topic by message resolving.
2022-11-01 19:25:34 +04:00
John Preston
d7fdd80f55
Fix jumping in topics list on message send.
2022-11-01 19:25:34 +04:00
John Preston
9f652b0d3f
Unify message sending, track forum topic icons.
2022-11-01 19:25:34 +04:00
John Preston
3b3792ef75
Allow editing topic title and icon.
2022-11-01 19:25:33 +04:00
John Preston
c90f879c96
Update API scheme on layer 148.
2022-11-01 19:25:33 +04:00
John Preston
73e56b0340
Support default General topic in forums.
2022-11-01 19:25:32 +04:00
John Preston
eaf679916a
Create / move forum topics on new messages.
2022-11-01 19:25:32 +04:00
John Preston
388fe6adfb
Allow enabling forum, creating topics.
2022-11-01 19:25:32 +04:00
John Preston
c88140e256
Update API scheme to layer 148, start forums.
2022-11-01 19:25:32 +04:00
Ilya Fedin
7b5781b845
Use default-constructed QLocale for date/time/whatever else formatting
...
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide
Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston
0fbb2e77fe
Fix rare crash in message list context menu.
2022-09-30 18:50:43 +04:00
23rd
acb092f9f2
Fixed stuck of history-down button after sending message.
2022-09-28 12:31:16 +03:00
23rd
9cd194e60e
Removed ability to copy links in channels with restricted content.
2022-09-28 12:31:16 +03:00
John Preston
1ee9122660
Fix text selection in recent actions.
2022-09-25 18:22:01 +04:00
John Preston
6cb01998cc
Fix crash in recent actions with spoilers.
2022-09-25 18:21:59 +04:00
John Preston
d4a2c4a151
Fix crash in caption spoiler opening.
2022-09-23 23:22:08 +04:00
John Preston
8fc35e45e4
Beta version 4.2.1: Fix build with GCC.
2022-09-22 22:44:28 +04:00
John Preston
ffb024a5f7
Move Ui::Text::String to HistoryView::Element.
2022-09-22 11:07:48 +04:00
John Preston
a7c29991db
Hide toggle silent send in channels on msg edit.
2022-09-19 18:49:46 +04:00
John Preston
476a864be2
Improve cropping for videos a bit.
...
Partially fixes #25061 for videos as well.
2022-09-19 18:05:03 +04:00
John Preston
fc3810fd7f
Improve scaling / expanding for photos.
...
Fixes #25061 .
2022-09-19 17:44:59 +04:00
John Preston
39294a7fe1
Use touch handling from HistoryInner in ListWidget.
...
Fixes #24880 .
2022-09-19 11:16:09 +04:00
John Preston
8bd0ff7925
Opimize spoiler revealing.
2022-09-18 16:52:31 +04:00
John Preston
4f948699c0
Correct spoiler selections.
2022-09-18 16:52:31 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
fba683be8e
Fix custom status remove on chat reopen.
2022-09-16 10:42:25 +04:00
John Preston
9923cc9b31
Beta version 4.1.2: Fix build with Xcode.
2022-09-14 23:15:00 +04:00
23rd
557a2e400e
Fixed muting of peer forever.
2022-09-14 23:10:30 +04:00
John Preston
bc340d75c4
Insert / Copy emoji from pack preview.
2022-09-14 14:45:23 +04:00
John Preston
02daa2a04b
Add new reaction menu to channel comments.
2022-09-13 07:53:20 +04:00
John Preston
1363faddbf
Add "Reaction button in messages" setting.
2022-09-13 07:44:22 +04:00
John Preston
40bdcd7ebc
Short poll extended media.
2022-09-12 18:18:31 +04:00
John Preston
379736a7d1
Show extended preview inline keyboard button.
2022-09-12 16:40:19 +04:00
John Preston
d2234d88b6
Update extended media, hide inline keyboard.
2022-09-12 16:10:56 +04:00
John Preston
7c8d3452b5
Fix reaction icons in Who Reacted.
2022-09-12 09:38:18 +04:00
John Preston
e2bca0a7ff
Fix media with caption in a narrow window.
2022-09-12 09:35:28 +04:00
John Preston
2e8a03dfd1
Correctly round spoiler animation in ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
a919978a37
Use spoiler animation for ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
20b5138e00
Initial implementation of ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
03e90840de
Closed alpha version 4.1.1.1: Fix build with GCC.
2022-09-10 11:07:08 +04:00