Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						7e388e697d 
					 
					
						
						
							
							fallback to local URL if reply->getUrl() is missing  
						
						... 
						
						
						
						Remote Activity notices generally don't have a proper HTTP URL associated. 
						
						
					 
					
						2015-06-02 13:55:13 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						0726dcd06c 
					 
					
						
						
							
							Start using NoParentNoticeException more widely  
						
						
						
						
					 
					
						2015-06-02 13:50:52 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						c84b21008e 
					 
					
						
						
							
							Notice->getParent code reuse  
						
						... 
						
						
						
						...not entirely sure whether to allow getParent calls on Notice
objects which have not been created, but we'll leave that in for now... 
						
						
					 
					
						2015-06-02 13:46:23 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						2096c18e57 
					 
					
						
						
							
							use array_key_exists instead of empty to test array key  
						
						
						
						
					 
					
						2015-06-02 13:14:57 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						82f9b6908c 
					 
					
						
						
							
							Fake recovery by email address, to hide registrants on the site  
						
						
						
						
					 
					
						2015-05-30 23:29:58 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						731d283159 
					 
					
						
						
							
							Password recovery logic cleaned up  
						
						
						
						
					 
					
						2015-05-30 23:18:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						b4b8cb57b3 
					 
					
						
						
							
							slugify console.php prompt name  
						
						... 
						
						
						
						since PHP thought it was fun to crash on Quitter España and I
couldn't be bothered messing with readline 
						
						
					 
					
						2015-05-30 16:40:00 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						3294d704a4 
					 
					
						
						
							
							scripts/nukefile.php for blasting crap from the server  
						
						... 
						
						
						
						Deletes notices and the locally stored file based on File id, as
you may want to just get rid of shit sometimes. 
						
						
					 
					
						2015-05-30 15:41:04 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						f926e27a65 
					 
					
						
						
							
							urlhash will _be_ NULL on update, so NOT NULL won't work  
						
						
						
						
					 
					
						2015-05-27 22:37:20 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						c31d6608a8 
					 
					
						
						
							
							remove _all_ file URLs not just the duplicates  
						
						
						
						
					 
					
						2015-05-27 21:54:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						cd0b70dbc1 
					 
					
						
						
							
							upgrade fix for file URLs longer than 191 chars  
						
						
						
						
					 
					
						2015-05-27 21:31:29 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						6b717a6a69 
					 
					
						
						
							
							Throw exception if Local_group has no corresponding User_group  
						
						
						
						
					 
					
						2015-05-26 13:14:26 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						925aacec1a 
					 
					
						
						
							
							Throw exception when a Conversation is not found  
						
						
						
						
					 
					
						2015-05-26 13:11:08 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						d010c5a581 
					 
					
						
						
							
							magnet URL linkify support  
						
						
						
						
					 
					
						2015-05-09 15:54:09 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						2b58d6b774 
					 
					
						
						
							
							Merge branch 'quitagram' into nightly  
						
						... 
						
						
						
						Fixes that make quitagram work better amongst other things. 
						
						
					 
					
						2015-04-22 22:17:50 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						7601e10b6a 
					 
					
						
						
							
							getFullname function on Profile class  
						
						... 
						
						
						
						No need to fix it for User since we shouldn't use that mostly. 
						
						
					 
					
						2015-04-22 20:57:05 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						c5715bc756 
					 
					
						
						
							
							File_to_post indexing and cleaning preparations  
						
						
						
						
					 
					
						2015-04-15 23:25:12 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						eefef44378 
					 
					
						
						
							
							filename is never used for indexing so let's make it text  
						
						... 
						
						
						
						varchar is pretty limited so let's avoid it if we can 
						
						
					 
					
						2015-04-10 22:16:44 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						0bd16b521c 
					 
					
						
						
							
							OpportunisticQM shouldn't try to handle what it can't find  
						
						
						
						
					 
					
						2015-04-09 12:15:34 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						5081477e95 
					 
					
						
						
							
							enclosures in Atom were not included  
						
						
						
						
					 
					
						2015-04-05 20:24:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						f6432fdf48 
					 
					
						
						
							
							File_thumbnail->getUrl now gives Attachment_thumbnail action URL  
						
						... 
						
						
						
						That in turn redirects to the statically stored file. 
						
						
					 
					
						2015-04-03 21:21:39 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						2821be2bce 
					 
					
						
						
							
							Notice properties set in bad order on activityobject saving  
						
						
						
						
					 
					
						2015-03-12 22:17:08 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						5a235ffbf9 
					 
					
						
						
							
							Event fixes for activityhandlerplugin  
						
						
						
						
					 
					
						2015-03-12 21:53:44 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						1adf5f2863 
					 
					
						
						
							
							Merge branch 'nightly' into repeat_as_shareplugin  
						
						
						
						
					 
					
						2015-03-12 20:54:06 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						3ee673ac91 
					 
					
						
						
							
							ImageFile->resize now totally replaced with resizeTo  
						
						
						
						
					 
					
						2015-03-12 20:47:07 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						20f8dd6565 
					 
					
						
						
							
							Repeats shown in threaded noticelist now handled by plugin  
						
						
						
						
					 
					
						2015-03-12 19:49:20 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						6f0f8cd6c7 
					 
					
						
						
							
							Initial work on making the Share verb handled in plugin  
						
						
						
						
					 
					
						2015-03-12 12:27:49 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						2a32af084f 
					 
					
						
						
							
							ImageFile $id argument is only for File objects  
						
						... 
						
						
						
						Remember to eliminate the Avatar/group logo call to ImageFile->resize! 
						
						
					 
					
						2015-03-11 00:20:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						6f76c8b59d 
					 
					
						
						
							
							Same as last commit, don't give ID if it's not for a File object  
						
						
						
						
					 
					
						2015-03-11 00:14:14 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						88411fb1ca 
					 
					
						
						
							
							ImageFile should not have an $id set if not a File  
						
						
						
						
					 
					
						2015-03-10 23:52:50 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						aa27c45230 
					 
					
						
						
							
							Notice class got exception throwing getById  
						
						... 
						
						
						
						Less code, more happy. 
						
						
					 
					
						2015-03-09 17:33:20 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						286b54e527 
					 
					
						
						
							
							Use getUrl() on File and File_thumbnail instead of ->url  
						
						
						
						
					 
					
						2015-03-04 13:13:20 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						a4af51b5ba 
					 
					
						
						
							
							Move thumbnail algorithm mainly to ImageFile class  
						
						
						
						
					 
					
						2015-03-04 13:12:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						284705eeb8 
					 
					
						
						
							
							Subscription_queue::start does not mean Subscription exists  
						
						
						
						
					 
					
						2015-03-04 11:49:54 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						ec4e432d55 
					 
					
						
						
							
							Subscription::ensureStart skips AlreadyFulfilledException  
						
						... 
						
						
						
						Sometimes we just want to accept the user's wrong, but when it comes
to remote APIs etc. we probably want to let the client know it has
done something already (in this case multiple identical subscription
requests - which might indicate to it that it should refresh the sub
lists or something). 
						
						
					 
					
						2015-03-04 11:38:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						bece816ec7 
					 
					
						
						
							
							User class throws exception on register failure  
						
						
						
						
					 
					
						2015-03-01 12:36:19 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						caa0dd549e 
					 
					
						
						
							
							Avatar table url field now 'text', maybe use filename as unique key?  
						
						
						
						
					 
					
						2015-02-28 12:56:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						8fac7a9f6c 
					 
					
						
						
							
							StatusNet class renamed GNUsocial  
						
						... 
						
						
						
						also added backward compatible StatusNet class for the two calls I know
third party plugins use, isHTTPS and getActivePlugins 
						
						
					 
					
						2015-02-27 12:44:15 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						7e6ba94241 
					 
					
						
						
							
							Documentation + filename uniqueness in File class  
						
						
						
						
					 
					
						2015-02-25 15:19:27 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						9a843548c0 
					 
					
						
						
							
							Save thumbnails with proper extension  
						
						... 
						
						
						
						This might cause double extensions, but that's ok since the filename
is stored in the database. We might want to look at it later though. 
						
						
					 
					
						2015-02-25 01:34:00 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						ce91f1c0e6 
					 
					
						
						
							
							Hide posts from users with private_stream in scoping streams  
						
						... 
						
						
						
						For example the public timeline would show notices from a user with
private_stream configured. (previously it would only hide _new_ notices
by this user as they would be the only ones with notice scoping set). 
						
						
					 
					
						2015-02-24 22:59:58 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						060dbe1b56 
					 
					
						
						
							
							Removing whitespace and creating an early-return in inScope  
						
						
						
						
					 
					
						2015-02-24 22:44:43 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						325e784ccd 
					 
					
						
						
							
							Don't store duplicates of files.  
						
						... 
						
						
						
						If a new file is uploaded, it will be matched with a previously uploaded
file so we don't have to store duplicates. SHA256 is random enough and
also unlikely enough to cause collisions. 
						
						
					 
					
						2015-02-24 21:11:25 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						0e6c83e521 
					 
					
						
						
							
							Had to avoid using indexes in the migration phase  
						
						... 
						
						
						
						File and File_redirection still had their indexes in the temporary migration table definition. 
						
						
					 
					
						2015-02-19 22:06:43 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						b54710950f 
					 
					
						
						
							
							unique keys and indexes must be NOT NULL or MySQL fucks up  
						
						... 
						
						
						
						If this merge throws exception on scripts/upgrade.php and you recently
tried a nightly (i.e. during 2015-02-19) then just go back a commit or two
and try again.
Or delete the duplicate entries. Find the entries like this:
SELECT COUNT(*), urlhash FROM file_redirection
    GROUP BY urlhash
    HAVING COUNT(*) > 1;
then for each urlhash (or come up with a smart SQL query) do:
DELETE FROM file_redirection WHERE urlhash='hashfrompreviousquery' LIMIT 1;
You'll have to remove duplicates more than once if you have >2 identical
urlhash entries. LIMIT -1 might do that for you. I'm not sure. 
						
						
					 
					
						2015-02-19 21:21:39 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						0590f2975e 
					 
					
						
						
							
							Merge branch 'utf8mb4' into nightly  
						
						... 
						
						
						
						Conflicts because of urlhash fixes:
	classes/File.php
	classes/File_redirection.php
	classes/File_thumbnail.php 
						
						
					 
					
						2015-02-19 20:50:40 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						5471c65c9a 
					 
					
						
						
							
							less newlines for the scripts/upgrade.php output  
						
						
						
						
					 
					
						2015-02-19 19:40:36 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						e299583eee 
					 
					
						
						
							
							Bad check on existing urlhash key  
						
						
						
						
					 
					
						2015-02-19 19:36:59 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						8ac8e2e734 
					 
					
						
						
							
							Use new ::getByUrl for File and File_redirection  
						
						... 
						
						
						
						and make use of the exceptions instead endless if statements 
						
						
					 
					
						2015-02-19 19:29:55 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						c05e9b118c 
					 
					
						
						
							
							function is hashurl, variable is urlhash  
						
						
						
						
					 
					
						2015-02-19 19:07:43 +01:00