Alexander A. Klimov 
							
						 
					 
					
						
						
						
						
							
						
						
							906c1668a4 
							
						 
					 
					
						
						
							
							Split Json::encode() into Json::encode() and Json::sanitize()  
						
						... 
						
						
						
						refs #2635  
						
						
					 
					
						2018-06-21 16:01:53 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander A. Klimov 
							
						 
					 
					
						
						
						
						
							
						
						
							02b60633ff 
							
						 
					 
					
						
						
							
							Auto-sanitize only in the monitoring module  
						
						... 
						
						
						
						refs #2635  
						
						
					 
					
						2018-06-20 18:05:12 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander A. Klimov 
							
						 
					 
					
						
						
						
						
							
						
						
							1a94a21263 
							
						 
					 
					
						
						
							
							Prefer Json::encode() over json_encode()  
						
						... 
						
						
						
						refs #2635  
						
						
					 
					
						2018-06-20 18:05:11 +02:00 
						 
				 
			
				
					
						
							
							
								Eric Lippmann 
							
						 
					 
					
						
						
						
						
							
						
						
							73a6750489 
							
						 
					 
					
						
						
							
							Make phpcs and PhpStorm happy w/ intentional switch, case fall-throughs  
						
						... 
						
						
						
						Unfortunately, PhpStorm does not regonise PSR2 fall-through comments.
On the other hand, phpcs does not support the @noinspection phpdoc comment (/**).
The fix is a mix of PSR2 comments and @noinspection tags in code comments. 
						
						
					 
					
						2017-11-08 10:25:28 +01:00 
						 
				 
			
				
					
						
							
							
								Johannes Meyer 
							
						 
					 
					
						
						
						
						
							
						
						
							0ef81a2e0b 
							
						 
					 
					
						
						
							
							Response: Use a constant for the default content type  
						
						... 
						
						
						
						There is already setHeader() to adjust this dynamically.
refs #12161  
						
						
					 
					
						2016-11-09 11:38:04 +01:00 
						 
				 
			
				
					
						
							
							
								Noah Hilverling 
							
						 
					 
					
						
						
						
						
							
						
						
							703561f874 
							
						 
					 
					
						
						
							
							JsonResponse: Set content type at initialization and not at sendHeaders  
						
						... 
						
						
						
						refs #12161  
						
						
					 
					
						2016-10-17 16:33:51 +02:00 
						 
				 
			
				
					
						
							
							
								Noah Hilverling 
							
						 
					 
					
						
						
						
						
							
						
						
							af5c578adf 
							
						 
					 
					
						
						
							
							Response: Set header Content-Type for every response by default  
						
						... 
						
						
						
						refs #12161  
						
						
					 
					
						2016-10-14 16:16:13 +02:00 
						 
				 
			
				
					
						
							
							
								Johannes Meyer 
							
						 
					 
					
						
						
						
						
							
						
						
							5b875f3749 
							
						 
					 
					
						
						
							
							JsonResponse: Allow to output the "data" key in case of an error  
						
						... 
						
						
						
						As stated by the JSend specification this key is optional for error responses. 
						
						
					 
					
						2016-09-21 15:58:59 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander A. Klimov 
							
						 
					 
					
						
						
						
						
							
						
						
							474803fee4 
							
						 
					 
					
						
						
							
							Change all license headers to only reflect a file's year of creation  
						
						... 
						
						
						
						refs #11000  
						
						
					 
					
						2016-02-08 15:41:00 +01:00 
						 
				 
			
				
					
						
							
							
								Eric Lippmann 
							
						 
					 
					
						
						
						
						
							
						
						
							d3fe1e1973 
							
						 
					 
					
						
						
							
							api/response: Allow setting null as success data  
						
						... 
						
						
						
						refs #9606  
						
						
					 
					
						2015-09-07 13:45:13 +02:00 
						 
				 
			
				
					
						
							
							
								Eric Lippmann 
							
						 
					 
					
						
						
						
						
							
						
						
							a9cb8bfb2c 
							
						 
					 
					
						
						
							
							lib: Add JsonResponse class  
						
						... 
						
						
						
						refs #9606  
						
						
					 
					
						2015-09-07 13:22:58 +02:00