Commit graph

1229 commits

Author SHA1 Message Date
John Preston
da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston
280d69d346 Implement personal channel selector. 2024-04-01 22:44:21 +04:00
John Preston
0d740c21a2 Check if bot supports Telegram Business. 2024-04-01 22:44:21 +04:00
John Preston
66a47137a0 Copy chat link by left click in footer. 2024-04-01 22:44:21 +04:00
John Preston
3d54f8ec49 Initial chat links edition implementation. 2024-04-01 22:44:21 +04:00
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
5e68dace9f Remove description in intro settings preview. 2024-04-01 22:44:21 +04:00
John Preston
3a5b3ff3bd Show description about custom chat intro. 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
7f4d13c54a Fix chat intro sticker aspect ratio. 2024-04-01 22:44:20 +04:00
John Preston
0887348611 Show length limit in chat intro fields. 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
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
23rd
2638ee2926 Improved message edition with pre-selected text. 2024-03-17 11:16:07 +03:00
23rd
9e18236b55 Added ability to open account in new window with middle click. 2024-03-15 14:43:29 +04:00
John Preston
d43f0be0da Add IV icon to the button. 2024-03-13 21:20:30 +04:00
John Preston
8c5db25476 Fix a crash in main settings destructor.
Fixes #27544.
2024-03-12 23:24:43 +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
2c03d90fc8 Fix the new time picker. 2024-03-08 11:47:29 +04:00
John Preston
5397f64b23 Add Telegram Business icon to Premium promo. 2024-03-08 10:54:00 +04:00
John Preston
4975cf2ec1 Implement double-drumroll time picker. 2024-03-08 10:54:00 +04:00
John Preston
bef26cf9d2 Force right-alignment in quick replies editing. 2024-03-08 10:54:00 +04:00
John Preston
9483d17fc8 Validate quick reply name. 2024-03-08 10:54:00 +04:00
John Preston
288979d8e7 Allow editing quick replies from the suggestions. 2024-03-08 10:54:00 +04:00
John Preston
d14f11bd88 fixup Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston
d608bffecb Fix limit in business features exception box. 2024-03-08 10:54:00 +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
c94da177d7 Fix build with Xcode. 2024-03-08 10:53:59 +04:00
John Preston
88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston
f812166249 Use server-side order for business features list. 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
cf8aaf5f9d Save away / greeting settings. 2024-03-08 10:53:59 +04:00
John Preston
ca4cbddba6 Check shortcuts / messages limits. 2024-03-08 10:53:59 +04:00
John Preston
7f7d544943 Show nice empty quick reply placeholder. 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
23e22de6ec Fix deleting shortcut items. 2024-03-08 10:53:59 +04:00
John Preston
fb539b0f70 Improve shortcut messages geometry. 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
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
f85c3c88f7 Add rpl interface to RadiobuttonGroup. 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
John Preston
205479fccc Layout chatbots editing section. 2024-03-08 10:53:58 +04:00
John Preston
0c991466f5 Update API scheme to layer 175. Business promo. 2024-03-08 10:53:58 +04:00
23rd
0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
23rd
27bd9e3ee5 Added icons to buttons for privacy settings that require premium. 2024-03-08 10:53:58 +04:00
23rd
f56b16c6ef Added initial badges for minimal level of boosts to channel settings. 2024-03-08 10:53:58 +04:00
23rd
eab249fc13 Fixed countdown label for input field of bio. 2024-03-08 10:53:58 +04:00
John Preston
89c7147fd9 Improve group appearance box design. 2024-02-18 00:25:40 +04:00
John Preston
cb174cb0bf Add some more premium promo sections. 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
John Preston
2f40a44b5c Improve things for OpenAL devices management. 2024-02-01 12:37:34 +04:00
John Preston
f324c53440 New premium promo section about tags. 2024-02-01 12:37:34 +04:00
23rd
20bd7db4d9 Slightly improved display of top label in Premium Settings for user. 2024-01-25 19:28:31 +04:00
John Preston
104ba4db7c Fully migrate to Webrtc::Environment. 2024-01-25 11:57:58 +04:00
John Preston
9a6ab3b0f2 Improve call device migration. 2024-01-25 11:04:27 +04:00
John Preston
e5b89b1572 Separate settings for calls. 2024-01-25 11:04:27 +04:00
John Preston
65a80766f4 Implement media device tracking on macOS. 2024-01-25 11:04:27 +04:00
John Preston
d3778f92d2 Implement media devices tracking on Windows. 2024-01-25 11:04:27 +04:00
John Preston
ce6fc19b84 Try to request dependent messages on demand. 2024-01-18 19:26:32 +04:00
John Preston
eda7118df9 Show toast on forward attempt to premium required. 2024-01-17 16:43:25 +04:00
John Preston
3710d61a09 Show "Hide read time" only on non-trivial privacy. 2024-01-17 09:39:05 +04:00
John Preston
1cfad14437 Show correct placeholder in require-premium story reply. 2024-01-17 09:39:05 +04:00
John Preston
16942d487a New "Messages" privacy option and box. 2024-01-17 09:39:05 +04:00
John Preston
e63d573414 Proof-of-concept last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston
ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
John Preston
5e255e56eb Don't allow gifting premium if can't buy. 2024-01-02 00:12:51 +04:00
John Preston
a4d7309209 Support tg://premium_multigift links. 2024-01-02 00:10:52 +04:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston
ead40c759e Update API scheme to layer 170. 2023-12-31 19:42:23 +04:00
Ilya Fedin
ea37e83b13 Revert "Force enable fractional-scale-v1 experimental option"
This reverts commit 4696f731da.
2023-12-27 22:44:58 +00:00
John Preston
de8b09d7fc Use correct phrases for outgoing giftcodes. 2023-12-17 21:20:21 +00:00
23rd
081817f62a Moved out making of premium summary to separated function. 2023-12-17 13:01:36 +03:00
23rd
b9b6226692 Added initial ability to gift premium to contacts from settings. 2023-12-17 09:50:50 +03:00
23rd
82d73e2396 Moved out making of "new" badges to single place. 2023-12-17 09:50:50 +03:00
23rd
88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
John Preston
28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston
8c3fa14a75 Allow setting background for both sides. 2023-11-28 21:55:27 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
d28ba4fad9 Moved out PeerByLinkInfo from SessionNavigation to separate file. 2023-11-28 21:55:26 +04:00
23rd
909f3bf011 Added "new-windows-size-as-first" option. 2023-11-28 21:55:25 +04:00
John Preston
db0a31b87e Fix crash in scale preview reparenting. 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
Ilya Fedin
4696f731da Force enable fractional-scale-v1 experimental option 2023-11-21 21:20:50 +04:00
Ilya Fedin
0f9d83f34b Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 21:20:50 +04:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd
819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
85e2d54a05 Split out settings_common module into td_ui and non-td_ui variants. 2023-11-15 03:30:04 +03:00
23rd
f629bf76ff Removed AddButton and CreateButton without icon from Settings. 2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd
6ca777102c Added ability to paint non-optimized ministars to fix possible glitches. 2023-11-07 20:23:42 +03:00
23rd
a4e5ea01dc Added icon to language button in settings from intro. 2023-11-04 21:24:02 +04:00
23rd
5966c74a27 Added ability to go to message from message preview in statistics info. 2023-11-01 17:00:26 +03:00
John Preston
a57eecd420 Add option to use old tray icon.
New monochrome icon is default for the new installations.

Fixes #26983, fixes #26988, fixes #26989, fixes #26991, fixes #27005.
2023-10-30 11:16:17 +04:00
John Preston
f306b11676 Add id-s only when displayed in profile. 2023-10-30 10:51:11 +04:00
John Preston
625ae87eea Add "show-peer-id-below-about" option. 2023-10-29 10:12:48 +04:00
John Preston
7a754f8b00 Update reply preview in scale / themes. 2023-10-28 23:12:37 +04:00
John Preston
bcdb1bdfd2 Name color changing for me / channels. 2023-10-27 23:27:10 +04:00
John Preston
9561026cd4 Add change color button with color sample. 2023-10-27 12:26:42 +04:00
John Preston
5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston
744c1b925e Handle GiftCode links, show Gift Link box. 2023-10-26 14:08:40 +04:00
John Preston
575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston
9661bac876 Show blockquote icon. 2023-10-13 16:24:01 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
John Preston
5ef48cac9c Use shared_ptr<Factory> as settings section id. 2023-10-04 20:38:14 +04:00
John Preston
785014f7b7 Extract premium layer top bar widget. 2023-09-28 23:51:29 +04:00
John Preston
1c2951598b Handle t.me/channel?boost links. 2023-09-22 09:43:32 +04:00
John Preston
39f8394f98 Enable story actions in channels. 2023-09-22 09:43:31 +04:00
Ilya Fedin
0464a558f0 Add Qt window frame string for Wayland 2023-09-21 12:49:45 +04:00
Ilya Fedin
7906be37b6 Change #if-ery to be more in line with cmake logic (LINUX = NOT WIN32 AND NOT APPLE) 2023-09-15 19:52:22 +04:00
John Preston
b17b806d91 Add hide-chats-list-in-forums setting. 2023-09-15 15:36:09 +04:00
Ilya Fedin
e8a1fc0300 Add a method to check whether to run in background instead of checking for macOS 2023-09-12 10:27:13 +04:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
John Preston
7b184e553b Fix build with Xcode. 2023-08-29 17:02:23 +04:00
John Preston
1148a2e144 Show information about default notifications toggle. 2023-08-23 19:43:35 +02:00
John Preston
827e755552 Allow customizing default notifications. 2023-08-23 19:29:56 +02:00
John Preston
b80f5f9706 Manage notifications exceptions in Settings. 2023-08-23 18:09:32 +02:00
John Preston
518f0e22cd Improve small blocklist layout, fix heightMin. 2023-08-23 11:23:28 +02:00
John Preston
610e0e7913 Start default notification settings. 2023-08-22 19:43:13 +02:00
John Preston
92fec8304e Implement connected websites section. 2023-08-18 17:03:50 +02:00
John Preston
b871a29275 Version 4.9.1: Fix states of archive settings.
Fixes #26510.
2023-08-15 19:16:53 +02:00
John Preston
5285f74b13 Use outline premium icon. 2023-08-15 13:07:29 +02:00
23rd
a0fb81b871 Removed text transform from send button in toasts. 2023-08-15 09:48:45 +03:00
23rd
3d0b139c40 Removed text transform from update application button. 2023-08-15 09:48:45 +03:00
John Preston
cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston
de4152496f Add archive settings to context menu. 2023-08-14 22:30:39 +02:00
John Preston
6be1a05876 Add NEW badge to stories premium promo. 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
c5718678ea Disable OpenGL ANGLE backend.
Currently ANGLE can work through desktop OpenGL only with enabled
attribute EGL_SURFACE_ORIENTATION_INVERT_Y_ANGLE.

Qt can't work with it enabled and shows vertically flipped content.
2023-08-10 18:19:00 +03:00
23rd
3a472d1b90 Removed first animation from radio button in premium graphics. 2023-07-24 18:38:08 +03:00
John Preston
04a969cc5f Fix calls peer-to-peer privacy button icon. 2023-07-20 07:20:57 +04:00
John Preston
35214d108e Move Bio privacy up a bit. 2023-07-20 07:20:57 +04:00