c724bfe4d3 
								
							 
						 
						
							
							
								
								Copied over work from user_permissions branch  
							
							... 
							
							
							
							Only that relevant to the additional testing work. 
							
						 
						
							2023-01-21 11:08:34 +00:00  
				
					
						
							
							
								 
						
							
								0f68be608d 
								
							 
						 
						
							
							
								
								Removed most usages of restricted entitiy property  
							
							
							
						 
						
							2022-10-10 16:58:26 +01:00  
				
					
						
							
							
								 
						
							
								b56f7355aa 
								
							 
						 
						
							
							
								
								Migrated much test entity usage via find/replace  
							
							
							
						 
						
							2022-09-29 17:31:38 +01:00  
				
					
						
							
							
								 
						
							
								068a8a068c 
								
							 
						 
						
							
							
								
								Extracted entity testcase methods to own class  
							
							... 
							
							
							
							Also added some new fetch helper methods for future use. 
							
						 
						
							2022-09-29 16:49:25 +01:00  
				
					
						
							
							
								 
						
							
								2989852520 
								
							 
						 
						
							
							
								
								Added simple data model for faster permission generation  
							
							
							
						 
						
							2022-07-12 21:13:02 +01:00  
				
					
						
							
							
								 
						
							
								59d1fb2d10 
								
							 
						 
						
							
							
								
								Fixed tests from streaming changes  
							
							... 
							
							
							
							- Added testing check to buffer stop/clear on streaming output due to
  interference during tests.
- Made content-disposition header a little safer in download responses.
- Also aligned how we check for testing environment. 
							
						 
						
							2022-04-03 16:22:31 +01:00  
				
					
						
							
							
								 
						
							
								1df7497c09 
								
							 
						 
						
							
							
								
								Added missing validation.file message  
							
							... 
							
							
							
							- Included test to cover
- Also applied StyleCI fixes
Closes  #3248  
							
						 
						
							2022-02-06 14:48:33 +00:00  
				
					
						
							
							
								 
						
							
								43f32f6d5a 
								
							 
						 
						
							
							
								
								Added attachment API file size limit test  
							
							... 
							
							
							
							Created while testing for #3248 , Was not something that's currently
failing within BookStack but will still add for coverage. 
							
						 
						
							2022-02-06 05:05:17 +00:00  
				
					
						
							
							
								 
						
							
								b4fa82e329 
								
							 
						 
						
							
							
								
								Fixed related permissions query not considering drafts  
							
							... 
							
							
							
							Page-related items added on drafts could be visible in certain scenarios
since the applied permissions query filters would not consider
page draft visibility.
This commit alters queries on related items to apply such filtering.
Included test to cover API scenario.
Thanks to @haxatron for reporting. 
							
						 
						
							2021-11-30 00:06:17 +00:00  
				
					
						
							
							
								 
						
							
								f77236aa38 
								
							 
						 
						
							
							
								
								Laravel 7.x Shift ( #3011 )  
							
							... 
							
							
							
							* Apply Laravel coding style
* Shift bindings
* Shift core files
* Shift to Throwable
* Add laravel/ui dependency
* Shift Eloquent methods
* Shift config files
* Shift Laravel dependencies
* Shift cleanup
* Shift test config and references
* Applied styleci changes
* Applied fixes post shift to laravel 7
Co-authored-by: Shift <shift@laravelshift.com> 
							
						 
						
							2021-10-26 22:04:18 +01:00  
				
					
						
							
							
								 
						
							
								859934d6a3 
								
							 
						 
						
							
							
								
								Applied latest changes from styleCI  
							
							
							
						 
						
							2021-10-20 10:49:45 +01:00  
				
					
						
							
							
								 
						
							
								2409d1850f 
								
							 
						 
						
							
							
								
								Added TestCase for attachments API methods  
							
							
							
						 
						
							2021-10-20 00:58:56 +01:00