Commit graph

15265 commits

Author SHA1 Message Date
John Preston
09e6077e97 Suggest global search of cashtags. 2024-06-30 21:16:10 +04:00
John Preston
c833b8a1b0 Make purchased media badge better looking. 2024-06-30 21:16:10 +04:00
John Preston
b58c03f0de Fix build with Xcode. 2024-06-30 21:16:10 +04:00
John Preston
1988435cdf Add a Windows Hello / Touch ID system unlock. 2024-06-30 21:16:10 +04:00
John Preston
7e704d9529 Show price in my/purchased paid media. 2024-06-30 21:16:10 +04:00
John Preston
a39a8dbd2c Show paid media from transactions history. 2024-06-30 21:16:10 +04:00
John Preston
90dfae52f5 Show nice thumbnails for paid albums. 2024-06-30 21:16:10 +04:00
John Preston
dfc422b505 Show paid media albums with context. 2024-06-30 21:16:10 +04:00
John Preston
54cc12cf22 Show media payments as outgoing. 2024-06-30 21:16:10 +04:00
John Preston
d81e832ae6 Use lang key for about stars link. 2024-06-30 21:16:10 +04:00
John Preston
1399d2501d Show first paid media in transactions history. 2024-06-30 21:16:09 +04:00
John Preston
57254ca259 Show a credits emoji in chats list preview. 2024-06-30 21:16:09 +04:00
John Preston
043e3ae97e Use star emoji fallback for credits custom emoji. 2024-06-30 21:16:09 +04:00
John Preston
68b9a8bc6a Fix file reference refresh for paid media. 2024-06-30 21:16:09 +04:00
23rd
157d5c743b Renamed file for data of credits earn statistics. 2024-06-30 21:16:09 +04:00
23rd
54d0290ba2 Added warning to channel earn section when user has no cloud password. 2024-06-30 21:16:09 +04:00
23rd
0fc2df8eec Added transaction link and date to details of credits history entries. 2024-06-30 21:16:09 +04:00
23rd
d9caf15d1d Added initial ability to reinvest existing credits for channels. 2024-06-30 21:16:09 +04:00
23rd
b674826392 Added special widget for credits input to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
37181f9d0a Moved out special widget for credits input to single place. 2024-06-30 21:16:09 +04:00
23rd
93aebc747d Moved out special input for credits to td_ui. 2024-06-30 21:16:09 +04:00
23rd
a84ac933dd Added support of api update to history lists in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
b79c306bfe Added list of credits history to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
57d62423b3 Moved out custom slider class with natural width to single place. 2024-06-30 21:16:09 +04:00
23rd
f4674389d5 Added chart of credits revenue to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
63c4c5064f Added support of api updates for overview in channel earn section. 2024-06-30 21:16:09 +04:00
23rd
ae1f364730 Added rpl support to label with icon in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
c6e322de86 Added credits oveview to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
68bf6f991c Moved out util for wrapping credits icon to widget. 2024-06-30 21:16:09 +04:00
23rd
b15f5f8596 Added credits data to saved state of channel earn section. 2024-06-30 21:16:09 +04:00
23rd
27a71a8dcd Renamed BotEarnStatistics to CreditsEarnStatistics. 2024-06-30 21:16:08 +04:00
John Preston
2044f8f9ad Update API scheme on layer 183. 2024-06-30 21:16:08 +04:00
23rd
ffa4b1db87 Fixed withdrawal button for credits with minimal amount. 2024-06-30 21:16:08 +04:00
23rd
cad25ae644 Fixed unique row id in lists of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
21094fe11b Slightly improved process of incoming credit history entries. 2024-06-30 21:16:08 +04:00
23rd
101dbdf243 Added support of MTP updates to lists of credits history entries. 2024-06-30 21:16:08 +04:00
John Preston
0dc92762bc Show link to message in transactions history. 2024-06-30 21:16:08 +04:00
John Preston
5fdaa6b91f Record bareMsgId in CreditsHistoryEntry. 2024-06-30 21:16:08 +04:00
John Preston
968d036834 Use Ui::NumberInput for the paid media price. 2024-06-30 21:16:08 +04:00
John Preston
d47c5df73d Nice price tag on sending media. 2024-06-30 21:16:08 +04:00
John Preston
6c1e7357c6 Nice unlock media stars, unlock done tooltip. 2024-06-30 21:16:08 +04:00
John Preston
479b63c33a Customize pay-by-stars box for paid media. 2024-06-30 21:16:08 +04:00
John Preston
950a946a16 Show correct chat preview for paid media. 2024-06-30 21:16:08 +04:00
John Preston
5f8da27c86 Display nice price tag, handle pay in albums. 2024-06-30 21:16:08 +04:00
John Preston
a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston
3ece9b1566 Update API scheme to layer 183. Paid media. 2024-06-30 21:16:08 +04:00
John Preston
e71a067f4b Fix build on Windows. 2024-06-30 21:16:08 +04:00
23rd
ebf456abe4 Added initial support of lists for credits history entries in bot earn. 2024-06-30 21:16:08 +04:00
23rd
3552da5ce7 Added additional row in table for some types of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
b5bd0f53ad Added support of new statuses of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
7d115b3fab Improved api support to credit history entries. 2024-06-30 21:16:08 +04:00
23rd
d0a030ab58 Added support of minimal amount of credits to withdrawal button. 2024-06-30 21:16:08 +04:00
23rd
712c06756e Added icon to label in withdrawal button from bot earn section. 2024-06-30 21:16:08 +04:00
23rd
301ffc15ef Added countdown label to withdrawal button in bot earn section. 2024-06-30 21:16:07 +04:00
23rd
3c4a711b5d Added withdrawal button to bot earn sections. 2024-06-30 21:16:07 +04:00
23rd
989145726d Made withdrawal button handler in earn sections more universal. 2024-06-30 21:16:07 +04:00
23rd
9eebd3b514 Added statistical chart and balance overview to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
eb997ae9e3 Added initial implementation of filter for MTP updates. 2024-06-30 21:16:07 +04:00
23rd
db4c9b83f3 Added credits icon to statistical charts. 2024-06-30 21:16:07 +04:00
23rd
1196b6a3fb Moved out generating of credits icon to td_ui. 2024-06-30 21:16:07 +04:00
23rd
bef216bc93 Moved out colorizing of svg star to td_ui. 2024-06-30 21:16:07 +04:00
23rd
811d75e383 Improved display of different inner currencies in statistical charts. 2024-06-30 21:16:07 +04:00
23rd
049cde48ee Added initial api support of bot earn statistics. 2024-06-30 21:16:07 +04:00
23rd
cb65c50c19 Moved out deserialization of MTP statistical graph to separated file. 2024-06-30 21:16:07 +04:00
23rd
f23c9a61bc Moved out StatisticsRequestSender to separated file. 2024-06-30 21:16:07 +04:00
23rd
b5d5ff3cbb Improved naming of classes for channel earn. 2024-06-30 21:16:07 +04:00
23rd
c5ba0fa705 Added initial structure for bot earn data. 2024-06-30 21:16:07 +04:00
23rd
71893f4ef7 Added initial implementation of entry point to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
4a60c57661 Added dummy files of bot earn section. 2024-06-30 21:16:07 +04:00
John Preston
fbbcc21198 Update API scheme to layer 182. 2024-06-30 21:16:07 +04:00
Ilya Fedin
30819509d3 Set shortcut context for global menu shortcuts 2024-06-30 10:11:40 +04:00
mrbesen
10c3fe0f63 add option to export html and json in global export 2024-06-27 10:49:39 +04:00
Ilya Fedin
648b23b548 Do non-getting XCB requests synchronously 2024-06-24 16:23:32 +04:00
Ilya Fedin
ba89912834 Switch more XCB code to base::Platform::XCB::Connection 2024-06-24 16:23:32 +04:00
Ilya Fedin
c1bc7e6ab1 Simplify PipPanel::handleWaylandResize 2024-06-22 11:32:36 +04:00
Ilya Fedin
eea50ed6b0 Delay UpdatePowerSaveBlocker to show in media viewer 2024-06-22 11:32:36 +04:00
Ilya Fedin
006d6fe2c0 Use RpWidget::screenValue 2024-06-22 11:32:36 +04:00
Ilya Fedin
5180e0ec57 Use QWidget::setScreen with Qt 6 2024-06-22 11:32:36 +04:00
Ilya Fedin
490ec7949f Don't call hide/createWinId just to call show right after that in Window::Notifications::Default::HideAllButton 2024-06-22 11:32:36 +04:00
Ilya Fedin
671a15d763 Update skip taskbar hint on Linux without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
d2d5226dc7 Update exposed state for connecting widgets without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
2b4a2b5b97 Fix a crash in Dialogs::Widget::setupStories 2024-06-22 11:32:36 +04:00
John Preston
46157c99c4 Allow saving empty syntax highlight language. 2024-06-21 22:38:49 +04:00
John Preston
002fe9a72a Fix build. 2024-06-21 11:55:25 +04:00
John Preston
93b7c47cda Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
Ilya Fedin
053f8ad1c0 Ensure media viewer has native window handle before using it 2024-06-21 08:19:44 +04:00
Ilya Fedin
fc5e9414b7 Subscribe to QEvent::WindowStateChange instead of QWindow::windowStateChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
f768e405fa Use RpWidget::shownValue instead of QWindow::visibleChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
a22cf8e303 Use RpWidget::windowActiveValue 2024-06-19 10:33:33 +04:00
Ilya Fedin
8a5797e1bd Re-create QSystemTrayIcon on SNI watcher owner change 2024-06-19 10:31:59 +04:00
Ilya Fedin
750ad600be Store media viewer geometry the same way as main window 2024-06-19 10:08:14 +04:00
Ilya Fedin
eaf4575eb8 Fix IV window geometry restoration 2024-06-19 10:08:14 +04:00
John Preston
3d114131e0 Fix premium gifting recipient choosing. 2024-06-16 10:27:38 +04:00
John Preston
5810149a77 Improve chats search loading indication. 2024-06-16 10:27:38 +04:00
Ilya Fedin
032fe3e0fc Remove std::optional indrection for nullable XCB types 2024-06-16 09:54:04 +04:00
John Preston
4e9b5b0d33 Beta version 5.1.8: Fix build. 2024-06-15 22:45:21 +04:00
John Preston
f37d056c14 Beta version 5.1.8.
- Support nice blockquotes and code blocks edition when composing messages.
- Support collapsing blockquotes and specifying syntax highlight language.
- Support nice spoiler animation in the message composing input field.
2024-06-15 21:06:23 +04:00
John Preston
9a25d2c413 Simplify correct unicode characters counting. 2024-06-15 20:57:48 +04:00
John Preston
ec40292cbf Allow editing of collapsed quotes. 2024-06-15 20:57:30 +04:00
John Preston
5e8c3fb146 Allow editing syntax highlighting language. 2024-06-15 20:57:00 +04:00
John Preston
fa8ed186d8 Improve field fade conditions. 2024-06-15 20:56:45 +04:00
John Preston
c1f36d43d0 Support modern blockquote/pre display. 2024-06-15 20:56:44 +04:00
John Preston
501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
Ilya Fedin
d79da3d884 Remove old notification descturction workaround for old X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
Ilya Fedin
e4d88f829c Remove old window activation workaround for X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
Ilya Fedin
2673e1df53 Fix IV window on Linux 2024-06-15 11:04:45 +04:00
John Preston
43ffc9d67c Version 5.1.7.
- Fix recently searched hashtags in chats search.
- Fix formatting shortcuts on macOS.
- Fix non-Telegram-Stars-invoice bot buttons with star emoji.
2024-06-14 18:36:28 +04:00
John Preston
053c462dc0 Fix recent hashtags in chats search. 2024-06-14 18:34:59 +04:00
23rd
bb33d0b997 Replaced credits currency with icon only in buttons with Buy type. 2024-06-14 15:32:02 +03:00
pandaninjas
6f6fb3d1b6 Add xlsb to list of executable extensions 2024-06-14 13:49:15 +04:00
John Preston
c49eb7041f Version 5.1.6: Fix sticker effect filtering. 2024-06-13 20:55:49 +04:00
John Preston
a1d8202644 Version 5.1.6.
- Fix search in archived chats in single-column layout.
- Improve chat previews for topics, Saved Messages and groups.
- Fix formatting shortcuts on Linux.
- Fix options for Telegram Stars buying in case of large amounts.
2024-06-13 18:48:35 +04:00
23rd
82428aef28 Added support for quoted-printable encoding to contact media. 2024-06-13 18:44:33 +04:00
23rd
10f7b985c7 Added decimal separators to count of members in shared similar channels. 2024-06-13 18:44:33 +04:00
23rd
06075411a5 Fixed cases when list of top-up credit options is empty. 2024-06-13 18:44:33 +04:00
23rd
7e01b12825 Replaced credits currency with icon in buttons of reply keyboard. 2024-06-13 18:44:33 +04:00
John Preston
273119fc55 Fix preview messages load in migrated groups. 2024-06-13 18:43:58 +04:00
John Preston
cbcdeae200 Don't show topic buttons in topic preview. 2024-06-13 18:08:36 +04:00
John Preston
c585112e37 Fix jump to archive from search in chat. 2024-06-13 16:33:58 +04:00
John Preston
392df8b56f Fix search in archived chats and return back. 2024-06-13 16:24:41 +04:00
John Preston
0e6470a087 Don't restrict Saved Messages by premium-only privacy. 2024-06-13 15:47:40 +04:00
John Preston
6c0ea0eb9f Version 5.1.5.
- Return WebView on Windows.
2024-06-07 06:57:27 +04:00
John Preston
2935721cd0 Version 5.1.4.
- Improve design of search in chat.
- Show vCard information for shared contacts.
- Allow scheduling media in topic groups.
- Several minor bugfixes.
2024-06-06 22:19:53 +04:00
John Preston
9e77e80f92 Moderation on context menu album delete.
Fixes #28012.
2024-06-06 22:16:57 +04:00
John Preston
deb50ee528 Fix video full-window toggle in windowed mode. 2024-06-06 22:16:53 +04:00
John Preston
14909ae913 Fix empty space to the right of photo media. 2024-06-06 22:16:48 +04:00
John Preston
d5d9da7d0a Allow scheduling media in topic groups. 2024-06-06 22:16:43 +04:00
23rd
aafa8631e0 Moved out url for credits terms to lang pack. 2024-06-06 22:16:38 +04:00
John Preston
72c667b153 Redesign search scope selection. 2024-06-06 09:12:23 +04:00
23rd
fe6f65b3ab Fixed text elision of peer name in section of chat preview. 2024-06-06 09:12:23 +04:00
23rd
5db2821f8c Removed unused refund api support for credits. 2024-06-06 09:12:23 +04:00
23rd
9e3e7265d2 Improved display of cached message preview in profile sections. 2024-06-06 09:12:23 +04:00
23rd
749b2e0e95 Added ability to see vcard if available to all types if contacts media. 2024-06-06 09:12:23 +04:00
John Preston
93e592472c Version 5.1.3.
- Rebuild version for macOS to fix the phrases.
2024-06-04 14:38:05 +04:00
John Preston
379a94db42 Version 5.1.2.
- Several bugs fixed including a couple of crashes.
2024-06-04 00:00:12 +04:00
23rd
4f4d216987 Fixed display of button in channel earn section when balance is low. 2024-06-03 23:00:48 +04:00
23rd
6400875d55 Replaced text drawing in menu from phone handler with Text::String. 2024-06-03 23:00:47 +04:00
John Preston
06d0e78b00 Fix a crash in forwarded sender avatars. 2024-06-03 22:59:14 +04:00
John Preston
9043c18725 Don't drop search on non-empty backspace. 2024-06-03 22:27:15 +04:00
Ilya Fedin
88e742927f File descriptor fixes for XDPOpenWithDialog
- Open it with O_CLOEXEC
- Remove unneseccary std::array complication
- Rely on Gio::UnixFDList to close it
2024-06-03 17:49:16 +04:00
Ilya Fedin
a6fcc6d51d Rely on media viewer code to close itself before ShowInFolder 2024-06-03 17:49:16 +04:00
John Preston
23a13ab54e Close chats search when selecting a folder. 2024-06-03 17:13:14 +04:00
John Preston
e8a929bdbd Fix bottom info display in media. 2024-06-03 15:03:41 +04:00
John Preston
eafc01e02b Fix small photo display in wide enough chat.
Fixes #28004.
2024-06-03 14:14:42 +04:00
John Preston
f91eb65239 Fix channel reactions editing. 2024-06-03 13:40:04 +04:00
John Preston
e978770fbd Fix crash in theme IV opening. 2024-06-03 12:48:11 +04:00
23rd
9c83b8bac5 Fixed emoji display in reply markup button from bar for pinned messages. 2024-06-02 23:11:09 +03:00
23rd
47ce34e987 Added initial support of vcard from media contacts. 2024-06-02 22:06:49 +03:00
John Preston
1656a9c3e2 Fix bot about title display. 2024-06-02 10:55:13 +04:00
John Preston
47e06cf385 Fix dropping invertCaption on reschedule. 2024-06-02 10:55:13 +04:00