John Preston
cabf35f2b3
Allow to create channel invite link in boxes.
...
SetupChannelBox (public/private) and MaxInviteBox are suggesting
to copy the channel invite link. Now they suggest to create it
in case the channel didn't have the invite link already.
2017-07-14 15:28:08 +03:00
John Preston
9e73e22e13
Add channel members in ParticipantsBoxController.
...
Also remove MembersBox, it was replaced completely.
2017-07-14 09:46:57 +03:00
John Preston
4c6e1b2b1f
Fix members kick from group members dropdown.
2017-07-13 19:25:28 +03:00
John Preston
bd1547cd5e
Show error when trying to delete a large channel.
...
Server doesn't allow to delete a channel with more than 1000 users.
2017-07-13 19:12:20 +03:00
John Preston
56cb5ac9c6
Alpha 1.1.12: Search in supergroup for count > 50.
...
Also move search in supergroup members to Actions profile block.
2017-07-11 21:40:51 +03:00
John Preston
06d4ea2975
Use ParticipantsBoxController for members list.
...
Add search in channel/supergroup members inside PeerListBox.
Also MembersBox is not used anymore.
2017-07-11 12:17:27 +03:00
John Preston
58a592ba47
Allow to see admin / banned rights for everyone.
...
Even if you can't edit admin / banned rights you can see them.
2017-07-10 15:29:55 +03:00
John Preston
9344504781
Show error when adding a non-group bot to admins.
2017-07-10 13:56:29 +03:00
John Preston
21d2f6a44f
Generalize Checkbox layout.
...
Now any Checkbox can have Check, Radio or Toggle layout.
Radiobutton is now a subclass of Checkbox with default Radio layout.
2017-07-07 14:16:37 +03:00
John Preston
da0d78135d
Some refactoring in working with text entities.
...
Also move this code to TextUtilities namespace.
2017-07-06 14:37:42 +03:00
John Preston
f38fad2f92
Correctly apply edit admin in channel.
...
For example update adminCount / membersCount. For that we pass not
only the newRights values, but also oldRights values to applyEdit*().
2017-07-06 00:11:49 +03:00
John Preston
7013a0dfef
Update channel admin counter after removing admin.
2017-07-05 21:36:09 +03:00
John Preston
e1709c11da
Check weak pointer in AddParticipantBoxController.
...
This may fix some crashes.
2017-07-05 12:39:21 +03:00
John Preston
6d3a6d20b5
Version 1.1.10: Fix build for Xcode and GCC.
2017-07-04 19:17:44 +03:00
John Preston
58dcba71a4
Switch to PeerListBox in channel admin management.
...
This will fix the problem with adding admins to channels.
Also this will add local search to channel admins list.
Fixes #3615
2017-07-03 16:17:52 +03:00
John Preston
d08dbb835f
Paint admin stars with different color in profile.
2017-07-03 13:31:37 +03:00
Viktor Oreshkin
bca0e1e16c
Fix remove option in normal groups
...
If user invites X to group and then X becomes an admin, user won't be
able to remove X anymore, so remove option shouldn't be shown.
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2017-07-02 22:29:24 +03:00
John Preston
5dcf341aaa
Display "no users" in empty add participant box.
2017-06-30 09:21:45 +03:00
John Preston
b398444b91
Show manage banned and restricted to creator.
2017-06-30 09:21:44 +03:00
John Preston
0a9db8533b
Save admin log state to memento and restore it.
2017-06-30 09:21:43 +03:00
John Preston
fee8690ca6
Channel action log items display and layout.
2017-06-30 09:21:41 +03:00
John Preston
25a718c54b
Start recent channel actions log section.
2017-06-30 09:21:41 +03:00
John Preston
401bc86f27
Closed beta 1001007002: New channel rights.
...
Also fix build in Xcode.
2017-06-30 09:21:41 +03:00
John Preston
c3ad0ae129
Always show that bot-admin reads all messages.
...
A bot with any admin rights has access to messages.
2017-06-30 09:21:41 +03:00
John Preston
8fe56b9a7d
Show blocked / restricted users to all admins.
2017-06-30 09:21:41 +03:00
John Preston
1b649299ff
Show edit admin non-mutual-contact error message.
2017-06-30 09:20:31 +03:00
John Preston
b35d2505a4
Better mentions highlighting in PeerListBox.
2017-06-29 11:40:23 +03:00
John Preston
240ced395b
Apply changes in ParticipantsBoxController.
...
When we add admin / banned / restricted user in a channel using
AddParticipantBoxController we now apply the added user in the box.
2017-06-29 11:40:22 +03:00
John Preston
9e8e49b8d9
Add other search to admin/ban/restrict in channel.
...
Search in chats / contacts / global in AddParticipantBoxController.
Also move all channel participants box controllers to another module.
2017-06-29 11:40:21 +03:00
John Preston
b76bfe2008
Add admin/banned/restricted box using PeerListBox.
2017-06-29 11:40:20 +03:00
John Preston
3dd26dac6e
Show supergroup / channel admins in PeerListBox.
...
Also show "Creator" / "Promoted by" status for those admins.
2017-06-29 11:40:19 +03:00
John Preston
adcecaa195
Make search in restricted/blocked box paginated.
2017-06-29 11:40:17 +03:00
John Preston
7fdac9cd94
Add restricted users box like kicked users box.
...
Also allow server-side search inside restricted users list.
Also allow server-side search inside kicked users list.
Also allow PeerListController to work not only in PeerListBox.
2017-06-29 11:40:14 +03:00
John Preston
7d2d5c6100
Edit admin and restricted rights in channels.
2017-06-29 11:40:11 +03:00
John Preston
513a9f8d45
Add rich supergroup/channel admin support.
2017-06-29 11:40:10 +03:00
John Preston
330b4a0b00
API scheme updated to layer 68.
2017-06-29 11:40:08 +03:00
John Preston
85e6f55536
Support new plural keys format.
...
All the old plural phrases were changed to work with the new format.
2017-06-29 11:39:56 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
2c1e27add0
Fix crash in group members list.
2017-05-26 23:05:04 +03:00
John Preston
25587d7e8e
Replace different side enums with RectPart.
...
Including Ui::Shadow::Side, App::RectPart and ImportantTooltip::Side.
2017-05-24 16:25:20 +03:00
John Preston
b7550f63c9
Add a floating player for round video messages.
2017-05-24 16:25:15 +03:00
John Preston
2377873c45
Add items to overviews inside HistoryMedia.
...
This allows one history item to exist in several media overviews.
See voice message, which should be in VoiceFiles and RoundVoiceFiles.
2017-05-24 16:25:04 +03:00
John Preston
06b081f509
Add calls log box.
...
PeerListBox can have many rows with the same PeerData.
PeerListBox::Row can have arbitrary action on the right side.
2017-05-09 23:46:18 +03:00
John Preston
38f94c63e9
Add blocked users list in supergroups profiles.
2017-04-07 18:13:22 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
5bb68cfd8f
Support reading me_url_prefix from config.
...
The default value 'https://t.me ' can be overriden from server config.
2017-03-30 12:49:16 +03:00
John Preston
f2465eba73
Make MTPstring and MTPvector value types.
...
Also move MTPstring implementation to QByteArray.
2017-03-10 23:27:26 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00