Commit Graph

549 Commits

Author SHA1 Message Date
John Preston 27aa678f6a Version 4.8: Fix build with GCC. 2023-04-22 16:09:52 +04:00
23rd 2e85f7e5fc Fixed bottom padding below description field in bot management box. 2023-04-21 14:39:43 +03:00
John Preston 7dfed2a012 Disable some bot editing items while there is no design. 2023-04-21 14:23:54 +04:00
23rd efa19d5782 Added check of bot info with correct lang code to bot management box. 2023-04-21 00:13:11 +03:00
23rd 30a7893afe Added initial implementation of bot management box. 2023-04-11 19:17:42 +04:00
23rd c53b26dec8 Added ability to provide empty callback to list of usernames management. 2023-04-11 19:17:42 +04:00
23rd 973dd5c50f Added support of bots to list of usernames management. 2023-04-11 19:17:42 +04:00
23rd 2276a4c9af Added menu item to bot info for bot management. 2023-04-11 19:17:42 +04:00
John Preston 312aa4b130 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
John Preston 4444844443 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
John Preston b7d9d549ff Start filter share links management. 2023-04-11 19:17:37 +04:00
John Preston f3e15c7fcd Suggest inviting by link if privacy disallows adding. 2023-03-12 07:25:39 +04:00
John Preston 9e79b59cce Remove confirmation when sharing a user to a bot. 2023-03-08 16:59:21 +04:00
John Preston c687882760 Fix glitch in Invite by Link button disappearance. 2023-03-08 16:10:36 +04:00
John Preston a01f74ecdc Fix build with Xcode. 2023-03-01 09:12:02 +04:00
John Preston ce0e07d332 Implement "Save Power on Low Battery" function. 2023-03-01 09:12:02 +04:00
John Preston 388541a3fb Show a new "Battery and Animations" settings item. 2023-03-01 09:12:02 +04:00
John Preston 2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
Vitaly Zaitsev b48dee0af7 Fixed build with GCC 13.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2023-02-14 21:00:37 +04:00
John Preston 9d3715a36a Fix possible crash in members invite.
In some cases Info::Controller (public Window::SessionNavigation)
can be destroyed without the box being destroyed, for example when
group topics are turned on and off.
2023-02-13 06:09:55 +04:00
John Preston b9188f892f Version 4.6.
- Emoji Profile Pictures.
Quickly create group and profile pictures from animated emoji
and stickers with the new "Use an Emoji" option.
- Emoji Categories.
Filter stickers and emoji by categories like "love", "cheers"
or "sleeping" in the sticker and emoji tabs.
- Chat Translation.
As a Premium user, translate entire chats in real time
as you scroll them or receive new messages.
- Media Permissions in Groups.
Control whether members of your groups can send
9 distinct media types – like Photos, Voice or Video Messages.
- Select Chats for Bots.
Bot developers can now let users quickly select groups,
channels or contacts that meet predefined criteria (more in @BotNews).
- Open in New Window.
Open chats or additional accounts in separate windows.
2023-02-03 22:13:26 +04:00
John Preston 4484457965 Fix build with Xcode. 2023-02-02 22:12:33 +04:00
23rd 98f811a258 Replaced toggles in admin rights box with universal nested list. 2023-02-02 22:12:33 +04:00
23rd d823db32fc Added support of universal list of nested permission flags. 2023-02-02 22:12:33 +04:00
23rd db7a251ceb Slightly optimized CreateEditFlags function for restrictions. 2023-02-02 22:12:33 +04:00
23rd 0c2f5ed76c Dedicated CreateEditFlags function only for restrictions. 2023-02-02 22:12:33 +04:00
23rd 6dd6066738 Replaced signature ApplyDependencies function with more abstract one. 2023-02-02 22:12:33 +04:00
23rd fecf538e31 Returned old design of toggles in admin rights box for now. 2023-02-02 22:12:33 +04:00
John Preston 29379fac35 Use graphics for permissions expand arrow. 2023-02-02 22:12:33 +04:00
John Preston 1aeca7b486 Add create-from-choose-peer button icons. 2023-02-02 22:12:33 +04:00
John Preston 514b2a55be Add divider below choosing chat requirements list. 2023-02-02 22:12:33 +04:00
John Preston 4234f0b797 Check if bot is in group or if can be added. 2023-02-02 22:12:33 +04:00
John Preston 17ce93fd5e Add choose chat for bot confirmation. 2023-02-02 22:12:33 +04:00
23rd 7881cb8946 Fixed finishing of toggle animations in peer permissions box. 2023-02-02 22:12:33 +04:00
23rd 9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
23rd fda49a3bfa Fixed respect of locked state in list of chat participant statuses. 2023-02-02 22:12:32 +04:00
23rd 7b7ff32c94 Split button to expand list of restrictions for sending media on two. 2023-02-02 22:12:32 +04:00
23rd 70a61fa2a4 Added icons to buttons in edit peer permissions box. 2023-02-02 22:12:32 +04:00
23rd 5f2c8acae9 Replaced design of restriction buttons for sending media with checkbox. 2023-02-02 22:12:32 +04:00
23rd 3ce3baee61 Added button to expand list of chat restrictions for sending media. 2023-02-02 22:12:32 +04:00
23rd 21cd1555f0 Replaced Checkbox with SettingsButton for chat participant statuses. 2023-02-02 22:12:32 +04:00
23rd 642554828c Added ability to fill chat participant statuses with custom widgets. 2023-02-02 22:12:32 +04:00
23rd 8688a68115 Added ability to fill list of chat participant statuses from external. 2023-02-02 22:12:32 +04:00
23rd f21edd1d23 Replaced EditPeerPermissionsBox with generic box. 2023-02-02 22:12:32 +04:00
John Preston 54117cc762 Fix styles in reactions expanded panel. 2023-02-02 22:12:31 +04:00
John Preston ea4e2f0952 Fix build with Xcode. 2023-02-02 22:12:31 +04:00
John Preston 554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston de5bbf2cb9 Allow creating group / channel for the bot. 2023-02-02 22:12:31 +04:00
John Preston 809610817e Initial request peer button implementation. 2023-02-02 22:12:31 +04:00
23rd 58ed30d30e Moved constants of arc angles to td_ui. 2023-01-19 08:51:57 +03:00