John Preston
fa63a220fa
Fix build with Xcode.
2023-11-30 17:56:57 +04:00
John Preston
d6d76c8477
Show repost-from-name in story header.
2023-11-28 21:55:27 +04:00
John Preston
6057bb2b37
Handle repost info clicks in expanded mode.
2023-11-28 21:55:27 +04:00
John Preston
5aaf119b36
Handle repost preview clicks.
2023-11-28 21:55:26 +04:00
John Preston
8f9123bb96
Display story repost nicely.
2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42
Removed some include directives.
2023-11-28 21:55:26 +04:00
John Preston
11ea5e61cf
Show repost header in stories.
2023-11-28 21:55:25 +04:00
John Preston
78897dd143
Show repost info on story view.
2023-11-28 21:55:25 +04:00
John Preston
30d72f1d1d
Try fixing media viewer on some Linux versions.
2023-11-28 21:55:24 +04:00
23rd
0865776d9a
Simplified FileOriginStory.
2023-11-28 21:55:24 +04:00
23rd
7d2d0bdfa2
Added initial entry point to statistics info for stories.
2023-11-28 21:55:24 +04:00
John Preston
b60e50df10
Try using hide media viewer workaround on Linux.
2023-11-22 12:18:45 +04:00
23rd
12272a450f
Slightly optimized include directives in some headers.
2023-11-15 04:20:20 +03:00
23rd
acb1a7ccf2
Spread some style entries from basic style.
2023-11-15 04:19:51 +03:00
John Preston
61a9d9c01d
Don't close schedule media box by outside click.
2023-11-06 12:47:37 +04:00
John Preston
5d335341ab
Support server-side colors by index, up to three.
2023-10-27 09:55:09 +04:00
John Preston
8b42161898
Allow sending custom webpage previews.
2023-10-26 14:08:43 +04:00
John Preston
4240568ea5
Pass FullReplyTo everywhere.
2023-10-26 14:08:40 +04:00
Ilya Fedin
eb1ef6d2a7
Fix getting the screen of viewer/pip
...
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
John Preston
4b618a3578
Fix build with GCC.
2023-10-13 10:10:11 +04:00
John Preston
dd692f2d26
Use simplified TextStyle.
2023-10-13 10:08:29 +04:00
23rd
6cae088d1f
Added ability to customize shortcut for full screen in media viewer.
2023-10-12 04:20:35 +03:00
John Preston
396c229a4d
Improve Ui::Text::String features.
2023-10-04 22:24:25 +04:00
John Preston
013c8ebeb4
Allow reactions for changelog stories.
2023-09-25 21:36:51 +04:00
John Preston
116ae04f54
Add missing OpenGL resource deinitialization in viewer
2023-09-23 20:38:10 +04:00
John Preston
a37f7077b0
Beta version 4.9.10: Fix build with GCC.
2023-09-22 11:06:03 +04:00
John Preston
7828a92f08
Implement views/reactions polling in channels.
2023-09-22 09:43:32 +04:00
John Preston
e60e65f574
Toggle suggested reaction counter animated.
2023-09-22 09:43:32 +04:00
John Preston
01428572b0
Add shadow for white suggested reactions.
2023-09-22 09:43:32 +04:00
John Preston
a43a5ce6c5
Improve reaction selector position.
2023-09-22 09:43:32 +04:00
John Preston
d4ba01bad0
Suggested reaction effect around the widget.
2023-09-22 09:43:32 +04:00
John Preston
5d5cae7860
Implement suggested reaction count.
2023-09-22 09:43:32 +04:00
John Preston
f3db7e636b
Implement channel stories views / reactions.
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
b2c9a92c3e
Hide reply field in channel stories.
2023-09-22 09:43:31 +04:00
John Preston
f3e65181cd
Initial suggested reaction implementation.
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
3c931b11d6
Clear CacheHelper::waiting mutex in time.
...
I hope this fixes crashes in streaming semaphore usage.
CacheHelper::waiting points to Context::_semaphore, so it
should be cleared before Context is destroyed, not later.
2023-09-18 12:40:02 +04:00
John Preston
64dcae3174
Destroy volume dropdown after volume toggle.
...
This fixes https://bugs.telegram.org/c/31989
When destroying the dropdown first, the volume toggle receives an Enter
event and tries to show the dropdown (that is being destroyed).
2023-09-18 12:40:02 +04:00
23rd
d2bd109169
Removed uppercase from some phrases in theme editor.
2023-09-08 11:40:18 +03:00
23rd
7ffb341597
Removed some unwanted include directives of styles in header files.
2023-09-08 11:40:18 +03:00
23rd
4b503ad7ed
Slightly refactored include directives in some source files.
2023-08-30 14:50:00 +03:00
Ilya Fedin
d0eb7ec522
Fix window extents terminology
...
Extents is a synonym of size but we're setting not window size.
2023-08-29 08:02:00 +02:00
John Preston
a2fe91af03
Disable zooming in full screen video view.
2023-08-18 20:02:57 +02:00
John Preston
b610de30f4
Fix adding downloaded files to Downloads.
2023-08-18 19:25:25 +02:00
John Preston
ed9028e1c4
Allow choosing emoji color for all emoji.
2023-08-18 11:00:04 +02:00
John Preston
af3cf63e5f
Fix OpenGL rendering with precise HighDPI.
2023-08-17 14:22:04 +02:00
John Preston
311691a3bc
Use FlatLabel::textMaxWidth.
2023-08-17 13:54:53 +02:00
John Preston
f502229cc8
Disable zoom glitches on stories.
2023-08-16 17:16:19 +02:00
John Preston
cc27b6c5c5
Update icons in settings / manage layers.
2023-08-14 22:30:40 +02:00
John Preston
94f842a81f
Fix Shift+F10 context menu in media viewer.
...
Fixes #26595 .
2023-08-14 22:30:39 +02:00
John Preston
ae26c781c1
Fix build with Xcode.
2023-08-14 22:30:39 +02:00
John Preston
88c7b16b44
Fix reaction emoji disappearing.
2023-08-14 22:30:39 +02:00
John Preston
1207e84dcb
Add reaction menu to story context menu.
2023-08-14 22:30:38 +02:00
John Preston
2dfaf27884
Fix colors for colorized stories reactions.
2023-08-14 22:30:38 +02:00
John Preston
e6ad367c55
Show reactions in story viewers list.
2023-08-14 22:30:38 +02:00
John Preston
13f67d68c4
Implement custom reactions in stories.
2023-08-14 22:30:38 +02:00
John Preston
066dbfe8fc
Handle clicks on location areas in stories.
2023-08-14 22:30:38 +02:00
John Preston
4e78c24abf
Show reactions count below my stories.
2023-08-14 22:30:38 +02:00
John Preston
318d75cc63
Update API scheme on layer 161.
2023-08-14 22:30:38 +02:00
John Preston
7877cb0b3a
Implement stories premium promo.
2023-08-14 22:30:37 +02:00
John Preston
40b274e1b4
Add effect animation for heart-like.
2023-08-14 22:30:37 +02:00
John Preston
4bd925ac2c
Implement simple UI for single-type likes in stories.
2023-08-14 22:30:37 +02:00
John Preston
3adb0c1856
Show correct reply placeholder in stealth mode.
2023-08-14 22:30:37 +02:00
John Preston
c12297d8cb
Implement stealth mode in stories.
2023-08-14 22:30:37 +02:00
Ilya Fedin
f7bff01793
Fullscreen hack for Windows 11 native resize
2023-08-10 20:04:27 +04:00
John Preston
21b06f390c
Fix initial video playback speed.
...
Regression was introduced in b663edff09
.
2023-08-10 18:19:00 +03:00
John Preston
bda3bae712
Always use crl::time for media durations.
2023-08-04 08:46:46 +02:00
23rd
39e8ed22a9
Removed display of all layers in media view on open any media.
2023-08-04 08:46:46 +02:00
John Preston
61f4defa4d
Partially revert "Support and use share comment in stories."
...
Send sharing comment as a separate message, like in posts sharing.
2023-07-28 21:20:18 +04:00
John Preston
b663edff09
Improve silent stories playback.
2023-07-28 11:48:16 +04:00
23rd
7149119098
Fixed style of media player controls.
2023-07-28 10:06:27 +03:00
23rd
16e5792f3a
Improved style of buttons in stickers search results.
2023-07-26 12:06:51 +04:00
John Preston
ce39431beb
Don't jump by scroll events in stories viewer.
2023-07-26 12:01:53 +04:00
John Preston
3654c197a9
Fix DirectManipulation scroll events in media viewer.
2023-07-26 12:00:57 +04:00
John Preston
35f0f87f73
Fix possible crash in story deletion.
...
Fixes #26571 .
2023-07-25 20:24:14 +04:00
John Preston
a85f33f7d3
Fix reactions strip glitch in story reply sending.
2023-07-25 20:08:26 +04:00
John Preston
6098e5ac33
Close stories on Key_Right press on last one.
2023-07-25 18:03:02 +04:00
John Preston
0f2e8d9a79
Add a small scale for stories siblings.
2023-07-25 17:59:53 +04:00
John Preston
5aa6102903
Implement nice expandable story caption viewer.
2023-07-25 17:48:31 +04:00
John Preston
8cc90c3373
Fix media viewer with MacBook top notch.
2023-07-25 12:30:52 +04:00
23rd
921aeb3083
Removed display of all layers in media view on open story.
2023-07-24 23:33:37 +03:00
23rd
fd33fb4e7a
Fixed style of input field in boxes from compose controls in media view.
2023-07-24 23:09:11 +03:00
John Preston
fce8bc6201
Add stories-above-chats-list tooltip.
2023-07-24 21:42:13 +04:00
John Preston
2323aef899
Show nice tooltips about story privacy / silence.
2023-07-24 17:01:33 +04:00
John Preston
fb4e05405e
Support and use share comment in stories.
2023-07-24 11:43:20 +04:00
John Preston
e7312697bf
In the viewer remember which story was opened.
2023-07-21 18:49:54 +04:00
John Preston
c0b7577db9
If opening an unread story show only unread.
2023-07-21 18:21:42 +04:00
John Preston
2cc0faa5b3
Pause stories if reply context menu is shown.
2023-07-21 17:11:49 +04:00
John Preston
21fa3264e3
Pause video while caption is expanded.
2023-07-21 16:40:20 +04:00
John Preston
75dc7e6e81
Fix a crash with possible empty contact name.
2023-07-21 14:42:51 +04:00
John Preston
2402285d03
Fix possible crash in views refresh.
2023-07-21 13:11:53 +04:00
John Preston
9a6cb68d71
Version 4.8.5: Fix build with GCC.
2023-07-21 00:53:53 +04:00
John Preston
1bdab16d7b
Pause story while previewing a voice note.
2023-07-20 23:13:35 +04:00
John Preston
2cd08b8923
Cut off name / date correctly.
2023-07-20 23:08:43 +04:00
John Preston
c35556b33a
Improve short info button geometry.
2023-07-20 22:31:47 +04:00
John Preston
94ad9221ed
Fix opening recent viewers short profiles.
2023-07-20 22:08:24 +04:00
John Preston
75f542747d
Fix build with GCC.
2023-07-20 20:12:47 +04:00
John Preston
d392c7e8f0
Use only vertical volume dropdown layout.
2023-07-20 19:39:24 +04:00
John Preston
5b10b7e15f
Use separate record cancel text in stories.
2023-07-20 19:39:24 +04:00
John Preston
0b7af5bfe3
Auto-focus story reply on input start.
2023-07-20 19:31:43 +04:00
John Preston
7e18ecfb78
Use "My Story" instead of name in viewer.
2023-07-20 19:10:10 +04:00
John Preston
dd9ea29334
Close short info box by outside click in stories.
2023-07-20 19:07:51 +04:00
Ilya Fedin
d60d80ba63
Reuse lib_ui's title control side deduction code
2023-07-20 17:58:41 +04:00
John Preston
150cbe2866
Support silent video volume toggle state.
2023-07-20 10:21:04 +04:00
John Preston
7d067d4924
Fix build with Xcode.
2023-07-20 10:20:53 +04:00
John Preston
92f2b6dfbf
Fix unintentional stories viewer move-by-mouse-drag.
2023-07-20 10:00:29 +04:00
John Preston
69b9c63a69
Implement volume dropdown.
2023-07-20 07:20:57 +04:00
John Preston
80bdf9b74c
Add play/pause button to video stories.
2023-07-20 07:20:57 +04:00
John Preston
99926be57a
Add privacy badge to stories userpic.
2023-07-20 07:20:57 +04:00
John Preston
ffd691e556
Update API scheme, pass privacy info to viewer.
2023-07-20 07:20:57 +04:00
John Preston
961dd2a4a8
Break large stories lists by days in viewer.
2023-07-20 07:20:57 +04:00
John Preston
ad8f06fd95
Mark stories as read almost instantly.
2023-07-20 07:20:56 +04:00
John Preston
ebd8380019
Use correct reply placeholder in stories view.
2023-07-20 07:20:47 +04:00
John Preston
6607848abc
Fix build with GCC.
2023-07-20 07:20:46 +04:00
John Preston
8726884b21
Fix media rotation animation.
2023-07-20 07:20:46 +04:00
John Preston
6a11888852
Poll views for my story that is viewed.
2023-07-20 07:20:33 +04:00
John Preston
5ccb97668c
Add short-polling of stories.
2023-07-20 07:20:33 +04:00
John Preston
12fe0a836a
Apply editions in realtime, show badge.
2023-07-20 07:20:33 +04:00
John Preston
fcc15dd52d
Open profile on header click.
2023-07-20 07:20:33 +04:00
John Preston
ac534780cc
Implement context menu actions in stories list.
2023-07-20 07:20:33 +04:00
John Preston
a733b83642
Use stories ShareBox from the saved stories list.
2023-07-20 07:20:33 +04:00
John Preston
5f72a5238c
Save to Profile / Archive / Delete in list.
2023-07-20 07:20:33 +04:00
John Preston
af0e578da5
Save to Profile / Archive stories from the viewer.
2023-07-20 07:20:32 +04:00
John Preston
1d5b57c39c
Add video story saved toast to viewer.
2023-07-20 07:20:32 +04:00
John Preston
aff094f278
Prevent some accidental story closing.
2023-07-20 07:20:14 +04:00
John Preston
bc7da9309d
Fix controls in regular media viewer.
2023-07-20 07:20:14 +04:00
John Preston
010c666d23
Preload next stories inside the media viewer.
2023-07-20 07:20:14 +04:00
John Preston
d567282430
Preload stories in the sources lists.
2023-07-20 07:20:14 +04:00
John Preston
e7ccf5d8ad
Fix possible std::clamp contract violation.
2023-07-20 07:20:13 +04:00
John Preston
6eaa192f51
Don't allow reply to changelog stories.
2023-07-20 07:20:13 +04:00
John Preston
e21c06f67c
Support deleting and reporting stories.
2023-07-20 07:20:12 +04:00
John Preston
ebafb55b1b
Cache stories sources order in viewer.
2023-07-20 07:20:12 +04:00
John Preston
eb260b91c1
Improve unsupported 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
fc0902adf0
Force focus on parent widget on story show.
2023-07-20 07:20:11 +04:00
John Preston
e41fc69513
Show nice short info box from viewers dropdown.
2023-07-20 07:20:11 +04:00
John Preston
a2bf0fc511
Show unsupported stories with an Update button.
2023-07-20 07:20:11 +04:00
John Preston
ad5b96b049
Show toasts on reply / archive / unarchive.
2023-07-20 07:20:11 +04:00
John Preston
ff835ec76c
Show animation on story reaction sending.
2023-07-20 07:20:11 +04:00
John Preston
41eac3692c
Correctly show views count without viewers.
2023-07-20 07:20:11 +04:00
John Preston
881867186a
Load more saved / archive in the viewer.
2023-07-20 07:20:11 +04:00
John Preston
a933168ef7
Allow sharing stories and copying a link.
2023-07-20 07:20:11 +04:00
John Preston
3ac7725111
Show relative time in stories, like last seen.
2023-07-20 07:20:11 +04:00
John Preston
0401364d71
Fix build with Xcode.
2023-07-20 07:20:11 +04:00
John Preston
af5228771c
Send views for expired pinned stories.
2023-07-20 07:20:11 +04:00
John Preston
10d64d6bdf
Send story reactions as single-emoji messages.
2023-07-20 07:20:11 +04:00
John Preston
43af9fd87e
Fix controls fading in raster stories backend.
2023-07-20 07:20:11 +04:00
John Preston
39538e89e0
Show stories reactions in dark theme.
2023-07-20 07:20:10 +04:00