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
John Preston
a27ef55ff8
Improve chat theme selector design.
2023-04-20 11:55:23 +04:00
John Preston
0b25d19e3b
Allow uploading chat wallpapers from file.
2023-04-19 10:42:01 +04:00
John Preston
352ae5100a
Support chat wallpaper set from gallery.
2023-04-18 16:47:31 +04:00
John Preston
bf27185feb
Show custom chat wallpapers in chats.
2023-04-17 16:35:50 +04:00
23rd
2276a4c9af
Added menu item to bot info for bot management.
2023-04-11 19:17:42 +04:00
John Preston
1a1fa5db3e
Implement complex filter delete from context menu.
2023-04-11 19:17:39 +04:00
John Preston
6f4eef035d
Don't jump in filters list on list change.
2023-04-11 19:17:39 +04:00
John Preston
312aa4b130
Update API scheme on layer 158.
2023-04-11 19:17:38 +04:00
Ilya Fedin
590be6d6e7
Fix CounterLayerArgs devicePixelRatio order
2023-04-05 10:17:22 +04:00
Ilya Fedin
8dee2a1c8b
Set device pixel ratio for counter layer
2023-04-04 10:07:51 +04:00
John Preston
58c5bb7247
Update online after the window active status.
...
I hope this fixes #26059 .
2023-03-21 16:23:38 +04:00
John Preston
f66e6879c2
Fix possible crash in messages forwarding.
...
Regression was introduced in 2c1e7bfcb6
.
2023-03-17 19:25:35 +04:00
Ilya Fedin
2635b35b74
Move kurlmimedata.h include to where it's really used
2023-03-17 18:56:23 +04:00
John Preston
32e650548f
One more attempt to fix DND on macOS.
2023-03-15 15:00:29 +04:00
John Preston
de9a757e7a
Fix webview switch_inline to the same chat.
2023-03-08 16:59:30 +04:00
John Preston
9c74c04738
Implement audio speed using libavfilter.
2023-03-08 16:10:36 +04:00
John Preston
af51307aa6
Implement opening of t.me/bot/app-s.
2023-03-07 08:42:29 +03:00
John Preston
4fe568cb82
Implement switch_webview and "web_app_switch_inline_query".
2023-03-07 08:42:29 +03:00
Ilya Fedin
40b79dec12
GApplication as GNotification option scope
2023-03-04 15:24:09 +04:00
John Preston
aa9e56c633
Update icon on macOS, allow changing back.
2023-03-01 09:12:02 +04:00
John Preston
2a4c39b9d7
Implement some power saving options.
2023-03-01 09:12:02 +04:00
John Preston
832d47121f
Save media viewer position to Settings.
2023-02-18 15:10:13 +04:00
John Preston
27d446bdda
Improve Ctrl+W / Ctrl+M handling by media viewer.
2023-02-18 15:10:13 +04:00
John Preston
f9847090f9
Cmd+Q quit prevention in windowed media viewer.
2023-02-18 15:10:13 +04:00
John Preston
d889cd0e72
Fix polls forwarding to private chats.
2023-02-07 16:28:59 +04:00
John Preston
bbd937115c
Add "Open in new window" to context menu.
2023-02-03 20:47:59 +04:00
John Preston
94b489835c
Add chat name / account name / unread count title settings.
2023-02-03 17:51:47 +04:00
John Preston
762589b622
Fix userpic in a notification with hidden sender.
2023-02-03 09:51:06 +04:00
23rd
ca022b139c
Removed unused keys from window.style.
2023-02-02 22:12:33 +04:00
23rd
4598fc3d53
Moved paint of toggle up-down arrow from main menu to td_ui.
2023-02-02 22:12:32 +04:00
John Preston
19e43cfd1d
Show "Translate" in three-dot if bar was hidden.
2023-02-02 22:12:32 +04:00
John Preston
be71139515
Add "Translate Entire Chat" button to Settings.
2023-02-02 22:12:32 +04:00
John Preston
554f66f089
Support separate message type group restrictions.
2023-02-02 22:12:31 +04:00
John Preston
37cf12f06e
Beta version 4.5.9: Fix new window position.
2023-02-02 22:10:44 +04:00
John Preston
0495cf4187
Use better initial geometry for new windows.
2023-02-02 20:20:05 +04:00
John Preston
e10964a0bc
Allow opening new account in a separate window.
2023-02-02 10:55:04 +04:00
23rd
6258aa01b8
Replaced multiple static constants for square root of 2 with Qt define.
2023-01-21 19:40:33 +03:00
John Preston
7caabb8f5a
Fix crash in topics disabling.
2023-01-21 09:42:57 +04:00
23rd
37454b4ff4
Added list of active group calls to Calls box.
2023-01-21 07:29:40 +04:00
23rd
0c17bdc783
Replaced Calls box with GenericBox.
2023-01-21 07:29:40 +04:00
John Preston
ec3957fcf3
Active round video moving to active window.
2023-01-19 11:42:00 +04:00
23rd
9390450049
Moved out color editor to td_ui.
2023-01-19 08:51:57 +03:00
23rd
e3334f7a87
Replaced EditColorBox with Ui::GenericBox.
2023-01-19 08:51:57 +03:00
John Preston
b3667d69a1
Each MainWindow has its own Global Menu.
2023-01-19 09:46:19 +04:00
John Preston
3e332ad8e7
Rewrite shortcuts using QAction.
...
That way they don't depend on the main window.
2023-01-19 09:46:19 +04:00
John Preston
7023b013ce
Initial support of separate windows for accounts.
2023-01-19 09:45:28 +04:00
Ilya Fedin
a1f9b5a96f
Get GApplication out of experimental settings
...
GApplication will always be used on Linux now. GNotification gets a toggle instead.
2023-01-12 21:49:16 +04:00
Ilya Fedin
9b7826ea0d
Get GApplication out of experimental settings
...
GApplication will always be used on Linux now. GNotification gets a toggle instead.
2023-01-12 21:30:45 +04:00
John Preston
d346925b9d
Fix window title update on accounts switch.
2023-01-12 11:36:00 +04:00
John Preston
fc26457218
Show current chat name in the window title.
2023-01-09 18:39:07 +04:00
John Preston
c49dac57b7
Don't use window title for IPC.
2023-01-09 16:08:34 +04:00
23rd
90dfdb0e1f
Moved NeverFreedPointer to lib_base.
2023-01-09 12:51:32 +03:00
John Preston
ff331c040a
Allow huge range of interface scales.
2023-01-09 09:05:07 +04:00
John Preston
9933c6ba59
Mark topics as read using Ctrl+R shortcut.
...
Fixes #25669 .
2023-01-05 09:53:51 +04:00
John Preston
aeb71e089a
Fix tile background saving after an app update.
...
Fixes #25666 , I hope fixes #16468 , I hope fixes #5944 .
2023-01-03 10:43:55 +04:00
John Preston
741b524d71
Add description to an option (looks better).
2023-01-02 15:08:28 +04:00
John Preston
13ad39dfc2
Fix possible crash in logout.
2022-12-29 12:16:49 +04:00
John Preston
77078f704c
Fix a crash in topic deletion.
2022-12-28 12:44:01 +04:00
23rd
5bf46c0e90
Adjusted button style in intro steps to style in settings steps.
2022-12-27 22:06:26 +03:00
23rd
8296d72923
Added first state to snowflakes effect in main menu.
2022-12-26 14:24:07 +04:00
23rd
2a99046bbd
Added snowflakes effect.
2022-12-26 14:24:07 +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
ca1c826c5c
Simplify some code.
2022-12-26 14:24:06 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
Ilya Fedin
13eeddf479
Don't wait for input when there are fullscreen applications
2022-12-23 14:04:17 +04:00
John Preston
76d44172f1
Add "Copy Topic Link" topic profile menu item.
2022-12-06 23:22:50 +04:00
John Preston
b0bb8b05fd
Fix reply from notification replyTo field value.
2022-12-06 22:52:04 +04:00
John Preston
4db2b83c9b
Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics.
2022-12-06 14:32:46 +04:00
23rd
1b364f2621
Added support of drag events to filters menu.
2022-12-06 12:56:56 +03:00
23rd
84de08cad6
Added separated unread counter to single peer window titles.
2022-12-06 12:56:56 +03:00
23rd
cc0b1b1d54
Added option for chat names in titles of single peer windows.
2022-12-06 12:56:56 +03:00
John Preston
cb653df0f6
Support adaptive forum userpic rounding radius.
2022-12-05 16:18:10 +04:00
John Preston
fe9cf7ddad
Report in forum menu, remove from topic menu.
2022-12-05 09:03:31 +04:00
23rd
6cb0834d19
Added chat name to titles of single peer windows.
2022-12-05 02:49:34 +03:00
23rd
b81868eeba
Simplified drawing of empty userpics in theme previews.
2022-12-04 03:46:44 +03:00
John Preston
b5cb2bc9f0
Fix build on Qt 5.* for Windows.
2022-12-02 18:31:52 +04:00
23rd
2c1e7bfcb6
Added ability to forward messages to multiple chats.
2022-12-02 17:02:11 +03:00
John Preston
32491ead5e
Animate child topics list open / close.
2022-12-01 18:03:20 +04:00
John Preston
b561705528
Use Window::SlideAnimation in all widgets.
2022-12-01 14:18:37 +04:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03:00
John Preston
ad3f8e72a0
Remove namespace App.
2022-11-30 17:28:09 +04:00