John Preston
7543351bc9
Add pending requests bar in the chat.
2021-10-29 18:31:06 +04:00
John Preston
0dfbd5fa6e
Allow processing requests from full list.
2021-10-29 18:31:06 +04:00
John Preston
9dfbc96274
Display full list of requests.
2021-10-29 18:31:06 +04:00
John Preston
ab58aa020e
Allow many custom elements in PeerListRow.
2021-10-29 18:31:06 +04:00
John Preston
7f428f2eeb
Show full requests list in a box.
2021-10-29 18:31:06 +04:00
John Preston
b4895ef730
Allow to accept / reject requests by link.
2021-10-29 18:31:06 +04:00
John Preston
9e05e44a14
Inform about join request being sent.
2021-10-29 18:31:06 +04:00
John Preston
3af3f85f82
Allow creating approve-only invite links.
2021-10-29 18:31:06 +04:00
John Preston
185523f66f
Update API scheme to layer 134.
2021-10-29 18:31:06 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
159beb138a
Moved api peer photo processing to separated file.
...
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
23rd
3fa529d858
Extracted MaxInviteBox to separated file.
2021-10-19 06:34:27 +03:00
23rd
b776308fd7
Moved some constants for peer editing to separated file.
2021-10-19 06:34:27 +03:00
John Preston
85760ea92c
Fix repeated attempt to transfer ownership.
...
Fixes #8570 .
2021-10-04 23:45:21 +04:00
John Preston
19ce1edc16
Use base::SafeRound instead of std::round.
...
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b
, 8f5830d520
.
Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
John Preston
e9a5c45f34
Use separate strings for channel voice chats.
2021-08-31 17:59:29 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
23rd
cbad2469db
Moved MTP cloud password from ApiWrap to Api::CloudPassword.
2021-08-10 15:46:18 +03:00
23rd
024bb5e54f
Moved App::formatPhone to td_ui.
2021-07-26 17:38:51 +03:00
Ilya Fedin
ba9b72e038
Fix -Wunused-variable warnings with gcc
2021-07-19 22:31:27 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
Ilya Fedin
b6881022ce
Allow to build with -Werror and clang
...
Fixes -Wdeprecated-enum-enum-conversion, -Wdeprecated-declarations, -Wrange-loop-construct, -Winconsistent-missing-override
2021-07-13 21:32:06 +03:00
Ilya Fedin
89765340c3
Fix -Wunused-function warnings
2021-07-13 21:31:22 +03:00
John Preston
f22e68fc32
Don't use MTP* for PeerSettings flags.
2021-07-08 17:32:39 +03:00
John Preston
a74228acea
Don't use MTP* for ChannelData flags.
2021-07-08 16:11:09 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
23rd
17465e1082
Replaced old photo crop box with photo editor for profile photos.
2021-07-06 12:13:05 +03:00
23rd
b6e77537e2
Fixed logo size in box of invite link QR code generation.
2021-06-17 10:57:46 +04:00
23rd
b422ec025e
Removed Ui::show from classes that have pointer to Controller.
2021-06-17 10:57:45 +04:00
John Preston
38506d27a1
Hide member rows with active small videos.
2021-05-30 18:09:59 +04:00
John Preston
42d40a6f8f
Remove 'Restrict user' button in gigagroups.
2021-04-19 11:26:04 +04:00
John Preston
0a0803de6f
Fix couple of crashes.
2021-04-13 19:46:42 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
0d44736575
First full-featured version of payments, no design.
2021-04-06 18:41:15 +04:00
John Preston
3bd6b2268f
Allow blocking channels in voice chats.
2021-03-20 15:43:35 +04:00
John Preston
a0a13c3b86
Update API scheme to layer 126.
2021-03-20 15:43:35 +04:00
John Preston
a14db3e492
Allow editing 'Manage Voice Chats' admin right in channels.
2021-03-20 15:43:35 +04:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
6786d44b69
Start voice chat link sharing.
2021-03-12 16:58:26 +04:00
John Preston
02e9b8fd18
Support joining to voice chats as a channel.
2021-03-12 16:58:26 +04:00
John Preston
b638650b41
Fix invite link sharing without a comment.
2021-02-24 19:17:48 +04:00
John Preston
627426f604
Fix copy QR code in night mode.
2021-02-24 15:10:19 +04:00
John Preston
7b80514986
Fix time formatting in links.
2021-02-24 15:10:06 +04:00
John Preston
61af510b7d
Move Copy QR button to the left.
2021-02-23 18:55:14 +04:00
John Preston
16b4959e71
Add invite link QR code generation.
2021-02-23 18:47:43 +04:00
John Preston
7dabcf5a32
Fix build on Linux.
2021-02-22 23:42:42 +04:00
John Preston
221b896117
Suggest converting to gigagroup.
2021-02-22 23:42:42 +04:00
John Preston
018232680f
Add support for admins without additional rights.
2021-02-22 23:42:42 +04:00
John Preston
707d090802
Don't allow to edit/revoke bot links.
2021-02-22 23:42:42 +04:00
John Preston
d67a5dc510
Remove messages ttl edit from Manage Channel.
2021-02-22 23:42:42 +04:00
John Preston
d5fe57100a
Add tooltip after converting to gigagroup.
2021-02-22 23:42:42 +04:00
John Preston
8188ab3033
Adapt UI for gigagroups.
2021-02-22 23:42:41 +04:00
John Preston
56b15b26bb
Add convert to gigagroup button.
2021-02-22 23:42:41 +04:00
John Preston
15e03687f8
Add auto-delete period edit box.
2021-02-22 23:42:41 +04:00
John Preston
107d4aea36
Add admin link count phrase to langpack.
2021-02-22 23:42:41 +04:00
John Preston
c9fccc8ea7
Improve revoked link view box.
2021-02-22 23:42:41 +04:00
John Preston
7a5dc72f86
Improve invite links UI.
2021-02-22 23:42:41 +04:00
John Preston
756fa702b2
Allow to edit chat ttl_period from Clear History.
2021-02-22 23:42:40 +04:00
John Preston
d81c8f002d
Improve other admins list style in Invite Links.
2021-02-22 23:42:40 +04:00
John Preston
047bf467b5
Allow editing links from ShowInviteLinkBox.
2021-02-22 23:42:40 +04:00
John Preston
3399a05f1f
Improve phrases for invite links.
2021-02-22 23:42:40 +04:00
John Preston
d188ab6719
Fix other admins links management.
2021-02-22 23:42:40 +04:00
John Preston
ac33a8bd96
Fix other admin links box layout.
2021-02-22 23:42:40 +04:00
John Preston
6a6e355af4
Handle ttl_period locally.
2021-02-22 23:42:40 +04:00
John Preston
9262b773cb
Fix invite link updates handling.
2021-02-22 23:42:40 +04:00
John Preston
4153603d09
Add ability to see invite links of other admins.
2021-02-22 23:42:40 +04:00
John Preston
9d3edb785c
Return rich invite links section.
2021-02-22 23:42:40 +04:00
John Preston
3cd05a34d9
In legacy groups admins can't remove admins.
2021-02-17 10:46:36 +04:00
John Preston
223681d2da
Fix default chat rights for creator.
2021-02-17 10:46:36 +04:00
John Preston
5538c5eace
Add 'Invite via Link' button to Add Members box.
2021-02-01 22:36:40 +04:00
John Preston
34ec1c371c
Return invite-link-only box.
2021-02-01 19:10:59 +04:00
John Preston
5092d8fe63
Version 2.5.8: Fix invite link export if absent.
2021-01-29 23:49:20 +04:00
John Preston
36ad24bfcd
Update API scheme.
2021-01-25 17:42:02 +04:00
John Preston
1774b21e88
Add ability to completely delete legacy group.
2021-01-25 16:50:58 +04:00
John Preston
34f7391ec9
Update API scheme.
2021-01-25 16:50:58 +04:00
John Preston
50c07bfc98
Update API scheme, add view link box.
2021-01-25 16:50:58 +04:00
John Preston
819cd4a099
Allow deleting revoked invite links.
2021-01-25 16:50:58 +04:00
John Preston
144bad6c74
Update link rows in Manage Invite Links.
2021-01-25 16:50:58 +04:00
John Preston
97fb310f54
Move CalendarBox and ChooseDateTimeBox to td_ui.
2021-01-25 16:50:56 +04:00
John Preston
1cce383d15
Add a box to create / edit invite links.
2021-01-25 16:47:41 +04:00
John Preston
01ecf0ca93
Show invite links list with context menu.
2021-01-25 16:47:41 +04:00
John Preston
3862b3b90e
Make sharing invite links using ShareBox.
2021-01-25 16:47:41 +04:00
John Preston
542abb26b9
Allow sharing link to chats.
2021-01-25 16:47:41 +04:00
John Preston
7132ab5bf4
Fix long content in group type box.
2021-01-25 16:47:41 +04:00
John Preston
c7b1a37722
Implement revoke of permanent link.
2021-01-25 16:47:41 +04:00
John Preston
be1afb4781
Show recently joined by permanent link userpics.
2021-01-25 16:47:41 +04:00
John Preston
8c7030378a
Add 'Copy Link' and 'Share Link' buttons.
2021-01-25 16:47:41 +04:00
John Preston
754dedc40e
Improve permanent link edit design.
2021-01-25 16:47:40 +04:00
John Preston
e5320b4b4e
Implement new permanent invite link management.
2021-01-25 16:47:40 +04:00
John Preston
02ad5f2772
Update API scheme and start invite links.
2021-01-25 16:47:40 +04:00
John Preston
818624e051
Don't allow kicking yourself from legacy group.
2020-12-30 16:14:13 +04:00
John Preston
2af63ec48f
Correctly show legacy groups with no admins.
2020-12-30 13:28:35 +04:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
John Preston
b68d5f854d
Fix infinite 'Loading...' when no members in the group.
2020-12-16 12:20:46 +04:00