Commit graph

1880 commits

Author SHA1 Message Date
John Preston
e13768ea50 Fix build with Xcode. 2023-10-26 14:08:40 +04:00
John Preston
4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston
a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston
e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston
926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
ZavaruKitsu
b2ce1d2d15 fix: a bunch of fixes
TTL media, some crashes, useless code
2023-10-22 00:15:54 +03:00
ZavaruKitsu
eff273dd7d Merge tag 'v4.10.4' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-10-21 22:04:45 +03:00
23rd
b7a9aa9a0e Fixed processing of empty chart on message statistic. 2023-10-21 11:34:08 +03:00
23rd
7ee2ec13f0 Added Data class for boosts. 2023-10-21 09:37:30 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
23rd
bee0534052 Added emoji to poll preview. 2023-10-12 03:50:59 +03:00
23rd
c9c82446cb Added support of weekly range of days to chart views. 2023-10-11 22:12:35 +04:00
23rd
2dc45ac907 Added ability to restore first public forwards in statistical info. 2023-10-11 22:12:35 +04:00
23rd
ec5e846374 Added initial ability to save and restore state of statistical info. 2023-10-11 22:12:34 +04:00
23rd
3fa168cee0 Added API class for requesting full statistic of single message. 2023-10-11 22:12:34 +04:00
23rd
fc3acff5d6 Added support of percentages display to details widget. 2023-10-11 22:12:34 +04:00
23rd
da9720530a Added ability to filter out lines from chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd
3b5a007db5 Added ability to hide footer of chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd
6109ec70b8 Slightly improved format of dates on charts. 2023-10-11 22:12:34 +04:00
23rd
79442fde97 Fixed incorrect search of index by value in statistical chart data. 2023-10-11 22:12:33 +04:00
23rd
cb4c629178 Slightly refactored code for statistical charts. 2023-10-11 22:12:33 +04:00
23rd
8ac6aca315 Split out data for statistics and for charts. 2023-10-11 22:12:33 +04:00
23rd
24c0624704 Added support of default zoom to statistical charts. 2023-10-11 22:12:33 +04:00
23rd
33724be6ea Added support of theme colors for lines on statistical charts. 2023-10-11 22:12:33 +04:00
23rd
d9f397ea3f Added display of toast with potential human-readable errors from server. 2023-10-11 22:12:30 +04:00
23rd
eb0ab9609f Added API support for request of async zoom single chart. 2023-10-11 22:12:30 +04:00
23rd
520989a7e6 Added initial ability to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd
c71f35778d Added API support of channel flag for channel statistics. 2023-10-11 22:12:29 +04:00
23rd
78e553b724 Added usage of segment tree in Data class for statistics. 2023-10-11 22:12:28 +04:00
23rd
ca863bfb5b Added dummy Data 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
2414e927bd Add initial code syntax highlighting.
Thanks PrismJS and Fela for porting it to C++.
2023-10-04 22:29:16 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
ZavaruKitsu
3cc09578c9 Merge tag 'v4.10.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2023-09-30 15:18:12 +03:00
ZavaruKitsu
4090064561 feat: implement read after actions 2023-09-30 15:04:54 +03:00
ZavaruKitsu
163252b890 fix: cleanup a bit
fix: localize some strings
2023-09-29 13:34:31 +03:00
John Preston
bd4cf82405 Don't highlight links in non-premium stories. 2023-09-28 23:51:30 +04:00
John Preston
adc6930ac6 Skip irrelevant message on changelog story hiding. 2023-09-28 23:51:30 +04:00
ZavaruKitsu
ad29ab0f51 Merge remote-tracking branch 'upstream-main/dev' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-09-27 20:38:30 +03:00
John Preston
846e96579d Fix direct story links for channels. 2023-09-25 17:53:02 +04:00
John Preston
eaa491518e Remove changelog stories on archive attempt. 2023-09-25 17:39:18 +04:00
ZavaruKitsu
b6cf5ebb19 fix: adjust code for refactor of input fields in lib_ui
fix: organize imports
fix: refactor database initialization
fix: update submodule

adjusted following 98bb520f47
2023-09-23 14:00:47 +03:00
ZavaruKitsu
0502acc8a4 Merge tag 'v4.10.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/apiwrap.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/platform/win/windows_app_user_model_id.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-09-23 10:58:57 +03:00
John Preston
c5634580f6 Add view button to channel boost link previews. 2023-09-22 09:43:32 +04:00
John Preston
7828a92f08 Implement views/reactions polling in channels. 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