Matthew Barbour
							
						 
					 | 
					
						
						
						
						
							
						
						
							8950d27d64
							
						
					 | 
					
						
						
							
							Changed upload to detect unrecognized files so that it doesn't just blankly refresh when the type isn't handled
						
						
						
						
						
						
					 | 
					
						2019-06-14 13:01:49 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							064b24ffc1
							
						
					 | 
					
						
						
							
							formatting pass
						
						
						
						
						
						
					 | 
					
						2019-06-14 13:47:50 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Matthew Barbour
							
						 
					 | 
					
						
						
						
						
							
						
						
							a1512975b6
							
						
					 | 
					
						
						
							
							This should have been checked in with the header bytes change, provides the actual type detection
						
						
						
						
						
						
					 | 
					
						2019-06-12 17:51:15 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Matthew Barbour
							
						 
					 | 
					
						
						
						
						
							
						
						
							97abeb5254
							
						
					 | 
					
						
						
							
							Added option to detect file type based on header bytes
						
						
						
						
						
						
					 | 
					
						2019-06-12 17:35:11 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							34b05cca7c
							
						
					 | 
					
						
						
							
							PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
						
						
						
						
						
						
					 | 
					
						2019-05-28 17:59:38 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							5ec3e89884
							
						
					 | 
					
						
						
							
							php7.1 all the things
						
						
						
						
						
						
					 | 
					
						2019-05-28 17:31:20 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							b91f20875a
							
						
					 | 
					
						
						
							
							put upload block on every page
						
						
						
						
						
						
					 | 
					
						2019-05-26 16:15:43 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							ead3a5a588
							
						
					 | 
					
						
						
							
							php7 assertions, no strings
						
						
						
						
						
						
					 | 
					
						2019-01-06 10:40:39 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							c9d7bd1ae3
							
						
					 | 
					
						
						
							
							delete cached thumb blocks after replacing images
						
						
						
						
						
						
					 | 
					
						2018-06-20 03:08:40 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							977c3db1e3
							
						
					 | 
					
						
						
							
							PHP7 type annotations
						
						
						
						
						
						
					 | 
					
						2017-09-21 05:21:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							ebab9eddeb
							
						
					 | 
					
						
						
							
							Merge branch 'master' into merge-from-master
						
						
						
						
						
						
						
						Conflicts:
	ext/tag_list/theme.php 
						
						
					 | 
					
						2017-03-11 00:52:16 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								im-mi
							
						 
					 | 
					
						
						
						
						
							
						
						
							8fe9212882
							
						
					 | 
					
						
						
							
							Fixed assertion failure upon upload due to incorrect type check
						
						
						
						
						
						
					 | 
					
						2016-08-19 15:55:18 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								im-mi
							
						 
					 | 
					
						
						
						
						
							
						
						
							85a3cc0a7e
							
						
					 | 
					
						
						
							
							Fall back to file extension from path
						
						
						
						
						
						
					 | 
					
						2016-08-16 11:34:01 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							26b2cd5c16
							
						
					 | 
					
						
						
							
							derp
						
						
						
						
						
						
					 | 
					
						2016-07-30 23:06:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							bed04a1230
							
						
					 | 
					
						
						
							
							assert that metadata['tags'] is an array
						
						
						
						
						
						
					 | 
					
						2016-07-30 23:02:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							ffce1a4683
							
						
					 | 
					
						
						
							
							more hinting
						
						
						
						
						
						
					 | 
					
						2016-07-30 22:54:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							b81e8a2db8
							
						
					 | 
					
						
						
							
							also explode tags on transload input
						
						
						
						
						
						
					 | 
					
						2016-07-30 22:45:44 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daku
							
						 
					 | 
					
						
						
						
						
							
						
						
							b9893cbbda
							
						
					 | 
					
						
						
							
							$_POST["tags"] isn't always set
						
						
						
						
						
						
					 | 
					
						2016-06-18 06:27:41 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							1ac88e8923
							
						
					 | 
					
						
						
							
							more comments
						
						
						
						
						
						
					 | 
					
						2015-09-27 12:38:48 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							90cd823ece
							
						
					 | 
					
						
						
							
							fix liveness testing, and comments tests
						
						
						
						
						
						
					 | 
					
						2015-09-20 20:05:06 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							ffc636515f
							
						
					 | 
					
						
						
							
							remove dead code
						
						
						
						
						
						
					 | 
					
						2015-09-20 20:02:34 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							35a4f385b3
							
						
					 | 
					
						
						
							
							phpstorm tidying
						
						
						
						
						
						
					 | 
					
						2015-09-12 11:43:28 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							e5e7f891e2
							
						
					 | 
					
						
						
							
							scrutinizer suggestions
						
						
						
						
						
						
					 | 
					
						2015-07-21 01:20:53 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							4bf56364eb
							
						
					 | 
					
						
						
							
							Missed one use of $headers. Was used in only one other place. Also, change the function so that if anyone else uses it in the future it doesn't throw warnings.
						
						
						
						
						
						
					 | 
					
						2015-06-01 17:57:34 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							edc9e07919
							
						
					 | 
					
						
						
							
							Only examine the headers if we actually have them.
						
						
						
						
						
						
					 | 
					
						2015-05-31 21:39:22 -07:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							40734ef711
							
						
					 | 
					
						
						
							
							turn MIN_FREE_SPACE into a userspace config option
						
						
						
						
						
						
					 | 
					
						2014-12-07 13:54:47 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daku
							
						 
					 | 
					
						
						
						
						
							
						
						
							36713803e3
							
						
					 | 
					
						
						
							
							Merge pull request #418 from jgen/develop
						
						
						
						
						
						
						
						Even more linting and cleaning! 
						
						
					 | 
					
						2014-05-23 23:24:32 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daku
							
						 
					 | 
					
						
						
						
						
							
						
						
							64e2565236
							
						
					 | 
					
						
						
							
							check for lowercase header if camelcase header doesn't exist
						
						
						
						
						
						
						
						fixes #423 
						
						
					 | 
					
						2014-05-19 07:32:16 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							e37c5cb9d0
							
						
					 | 
					
						
						
							
							More linting!
						
						
						
						
						
						
					 | 
					
						2014-04-28 02:23:45 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							022c162f40
							
						
					 | 
					
						
						
							
							More linting and fixing of comments and PHP Doc, types, etc.
						
						
						
						
						
						
					 | 
					
						2014-04-28 01:26:22 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							8a2eb4b121
							
						
					 | 
					
						
						
							
							Fixing more PHP Doc related issues.
						
						
						
						
						
						
					 | 
					
						2014-04-27 19:29:36 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							4f51e942be
							
						
					 | 
					
						
						
							
							Updating/Fixing/Adding more comments with the PHP Doc style.
						
						
						
						
						
						
					 | 
					
						2014-04-27 15:33:57 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							6e4ae229ef
							
						
					 | 
					
						
						
							
							Explicitly declare this class variable
						
						
						
						
						
						
					 | 
					
						2014-04-24 19:13:41 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							4cc31df737
							
						
					 | 
					
						
						
							
							Update the comments to PHPDoc style guidelines.
						
						
						
						
						
						
					 | 
					
						2014-04-24 19:02:43 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							ab3f9850e4
							
						
					 | 
					
						
						
							
							Removing the closing PHP "?>" tag as per style guidelines.
						
						
						
						
						
						
					 | 
					
						2014-04-24 19:01:47 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							75c3d8e453
							
						
					 | 
					
						
						
							
							Merge pull request #409 from jgen/linting
						
						
						
						
						
						
						
						Linting 
						
						
					 | 
					
						2014-04-20 00:29:53 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								jgen
							
						 
					 | 
					
						
						
						
						
							
						
						
							bdf49b33cb
							
						
					 | 
					
						
						
							
							Some more linting thanks to scrutinizer-ci
						
						
						
						
						
						
					 | 
					
						2014-04-19 01:18:49 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							7a95325a5f
							
						
					 | 
					
						
						
							
							Merge pull request #388 from DakuTree/patch
						
						
						
						
						
						
						
						Fixes issues 233 & 234. 
						
						
					 | 
					
						2014-03-26 10:41:31 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daku
							
						 
					 | 
					
						
						
						
						
							
						
						
							7837362711
							
						
					 | 
					
						
						
							
							make sure source is still used if provided
						
						
						
						
						
						
					 | 
					
						2014-03-26 08:26:21 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							7b68d8ebfd
							
						
					 | 
					
						
						
							
							use new-style constructors everywhere
						
						
						
						
						
						
					 | 
					
						2014-03-22 09:00:59 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daku
							
						 
					 | 
					
						
						
						
						
							
						
						
							76526f371c
							
						
					 | 
					
						
						
							
							Add option to use transloaded URL as source
						
						
						
						
						
						
						
						fixes #234 
						
						
					 | 
					
						2014-03-14 16:54:14 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daku
							
						 
					 | 
					
						
						
						
						
							
						
						
							9cae856df7
							
						
					 | 
					
						
						
							
							use the Content-Disposition header for filename & Content-Type for
						
						
						
						
						
						
						
						extension
if either doesn't exist, it will fallback to using pathinfo 
						
						
					 | 
					
						2014-01-13 08:19:01 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								HungryFeline
							
						 
					 | 
					
						
						
						
						
							
						
						
							17efb92b4e
							
						
					 | 
					
						
						
							
							Update main.php
						
						
						
						
						
						
					 | 
					
						2013-07-07 09:13:14 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								HungryFeline
							
						 
					 | 
					
						
						
						
						
							
						
						
							71117cf8fa
							
						
					 | 
					
						
						
							
							Look for the source in _GET and not in _POST when uploading via _GET
						
						
						
						
						
						
					 | 
					
						2013-07-02 04:35:18 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							c8b12a0459
							
						
					 | 
					
						
						
							
							update comment
						
						
						
						
						
						
					 | 
					
						2013-06-15 19:57:15 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							e7ddd2960b
							
						
					 | 
					
						
						
							
							use upload_tmp_dir as temp place for transloading, see #297
						
						
						
						
						
						
					 | 
					
						2013-06-15 19:54:00 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							0ae4ef4110
							
						
					 | 
					
						
						
							
							get source from POST[source], if set
						
						
						
						
						
						
					 | 
					
						2012-10-15 20:21:09 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							7dd929e5a8
							
						
					 | 
					
						
						
							
							remove a whole load of event->user variables that weren't used -- things should be using global user
						
						
						
						
						
						
					 | 
					
						2012-08-18 19:45:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							bfd4ddea17
							
						
					 | 
					
						
						
							
							check for classes being loaded, not files existing
						
						
						
						
						
						
					 | 
					
						2012-05-23 10:39:21 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Shish
							
						 
					 | 
					
						
						
						
						
							
						
						
							2d451224dd
							
						
					 | 
					
						
						
							
							only one of tags/image-specific-tags needs filling
						
						
						
						
						
						
					 | 
					
						2012-05-22 12:14:46 +01:00 | 
					
					
						
						
							
							
							
						
					 |