Commit graph

303 commits

Author SHA1 Message Date
John Preston
4074a558e7 Get rid of Ui::FlatInput class.
Fixes #16172.
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
7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston
fe41fbd7e9 Support topics in Recent Actions. 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
John Preston
89d0a71591 Update API scheme on layer 148: Drafts in topics. 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
58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston
1e8dfb7315 Partially support correct rounding near unwrapped media. 2022-11-01 19:25:35 +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
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
ffb024a5f7 Move Ui::Text::String to HistoryView::Element. 2022-09-22 11:07:48 +04:00
John Preston
8bd0ff7925 Opimize spoiler revealing. 2022-09-18 16:52:31 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston
2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
d9a6d5f508 Update API scheme on layer 145. 2022-09-02 21:14:32 +04:00
John Preston
6ff30c643a Fix user links in Recent Actions. 2022-08-15 18:54:08 +03:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston
b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
23rd
89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
23rd
6cc0d4f7d5 Removed uppercase from admin log section. 2022-07-26 20:12:09 +03:00
23rd
6450c213e6 Fixed some global shortcuts with non-primary windows. 2022-07-26 20:12:09 +03:00
23rd
43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
23rd
c9ef5e47fe Migrated from frequency timer to simple animation for item highlighting. 2022-06-05 09:11:10 +03:00
John Preston
201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston
a079139c3b Sync premium sticker effect with sticker frame index. 2022-05-19 17:27:01 +04:00
John Preston
935fb79c52 Play premium sticker effects. 2022-05-19 17:27:01 +04:00
John Preston
a752c4d9f3 Update API scheme on layer 142. 2022-05-19 17:27:01 +04:00
23rd
edcfac8da3 Slightly improved display of media replacement in admin log. 2022-04-25 22:35:02 +04:00
23rd
d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
c0re100
0f05a1fd63 Fix incorrect admin log
Type: Restricted to Left
2022-03-23 09:44:35 +04:00
23rd
c9ebec1cf0 Removed base/observer.h from main pch.
Removed unused inheritances from base::Subscriber.
2022-03-15 18:02:30 +03:00
John Preston
6dd720b76e Don't show downloads bar while message is visible. 2022-03-09 14:52:44 +04:00
John Preston
98f2f6d4c0 Always try to save original photo bytes to disk. 2022-03-07 11:09:14 +04:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston
a61048d219 Fix scroll state management in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
ffd65e1fe4 Fix slide animations with new layer rounding. 2022-02-25 14:14:43 +03:00
23rd
20c911651f Replaced universal initializers with constructors in Ui::Text::Link. 2022-02-06 18:29:38 +03:00
John Preston
28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
23rd
59ed41abfe Added ability to select links and monospaced text with pressed Alt key. 2022-01-26 10:39:57 +03:00
c0re100
4bb3aec168 Fix incorrect admin log
Type: Restricted to Member
2022-01-22 18:43:43 +04:00
John Preston
1657c2c7f2 Fix context menu on sent images / documents. 2022-01-17 19:21:34 +03:00
John Preston
f24f78c0cc Use click handler property instead of dynamic cast. 2022-01-14 21:55:48 +03:00
23rd
e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +03:00
23rd
b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
John Preston
c6811640b5 Show box with reacted users. 2021-12-29 21:22:34 +03:00
John Preston
58c9494c03 Add reactions to replies / comments / pinned section. 2021-12-29 21:22:34 +03:00
John Preston
87e97ad533 Add admin event log phrases about reactions. 2021-12-29 21:22:34 +03:00
23rd
0ffd827fc5 Moved ellipsis string to lib_ui. 2021-12-29 21:22:34 +03:00