Add buttons to block and unblock domain (#3127)
* Add buttons to block and unblock domain * Relationship API now returns "domain_blocking" status for accounts, rename "block entire domain" to "hide entire domain", fix unblocking domain, do not block notifications from domain-blocked-but-followed people, do not send Salmons to domain blocked users * Add test * Personal domain blocks shouldn't affect Salmon after all, since in this direction of communication the control is very thin when it comes to public stuff. Best stay consistent and not affect federation in this way * Ignore followers and follow request from domain blocked folks, ensure account domain blocks are not created for empty domain, and avoid duplicates in validation * Purge followers when blocking domain (without soft-blocks, since they are useless here) * Add tests, fix local timeline being empty when having any domain blocks
This commit is contained in:
		@@ -1,17 +1,20 @@
 | 
			
		||||
{
 | 
			
		||||
  "account.block": "Blocar",
 | 
			
		||||
  "account.block_domain": "Hide everything from {domain}",
 | 
			
		||||
  "account.disclaimer": "Aqueste compte es sus una autra instància. Los nombres pòdon èsser mai grandes.",
 | 
			
		||||
  "account.edit_profile": "Modificar lo perfil",
 | 
			
		||||
  "account.follow": "Sègre",
 | 
			
		||||
  "account.followers": "Abonats",
 | 
			
		||||
  "account.follows": "Abonaments",
 | 
			
		||||
  "account.follows_you": "Vos sèc",
 | 
			
		||||
  "account.media": "Media",
 | 
			
		||||
  "account.mention": "Mencionar",
 | 
			
		||||
  "account.mute": "Rescondre",
 | 
			
		||||
  "account.posts": "Estatuts",
 | 
			
		||||
  "account.report": "Senhalar",
 | 
			
		||||
  "account.requested": "Invitacion mandada",
 | 
			
		||||
  "account.unblock": "Desblocar",
 | 
			
		||||
  "account.unblock_domain": "Unhide {domain}",
 | 
			
		||||
  "account.unfollow": "Quitar de sègre",
 | 
			
		||||
  "account.unmute": "Quitar de rescondre",
 | 
			
		||||
  "boost_modal.combo": "Podètz butar {combo} per passar aquò lo còp que ven",
 | 
			
		||||
@@ -40,6 +43,8 @@
 | 
			
		||||
  "confirmations.block.message": "Sètz segur de voler blocar {name}?",
 | 
			
		||||
  "confirmations.delete.confirm": "Suprimir",
 | 
			
		||||
  "confirmations.delete.message": "Sètz segur de voler suprimir l’estatut ?",
 | 
			
		||||
  "confirmations.domain_block.confirm": "Hide entire domain",
 | 
			
		||||
  "confirmations.domain_block.message": "Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable.",
 | 
			
		||||
  "confirmations.mute.confirm": "Metre en silenci",
 | 
			
		||||
  "confirmations.mute.message": "Sètz segur de voler metre en silenci {name}?",
 | 
			
		||||
  "emoji_button.activity": "Activitat",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user