Commit Graph

2095 Commits

Author SHA1 Message Date
John Preston
08ee25deb2 Display date of birth in user profiles. 2024-04-01 22:44:21 +04:00
John Preston
c82d7bd909 Implement birthday info / privacy edit boxes. 2024-04-01 22:44:21 +04:00
John Preston
59663d6661 Track birthdays, edit birthday privacy. 2024-04-01 22:44:21 +04:00
John Preston
fcc9e0b2db Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
1e1a48865f Extract history/view/media/history_view_media_generic module. 2024-04-01 22:44:21 +04:00
John Preston
85554d19e4 Show chat intro in an empty chat. 2024-04-01 22:44:21 +04:00
John Preston
9f67b9ba2f Reload chatbot rules after adding an exception. 2024-04-01 22:44:20 +04:00
John Preston
191c35914f Start editing chat intro in Telegram Business. 2024-04-01 22:44:20 +04:00
John Preston
cf1d0677d1 Support business bot state in chat. 2024-04-01 22:44:20 +04:00
John Preston
3d97ea6f96 Track chat business bot state. 2024-04-01 22:44:20 +04:00
John Preston
90e572c8b1 Improve mixed stickerpacks support. 2024-04-01 22:44:20 +04:00
John Preston
b1795f8c5a Update API scheme to layer 177. 2024-04-01 22:44:20 +04:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston
eac5c39a96 Don't show IV button for album links. 2024-03-13 21:58:27 +04:00
John Preston
e20770e256 Show IV button only if supported. 2024-03-13 21:20:30 +04:00
John Preston
d43f0be0da Add IV icon to the button. 2024-03-13 21:20:30 +04:00
John Preston
1252accef7 Support file reference refresh in IV. 2024-03-13 21:20:30 +04:00
John Preston
e1b55b560a New top bar, sharing, internal IV links style. 2024-03-13 21:20:30 +04:00
John Preston
315859bf7b Load full webpage and update in IV. 2024-03-13 21:20:30 +04:00
John Preston
c46f34c677 Load non-streamable documents. 2024-03-13 21:20:30 +04:00
John Preston
51d5b7bab6 Support channel link / channel join. 2024-03-13 21:20:30 +04:00
John Preston
6d733bb566 Proof-of-concept custom scheme in WKWebView. 2024-03-13 21:20:30 +04:00
John Preston
125f856e67 Proof-of-concept (WebView2 / Local) iv. 2024-03-13 21:20:30 +04:00
23rd
672ad64e53 Added initial ability to send and receive scheduled messages in forums. 2024-03-13 19:57:07 +03:00
John Preston
626b3395ab Show 00:00-23:59 as "open 24 hours". 2024-03-09 10:58:05 +04:00
John Preston
506b8fd4f1 Fix saving of empty working intervals. 2024-03-09 10:58:05 +04:00
John Preston
990ae11f62 Version 4.15.1: Fix build with GCC. 2024-03-08 15:49:30 +04:00
John Preston
d729e625e6 Show business section settings only when loaded. 2024-03-08 12:28:53 +04:00
John Preston
00dcf11691 Improve recipients selection in business features. 2024-03-08 10:54:00 +04:00
John Preston
e3f6c189a7 Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston
ea36345eee Show location and working hours in profile. 2024-03-08 10:53:59 +04:00
John Preston
5e82860376 Allow sending quick replies like bot commands. 2024-03-08 10:53:59 +04:00
John Preston
c94da177d7 Fix build with Xcode. 2024-03-08 10:53:59 +04:00
John Preston
a47c6f9c9a Show errors on business info savings. 2024-03-08 10:53:59 +04:00
John Preston
d5e920e45a Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston
8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston
aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston
f086203d25 Implement proper shortcut management. 2024-03-08 10:53:59 +04:00
John Preston
7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
John Preston
5c11fa4f63 Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston
d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston
dd7ccada2f Support edit / save of greeting message settings. 2024-03-08 10:53:59 +04:00
John Preston
e6b9ac2267 Support edit / save of away message settings. 2024-03-08 10:53:58 +04:00
John Preston
c513906996 Change default for business recipients. 2024-03-08 10:53:58 +04:00
John Preston
dd0bdd62fb Support business working hours API. 2024-03-08 10:53:58 +04:00
John Preston
4d12f1c0ef Initial working hours editing. 2024-03-08 10:53:58 +04:00
John Preston
1fe641c458 Update API scheme to layer 176. 2024-03-08 10:53:58 +04:00
John Preston
1e5f821c6f Start all business sections implementation. 2024-03-08 10:53:58 +04:00
John Preston
ad9107ca90 Implement chatbots section editing. 2024-03-08 10:53:58 +04:00
23rd
09285bc9cd Moved out minimal levels of boosts for channel settings to single place. 2024-03-08 10:53:58 +04:00
23rd
93d1a187ca Improved view style of contacts. 2024-03-08 10:53:57 +04:00
John Preston
38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston
0fd8ceca6b Use Ui::DynamicImage and ui/dynamic_thumbnails module. 2024-02-15 13:51:41 +04:00
John Preston
11f0847295 Update API scheme on layer 174. 2024-02-15 13:51:41 +04:00
John Preston
964846f1bb Add stories rights to group admins edit. 2024-02-15 13:51:41 +04:00
John Preston
fc6f2520b7 Support free transcribes in groups. 2024-02-15 13:51:41 +04:00
John Preston
571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston
08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
John Preston
ea12c2f62c Respect boosts restrictions lifting. 2024-02-15 13:51:40 +04:00
John Preston
180b14ea36 Allow saving boosts to lift restrictions. 2024-02-15 13:51:40 +04:00
John Preston
f6a8c1e996 Allow boosts / giveaways in groups. 2024-02-15 13:51:40 +04:00
John Preston
33207b78d5 Show applied boosts in message bubbles. 2024-02-15 13:51:40 +04:00
John Preston
e32cbf468b Update API scheme to layer 174. 2024-02-15 13:51:40 +04:00
23rd
5d3400033a Fixed ability to copy whole transcribed text and copy album captions. 2024-02-08 17:35:29 +03:00
John Preston
2f0b50cb37 Version 4.14.13: Always send webpages optionally.
If the link cannot be displayed everywhere
(channel blocked in some countries) the
send request without `optional` flag fails.
2024-02-02 21:41:19 +04:00
John Preston
1cce1e8a90 Fix a crash in tags removal. 2024-02-02 21:33:58 +04:00
John Preston
39b80c98c7 Support tags in ComposeSearch. 2024-02-01 12:37:34 +04:00
John Preston
87df90227e Remove legacy premium reactions code. 2024-02-01 12:37:34 +04:00
John Preston
6f57302562 Track tag counts in all sublists. 2024-02-01 12:37:34 +04:00
John Preston
d116c8fea0 Allow editing tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
32462fca9b Show tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
9f738cded2 Fix saved messages sublists pinning updates. 2024-02-01 12:37:34 +04:00
John Preston
ded2015dc2 Update API scheme to layer 173. 2024-02-01 12:37:34 +04:00
23rd
7542f04010 Added specific phrases to chats list for voice messages with ttl. 2024-01-25 11:04:27 +04:00
John Preston
7d9b4e1e03 Fix local online status fadeout once again. 2024-01-19 11:44:33 +04:00
John Preston
f53b64bc72 Fix local online finishing. 2024-01-18 21:19:07 +04:00
John Preston
d55dd7dffd Version 4.14.7: Fix build with GCC. 2024-01-18 17:50:37 +04:00
John Preston
f3f660a180 Show toast on share attempt to premium required. 2024-01-18 10:39:00 +04:00
John Preston
5daa5a00f0 Correctly use contact_require_premium bit. 2024-01-17 09:39:05 +04:00
John Preston
6e31993777 Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston
3829ed5880 Fix build with Xcode. 2024-01-17 09:39:05 +04:00
John Preston
e5cda0e2b1 Show "premium required" information in chat. 2024-01-17 09:39:05 +04:00
John Preston
ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
23rd
c43dfecec6 Excluded media with ttl from shared media. 2024-01-16 11:18:55 +04:00
23rd
37067f17e2 Added new viewer widget for voice messages with ttl. 2024-01-16 11:18:55 +04:00
John Preston
3c6037a798 Custom context menu for saved-tags reactions. 2024-01-16 11:16:28 +04:00
John Preston
d1a0dfbb97 Search by tag on click in Saved Messages. 2024-01-16 11:16:28 +04:00
John Preston
e667436a98 Track my tags usages. 2024-01-16 11:16:27 +04:00
John Preston
9aacff8b54 Request correct saved/default reaction tags. 2024-01-16 11:16:27 +04:00
John Preston
9b43d204e2 Track and render reactions as tags in Saved Messages. 2024-01-16 11:16:27 +04:00
John Preston
0faf801de7 Update API scheme to layer 171. 2024-01-16 11:16:27 +04:00
John Preston
254ca57bf3 Fix webm emoji/stickers with unknown dimensions. 2024-01-04 18:50:47 +04:00
John Preston
bb31357c58 More strict check for custom emoji dimensions. 2024-01-04 17:25:32 +04:00
23rd
d8d9441731 Slightly improved code style in HistoryView::Document. 2024-01-04 16:14:19 +03:00
John Preston
5933535c9b Fix loading more saved sublists. 2024-01-02 18:03:02 +04:00
John Preston
a30d0eccda Avoid unnecessary saved dialogs load requests. 2024-01-01 23:42:18 +04:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston
9392550c01 Support pinned saved sublists. 2023-12-31 19:42:24 +04:00
23rd
3962e5a680 Added animation to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
85286684e3 Added initial support for voice messages with TTL. 2023-12-31 19:42:23 +04:00
23rd
c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston
634687881a Fix loading of saved sublist histories. 2023-12-31 19:42:23 +04:00
John Preston
fd417024fb Initial saved sublist section implementation. 2023-12-31 19:42:23 +04:00
John Preston
18c4d210e5 Show saved messages sublists in profile. 2023-12-31 19:42:23 +04:00
John Preston
ead40c759e Update API scheme to layer 170. 2023-12-31 19:42:23 +04:00
John Preston
fd64718502 Allow setting channel wallpaper. 2023-12-22 07:35:02 -04:00
John Preston
941126ad69 Allow setting channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston
9201cf24f1 Respect correct min-level for colors. 2023-12-22 07:35:02 -04:00
John Preston
cd5a6025f6 Support pre-defined channel wallpapers resolving. 2023-12-16 23:52:55 +00:00
John Preston
b6c679449e Support custom channel backgrounds display. 2023-12-16 23:23:24 +00:00
John Preston
805a5d73b6 Show emoji statuses in channels. 2023-12-16 22:43:35 +00:00
John Preston
60e72768e1 Update API scheme. Shared posts in stories. 2023-12-16 21:26:40 +00:00
John Preston
1fb4a2f4ba Update API scheme. Show interactions in channel stories. 2023-12-16 20:25:02 +00:00
John Preston
d87a0a2d25 Show reposts / forwards in story viewers. 2023-12-16 20:25:02 +00:00
23rd
8e92778b62 Fixed API support of public forwards in statistics info. 2023-12-16 20:25:02 +00:00
John Preston
f7e2c7977b Update API scheme. TODO public forwards stats. 2023-12-16 20:25:02 +00:00
John Preston
2b960a1f21 Update API scheme. 2023-12-16 20:25:02 +00:00
John Preston
4b9648d8d9 Update API scheme. Giveaway winners. 2023-12-16 20:25:02 +00:00
John Preston
62f9f3c94b Update API scheme. HistoryView::Giveaway->MediaInBubble. 2023-12-16 20:25:02 +00:00
John Preston
d56724f290 Add additional prize info to giveaway details. 2023-12-16 20:25:02 +00:00
23rd
6471d43c71 Added mini preview for some types of webpages. 2023-12-16 20:25:02 +00:00
23rd
1a856e359f Fixed display of bottom captions in chart view with long date strings. 2023-12-16 20:25:01 +00:00
23rd
88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
John Preston
c86ca6a61a Check custom reactions in channels better. 2023-12-01 13:05:06 +04:00
John Preston
8e2240d9d9 Fix custom reactions in channels. 2023-12-01 13:00:52 +04:00
John Preston
2611899448 Set custom reactions hard limit to max level. 2023-11-30 17:56:57 +04:00
John Preston
514ced1d8e Respect wallpaper_overriden flag. 2023-11-30 17:56:57 +04:00
23rd
1a69975131 Replaced Qt format of dates in statistics with internal format. 2023-11-29 09:09:36 +03:00
John Preston
28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston
ae1da5baf4 Implement premium lock of similar channels. 2023-11-28 21:55:27 +04:00
23rd
2542ec5d93 Added list of public forwards for story statistics. 2023-11-28 21:55:27 +04:00
23rd
dfe55b26a2 Added statistical values for stories to overview in statistics info. 2023-11-28 21:55:27 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
0f3faf59ca Added support of bot apps to sponsored messages.
Added api support of custom button text in sponsored messages.
2023-11-28 21:55:26 +04:00
23rd
fc86bb7a5f Removed redundant code for old sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
4c5c2aadc4 Replaced style of sponsored messages with fake webpage. 2023-11-28 21:55:26 +04:00
23rd
17f89ba1f9 Added ability to get sponsored details from constructor of HistoryItem. 2023-11-28 21:55:26 +04:00
23rd
856f39c123 Fixed search of indices on tiny charts in statistics. 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
23a0413113 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston
324f2f68ba Handle for_both chat wallpaper change. 2023-11-28 21:55:25 +04:00
John Preston
4dbe5c0a0f Load similar channels correctly. 2023-11-28 21:55:25 +04:00
John Preston
4b5e2582d9 Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd
69b9d404c0 Added api support of reactions count for recent posts in statistics. 2023-11-28 21:55:24 +04:00
23rd
0865776d9a Simplified FileOriginStory. 2023-11-28 21:55:24 +04:00
John Preston
36a8c49213 Show similar channels under join message. 2023-11-28 21:55:24 +04:00
23rd
1056a5cc8e Added API support to resolve story statistics. 2023-11-28 21:55:24 +04:00
23rd
f88eee8047 Added reactions count to overview in statistics info. 2023-11-28 21:55:24 +04:00
23rd
173a5046e8 Added new charts to channel and message statistics. 2023-11-28 21:55:24 +04:00
John Preston
0ffda016da Support cloud view_as_messages forum setting. 2023-11-28 21:55:23 +04:00
John Preston
43a8733fc7 Implement rich reactions selector. 2023-11-28 21:55:23 +04:00
John Preston
dcc326e17f Update API scheme to layer 167.
Support quote offset passing to API.
Support simple phrases in giveaway results message.
2023-11-28 21:55:23 +04:00
23rd
596460172f Optimized include directives of core_settings header. 2023-11-15 03:30:04 +03:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
John Preston
9324ceeb24 Destory stats sessions after a timeout. 2023-11-13 10:08:47 +04:00
23rd
1e6cf839e2 Fixed Api requests for statistics with non-default DC. 2023-11-11 15:05:20 +03:00
John Preston
9b2f2b104f Show enlarge photo button in webpage preview. 2023-11-09 22:33:14 +04:00
John Preston
a41bbd27c8 Start multiboosts, support dynamic state. 2023-11-09 22:33:14 +04:00
23rd
33cf9a0702 Fixed expiration date of boosts in boosts list. 2023-11-09 16:02:18 +03:00
23rd
3522d9c62e Added API support for prepaid giveaways. 2023-11-09 14:18:26 +03:00
John Preston
36662c51dd Fix giveaway sticker and phrases. 2023-11-06 22:16:12 +04:00
John Preston
5350c97f82 Fix sending replies in forums. 2023-11-06 12:31:59 +04:00
John Preston
d6c3760646 Improve external reply icons paddings. 2023-11-04 21:24:21 +04:00
John Preston
537c656ee1 Show external reply media preview. 2023-11-04 21:24:21 +04:00
John Preston
3b40bc6297 Show full reply names with icons. 2023-11-04 21:24:14 +04:00
23rd
79b5f7eda9 Added initial API support for different boosts lists. 2023-11-04 21:24:01 +04:00
23rd
9df551a145 Improved API support of boosts list. 2023-11-04 21:24:00 +04:00
John Preston
10022a3c6d Highlight quotes in replies to file albums. 2023-10-31 23:06:21 +04:00
John Preston
d831775e2f Fix replying in the same history. 2023-10-31 11:19:57 +04:00
John Preston
b793c06759 Fix external replies in topic groups. 2023-10-31 10:39:54 +04:00
John Preston
e64a096dca Don't suggest shrinking media of direct photo links. 2023-10-29 08:51:42 +04:00
John Preston
94ac9f93fa Don't shrink non-photo media. 2023-10-29 07:54:39 +04:00
John Preston
fe0e526b79 Support phrases for unclaimed giveaway prizes. 2023-10-28 21:40:39 +04:00
John Preston
c480ab1a3b Fix possible crash in non-cancelled request. 2023-10-28 21:13:52 +04:00
John Preston
cb6698cf4a Implement background emoji selector. 2023-10-28 18:06:17 +04:00
John Preston
effc9873c9 Remove test data in giveaways. 2023-10-27 17:49:31 +04:00
John Preston
5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston
c035ec6917 Allow sending just webpage preview. 2023-10-26 14:08:44 +04:00
John Preston
041ec1157f Respect invert_media in service notifications. 2023-10-26 14:08:44 +04:00
John Preston
17578be4b9 Edit reply / webpage options together. 2023-10-26 14:08:43 +04:00
John Preston
1409d38ac3 Improve reply options edit design. 2023-10-26 14:08:43 +04:00
John Preston
2d3e2b1ef8 Fix drafts in topics. 2023-10-26 14:08:43 +04:00
John Preston
9c23de7f1a Display reply background emoji. 2023-10-26 14:08:43 +04:00
John Preston
60fb5fdaf0 Update color index caches on palette change. 2023-10-26 14:08:43 +04:00
John Preston
8b42161898 Allow sending custom webpage previews. 2023-10-26 14:08:43 +04:00
John Preston
b1823d981b Update API scheme, rich preview drafts. 2023-10-26 14:08:42 +04:00
John Preston
b2e8e0431e Start customizable webpages. 2023-10-26 14:08:42 +04:00
John Preston
486d5b63d3 Add countries to giveaway messages. 2023-10-26 14:08:42 +04:00
John Preston
16d18b437d Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
b9af4f3cb0 Show nice replies with quotes. 2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston
f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
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
23rd
b7a9aa9a0e Fixed processing of empty chart on message statistic. 2023-10-21 11:34:08 +03:00