green-ponies (jgen)
							
						 
					 | 
					
						
						
						
						
							
						
						
							ea15574226
							
						
					 | 
					
						
						
							
							Changes and tweaks for speed.
						
						
						
						
						
						
						
						Because every microsecond counts! :P
These changes are based on information from:
http://phpbench.com/
http://stackoverflow.com/questions/482202/is-there-a-performance-benefit-single-quote-vs-double-quote-in-php 
						
						
					 | 
					
						2012-01-11 15:08:27 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							5121e99dbe
							
						
					 | 
					
						
						
							
							speed hax and niceurl forcing from r34
						
						
						
						
						
						
					 | 
					
						2011-12-24 14:49:55 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							a89c5943d8
							
						
					 | 
					
						
						
							
							error details when the file copy fails
						
						
						
						
						
						
					 | 
					
						2011-11-08 11:02:04 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							ac3bf33402
							
						
					 | 
					
						
						
							
							tag_n wasn't used by accurate search, but was by ugly
						
						
						
						
						
						
					 | 
					
						2011-10-18 22:32:04 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							a1da59804e
							
						
					 | 
					
						
						
							
							Merge branch 'master' of github.com:shish/shimmie2
						
						
						
						
						
						
					 | 
					
						2011-09-25 12:45:59 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							5b09467310
							
						
					 | 
					
						
						
							
							fix for alisaing suggested by Diftraku
						
						
						
						
						
						
					 | 
					
						2011-09-25 12:45:08 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								green-ponies (jgen)
							
						 
					 | 
					
						
						
						
						
							
						
						
							2e276a095e
							
						
					 | 
					
						
						
							
							Fix for Issue 22 from HungryFeline.
						
						
						
						
						
						
					 | 
					
						2011-09-11 21:41:46 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								green-ponies (jgen)
							
						 
					 | 
					
						
						
						
						
							
						
						
							d05344d5e3
							
						
					 | 
					
						
						
							
							Image resize is working now! (uses the GD library only for now)
						
						
						
						
						
						
						
						Moved resize into contrib folder. 
						
						
					 | 
					
						2011-09-04 11:17:14 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								green-ponies (jgen)
							
						 
					 | 
					
						
						
						
						
							
						
						
							f3b6fde7a5
							
						
					 | 
					
						
						
							
							Working on adding a "Replace Image" feature.
						
						
						
						
						
						
					 | 
					
						2011-08-24 20:53:53 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							e279e69f96
							
						
					 | 
					
						
						
							
							fix single-tag searches
						
						
						
						
						
						
					 | 
					
						2011-03-14 14:20:30 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							c554a12be0
							
						
					 | 
					
						
						
							
							hacky fix for searching, make sure query variables are unique
						
						
						
						
						
						
					 | 
					
						2011-03-14 12:44:58 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							20cc4cc165
							
						
					 | 
					
						
						
							
							don't have super-thin / super-short thumbs
						
						
						
						
						
						
					 | 
					
						2011-02-13 11:18:23 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							3896c71a9a
							
						
					 | 
					
						
						
							
							strnorm bits
						
						
						
						
						
						
					 | 
					
						2011-01-22 15:51:55 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							ee3c24117b
							
						
					 | 
					
						
						
							
							more pdo compat, database bits
						
						
						
						
						
						
					 | 
					
						2011-01-03 15:18:24 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							06a3be4941
							
						
					 | 
					
						
						
							
							Merge branch 'pdo'
						
						
						
						
						
						
					 | 
					
						2011-01-01 18:47:55 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							27056f369f
							
						
					 | 
					
						
						
							
							sort tags when imploding / exploding
						
						
						
						
						
						
					 | 
					
						2011-01-01 18:40:21 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							d6baeab977
							
						
					 | 
					
						
						
							
							more pdo compat
						
						
						
						
						
						
					 | 
					
						2011-01-01 16:28:04 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							8d978aa06a
							
						
					 | 
					
						
						
							
							more pdo compat
						
						
						
						
						
						
					 | 
					
						2011-01-01 15:58:09 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							175ceac490
							
						
					 | 
					
						
						
							
							PDO compat
						
						
						
						
						
						
					 | 
					
						2011-01-01 15:28:30 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							7abb4742a5
							
						
					 | 
					
						
						
							
							hack
						
						
						
						
						
						
					 | 
					
						2010-07-19 13:35:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							7efc4a0dfe
							
						
					 | 
					
						
						
							
							if necessary
						
						
						
						
						
						
					 | 
					
						2010-03-25 10:37:52 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							20edd68093
							
						
					 | 
					
						
						
							
							avoid double escapes
						
						
						
						
						
						
					 | 
					
						2010-03-24 18:24:47 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							7a5be72cbd
							
						
					 | 
					
						
						
							
							build warehouse directories on demand
						
						
						
						
						
						
					 | 
					
						2010-03-15 04:31:28 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							161a2d1757
							
						
					 | 
					
						
						
							
							postgres is true too
						
						
						
						
						
						
					 | 
					
						2010-02-17 15:09:00 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							9c26f9efb4
							
						
					 | 
					
						
						
							
							image locking
						
						
						
						
						
						
					 | 
					
						2010-02-17 14:16:20 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							b33aa49f00
							
						
					 | 
					
						
						
							
							a technical explanation of build_accurate_search_querylet
						
						
						
						
						
						
					 | 
					
						2010-02-09 02:07:19 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							937a430a50
							
						
					 | 
					
						
						
							
							only optimise this case for regular tags
						
						
						
						
						
						
					 | 
					
						2010-02-03 22:03:46 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							3b2941a5bc
							
						
					 | 
					
						
						
							
							if the search is for one tag, then 'count(tag)' (expensive function) = 'tag.count' (index lookup)
						
						
						
						
						
						
					 | 
					
						2010-02-02 18:19:55 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							a28a3ffcb9
							
						
					 | 
					
						
						
							
							case-insensitive search
						
						
						
						
						
						
					 | 
					
						2010-02-02 11:52:24 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							efac91598c
							
						
					 | 
					
						
						
							
							SCORE_STRNORM = lowercase-if-necessary-for-comparison
						
						
						
						
						
						
					 | 
					
						2010-02-02 02:13:45 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							898f1e1f73
							
						
					 | 
					
						
						
							
							typo
						
						
						
						
						
						
					 | 
					
						2010-02-02 00:56:28 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							155f3cf9e8
							
						
					 | 
					
						
						
							
							lowercase match for pgsql
						
						
						
						
						
						
					 | 
					
						2010-02-02 00:45:15 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							05150706cc
							
						
					 | 
					
						
						
							
							wtf git
						
						
						
						
						
						
					 | 
					
						2010-02-02 00:34:44 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							1c7ce5a3ac
							
						
					 | 
					
						
						
							
							get the THUMB link... *headdesk*
						
						
						
						
						
						
					 | 
					
						2009-12-24 07:34:29 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							14b48d5599
							
						
					 | 
					
						
						
							
							fixed?
						
						
						
						
						
						
					 | 
					
						2009-11-12 09:30:41 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							b428a56e5f
							
						
					 | 
					
						
						
							
							fail
						
						
						
						
						
						
					 | 
					
						2009-11-12 09:27:09 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							0c7c90f2cd
							
						
					 | 
					
						
						
							
							hash_ab and hash_cd templates for image URLs
						
						
						
						
						
						
					 | 
					
						2009-11-12 09:23:47 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							d5dea776c5
							
						
					 | 
					
						
						
							
							ignore duplicate tag history entries
						
						
						
						
						
						
					 | 
					
						2009-08-24 03:33:51 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							fe9dd98387
							
						
					 | 
					
						
						
							
							slightly less strict filename sanitising, for the unicode users
						
						
						
						
						
						
					 | 
					
						2009-08-11 15:12:48 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							572f84511a
							
						
					 | 
					
						
						
							
							lots of docs, and some internal changes
						
						
						
						
						
						
					 | 
					
						2009-07-21 07:38:53 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							2471a8e2eb
							
						
					 | 
					
						
						
							
							docs
						
						
						
						
						
						
					 | 
					
						2009-07-21 07:38:46 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							627ecdbf4c
							
						
					 | 
					
						
						
							
							lots of docs
						
						
						
						
						
						
					 | 
					
						2009-07-19 08:38:27 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							bc3c2d5a5b
							
						
					 | 
					
						
						
							
							sqlite returns column names as table.name, not just name
						
						
						
						
						
						
					 | 
					
						2009-07-17 13:10:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish Moom
							
						 
					 | 
					
						
						
						
						
							
						
						
							8dac266af4
							
						
					 | 
					
						
						
							
							minor fix
						
						
						
						
						
						
					 | 
					
						2009-07-14 12:52:55 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JJS
							
						 
					 | 
					
						
						
						
						
							
						
						
							412750dec2
							
						
					 | 
					
						
						
							
							Bugfix: $c->get_string to $config->get_string
						
						
						
						
						
						
					 | 
					
						2009-05-12 03:11:01 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							9ae557c250
							
						
					 | 
					
						
						
							
							a couple of fixes
						
						
						
						
						
						
					 | 
					
						2009-05-11 07:48:18 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							bb84a735a2
							
						
					 | 
					
						
						
							
							requestcontext stuff is messy, go back to globals :(
						
						
						
						
						
						
					 | 
					
						2009-05-11 07:04:33 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							47fd679354
							
						
					 | 
					
						
						
							
							ugly mysql thing from 2.3
						
						
						
						
						
						
					 | 
					
						2009-05-11 03:52:48 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							561c9fdbb7
							
						
					 | 
					
						
						
							
							punctuations
						
						
						
						
						
						
					 | 
					
						2009-05-08 04:43:45 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							415f6901da
							
						
					 | 
					
						
						
							
							logging things
						
						
						
						
						
						
					 | 
					
						2009-05-08 03:52:29 -07:00 | 
					
					
						
						
							
							
							
						
					 |