Commit graph

17500 commits

Author SHA1 Message Date
John Preston
4e8895ddd9 Show "View as Messages" preview by Alt+Click. 2024-05-31 19:52:32 +04:00
John Preston
ad342a5324 Extract chat preview as a SessionController part. 2024-05-31 19:52:25 +04:00
John Preston
5cfd86b829 Use Ui::Text::String to show topic names.
Fixes #27956.
2024-05-31 19:52:22 +04:00
John Preston
27eb3e45be Allow only t.me links in factchecks. 2024-05-31 19:52:22 +04:00
John Preston
4953246c5d Support touchscreen pinned chats reordering. 2024-05-31 19:52:18 +04:00
John Preston
4df5372dab Support chat preview on touchscreens. 2024-05-31 19:52:12 +04:00
John Preston
40fbd415ef Support collapsible blockquotes in Ui::Text::String. 2024-05-30 21:35:10 +04:00
John Preston
974bf99921 Allow editing spoiler/caption-above in EditCaptionBox. 2024-05-30 21:35:10 +04:00
John Preston
8c0351be4e Allow editing caption above/below media. 2024-05-30 21:35:10 +04:00
John Preston
67f7816088 Allow sending photo/video captions above media. 2024-05-30 21:35:10 +04:00
John Preston
924d80ecba Use message text rendering for media captions. 2024-05-30 21:35:10 +04:00
23rd
d219bccf2b Fixed position of via bot header above reply in message view. 2024-05-30 21:35:10 +04:00
23rd
02bd2bca64 Removed display of credits button in settings when user has no credits. 2024-05-30 21:35:10 +04:00
23rd
57ecc2be1d Improved style of list of credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
d3a01b6235 Improved style of list of credits history entries for entry photo. 2024-05-30 21:35:10 +04:00
23rd
58c060c59d Improved style of box for credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
cd7507fb23 Respected accessibility of premium for credits purchasing. 2024-05-30 21:35:10 +04:00
23rd
9a5923676a Added posting of payment event to webview bot after credits sending. 2024-05-30 21:35:09 +04:00
John Preston
c0f3d263a3 Remove webpage length limit for factcheck. 2024-05-30 21:35:08 +04:00
John Preston
056ba644ed Fix empty search placeholder. 2024-05-30 21:35:08 +04:00
23rd
ebaffc333e Added initial api support of refund flag to credits history entries. 2024-05-30 21:35:08 +04:00
23rd
be099880d8 Added initial ability to claim refund credits from history entries list. 2024-05-30 21:35:08 +04:00
John Preston
885dcf0b28 Update API scheme on layer 181. 2024-05-30 21:35:08 +04:00
John Preston
a0d97f03cb Add factcheck footer support. 2024-05-30 21:35:08 +04:00
23rd
c942034ca4 Added link to terms to box of credits history entries. 2024-05-30 21:35:08 +04:00
23rd
0bd780b20f Added fireworks effect on success credit sending. 2024-05-30 21:35:08 +04:00
23rd
7d75c25214 Added box for small balance of credits. 2024-05-30 21:35:08 +04:00
23rd
5defb9fb17 Fixed display of credit spending. 2024-05-30 21:35:08 +04:00
23rd
0549c8f037 Moved out list of top-up options to single place. 2024-05-30 21:35:08 +04:00
23rd
3c246e1e92 Split functions for credits settings. 2024-05-30 21:35:08 +04:00
23rd
58da617e3f Added description and optional photo to credits receipts. 2024-05-30 21:35:08 +04:00
23rd
1edf0ed70b Moved out widget of photo for credits history entries to single place. 2024-05-30 21:35:08 +04:00
23rd
c27c567225 Added initial support for non-panel credits receipts. 2024-05-30 21:35:08 +04:00
23rd
93eff78cd6 Replaced all credits currency name at least with simple star. 2024-05-30 21:35:08 +04:00
23rd
a2a27e115c Moved out box for credits history entries to single place. 2024-05-30 21:35:08 +04:00
23rd
e9fb580ba4 Moved out credits currency to single place. 2024-05-30 21:35:08 +04:00
23rd
d73313479b Partly reverted "Processed payments form with API scheme on layer 181.". 2024-05-30 21:35:08 +04:00
23rd
e4e343b871 Removed unused Ui::IsCreditsInvoice. 2024-05-30 21:35:08 +04:00
23rd
dda6b92bec Added initial ability to process non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
3dd894ad30 Improved SendCreditsBox for data from credits payment form. 2024-05-30 21:35:07 +04:00
23rd
f08ff92470 Added initial ability to provide data for non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
923aaec085 Returned media to messages with credits invoice. 2024-05-30 21:35:07 +04:00
John Preston
1d3110228d Fix phrase in factcheck toast. 2024-05-30 21:35:07 +04:00
23rd
7194781bb8 Added api support for premium bot peer type for credits history entries. 2024-05-30 21:35:07 +04:00
John Preston
97a5e0c6ea Support limited formatting input in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
a3ef36f9f7 Fix build on Windows. 2024-05-30 21:35:07 +04:00
John Preston
d13bf19b79 Show length limit when editing a factcheck. 2024-05-30 21:35:07 +04:00
John Preston
493f0450b4 Implement factcheck edition. 2024-05-30 21:35:07 +04:00
John Preston
74861a334d Show expand/collapse icon in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
a87a221f26 Force red for factcheck. 2024-05-30 21:35:07 +04:00