Commit Graph

2329 Commits

Author SHA1 Message Date
John Preston f66e6879c2 Fix possible crash in messages forwarding.
Regression was introduced in 2c1e7bfcb6.
2023-03-17 19:25:35 +04:00
John Preston 9c91b03a5b Don't cancel caption edit by outside click. 2023-03-17 15:57:46 +04:00
John Preston ce5084c444 Fix crash in ConnectionType box init. 2023-03-12 21:11:22 +04:00
John Preston e9f5f0c948 Beta version 4.6.10: Fix build with GCC. 2023-03-12 10:16:26 +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 ff4af1b9bc Fix pasting images from Firefox on Windows.
Fixes #10564.

Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.

Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.
2023-03-08 16:10:36 +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
John Preston 91e6c42fcf Fix channel creation flow. 2023-02-15 10:14:50 +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 36bf54b0d1 Fix layout in blocked users list. 2023-02-09 13:05:21 +04:00
John Preston f2ed77649e Preload complex last message on demand. 2023-02-09 09:56:54 +04:00
John Preston 2f1c674401 Support markup in TranslateBox.
Server will translate with markup for premium users.
2023-02-07 20:06:21 +04:00
John Preston 663e89662b Bring "Do Not Translate" to "Translate To" list top. 2023-02-07 19:45:18 +04:00
John Preston ddfcf9f1df Don't allow empty "Do Not Translate" list. 2023-02-07 18:38:10 +04:00
John Preston 64f4e0dd52 Don't offer translate from / to the same language. 2023-02-07 16:38:16 +04:00
John Preston dff1568cb2 Fix "Do Not Translate" button visibility. 2023-02-04 09:37:36 +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 95336d4a96 Reorder translation languages. 2023-02-03 17:51:47 +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 a2f51d8203 Removed unused keys from boxes.style. 2023-02-02 22:12:32 +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 be71139515 Add "Translate Entire Chat" button to Settings. 2023-02-02 22:12:32 +04:00
John Preston f5be551ff8 Add translation bar dropdown menu. 2023-02-02 22:12:32 +04:00