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
John Preston
01139e1b04
Remove facades module.
2022-11-30 16:55:51 +04:00
John Preston
eaed91263e
Simplify HistoryHider, remove most of uses.
2022-11-30 16:13:31 +04:00
John Preston
01773e5bb1
Fix custom notifications in topics.
2022-11-30 13:03:42 +04:00
John Preston
5d8a2bc7b7
Implement simple sub-column for topics list.
2022-11-30 13:03:42 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
John Preston
ae90347c6c
Revert "Fixed switching between accounts with filters at screen edge."
...
This reverts commit 8f3c3b2a54
.
Regressions with account switch in a maximized window.
2022-11-23 00:44:31 +01:00
23rd
8f3c3b2a54
Fixed switching between accounts with filters at screen edge.
2022-11-22 00:26:48 +00:00
John Preston
248337daf5
Implement topics pin limit box.
2022-11-22 00:26:48 +00:00
John Preston
8a288476b8
Implement pinned topics reordering.
2022-11-22 00:26:48 +00:00
Ilya Fedin
f9dd2b4a0a
Support GNotification
...
It's used if there's a gtk notification daemon or application is running sandboxed without access to the freedesktop protocol.
GNotification API is poor, but should feel native on environments using GNOME technologies.
2022-11-18 20:40:33 +04:00
John Preston
644ec1f599
Remove base::Observable / base::Variable.
2022-11-11 11:43:24 +04:00
John Preston
4a8b5c3015
Add "Show Topics List" button to topic profile.
2022-11-09 10:22:33 +04:00
Dragoon Aethis
9d59e42b52
Add an experimental "small message radius" toggle ( #25305 )
...
Add an experimental "small message radius" toggle.
This toggle allows switching to the pre-4.3.0, smaller message bubble
radius after an app restart. The message bubble radius styles now have
to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius*
wrappers to use the appropriate value.
2022-11-08 14:19:17 +04:00
John Preston
bd8b90055e
Fix showing forum in a single-column layout.
2022-11-07 13:19:40 +04:00
John Preston
0dd45de254
Remember scroll state between topic openings.
2022-11-03 16:29:40 +04:00
John Preston
9d4840c0de
Respect window active state on mark as read.
2022-11-02 20:13:29 +04:00
John Preston
34a2c5c8ce
Display topic name in chats list.
2022-11-02 16:39:13 +04:00
John Preston
fdf4129e5e
Fix build with GCC.
2022-11-02 08:51:03 +04:00
John Preston
45cacc94c0
Fix build with Xcode.
2022-11-02 01:16:55 +04:00
John Preston
e62bdd286d
Show topic title in the notifications.
2022-11-01 21:05:49 +04:00
23rd
3b79d944af
Removed unused includes of observer file.
2022-11-01 20:03:14 +04:00
John Preston
cddb2a4bac
Improve video chat menu for forums.
2022-11-01 20:00:09 +04:00
John Preston
fba0f0c49b
Improve topic three-dot menu.
2022-11-01 19:25:45 +04:00
John Preston
e6c2aa8021
Support topic choosing in ShareBox.
2022-11-01 19:25:45 +04:00
John Preston
7384cd3463
Support sharing games by link to topics.
2022-11-01 19:25:44 +04:00
John Preston
d5ea0149e8
Implement drag-n-drop to forum topics.
2022-11-01 19:25:44 +04:00
John Preston
6d215d3729
Implement unpin all messages within a thread.
2022-11-01 19:25:44 +04:00
John Preston
1ac051a812
Implement forwarding to topics.
2022-11-01 19:25:44 +04:00
John Preston
bc96bdf7a9
Add video chat management menu items to forum.
2022-11-01 19:25:43 +04:00
John Preston
18bf5c0ee2
Handle nice topic / post-in-topic links.
2022-11-01 19:25:43 +04:00
John Preston
aa5f9467f2
Support attach webview bots in topics.
2022-11-01 19:25:43 +04:00
John Preston
8dc27339b4
Support pinned messages bar in topics.
2022-11-01 19:25:43 +04:00
John Preston
46ebbdb547
Open jump-to-date by date click in topics.
2022-11-01 19:25:43 +04:00
John Preston
850746b0ba
Improve search-in-topic closing.
2022-11-01 19:25:43 +04:00
John Preston
5d76415a5d
Implement jump-to-date in topics.
2022-11-01 19:25:43 +04:00
John Preston
88d1a502a5
Implement search in topics / forum messages.
2022-11-01 19:25:42 +04:00
John Preston
97d8aa0a0d
Add a distinct forum icon in chats list.
2022-11-01 19:25:42 +04:00
John Preston
76330eaaa6
Provide a draft from notification to correct thread.
2022-11-01 19:25:42 +04:00
John Preston
06d1644baa
Mark topics as read on reply from notification.
2022-11-01 19:25:42 +04:00
John Preston
c6bc7c3de1
Disable "Clear history" in forums.
2022-11-01 19:25:42 +04:00
John Preston
48fb410bc7
Fix third column profile in topics.
2022-11-01 19:25:42 +04:00
John Preston
602ba5bba9
Implement correct ForumTopic::canWrite logic.
2022-11-01 19:25:42 +04:00
John Preston
72354f52d4
Improve top bars in forums, in narrow column.
2022-11-01 19:25:41 +04:00
John Preston
5314833c82
Show requests / group call / report in forums.
2022-11-01 19:25:41 +04:00
John Preston
b92b8e56cb
Improve single column layout forum / topic top bar.
2022-11-01 19:25:41 +04:00
John Preston
b497e5ea21
Add a Reopen Topic button on topic top for admins.
2022-11-01 19:25:41 +04:00
John Preston
4074a558e7
Get rid of Ui::FlatInput class.
...
Fixes #16172 .
2022-11-01 19:25:41 +04:00
John Preston
3a967bbbfe
Ignore unread counts in non-opened topics.
2022-11-01 19:25:41 +04:00
John Preston
4910a60499
Track mentions / reactions together with unread.
2022-11-01 19:25:40 +04:00
John Preston
a292f8a34e
Allow opening forums from archive / filters.
2022-11-01 19:25:40 +04:00
John Preston
7cdf20a7c5
Allow topic deletion.
2022-11-01 19:25:40 +04:00
John Preston
adaa1d0c55
Support pinned topics in forums.
2022-11-01 19:25:40 +04:00
John Preston
ad2f9438a2
Support topic closing.
2022-11-01 19:25:40 +04:00
John Preston
df5602d203
Support topic icon display in topic profile.
2022-11-01 19:25:40 +04:00
John Preston
fcc4503791
Add "View as Messages" in forums.
2022-11-01 19:25:40 +04:00
23rd
5751d29c47
Removed username from public data members of UserData.
2022-11-01 19:25:38 +04:00
John Preston
89d0a71591
Update API scheme on layer 148: Drafts in topics.
2022-11-01 19:25:38 +04:00
John Preston
ead427793b
Handle forum / topic links.
2022-11-01 19:25:38 +04:00
John Preston
6997e165c6
Forum three-dot menu, except search.
2022-11-01 19:25:37 +04:00
John Preston
d92580b8fc
Update API scheme on layer 148: Notifications.
...
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
b8bdca8921
Extract Data::Thread common for History / ForumTopic.
2022-11-01 19:25:37 +04:00
John Preston
92a4b27e65
Support per-topic notification settings.
2022-11-01 19:25:37 +04:00
John Preston
6695eda1be
Handle forum-non_forum changes in realtime.
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
9348039313
Track unread posts in forums inside RepliesList-s.
2022-11-01 19:25:36 +04:00
John Preston
f258b054e8
Request last topic message if it becomes unknown.
2022-11-01 19:25:36 +04:00