John Preston
819cd4a099
Allow deleting revoked invite links.
2021-01-25 16:50:58 +04:00
John Preston
144bad6c74
Update link rows in Manage Invite Links.
2021-01-25 16:50:58 +04:00
John Preston
97fb310f54
Move CalendarBox and ChooseDateTimeBox to td_ui.
2021-01-25 16:50:56 +04:00
John Preston
1cce383d15
Add a box to create / edit invite links.
2021-01-25 16:47:41 +04:00
John Preston
01ecf0ca93
Show invite links list with context menu.
2021-01-25 16:47:41 +04:00
John Preston
40e90af76d
Detect tablet mode on Windows 10.
2021-01-25 16:47:41 +04:00
John Preston
3862b3b90e
Make sharing invite links using ShareBox.
2021-01-25 16:47:41 +04:00
John Preston
5e10d97abe
Hide 'No one joined yet.' message.
2021-01-25 16:47:41 +04:00
John Preston
542abb26b9
Allow sharing link to chats.
2021-01-25 16:47:41 +04:00
John Preston
7132ab5bf4
Fix long content in group type box.
2021-01-25 16:47:41 +04:00
John Preston
c7b1a37722
Implement revoke of permanent link.
2021-01-25 16:47:41 +04:00
John Preston
be1afb4781
Show recently joined by permanent link userpics.
2021-01-25 16:47:41 +04:00
John Preston
8c7030378a
Add 'Copy Link' and 'Share Link' buttons.
2021-01-25 16:47:41 +04:00
John Preston
754dedc40e
Improve permanent link edit design.
2021-01-25 16:47:40 +04:00
John Preston
e5320b4b4e
Implement new permanent invite link management.
2021-01-25 16:47:40 +04:00
John Preston
02ad5f2772
Update API scheme and start invite links.
2021-01-25 16:47:40 +04:00
John Preston
b58a977029
Remove volume change on muted rows.
2021-01-25 16:47:40 +04:00
John Preston
40fda9503f
Apply mute by me / volume change locally.
2021-01-25 16:47:40 +04:00
John Preston
f63f0a7668
Mute by me / change participant volume.
2021-01-25 16:47:40 +04:00
John Preston
b396244606
Update API scheme to layer 123.
2021-01-25 16:47:40 +04:00
Ilya Fedin
82d78e7c45
Decrease indentation in notification manager creation
2021-01-25 09:42:16 +04:00
Ilya Fedin
df0bca077e
Fix build with linked gtk
2021-01-25 09:42:16 +04:00
23rd
9b9531d279
Replaced icon color for songs with bright one.
2021-01-24 10:41:10 +03:00
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
23rd
c90258664d
Removed unused StaticNeverFreedPointer class from utils.
2021-01-24 10:41:10 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
23rd
4895e5e110
Fixed possible crash on deleting messages.
2021-01-24 10:41:10 +03:00
Ilya Fedin
c21125f9f2
Don't log UnknownProperty error
...
When checking notification inhibition support
2021-01-24 08:51:19 +04:00
Ilya Fedin
8ed56bb4e4
Don't mess GTK scale factor with other scaling settings
...
Have this order for scaling settings:
1. devicePixelRatio
2. GTK
3. DPI
2021-01-23 21:55:33 +04:00
John Preston
0d1b778612
Beta version 2.5.6: Fix build on macOS.
2021-01-23 16:14:37 +04:00
Ilya Fedin
b919a0627a
Ensure GtkIntegration::load() is called only once
2021-01-23 16:14:22 +04:00
Ilya Fedin
6374d4eeda
Some cosmetic changes in settigs setters
2021-01-23 16:14:22 +04:00
Ilya Fedin
3967052375
Get scale factor from GTK on Linux
2021-01-23 16:14:22 +04:00
Ilya Fedin
89ccc95023
Fix early return from Platform::ThirdParty::start on Linux
2021-01-23 16:14:22 +04:00
John Preston
24f2ca7443
Beta version 2.5.6.
...
- Press Up arrow to edit your last sent comment.
- Add more information to date tooltips
in Recent Actions and channel comments.
- Bug and crash fixes.
2021-01-22 19:00:11 +04:00
John Preston
f90e13f8b1
Fix crash after account reset after QR login.
2021-01-22 18:19:27 +04:00
Ilya Fedin
5cb081ca9a
Fix build without dbus
2021-01-22 17:22:37 +04:00
Ilya Fedin
f1e0b36f61
Use operator-> for tray icon biggest size
2021-01-22 17:22:37 +04:00
Ilya Fedin
ea9813825d
Move EscapeShell to specific_linux
2021-01-22 17:22:37 +04:00
Ilya Fedin
36b6f70613
Get rid of unneeded includes in specific_linux
2021-01-22 17:22:37 +04:00
Ilya Fedin
5e60b87cf9
Remove platform_specific.h include from mainwindow.h
...
In order to avoid mass rebuilds on specific_*.h changing
2021-01-22 17:22:37 +04:00
Ilya Fedin
ada22ee6cc
Split GTK integration into a singleton
2021-01-22 17:22:37 +04:00
Ilya Fedin
bb016e1489
Restore frameless hint on showing to workaround a bug in Qt
2021-01-22 17:12:53 +04:00
Ilya Fedin
57f9ae4b2a
Fix speed control support check
2021-01-22 17:10:22 +04:00
Ilya Fedin
cbdd86d398
Fix deadlock on OpenAL errors
2021-01-22 17:10:22 +04:00
Ilya Fedin
2fe2105a5f
Don't add counter when icon theme has 'panel' icon
...
These icons should have a dot indicating unread messages, counter is redudant for them
2021-01-22 17:09:50 +04:00
Ilya Fedin
a986d7a3d6
Fix checking cover stream on seeking
2021-01-22 17:05:43 +04:00
Ilya Fedin
690c5df87c
Format dbus errors logging
2021-01-22 17:02:50 +04:00
Ilya Fedin
1e2759840d
Check _sniDBusProxy for nullptr before connecting to signals
2021-01-22 17:02:50 +04:00
Ilya Fedin
bad888496c
Decrease some indentation in linux platform code
2021-01-22 17:02:50 +04:00
Ilya Fedin
4348ddf938
Adjust some constexprs in linux platform code
2021-01-22 17:02:50 +04:00
Ilya Fedin
894d6028bd
Don't skip native notification toasts
2021-01-22 17:02:50 +04:00
Ilya Fedin
e8edbb16ae
Make notification manager creation async
2021-01-22 17:02:50 +04:00
Ilya Fedin
a0a71687e7
Use QDBusPendingReply in GetServerInformation
2021-01-22 17:02:50 +04:00
Ilya Fedin
d042963a47
Make notification show method async
2021-01-22 17:02:50 +04:00
Ilya Fedin
64b12bde55
Allow qualified notification daemons by default on Linux
2021-01-22 17:02:50 +04:00
Ilya Fedin
49736cd879
Recreate notification manager on notification service owner change
2021-01-22 17:02:50 +04:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
23rd
2616659116
Added missed date detailed info in tooltips to admin log and sections.
2021-01-22 16:53:59 +04:00
23rd
3d1f21bd05
Added sent date info to tooltip of messages in admin log.
...
Fixed #5706 .
2021-01-22 16:53:59 +04:00
23rd
dc631ef631
Added ability to see url of inline button in tooltip.
...
Fixed #5457 .
2021-01-22 16:53:59 +04:00
23rd
5277080115
Fixed adding caption to grouped files.
...
Fixed #10192 .
2021-01-22 16:53:59 +04:00
23rd
1ccfcc824c
Updated code to be consistent with lib_ui.
2021-01-22 16:53:59 +04:00
23rd
97e8c0956f
Moved all files related to menu to separate namespace.
2021-01-22 16:53:59 +04:00
23rd
03a7131a1a
Replaced slots with lambdas to fill context menu in OverlayWidget.
2021-01-22 16:53:59 +04:00
23rd
2d906bddb2
Replaced raw PopupMenu pointer with unique_qptr in OverlayWidget.
2021-01-22 16:53:59 +04:00
23rd
dd7598a701
Replaced singleShot with InvokeQueued in OverlayWidget.
2021-01-22 16:53:59 +04:00
23rd
b6f17e1cea
Replaced QTimer with base::Timer in OverlayWidget.
2021-01-22 16:53:59 +04:00
23rd
eb42a77eb7
Changed Up arrow shortcut for albums to edit item with caption.
...
Fixed #10134 .
2021-01-22 16:53:59 +04:00
23rd
ad761011d6
Added ability to fetch song cover from external resource.
2021-01-22 16:53:59 +04:00
23rd
3fadf2ee54
Added Up arrow shortcut to edit comments.
2021-01-11 22:46:56 +03:00
23rd
15254599e2
Unified checking for editable message.
2021-01-11 22:46:56 +03:00
23rd
1607752cf9
Added ability to show song cover in inline results.
2021-01-11 22:46:56 +03:00
23rd
cf0cde6e83
Added ability to show song cover in EditCaptionBox and SendFilesBox.
2021-01-11 22:46:56 +03:00
23rd
8fffe7d128
Added ability to show song cover in HistoryView and Overview::Layout.
2021-01-11 22:46:45 +03:00
John Preston
a483eb98a1
Remove not-needed requests for file parts above real size.
2021-01-11 12:38:47 +04:00
John Preston
838a3b23c7
Beta version 2.5.5.
...
- Fix recording of audio in voice chats.
- Fix media viewer zoom and crashing.
2021-01-10 12:30:58 +04:00
23rd
a030911ad5
Fixed filling context menu in TabbedPanel between sections.
...
Fixed #10082 .
2021-01-09 14:24:41 +03:00
John Preston
8ae1b10b91
Fix media viewer regression.
2021-01-09 13:55:55 +04:00
John Preston
7508980f62
Beta version 2.5.4.
...
- Implement new audio module code for calls and voice chats.
- Allow retracting votes from polls in comments to channel posts.
- Show small voice chat button for empty voice chats.
- Fix media viewer updating when screen resolution is changed.
2021-01-07 20:02:21 +04:00
John Preston
e11efe483e
Add ability to choose calls audio backend.
2021-01-07 19:27:11 +04:00
John Preston
b23e4fa491
Use OpenAL recording backend for calls on Windows.
2021-01-05 21:15:19 +04:00
John Preston
b6b7f5706f
Show small voice chat button for empty voice chats.
2021-01-05 21:15:19 +04:00
John Preston
613bf98283
Fix media viewer controls geometry updating.
2021-01-05 21:15:19 +04:00
23rd
0bdb38753b
Added items for polls to context menu in sections.
...
Fixed #10055 .
2021-01-05 21:15:19 +04:00
John Preston
d557e0f2b7
Don't set geometry to OverlayWidget (except macOS).
2021-01-05 21:14:59 +04:00
Ilya Fedin
e81f4e8545
Add updateControls to resizeEvent in media viewer
2021-01-05 18:45:41 +04:00
Ilya Fedin
3b7d5d3c80
Eliminate ifndefs in notifications_manager_linux
2021-01-05 18:16:26 +04:00
Ilya Fedin
0fbea454bc
Format unity counter setting
2021-01-05 11:43:24 +04:00
Ilya Fedin
d4d688d494
Merge two ifndef blocks in main_window_linux
2021-01-05 11:43:24 +04:00
Ilya Fedin
b3892f49fa
Fix kSNIWatcherService/kSNIWatcherInterface misusage
...
Even though they're the same, there should be interface specified
2021-01-05 11:43:24 +04:00
Ilya Fedin
daa3a2f62f
React to resizeEvent in media viewer
2021-01-04 17:33:37 +04:00
Ilya Fedin
5affb168a2
Fix callback function name in open with dialog
2021-01-04 17:08:49 +04:00
Ilya Fedin
99af2a7058
Check for xdg-decoration protocol support on Wayland
2021-01-04 17:08:49 +04:00
Ilya Fedin
b9acea9cef
Move GSDMediaKeys initialization to SetWatchingMediaKeys
2021-01-04 11:55:10 +04:00
Ilya Fedin
8fb6ece796
Revert "Use xcb to set transient parent for gtk file dialog"
...
This reverts commit cd3b989e70
.
2021-01-04 11:54:17 +04:00
Ilya Fedin
15a9842b9f
Make open with dialog modal on Linux
2021-01-04 11:54:17 +04:00
GitHub Action
8ce0bd5575
Update User-Agent for DNS to Chrome 87.0.4280.88.
2021-01-04 11:24:11 +04:00
John Preston
373635a765
Beta version 2.5.3.
...
- Allow using mouse buttons in Push-to-Talk shortcut.
- Fix blurred thumbnails in Shared Links section.
2020-12-30 17:53:37 +04:00
John Preston
0ecd4d3b40
Close PiP when opening a loading video.
...
Fixes #9926 .
2020-12-30 17:12:40 +04:00
John Preston
3fd62d51aa
Hide bot command start button when editing message.
...
Fixes #9941 .
2020-12-30 16:27:32 +04:00
John Preston
818624e051
Don't allow kicking yourself from legacy group.
2020-12-30 16:14:13 +04:00
John Preston
a6eb241ec1
Fix blurred thumbnails in Shared Links section.
2020-12-30 16:13:07 +04:00
John Preston
1d7fb6c4ce
Better count voice chat participants count.
2020-12-30 15:53:01 +04:00
John Preston
2af63ec48f
Correctly show legacy groups with no admins.
2020-12-30 13:28:35 +04:00
John Preston
0709bc6d70
Fix links in voice chat admin log events.
2020-12-30 13:16:00 +04:00
John Preston
3a34881488
Highlight album part that had a reply clicked.
2020-12-30 12:56:44 +04:00
Ilya Fedin
39f9147790
Check for dbus menu exporter instead of menu path
2020-12-30 11:50:01 +04:00
Ilya Fedin
19a5dcbffc
Make OpenAL debugging easier
2020-12-30 11:49:30 +04:00
23rd
f24b0c6237
Fixed hiding cancel button in state of listen to recorded voice data.
2020-12-30 10:59:49 +04:00
23rd
3940d57c3d
Disabled message editing while voice recording.
2020-12-30 10:59:49 +04:00
Ilya Fedin
8da33113a2
Use DeviceModelPretty/SystemVersionPretty directly
...
This allows using methods that require a running QGuiApplication instance to detect system
2020-12-29 12:36:47 +04:00
Ilya Fedin
f66cfb5684
Use new IsSupportedByWM XCB API from lib_base
2020-12-29 12:29:11 +04:00
John Preston
d648d294ca
Fix layout in intro Settings.
2020-12-28 18:29:09 +04:00
Ilya Fedin
8142e83395
Fix connection to QSystemTrayIcon::messageClicked in main_window_win
2020-12-28 17:00:05 +04:00
Ilya Fedin
e247be7e33
Operate with QString instead of QDBusObjectPath
2020-12-28 17:00:05 +04:00
Ilya Fedin
e594b75f4c
Use more forward declarations in main_window_linux
2020-12-28 17:00:05 +04:00
Ilya Fedin
28f857f763
Add support for G-S-D's media-keys extension
...
This fixes media keys handling on (but not limited to, probably):
* GNOME
* Cinnamon
* MATE
* Budgie
* Pantheon (elementaryOS)
* Unity
2020-12-28 17:00:05 +04:00
John Preston
f3614d6402
Beta version 2.5.2: Add in-app changelog.
2020-12-25 18:30:41 +04:00
John Preston
71151f6bf6
Beta version 2.5.2.
...
- Fix possible crash in video calls.
- Fix possible crash in connecting to voice chats.
- Use different audio module code on Windows in calls.
2020-12-25 16:45:18 +04:00
John Preston
a576025d4f
Always show invited at the end of voice chat.
2020-12-25 15:44:17 +04:00
John Preston
bcd2560e8f
Reuse the code for userpics in Calls::TopBar.
2020-12-25 14:10:08 +04:00
Ilya Fedin
56728a066e
Fix blurry tray icon with svg themes
...
QIcon::actualSize doesn't work as expected with svg themes, get actual pixmap and check its size instead.
2020-12-24 22:46:09 +03:00
John Preston
1951b7a8a1
Fix possible infinite recursion in video calls.
2020-12-24 14:38:46 +04:00
John Preston
0dc0f588c4
Don't offer sending .pdf-s as photos.
2020-12-24 13:52:38 +04:00
John Preston
7d22c631ca
Fix voice chat members context menu.
2020-12-24 13:30:05 +04:00
John Preston
cf5cc3646a
Fix multi-pin bar render after theme switch.
2020-12-24 07:59:34 +04:00
Ilya Fedin
e99558abeb
Remove linux LastUserInputTime dependency since it's only in lib_base
2020-12-24 07:47:13 +04:00
John Preston
b1b25b0df9
Version 2.5.1.
...
- Fix crash in voice calls.
2020-12-23 15:01:31 +04:00
John Preston
dfee8238c6
Fix crash in legacy groups speaking typings handling.
2020-12-23 14:45:37 +04:00
John Preston
b7216c40fc
Version 2.5.
...
- Turn any of your group chats into a hop-on, hop-off conference call.
- Get up to several thousand participants in each voice chat.
- Control the number of speakers with flexible admin tools.
2020-12-23 11:59:50 +04:00
John Preston
d16bc36bae
Update API scheme.
2020-12-22 22:39:30 +04:00
John Preston
31417fd005
Fix highlighting of self row in voice chat.
2020-12-22 20:28:13 +04:00
John Preston
ae6decf70b
Support ctrl+m/ctrl+w in voice chat panel.
2020-12-22 20:28:13 +04:00
John Preston
c80da25450
Show better tooltip for force muted in voice chat.
2020-12-22 19:38:02 +04:00
John Preston
7fd09084fd
Use separate keys for message links and links.
2020-12-22 19:16:54 +04:00
John Preston
d7496f9824
Fix possible crash in app shutdown.
2020-12-22 19:16:54 +04:00
John Preston
f94280be7f
Use langpack strings in a better way.
2020-12-22 19:16:54 +04:00
Ilya Fedin
0ff6c555b1
Use Platform::IsWayland in linux_gdk_helper
2020-12-22 18:37:52 +04:00
Ilya Fedin
596c7892c7
Use desktop-app::external_qt_static_plugins
2020-12-22 17:36:25 +04:00
John Preston
902e0fc8fb
Remove dll loading in harfbuzz on Windows.
2020-12-22 14:29:51 +04:00
23rd
91e97b3d65
Fixed paint of group with wide thumbs in media viewer.
...
Fixed #8392 .
2020-12-22 12:57:22 +03:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
23rd
16c7ec5b05
Fixed stack overflow crash in applying draft at end of voice recording.
...
Regression was introduced in 50ed60f443
.
2020-12-22 11:24:56 +03:00
23rd
348712059b
Moved date and progress text formatting to tg_ui:ui/text/format_values.
2020-12-22 09:11:04 +03:00
23rd
b3f6fe1c10
Removed Enter key from box for clearing history.
...
Fixed #9781 .
2020-12-22 08:37:36 +03:00
23rd
055ce1ee24
Fixed editing of last message on Up arrow key when message is forwarded.
...
Fixed #9782 .
2020-12-22 07:56:51 +03:00
23rd
c14313d64a
Replaced bezier circles in record button with blobs.
2020-12-21 14:03:04 +03:00
John Preston
9c20cf3543
Beta version 2.4.15: Fix build on macOS.
2020-12-19 18:39:29 +04:00
John Preston
4ef2918bcc
Beta version 2.4.15: Update version.
2020-12-19 14:27:09 +04:00