jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							f3c379b8db
							
						
					 | 
					
						
						
							
							Rename the file.
						
						
						
						
						
						
					 | 
					
						2014-02-19 18:36:38 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							dd18377f93
							
						
					 | 
					
						
						
							
							First remove the quotes, then the whitespace, then the trailing slash.
						
						
						
						
						
						
					 | 
					
						2014-02-19 18:26:01 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							4e0d7d14ae
							
						
					 | 
					
						
						
							
							Forgot the brackets.
						
						
						
						
						
						
					 | 
					
						2014-02-19 18:19:56 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							eea4d34978
							
						
					 | 
					
						
						
							
							We can actually push the trim functions to when we create the define, less overhead.
						
						
						
						
						
						
					 | 
					
						2014-02-19 18:17:26 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							1a7cbc9b2a
							
						
					 | 
					
						
						
							
							Check the actual http response code.
						
						
						
						
						
						
					 | 
					
						2014-02-19 16:40:28 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							7d90c20297
							
						
					 | 
					
						
						
							
							Cleaning up.
						
						
						
						
						
						
					 | 
					
						2014-02-19 16:16:01 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							61bf9b9b3e
							
						
					 | 
					
						
						
							
							Put the database into auto commit mode.
						
						
						
						
						
						
					 | 
					
						2014-02-19 04:19:17 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							a717f5a0bd
							
						
					 | 
					
						
						
							
							Remove the auto-run.
						
						
						
						
						
						
					 | 
					
						2014-02-19 03:42:18 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							8b0ac0e9c1
							
						
					 | 
					
						
						
							
							The location of the webserver should be configurable in the travis file.
						
						
						
						
						
						
					 | 
					
						2014-02-19 03:29:12 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							5b9107339a
							
						
					 | 
					
						
						
							
							Let's just do it directly.
						
						
						
						
						
						
					 | 
					
						2014-02-19 02:39:13 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							2ca74a3b33
							
						
					 | 
					
						
						
							
							Expose methods to allow users of the database class to control when transactions occur.
						
						
						
						
						
						
					 | 
					
						2014-02-19 02:12:56 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							6bc9315955
							
						
					 | 
					
						
						
							
							Need to commit the new users to the database.
						
						
						
						
						
						
					 | 
					
						2014-02-19 01:32:51 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							0013ef923e
							
						
					 | 
					
						
						
							
							We don't want to auto run these tests as we need to load and setup things first.
						
						
						
						
						
						
					 | 
					
						2014-02-19 01:24:53 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							a5907c5a79
							
						
					 | 
					
						
						
							
							Cleaning up a bit.
						
						
						
						
						
						
					 | 
					
						2014-02-19 00:40:16 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							b4819e4b33
							
						
					 | 
					
						
						
							
							We need to create these users before running the tests.
						
						
						
						
						
						
					 | 
					
						2014-02-19 00:00:18 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							e7918cc372
							
						
					 | 
					
						
						
							
							Re-work travis config file.
						
						
						
						
						
						
					 | 
					
						2014-02-18 23:02:10 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							a210cc9e9e
							
						
					 | 
					
						
						
							
							Looks like we are going to have to install, then run the tests.
						
						
						
						
						
						
					 | 
					
						2014-02-18 22:54:53 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							4eab3daef4
							
						
					 | 
					
						
						
							
							Typo
						
						
						
						
						
						
					 | 
					
						2014-02-18 22:42:37 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							39bec6b666
							
						
					 | 
					
						
						
							
							Wait for the config file to be written.
						
						
						
						
						
						
					 | 
					
						2014-02-18 22:35:25 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							62f0be7b92
							
						
					 | 
					
						
						
							
							So, the config file appears to take longer to write out to the file system.
						
						
						
						
						
						
					 | 
					
						2014-02-18 22:21:14 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							7d3650555f
							
						
					 | 
					
						
						
							
							Remove the catch and just let the exception bring the test down.
						
						
						
						
						
						
					 | 
					
						2014-02-18 21:35:18 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							ced3006915
							
						
					 | 
					
						
						
							
							At its finest.
						
						
						
						
						
						
					 | 
					
						2014-02-18 21:25:08 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							7f6672a2d3
							
						
					 | 
					
						
						
							
							Dump out the exception.
						
						
						
						
						
						
					 | 
					
						2014-02-18 20:34:39 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							491069540e
							
						
					 | 
					
						
						
							
							Output the shimmie config on failure.
						
						
						
						
						
						
					 | 
					
						2014-02-18 20:08:23 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							6c8d519859
							
						
					 | 
					
						
						
							
							The order of these includes matter.
						
						
						
						
						
						
					 | 
					
						2014-02-18 19:37:07 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							4936432d83
							
						
					 | 
					
						
						
							
							Copy the setup from index.php for All tests.
						
						
						
						
						
						
					 | 
					
						2014-02-18 19:24:10 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							0b06477fd0
							
						
					 | 
					
						
						
							
							The tests are set to Auto Run.
						
						
						
						
						
						
					 | 
					
						2014-02-18 17:36:21 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							83d034653e
							
						
					 | 
					
						
						
							
							Forgot the include.
						
						
						
						
						
						
					 | 
					
						2014-02-18 17:22:45 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							2935a87073
							
						
					 | 
					
						
						
							
							Refactoring: Move the installer related test case into another file.
						
						
						
						
						
						
					 | 
					
						2014-02-18 17:18:25 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							f2c26bde1a
							
						
					 | 
					
						
						
							
							Update the copyright notices.
						
						
						
						
						
						
					 | 
					
						2014-02-18 16:59:07 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							dc8d1b4f49
							
						
					 | 
					
						
						
							
							Check for the correct text if the install succeeds.
						
						
						
						
						
						
					 | 
					
						2014-02-18 16:58:31 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							74748d55c0
							
						
					 | 
					
						
						
							
							Use a constant instead.
						
						
						
						
						
						
					 | 
					
						2014-02-18 16:28:43 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							cc88a33088
							
						
					 | 
					
						
						
							
							PHP doesn't call it is_empty, but it does have is_null. Yay consistency.
						
						
						
						
						
						
					 | 
					
						2014-02-18 16:14:57 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							f12b32b5d9
							
						
					 | 
					
						
						
							
							Fail if there is no database defined.
						
						
						
						
						
						
					 | 
					
						2014-02-18 15:41:42 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							689621a7ed
							
						
					 | 
					
						
						
							
							The username for the database doesn't seem to be working.
						
						
						
						
						
						
					 | 
					
						2014-02-18 13:10:19 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							cfc663de44
							
						
					 | 
					
						
						
							
							Output the HTML when the install fails.
						
						
						
						
						
						
					 | 
					
						2014-02-18 12:57:32 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							f1608d39f1
							
						
					 | 
					
						
						
							
							Dump more logs and change the database username.
						
						
						
						
						
						
					 | 
					
						2014-02-18 12:22:52 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							222d82b3c3
							
						
					 | 
					
						
						
							
							Test the installer.
						
						
						
						
						
						
					 | 
					
						2014-02-18 03:32:05 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							3564784236
							
						
					 | 
					
						
						
							
							Let's just remove these.
						
						
						
						
						
						
					 | 
					
						2014-02-18 01:41:40 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							104711a30e
							
						
					 | 
					
						
						
							
							Well lets try this again.
						
						
						
						
						
						
					 | 
					
						2014-02-18 01:30:27 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							dcff694c42
							
						
					 | 
					
						
						
							
							Bash arguments start at 1.
						
						
						
						
						
						
					 | 
					
						2014-02-18 01:11:39 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							ad3c865716
							
						
					 | 
					
						
						
							
							Explicitly listen on localhost.
						
						
						
						
						
						
					 | 
					
						2014-02-18 00:50:57 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							20ce8451f4
							
						
					 | 
					
						
						
							
							Default is a unix socket.
						
						
						
						
						
						
					 | 
					
						2014-02-18 00:37:07 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							3e52a1df03
							
						
					 | 
					
						
						
							
							Errors
						
						
						
						
						
						
					 | 
					
						2014-02-18 00:29:26 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							ec3804ceb8
							
						
					 | 
					
						
						
							
							Fix the nginx config.
						
						
						
						
						
						
					 | 
					
						2014-02-18 00:06:58 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							b56f006b28
							
						
					 | 
					
						
						
							
							Forgot the semicolon. :(
						
						
						
						
						
						
					 | 
					
						2014-02-17 23:23:20 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							6a10d66e2d
							
						
					 | 
					
						
						
							
							Move the chmod to the script file.
						
						
						
						
						
						
					 | 
					
						2014-02-17 23:18:00 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							ac4c0da9a9
							
						
					 | 
					
						
						
							
							Removing unneeded file.
						
						
						
						
						
						
					 | 
					
						2014-02-17 22:56:32 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							d2349216b5
							
						
					 | 
					
						
						
							
							I can totally spell environment correctly.
						
						
						
						
						
						
					 | 
					
						2014-02-17 21:37:56 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							09fe543a4b
							
						
					 | 
					
						
						
							
							Push the test environment setup into a separate shell script.
						
						
						
						
						
						
					 | 
					
						2014-02-17 21:26:06 -05:00 | 
					
					
						
						
							
							
							
						
					 |