Commit Graph

1677 Commits

Author SHA1 Message Date
John Preston 30334b6c74 Attempt to fix crash in story preloading. 2023-07-25 20:50:21 +04:00
John Preston fb4e05405e Support and use share comment in stories. 2023-07-24 11:43:20 +04:00
John Preston 06e49c6813 Fix opening t.me/channel with min-loaded channels. 2023-07-21 18:21:42 +04:00
John Preston 0b5c0e3e98 Force internal player for stories. 2023-07-21 16:44:28 +04:00
John Preston f8e8155452 Fix possible crash with large UI scale values. 2023-07-21 14:42:26 +04: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 76f7a870ed Return loading of full archive. 2023-07-21 11:53:56 +04:00
John Preston e034f5e304 Version 4.8.5.
- Bug fixes and other minor improvements. And stories preview.
2023-07-20 23:19:48 +04:00
John Preston 68fa3e36d7 Fix story mention text updating. 2023-07-20 20:50:04 +04:00
John Preston c2805d92a5 Fix marking stories as read. 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 f31b40f6ce Add stories outline to group participants list. 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 04f1a7be02 Preload not_hidden -> hidden -> archive. 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 8a974273b9 Fix possible crash in click handling. 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 b0403553fa Remove testing more chats bar. 2023-07-20 07:20:46 +04:00
John Preston 61b8aac7c4 Allow manually toggle stories expand state. 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 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 3d795f2f67 Implement story mention messages. 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 a57e9990b0 Update API scheme on layer 160. 2023-07-20 07:20:13 +04:00
John Preston 0183790518 Improve archive / unarchive story toast. 2023-07-20 07:20:12 +04:00
John Preston 3c44cf0251 Track all sponsored messages clicks. 2023-07-20 07:20:12 +04:00
John Preston 7ad5520b82 Support external links sponsored messages. 2023-07-20 07:20:12 +04:00
John Preston 859636ff9c Show "Expired story" in the reply bar. 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
John Preston e98770d418 Improve saved / archive stories design. 2023-07-20 07:20:12 +04:00
John Preston 08c4f1f67a Force streaming bit for stories videos. 2023-07-20 07:20:12 +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 41eac3692c Correctly show views count without viewers. 2023-07-20 07:20:11 +04:00