John Preston
30548c2859
Support tags search in sublists.
2024-02-01 12:37:34 +04:00
John Preston
11cf0486cb
Implement required paywalls in tags.
2024-02-01 12:37:34 +04:00
John Preston
f324c53440
New premium promo section about tags.
2024-02-01 12:37:34 +04:00
John Preston
87df90227e
Remove legacy premium reactions code.
2024-02-01 12:37:34 +04:00
23rd
98a71cce89
Improved toast phrase for forwarded messages to self.
2024-02-01 12:37:34 +04:00
John Preston
5f97d683df
Count senders / captions count correctly in forwards.
2024-01-18 13:26:14 +04:00
John Preston
eda7118df9
Show toast on forward attempt to premium required.
2024-01-17 16:43:25 +04:00
John Preston
d3fdfe4b29
Fix crash in themes editor.
...
Fixes #27366 .
2024-01-16 21:09:45 +04:00
23rd
a1369aaad0
Added references to structured bindings since Apple clang supports them.
2024-01-16 11:18:55 +04:00
John Preston
fc2f41096f
Attempt to fix initial window position on Windows.
2024-01-16 11:18:55 +04:00
John Preston
e2439984ae
Pass whole point in mapFromGlobal(mapToGlobal).
...
Fixes #27237 .
2024-01-16 11:18:55 +04:00
John Preston
9aacff8b54
Request correct saved/default reaction tags.
2024-01-16 11:16:27 +04:00
Ilya Fedin
eca8c28dea
Add missing QWindow includes
2024-01-12 19:59:18 -08:00
Ilya Fedin
333ef9b48a
Hide connection widget when the window is not exposed
2024-01-11 23:40:18 -08:00
John Preston
28b43eff7c
Make Ctrl+Shift+[1-6] jump through accounts.
2024-01-08 17:35:08 +04:00
John Preston
973f91b5e4
Add "Quit Telegram" taskbar menu item.
...
Fixes #1161 .
2024-01-04 17:22:05 +04:00
John Preston
382dab4ecb
Don't push sublists to stack endlessly.
2024-01-02 15:05:06 +04:00
John Preston
5e255e56eb
Don't allow gifting premium if can't buy.
2024-01-02 00:12:51 +04:00
John Preston
a4d7309209
Support tg://premium_multigift links.
2024-01-02 00:10:52 +04:00
Ilya Fedin
00e785a3af
Remove unused variables
2023-12-31 22:03:57 +00:00
John Preston
9392550c01
Support pinned saved sublists.
2023-12-31 19:42:24 +04:00
23rd
c2712b0104
Removed redundant semicolons from code.
2023-12-31 19:42:23 +04:00
John Preston
18c4d210e5
Show saved messages sublists in profile.
2023-12-31 19:42:23 +04:00
John Preston
b24290b019
Fix text-colored emoji in long-press preview.
2023-12-22 13:46:17 -04:00
John Preston
941126ad69
Allow setting channel emoji status.
2023-12-22 07:35:02 -04:00
23rd
01906c1161
Fixed display of archiving toasts on wrong window.
2023-12-22 07:35:02 -04:00
John Preston
9201cf24f1
Respect correct min-level for colors.
2023-12-22 07:35:02 -04:00
John Preston
d5a1c354d0
Support by-emoji background resolve in preview.
2023-12-22 07:35:02 -04:00
23rd
b9b6226692
Added initial ability to gift premium to contacts from settings.
2023-12-17 09:50:50 +03:00
23rd
82d73e2396
Moved out making of "new" badges to single place.
2023-12-17 09:50:50 +03:00
John Preston
cd5a6025f6
Support pre-defined channel wallpapers resolving.
2023-12-16 23:52:55 +00:00
23rd
cccc2ce0f1
Improved processing of access to boosts info.
2023-12-16 20:25:01 +00:00
23rd
88b20f6700
Fixed indents in some files.
2023-12-16 20:25:01 +00:00
John Preston
ae1da5baf4
Implement premium lock of similar channels.
2023-11-28 21:55:27 +04:00
John Preston
8f9123bb96
Display story repost nicely.
2023-11-28 21:55:26 +04:00
23rd
77b2076e0f
Added build date info to version label as tooltip.
2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42
Removed some include directives.
2023-11-28 21:55:26 +04:00
23rd
d28ba4fad9
Moved out PeerByLinkInfo from SessionNavigation to separate file.
2023-11-28 21:55:26 +04:00
23rd
909f3bf011
Added "new-windows-size-as-first" option.
2023-11-28 21:55:25 +04:00
23rd
34d0dac351
Added ability to create statistics info layer with story id.
2023-11-28 21:55:24 +04:00
John Preston
96b651c29b
Update "View as (Messages,Topics)" menu icons.
2023-11-28 21:55:23 +04:00
John Preston
0ffda016da
Support cloud view_as_messages forum setting.
2023-11-28 21:55:23 +04:00
John Preston
dcc326e17f
Update API scheme to layer 167.
...
Support quote offset passing to API.
Support simple phrases in giveaway results message.
2023-11-28 21:55:23 +04:00
John Preston
b60e50df10
Try using hide media viewer workaround on Linux.
2023-11-22 12:18:45 +04:00
Ilya Fedin
0f9d83f34b
Use setFixedSize instead of set{Minimum,Maximum}Size combo
2023-11-21 21:20:50 +04:00
23rd
df3ae2c5f8
Added ability to open boosts info without statistics info access.
2023-11-20 02:53:46 +03:00
John Preston
99da95880e
Fix lang keys access on startup.
2023-11-15 18:20:59 +03:00
23rd
12272a450f
Slightly optimized include directives in some headers.
2023-11-15 04:20:20 +03:00
23rd
819020e515
Moved out common default style entries from settings.
2023-11-15 04:20:20 +03:00
23rd
596460172f
Optimized include directives of core_settings header.
2023-11-15 03:30:04 +03:00
23rd
baa99be6a5
Removed some unwanted include directives of lang_keys in header files.
2023-11-15 03:30:04 +03:00
23rd
f748de9dc4
Removed redundant include directives of settings_common headers.
2023-11-15 03:30:04 +03:00
23rd
f629bf76ff
Removed AddButton and CreateButton without icon from Settings.
2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2
Moved AddSkip and AddDivier from Settings namespace to separate module.
2023-11-15 03:30:04 +03:00
John Preston
c5d1739e95
Implement multiboost reassign box.
2023-11-09 22:33:14 +04:00
John Preston
a41bbd27c8
Start multiboosts, support dynamic state.
2023-11-09 22:33:14 +04:00
John Preston
b2eeab53c5
Improve 5-line reply text elision.
2023-11-06 12:35:27 +04:00
Ilya Fedin
0f45abd534
Make WithSmallCounter adaptive
2023-11-04 20:50:58 +04:00
John Preston
4955cdcdce
Wait for main menu bot icon to load.
2023-11-01 21:04:25 +04:00
John Preston
bde39970a0
Fix boost reassign.
2023-10-31 11:17:55 +04:00
John Preston
475b2ac739
Fix external quote-reply to topic message.
2023-10-31 09:01:20 +04:00
John Preston
d1c310de00
Highlight reply quote in original message.
2023-10-31 09:01:20 +04:00
John Preston
1a503e5f1d
Version 4.11: Fix build with GCC.
2023-10-29 00:33:54 +04:00
John Preston
7a754f8b00
Update reply preview in scale / themes.
2023-10-28 23:12:37 +04:00
John Preston
bcdb1bdfd2
Name color changing for me / channels.
2023-10-27 23:27:10 +04:00
John Preston
5d335341ab
Support server-side colors by index, up to three.
2023-10-27 09:55:09 +04:00
John Preston
b1823d981b
Update API scheme, rich preview drafts.
2023-10-26 14:08:42 +04:00
John Preston
b2e8e0431e
Start customizable webpages.
2023-10-26 14:08:42 +04:00
John Preston
16d18b437d
Update API scheme on layer 166.
2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56
Use color index from API.
2023-10-26 14:08:41 +04:00
John Preston
4240568ea5
Pass FullReplyTo everywhere.
2023-10-26 14:08:40 +04:00
John Preston
0e45f3ebd9
Provide more theme keys to webview bots.
2023-10-26 14:08:40 +04:00
23rd
be38800a70
Moved entry point for boosts statistic to channel context menu.
2023-10-23 20:19:17 +04:00
23rd
8b6d475882
Added initial entry point for boosts statistic.
2023-10-21 09:37:30 +04:00
John Preston
0e79bd3d12
Show nice padded code blocks.
2023-10-13 10:08:29 +04:00
John Preston
dd692f2d26
Use simplified TextStyle.
2023-10-13 10:08:29 +04:00
23rd
01821cd779
Added second type of info layer for statistics.
2023-10-11 22:12:34 +04:00
23rd
a605275157
Added icon to entry point for statistics.
2023-10-11 22:12:34 +04:00
23rd
77d23ad182
Replaced statistics box with info layer widget.
2023-10-11 22:12:33 +04:00
23rd
10968d0da2
Added dummy box class for statistics.
2023-10-11 22:12:28 +04:00
23rd
b0a65885c9
Added initial entry point for channel statistics.
2023-10-11 22:12:28 +04:00
John Preston
396c229a4d
Improve Ui::Text::String features.
2023-10-04 22:24:25 +04:00
John Preston
846e96579d
Fix direct story links for channels.
2023-09-25 17:53:02 +04:00
John Preston
09094affed
Improve boosted channel replacement design.
2023-09-22 09:43:32 +04:00
John Preston
7a25d70240
Support all cases for BoostBox.
2023-09-22 09:43:32 +04:00
John Preston
1c2951598b
Handle t.me/channel?boost links.
2023-09-22 09:43:32 +04:00
John Preston
39f8394f98
Enable story actions in channels.
2023-09-22 09:43:31 +04:00
John Preston
29c5f6b706
Support channel stories archive.
2023-09-22 09:43:31 +04:00
John Preston
f3647d7f8c
Show saved stories / current stories in channels.
2023-09-22 09:43:31 +04:00
John Preston
d5b429e910
Update API scheme to layer 164.
2023-09-22 09:43:31 +04:00
John Preston
7d678e5fa7
Fix ringtones downloaded to disk.
2023-09-15 21:18:14 +04:00
John Preston
c12743925e
Support ?startapp=value start_param passing.
2023-09-15 15:36:09 +04:00
John Preston
e6a474d720
Close main menu on a web app opening.
2023-09-13 20:51:01 +04:00
John Preston
36f1a18b3b
Show terms on attach bot direct link app.
2023-09-12 21:01:12 +04:00
John Preston
ef969df86e
Improve main menu bots disclaimer acceptance.
2023-09-12 21:01:12 +04:00
John Preston
229f7a2c15
Handle background / title colors in web-apps.
2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6
Start main menu bots.
2023-09-12 21:01:12 +04:00
Ilya Fedin
e8a1fc0300
Add a method to check whether to run in background instead of checking for macOS
2023-09-12 10:27:13 +04:00
23rd
fd79973509
Fixed crash when importing custom theme with duplicated entries.
2023-09-08 11:40:18 +03:00
23rd
d2bd109169
Removed uppercase from some phrases in theme editor.
2023-09-08 11:40:18 +03:00
John Preston
076aa9452e
Unblock the bot before sharing phone number.
2023-09-04 17:36:55 +04:00
23rd
98bb520f47
Adjusted code for refactor of input fields in lib_ui.
2023-09-04 17:36:54 +04:00
23rd
9d4b8bb9b0
Introduced new struct to dialogs style for icons.
2023-08-30 16:46:19 +03:00
23rd
089432be5e
Added icon for forwarded messages in dialogs list.
2023-08-30 14:50:00 +03:00
23rd
4b503ad7ed
Slightly refactored include directives in some source files.
2023-08-30 14:50:00 +03:00
John Preston
83eb352747
Fix archive open in single-column layout.
...
Regression was introduced in 16128d61c0
.
Before we always force-closed the current filter,
which always force-closed the current opened chat.
Now we don't touch the filter if it is All Chats already,
so that it's scroll state isn't forgotten. In that case
we have to clear the stack in single-column layout explicitly.
2023-08-17 10:31:17 +02:00
John Preston
d57d95c53f
Pass context chat from one webview to another.
2023-08-15 15:01:34 +02:00
John Preston
f1ab712f07
Fix outdated bar closing.
2023-08-14 22:30:39 +02:00
John Preston
de4152496f
Add archive settings to context menu.
2023-08-14 22:30:39 +02:00
Ilya Fedin
8669e6a891
Port GApplication to cppgir
2023-08-06 21:20:10 +04:00
23rd
a08e42fb97
Moved edit folders button from folders menu to context menu.
2023-07-28 10:06:27 +03:00
23rd
19ba685cc3
Added ability to mark as read all chats from menu of filter button.
2023-07-28 03:37:40 +03:00
John Preston
4402cce928
Allow archive with stories only.
2023-07-20 07:20:57 +04:00
John Preston
10f65c63e7
Allow opening unknown stories from chats list.
2023-07-20 07:20:56 +04:00
John Preston
57b7391f53
Improve design of contacts according to mockups.
2023-07-20 07:20:33 +04:00
John Preston
f0ab6e5690
Update main menu and stories icons.
2023-07-20 07:20:33 +04:00
John Preston
d567282430
Preload stories in the sources lists.
2023-07-20 07:20:14 +04:00
John Preston
4e39144d0f
Resolve unknown story on open.
2023-07-20 07:20:12 +04:00
John Preston
e98770d418
Improve saved / archive stories design.
2023-07-20 07:20:12 +04:00
John Preston
119ee6044a
Update stories icons in some places.
2023-07-20 07:20:12 +04:00
John Preston
881867186a
Load more saved / archive in the viewer.
2023-07-20 07:20:11 +04:00
John Preston
c133f4de69
Display shared stories in message history.
2023-07-20 07:20:11 +04:00
John Preston
d7186e68e2
Open stories by t.me/username?story=id links.
2023-07-20 07:20:11 +04:00
John Preston
0a54325db9
Add a separate icon for My Stories.
2023-07-20 07:20:11 +04:00
John Preston
5e5b252f2f
Support correct saved stories / archive loading.
2023-07-20 07:20:10 +04:00
John Preston
7f8a985067
Start stories overview in profile / My Stories.
2023-07-20 07:20:10 +04:00
John Preston
8eac04cb90
Track and load ids of expired mine stories.
2023-07-20 07:20:10 +04:00
John Preston
b71d72ca7c
Allow showing stories in different contexts.
2023-07-20 07:20:10 +04:00
John Preston
f40391b4f0
Support two lists of stories sources.
2023-07-20 07:20:10 +04:00
John Preston
f814e401b9
Mark stories as read.
2023-07-20 07:20:09 +04:00
John Preston
d82381881a
Allow sending stickers / GIFs in story replies.
2023-07-20 07:20:09 +04:00
John Preston
2e6790c45c
Support replies to stories layout in messages.
2023-07-20 07:20:09 +04:00
John Preston
7a042c23e9
Use real stories data, open from chats list.
2023-07-20 07:20:09 +04:00
John Preston
04e7ce4408
Update API scheme on layer 160: Replies.
2023-07-20 07:20:09 +04:00
John Preston
16128d61c0
Implement nice stories list scrolling.
2023-07-20 07:20:08 +04:00
John Preston
2c5d990e1c
Implement full theming of attachments in stories.
2023-07-20 07:20:08 +04:00
John Preston
75d2b5994f
Apply dark theme to reply controls in stories.
2023-07-20 07:20:08 +04:00
John Preston
89ca38ed29
Start stories viewer with ComposeControls.
2023-07-20 07:20:07 +04:00
John Preston
2fb7bdc803
Skip refocus InputField::Inner if field unfocused.
...
I hope this fixes #26223 .
2023-05-24 21:22:26 +04:00
John Preston
7877463468
Respect peer_types in the switch inline button.
...
Fixes #26274 .
2023-05-24 19:36:58 +04:00
John Preston
65afa2c402
Detach ComposeControls from SessionController.
2023-05-17 15:51:52 +04:00
Ilya Fedin
0ffaff2d8b
Support Qt 6.5 dark mode API
2023-05-15 12:33:30 +04:00
Ilya Fedin
0a011db483
Get rid of DESKTOP_APP_DISABLE_DBUS_INTEGRATION
...
Desktop App Toolkit uses GLib as the D-Bus library for quite long time, but GLib is not only a D-Bus library, it's more a basic library providing native Linux APIs implementing various specs. The situation right now is that DESKTOP_APP_DISABLE_DBUS_INTEGRATION disables not only D-Bus code but all the native API integration such as MIME handling or .desktop file parsing. In other words, the option disables native Linux APIs on Linux what is absurd and doesn't have any sense.
2023-05-15 08:08:04 +04:00
John Preston
864959aee0
Hide login code with a spoiler in chats list.
2023-04-27 15:23:36 +04:00
Klemens Nanni
11906297d8
Explicitly specify QVector element type to fix build with clang13+range-v3+qt6
...
Same story as 2b383a4
for #24014 .
Fixes 4.8.0 build on OpenBSD/amd64 7.3 with clang 13.0.0, range-v3 0.12.0 and Qt 6.5.0.
2023-04-27 09:59:32 +04:00
John Preston
3394094dd3
Close archive / forum on repeated click on current filter.
2023-04-23 20:08:53 +04:00
John Preston
1697e9e791
Fix a regression in accounts switching.
2023-04-23 18:21:31 +04:00
John Preston
e285b22398
Add "Send when online" to the send button context menu.
2023-04-22 22:26:09 +04:00
John Preston
05b8b9f22e
Show pin confirmation correctly in topics.
2023-04-21 15:09:06 +04:00
John Preston
65f54d937f
Toggle wallpaper dark mode / edit dimming.
2023-04-20 22:55:42 +04:00