Commit Graph

1526 Commits

Author SHA1 Message Date
John Preston 7c537cd787 Revert "Removed downscaling of 2560px images before displaying them"
This reverts commit 0f3ec7893d.

Instead correct max limits of 2560x2560 will be used.
2023-01-02 14:26:41 +04:00
John Preston bc71a2619a Version 4.5: Fix build with GCC. 2022-12-30 16:16:35 +04:00
John Preston d02819db13 Support spoilers in reply previews / pinned bar. 2022-12-30 14:06:20 +04:00
John Preston 1ef0791bc6 Fix OOM crash on wrong attached stickers hash.
Fixes #25495.
2022-12-29 17:11:24 +04:00
John Preston b334a1f4fd Support spoilers in chats list media previews. 2022-12-28 14:07:38 +04:00
John Preston cad8a85497 Fix empty fallback photo appending. 2022-12-28 12:41:06 +04:00
Ilya Fedin 66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston 63c2db30f2 Fix folder updating when leaving a channel. 2022-12-27 14:05:22 +04:00
John Preston e878ccccb4 Fix crash in sending media with spoilers. 2022-12-27 11:48:54 +04:00
John Preston 43f0da683f Fix a crash in media spoilers. 2022-12-26 14:24:08 +04:00
John Preston ce40ecc7f9 Show admins in participants_hidden group info. 2022-12-26 14:24:08 +04:00
John Preston 9513aaa768 Allow accepting video userpic suggestions. 2022-12-26 14:24:07 +04:00
23rd b135a09e00 Added initial support of fallback user photo to storage module. 2022-12-26 14:24:07 +04:00
23rd 6327d5ea38 Fixed conflict between peer update flags. 2022-12-26 14:24:07 +04:00
John Preston 54a12aa74f Update API scheme on layer 151. 2022-12-26 14:24:06 +04:00
John Preston 1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston af350e2daa Allow hiding members list in groups. 2022-12-26 14:24:06 +04:00
John Preston 833a259234 Colorize emoji in text color correctly. 2022-12-26 14:24:06 +04:00
23rd 1ab8830ba8 Fixed outdated album info in reply on deleting dependency message. 2022-12-26 14:24:06 +04:00
John Preston ca1c826c5c Simplify some code. 2022-12-26 14:24:06 +04:00
John Preston 5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
John Preston 25746d195c Support displaying of photo spoilers. 2022-12-26 14:24:05 +04:00
John Preston 48cf0a4382 Implement suggested profile photo message. 2022-12-26 14:24:05 +04:00
John Preston 5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
Lesiuk 0f3ec7893d Removed downscaling of 2560px images before displaying them
Fixes #2206
2022-12-23 11:00:07 +04:00
John Preston 985f557adf Forbid deleting General topic. 2022-12-07 13:36:42 +04:00
John Preston 02e2fb1258 Fix crash in pinned topic deletion. 2022-12-07 11:01:05 +04:00
John Preston d827045199 Fix possible crash on forum switch off. 2022-12-06 23:22:50 +04:00
John Preston f86afc9539 Fix userpics view cache invalidation. 2022-12-06 22:51:14 +04:00
John Preston d5c145b707 Fix forum userpic rounding on Retina screens. 2022-12-06 16:38:54 +04:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston 88b555e907 Fix incorrect topic names in forum preview row. 2022-12-05 08:55:39 +04:00
23rd b2e9c4ab75 Moved Ui::EmptyUserpic to td_ui. 2022-12-04 03:46:44 +03:00
23rd 5df0b08a42 Added support of second colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
John Preston 33c0c79593 Correct unread counter after first topic open. 2022-12-02 21:29:51 +04:00
John Preston 34f0aae418 Respect topic pin limit from appConfig. 2022-12-01 21:44:32 +04:00
23rd f8a17bd9c9 Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston beaea9c57d Update dialog row height on topic switch. 2022-11-29 23:13:51 +04:00
John Preston 3c799a5cc1 Correctly track General editing service messages. 2022-11-29 23:13:51 +04:00
John Preston 6ff29b8902 Don't show 'Discussion started' in General topic. 2022-11-29 18:30:38 +04:00
John Preston 623176e901 Show loading state for non-loaded forum topics list. 2022-11-29 18:30:38 +04:00
John Preston 01748d8aba Better General topic support. 2022-11-29 18:30:38 +04:00
John Preston ac3834bfdb Support custom icon for General topic. 2022-11-29 18:30:38 +04:00
John Preston 57af221d39 Support General topic somehow. 2022-11-29 18:30:38 +04:00
John Preston d89573bab5 Update API scheme to layer 150. 2022-11-29 18:30:38 +04:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00