Commit graph

2727 commits

Author SHA1 Message Date
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