Commit graph

88 commits

Author SHA1 Message Date
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
163252b890 fix: cleanup a bit
fix: localize some strings
2023-09-29 13:34:31 +03: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
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
7828a92f08 Implement views/reactions polling in channels. 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
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
ZavaruKitsu
7fe6ca1f41 fix: crash when viewing story with ghost mode 2023-08-30 08:57:54 +00:00
ZavaruKitsu
62cfe5ef98 Merge tag 'v4.9.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2023-08-27 09:07:54 +00:00
John Preston
d57d95c53f Pass context chat from one webview to another. 2023-08-15 15:01:34 +02:00
John Preston
79e8b1dbca Don't check contact status for bots / service. 2023-08-14 22:30:40 +02:00
John Preston
dbe7f42881 Update API scheme on layer 161. 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
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
c12297d8cb Implement stealth mode in stories. 2023-08-14 22:30:37 +02:00
ZavaruKitsu
3d24395d2e fix: better sendReadStories 2023-08-09 16:50:52 +00:00
ZavaruKitsu
17c7993240 fix: stack overflow crash 2023-08-07 17:27:39 +00:00
ZavaruKitsu
70e49025b1 fix: don't increment views 2023-08-01 13:45:30 +00:00
ZavaruKitsu
5a0a93d8d4 feat: hide stories (thx 64Gram) 2023-08-01 13:28:30 +00:00
ZavaruKitsu
576671e222 feat: don't read stories
feat: show message ID in tooltip
feat: update strings
fix: invert strings
2023-08-01 12:45:59 +00:00
John Preston
863313531d Fix crash in viewed shared story deletion. 2023-07-21 13:44:43 +04:00
John Preston
b7370127ff Correctly clear story instances on deletion. 2023-07-21 12:22:53 +04:00
John Preston
c2805d92a5 Fix marking stories as read. 2023-07-20 07:20:57 +04:00
John Preston
4402cce928 Allow archive with stories only. 2023-07-20 07:20:57 +04:00
John Preston
734c5c6740 Use a single Ui::UnreadStoryOutlineGradient. 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
3c28e7b585 Mark as read recent stories in profile top bar. 2023-07-20 07:20:56 +04:00
John Preston
6607848abc Fix build with GCC. 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
a0ffa15885 Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise:

int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
    a = b;
    ...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston
d7d8847c1d Show stories in chats list userpics. 2023-07-20 07:20:33 +04:00
John Preston
451c4e3101 Implement vertical list of hidden story sources. 2023-07-20 07:20:33 +04:00
John Preston
a79deb89ce Update API scheme on laydr 160. 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
6c960243a9 Improve story source context menus. 2023-07-20 07:20:32 +04:00
John Preston
074a4e3c92 Track stories deletion and refresh views. 2023-07-20 07:20:32 +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
0183790518 Improve archive / unarchive story toast. 2023-07-20 07:20:12 +04:00
John Preston
1b581a1597 Support story link previews. 2023-07-20 07:20:12 +04:00
John Preston
22b6f27f7b Put changelog stories above premium stories. 2023-07-20 07:20:12 +04:00
John Preston
e21c06f67c Support deleting and reporting stories. 2023-07-20 07:20:12 +04:00
John Preston
8d2fd4bd69 Show only hidden stories in Contacts. 2023-07-20 07:20:12 +04:00