| 
							
							
								 Shish | 4721d666cd | log time spent waiting for database queries | 2014-11-26 13:09:22 +00:00 |  | 
			
				
					| 
							
							
								 Shish | 1c60942730 | log hit/miss when DEBUG_CACHE is on | 2014-11-26 13:07:30 +00:00 |  | 
			
				
					| 
							
							
								 Shish | dfba656355 | die more explicitly when memcache is missing (PHP is terrible) | 2014-11-24 02:21:45 +00:00 |  | 
			
				
					| 
							
							
								 jgen | 317028a63b | More PHP Doc comments. | 2014-04-29 01:33:03 -04:00 |  | 
			
				
					| 
							
							
								 jgen | 3b1513f791 | Adding some more PHP Doc comments. | 2014-04-28 20:37:31 -04:00 |  | 
			
				
					| 
							
							
								 jgen | 03b3cdcbd2 | Updating/Fixing/Adding more comments with the PHP Doc style. | 2014-04-27 18:59:01 -04:00 |  | 
			
				
					| 
							
							
								 jgen | ab3f9850e4 | Removing the closing PHP "?>" tag as per style guidelines. | 2014-04-24 19:01:47 -04:00 |  | 
			
				
					| 
							
							
								 jgen | f67220f64b | From stack-overflow: The 'var' keyword is for declaring class variables in PHP4. It works in PHP5 but can raise an E_STRICT warning in from version 5.0.0 up to version 5.1.2, as it has been deprecated. Changing to public as that is really what these variables are anyways. | 2014-04-24 04:36:05 -04:00 |  | 
			
				
					| 
							
							
								 jgen | e838fc2a03 | Comment this in case someone else wonders why its there. | 2014-04-19 04:17:58 -04:00 |  | 
			
				
					| 
							
							
								 jgen | 28d83fda0d | Even more linting and cleaning. | 2014-04-19 02:33:34 -04:00 |  | 
			
				
					| 
							
							
								 jgen | 2da8c19a07 | More linting! | 2014-04-19 01:36:18 -04:00 |  | 
			
				
					| 
							
							
								 Shish | f72bfbb050 | fix indentation | 2014-04-06 20:47:01 +01:00 |  | 
			
				
					| 
							
							
								 Shish | c8aa3327a1 | A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes | 2014-03-30 13:26:48 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 7b68d8ebfd | use new-style constructors everywhere | 2014-03-22 09:00:59 +00:00 |  | 
			
				
					| 
							
							
								 jgen | 7eb2bd9112 | Trimming trailing blank space. | 2014-02-22 15:42:09 -05:00 |  | 
			
				
					| 
							
							
								 jgen | ba0aef4f30 | The Database class should really throw an error here. This will likely break the existing tests. | 2014-02-22 00:40:14 -05:00 |  | 
			
				
					| 
							
							
								 jgen | 7d90c20297 | Cleaning up. | 2014-02-19 16:16:01 -05:00 |  | 
			
				
					| 
							
							
								 jgen | a90f5bed8e | This would be a good idea. | 2014-02-19 02:50:10 -05:00 |  | 
			
				
					| 
							
							
								 jgen | b570ef1573 | Forgot a bracket. | 2014-02-19 02:17:23 -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 | ced3006915 | At its finest. | 2014-02-18 21:25:08 -05:00 |  | 
			
				
					| 
							
							
								 jgen | 892b323c4d | 21st century debugging | 2014-02-18 20:58:08 -05:00 |  | 
			
				
					| 
							
							
								 jgen | 741eb0f739 | I too like to live dangerously. | 2014-02-18 20:49:20 -05:00 |  | 
			
				
					| 
							
							
								 jgen | fe83e3d343 | Adding comments to help explain the simpletest setup. | 2014-02-17 13:59:41 -05:00 |  | 
			
				
					| 
							
							
								 jgen | bf4d434c86 | Fixes for the installer. Display error messages on failures, as well as actually check for tables before installing. | 2013-11-28 00:31:09 -05:00 |  | 
			
				
					| 
							
							
								 Shish | 30886b3a69 | cache lookup debugging | 2013-07-05 22:32:16 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 19c0868b2c | sqlite got case sensitive by default at some point - lowercase strings for comparing them | 2013-06-13 10:34:47 +01:00 |  | 
			
				
					| 
							
							
								 Shish | c9491ad714 | Get SQLite:scoreql_to_sql to return something | 2013-01-31 08:07:19 +00:00 |  | 
			
				
					| 
							
							
								 Shish | b141632785 | some mock objects, for testing (coming soon, maybe) | 2012-10-16 22:58:47 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 112422a2ca | time and timestamp are incompatible | 2012-07-28 12:07:46 +01:00 |  | 
			
				
					| 
							
							
								 Shish | acf285bd68 | IPs are variable length | 2012-07-28 11:57:22 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 53ad7d4a2f | more sqlite, and indexes | 2012-06-27 00:08:51 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 02a286cba0 | sqlite updates | 2012-06-26 23:46:38 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 38f7555d98 | get rid of direct references to Database's engine | 2012-06-24 00:57:55 +01:00 |  | 
			
				
					| 
							
							
								 Shish | d313cea8a7 | create the DB connection on demand; some pages don't require one at all thanks to caching | 2012-06-24 00:50:13 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 008cc4253b | wibble database / cache connection functions, make them repeatable, and set persistant DB connections as an option | 2012-06-23 23:57:34 +01:00 |  | 
			
				
					| 
							
							
								 Shish | d3e2653002 | some cached values are often zero (eg unread PMs), 'zero' is still a cache hit though, only 'false' is miss | 2012-06-23 23:17:17 +01:00 |  | 
			
				
					| 
							
							
								 green-ponies (jgen) | caec1ac824 | Support multiple databases as well. | 2012-04-18 00:55:39 -04:00 |  | 
			
				
					| 
							
							
								 Shish | 7ad3ae55f9 | inet = char(45) in mysql, to fit IPv6 addrs | 2012-04-01 15:44:43 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 15df989f72 | nicer error reporting | 2012-03-31 17:07:11 +01:00 |  | 
			
				
					| 
							
							
								 Shish | fd094050fc | move config file to data | 2012-03-30 18:03:55 +01:00 |  | 
			
				
					| 
							
							
								 Shish | 569e93cd6b | postgres requires a sequence name to be passed to get_last_insert_id | 2012-03-08 02:55:04 +00:00 |  | 
			
				
					| 
							
							
								 Shish | f77c66848f | DB exception -> SCoreException | 2012-02-16 16:58:39 +00:00 |  | 
			
				
					| 
							
							
								 green-ponies (jgen) | a78ca78c9b | More changes to the install script. More error checking, better formating, etc.. | 2012-02-05 16:35:34 -05:00 |  | 
			
				
					| 
							
							
								 Shish | bbb51b60f8 | typos~ | 2012-02-02 08:09:48 +00:00 |  | 
			
				
					| 
							
							
								 Shish | baa409eb98 | special PDO init for hiphop | 2012-02-02 07:43:43 +00:00 |  | 
			
				
					| 
							
							
								 Shish | e049ea874d | require php 5.2.6 (debian-old's oldest version), get rid of ancient compat | 2012-02-01 16:51:38 +00:00 |  | 
			
				
					| 
							
							
								 Shish | 853ea10fea | merge mass tagger | 2012-01-31 14:28:34 +00:00 |  | 
			
				
					| 
							
							
								 Shish | aed5e1a30e | hand merge of speed tweaks | 2012-01-31 13:20:43 +00:00 |  | 
			
				
					| 
							
							
								 Shish | c2689ba519 | set remote addr in postgres connection | 2012-01-31 12:16:19 +00:00 |  |