mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:42:24 -05:00 
			
		
		
		
	[feature/frontend] Add options to include Unlisted posts or hide all posts (#3272)
* [feature/frontend] Add options to include Unlisted posts or hide all posts * finish up * swagger * move invalidate call into bundb package, avoid invalidating if not necessary * rename show_web_statuses => web_visibility * don't use ptr for webvisibility * last bits
This commit is contained in:
		
					parent
					
						
							
								7785fa54da
							
						
					
				
			
			
				commit
				
					
						5543fd5340
					
				
			
		
					 24 changed files with 523 additions and 161 deletions
				
			
		|  | @ -26,6 +26,11 @@ type Source struct { | |||
| 	//    private = Followers-only post | ||||
| 	//    direct = Direct post | ||||
| 	Privacy Visibility `json:"privacy"` | ||||
| 	// Visibility level(s) of posts to show for this account via the web api. | ||||
| 	//    "public" = default, show only Public visibility posts on the web. | ||||
| 	//    "unlisted" = show Public *and* Unlisted visibility posts on the web. | ||||
| 	//    "none" = show no posts on the web, not even Public ones. | ||||
| 	WebVisibility Visibility `json:"web_visibility"` | ||||
| 	// Whether new statuses should be marked sensitive by default. | ||||
| 	Sensitive bool `json:"sensitive"` | ||||
| 	// The default posting language for new statuses. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue