John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								a72453fb1b 
								
							 
						 
						
							
							
								
								Remove ContactsBox and contacts_box module.  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:30 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								b816d33d48 
								
							 
						 
						
							
							
								
								Replace add bot to group box with PeerListBox.  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:29 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								782114d644 
								
							 
						 
						
							
							
								
								Add and use base::make_weak_unique() helper.  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:28 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								0880c01a20 
								
							 
						 
						
							
							
								
								Replace group admins ContactsBox with PeerListBox.  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:28 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								f7359093b4 
								
							 
						 
						
							
							
								
								Replace ContactsBox with PeerListBox in two cases.  
							
							 
							
							... 
							
							
							
							- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox. 
							
						 
						
							2017-08-30 19:15:27 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								012d59ab42 
								
							 
						 
						
							
							
								
								Use nullptr instead of std::unique_ptr<Type>().  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:25 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								0bea2620b5 
								
							 
						 
						
							
							
								
								Replace BoxContent::closeHook() with boxClosing.  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:24 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								b08732cf28 
								
							 
						 
						
							
							
								
								Move MediaView from MainWindow to Messenger.  
							
							 
							
							
							
						 
						
							2017-08-25 14:39:27 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								ab35829358 
								
							 
						 
						
							
							
								
								Remove App::app(), App::uploader(), App::api().  
							
							 
							
							... 
							
							
							
							Also use Auth() instead of AuthSession::Current*(). 
							
						 
						
							2017-08-25 14:39:18 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								6f746c238a 
								
							 
						 
						
							
							
								
								Search for messages from a specific user in group.  
							
							 
							
							
							
						 
						
							2017-08-01 21:38:01 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								27151d5e25 
								
							 
						 
						
							
							
								
								Show who banned or restricted user in supergroup.  
							
							 
							
							
							
						 
						
							2017-08-01 21:14:41 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								027340a8e0 
								
							 
						 
						
							
							
								
								Copy public channel link instead of following it.  
							
							 
							
							
							
						 
						
							2017-07-27 14:24:37 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								2e5930eb58 
								
							 
						 
						
							
							
								
								Update full peer in profile and settings.  
							
							 
							
							... 
							
							
							
							Not more than once in five seconds get the full info to update bio. 
							
						 
						
							2017-07-26 14:53:49 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								7ff175a81e 
								
							 
						 
						
							
							
								
								Display user Bio in profile.  
							
							 
							
							
							
						 
						
							2017-07-23 12:34:43 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								5a1ec3c9e0 
								
							 
						 
						
							
							
								
								Fix display of Search members button in profile.  
							
							 
							
							
							
						 
						
							2017-07-23 12:33:39 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								ed4c3cccb2 
								
							 
						 
						
							
							
								
								Add admins from search in admins list box.  
							
							 
							
							... 
							
							
							
							When searching in admins list box show all group members and allow
to appoint a new administrator right from this box. 
							
						 
						
							2017-07-19 11:18:20 +03:00  
						
					 
				
					
						
							
							
								 
								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