Kevin Mok 
							
						 
						
							
							
							
								
							
								de93bd7b0a 
								
							
								 
							
						 
						
							
							
								
								Store counts for genres in Genre model  
							
							 
							
							 
							
							
								
 
							
							
							Have not assigned most common genre to Track models yet (currently
blank). 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								e614b373df 
								
							
								 
							
						 
						
							
							
								
								Fix program crash when AudioFeatures is missing  
							
							 
							
							 
							
							
								
 
							
							
							Fixes  #32 . AudioFeatures object query is now wrapped in a try/except
block to account for the scenario where the object doesn't exist. 
							
						 
						7 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								9875cbeb68 
								
							
								 
							
						 
						
							
							
								
								Moved script to create genre graph to static file  
							
							 
							
							 
							
							
								
 
							
							
							- sorted artists in bar by most to least, bottom to top
- wrap x-axis labels by bar width
- increased track name length (program crashed on a track name) 
							
						 
						7 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								f71ba20116 
								
							
								 
							
						 
						
							
							
								
								Fixed bars not being at right height  
							
							 
							
							 
							
							
								
 
							
							
							Avoided artist breakdown overflowing total tracks in genre by only
adding artists while running tally is less than total. 
							
						 
						7 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								162b2dad37 
								
							
								 
							
						 
						
							
							
								
								Setup color range for bars  
							
							 
							
							 
							
							
								
 
							
							
							Included a script to generate attractive colors. 
							
						 
						7 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								2342e6ef49 
								
							
								 
							
						 
						
							
							
								
								Initial setup of stacked bar chart for genres  
							
							 
							
							 
							
							
								
 
							
							
							Bunch of issues with it that still need to be fixed. 
							
						 
						7 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								7b968c9d86 
								
							
								 
							
						 
						
							
							
								
								Include artist breakdown in get_genre_data  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								4698663a85 
								
							
								 
							
						 
						
							
							
								
								Rewrite generate_random_string()  
							
							 
							
							 
							
							
								
 
							
							
							Rewrote generate_random_string() in a more Pythonic fashion. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								3e35e52f45 
								
							
								 
							
						 
						
							
							
								
								Retrieve audio feature data from frontend  
							
							 
							
							 
							
							
								
 
							
							
							Added user_secret field to User. Set up a basic JavaScript function for
querying audio feature data from the frontend. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								9d43048067 
								
							
								 
							
						 
						
							
							
								
								Clean up views.py and utils.py further  
							
							 
							
							 
							
							
								
 
							
							
							views.py and utils.py were cleaned up further to remove any obsolete usage of
library_stats. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								ea5990d048 
								
							
								 
							
						 
						
							
							
								
								Fixed duplicate key error in save_track_obj  
							
							 
							
							 
							
							
								
 
							
							
							Can't create Track object without the artists/user so get_or_create
doesn't work properly. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
								
								
							
							
								
							
								ef7933fb67 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete 0003_auto_20180608_2007.py  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
								
								
							
							
								
							
								d995a15444 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete 0002_auto_20180608_2002.py  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
								
								
							
							
								
							
								53f78853d9 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete 0001_initial.py  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								92d5d174e8 
								
							
								 
							
						 
						
							
							
								
								Modify maximum field length  
							
							 
							
							 
							
							
								
 
							
							
							Artist.genre and Track.name had maximum lengths that were not long enough, now increased. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								fd7a031bf2 
								
							
								 
							
						 
						
							
							
								
								Fix incorrect usage of update()  
							
							 
							
							 
							
							
								
 
							
							
							update() is a QuerySet method. To update a single object, use save(). 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								0e69d3d190 
								
							
								 
							
						 
						
							
							
								
								Removed test_db.js  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								90dbda4336 
								
							
								 
							
						 
						
							
							
								
								Removed UserAudioSummary class  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								797115e9cb 
								
							
								 
							
						 
						
							
							
								
								Clean up utils.py to use database  
							
							 
							
							 
							
							
								
 
							
							
							Uses of the original library_stats dictionary in utils.py were either removed or commented out, replaced by the saving of models into the database. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								79aedc655d 
								
							
								 
							
						 
						
							
							
								
								Trying to pass artist data from db to frontend  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								b66cf1dd87 
								
							
								 
							
						 
						
							
							
								
								Delete all migrations and start anew  
							
							 
							
							 
							
							
								
 
							
							
							Deleted all migrations and started anew to incorporate changes in models. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								62cc6c8ccd 
								
							
								 
							
						 
						
							
							
								
								Setup AudioFeatures table  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								cdcc33c014 
								
							
								 
							
						 
						
							
							
								
								Setup Track table, modified models to data  
							
							 
							
							 
							
							
								
 
							
							
							Recreated migrations from scratch to fix bug with initializing Track
objects. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								27718743d7 
								
							
								 
							
						 
						
							
							
								
								Change artists field in Track  
							
							 
							
							 
							
							
								
 
							
							
							artists is now a ManyToManyField in Track, which is cleaner than
using a unique_together clause in the Meta class. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								b735887899 
								
							
								 
							
						 
						
							
							
								
								Bug fixes  
							
							 
							
							 
							
							
								
 
							
							
							Server crashes as of the last commit, now fixed. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								549af96db7 
								
							
								 
							
						 
						
							
							
								
								Setup Artist table  
							
							 
							
							 
							
							
								
 
							
							
							Removed printing of library_stats. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								248e9b0ab6 
								
							
								 
							
						 
						
							
							
								
								Change database settings  
							
							 
							
							 
							
							
								
 
							
							
							Edited settings.py to use PostgreSQL. Made some minor changes
in views.py to incorporate the new models. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								e07fd0965a 
								
							
								 
							
						 
						
							
							
								
								Added Vim folds to models.py and utils.py  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								e5151a1b92 
								
							
								 
							
						 
						
							
							
								
								Add user_data.js  
							
							 
							
							 
							
							
								
 
							
							
							Script will be used to obtain data from server for D3 consumption. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								003c630dd4 
								
							
								 
							
						 
						
							
							
								
								Fix audio feature analysis missing bug  
							
							 
							
							 
							
							
								
 
							
							
							Added error checking for missing audio features in the Spotify database. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								f52e88f83a 
								
							
								 
							
						 
						
							
							
								
								Start implementing AJAX  
							
							 
							
							 
							
							
								
 
							
							
							Problem with cross origin requests, need to do more research. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								a508337363 
								
							
								 
							
						 
						
							
							
								
								Fix import in tests.py  
							
							 
							
							 
							
							
								
 
							
							
							tests.py was importing update_std_dev() from views.py (where the function was prior to
the refactor), now fixed. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								53b7bb5d41 
								
							
								 
							
						 
						
							
							
								
								Started on (flawed) database models  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								c831e5b9a8 
								
							
								 
							
						 
						
							
							
								
								Initial design for database  
							
							 
							
							 
							
							
								
 
							
							
							Before considering Django models. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								e01331f951 
								
							
								 
							
						 
						
							
							
								
								Process library_stats  
							
							 
							
							 
							
							
								
 
							
							
							library_stats is now processed into a format that's more easily consumed
by D3. Need to finalize format for popularity data. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								46df571855 
								
							
								 
							
						 
						
							
							
								
								Compute the average and std_dev for popularity  
							
							 
							
							 
							
							
								
 
							
							
							Modified the structure and code in utils.py so that library_stats now
has a record of the mean and standard deviation of popularity. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								c9de0395a4 
								
							
								 
							
						 
						
							
							
								
								Refactor helper functions in views.py  
							
							 
							
							 
							
							
								
 
							
							
							Refactored helper functions in views.py into utils.py. Instead of having
a global dictionary object for user library data, helper functions now
mutate a dictionary passed in as a parameter. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								3a733e18b3 
								
							
								 
							
						 
						
							
							
								
								Added one more test for update_std_dev()  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								c6c4897ce0 
								
							
								 
							
						 
						
							
							
								
								Added four tests for update_std_dev()  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								96b7bfb2bb 
								
							
								 
							
						 
						
							
							
								
								Display genre counts on user_data page  
							
							 
							
							 
							
							
								
 
							
							
							Able to pass dict info successfully from backend to webpage. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								4b263532d1 
								
							
								 
							
						 
						
							
							
								
								Added missing space on line  #222  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								6e1671b0f2 
								
							
								 
							
						 
						
							
							
								
								Fixed improper retrieval of value from API JSON  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								ec3fb3f959 
								
							
								 
							
						 
						
							
							
								
								Fix get_audio_features() bug  
							
							 
							
							 
							
							
								
 
							
							
							Fixed bug where the parameters passed in the wrong order for
get_audio_features(). 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								4066c96c94 
								
							
								 
							
						 
						
							
							
								
								Changed signature of get_audio_features() for consistency  
							
							 
							
							 
							
							
								
 
							
							
							Switched around the ordering of the parameters so that they are
consistent with other data acquisition helper functions. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								a5780387e1 
								
							
								 
							
						 
						
							
							
								
								Made minor changes to variable names  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								d7002f7571 
								
							
								 
							
						 
						
							
							
								
								Implement audio feature statistics calculation  
							
							 
							
							 
							
							
								
 
							
							
							Implemented the calculation average and standard deviation of audio features. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								bbc713e729 
								
							
								 
							
						 
						
							
							
								
								Implement audio feature helper functions  
							
							 
							
							 
							
							
								
 
							
							
							Implemented helper functions for updating audio feature statistics. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Chris Shyi
							
						 
						
							
							
							
								
							
								7b153649bf 
								
							
								 
							
						 
						
							
							
								
								Implement online standard deviation algorithm  
							
							 
							
							 
							
							
								
 
							
							
							Implemented Welford's method for calculating standard deviation as data
points arrive. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								f94a861b84 
								
							
								 
							
						 
						
							
							
								
								Calculate genre counts once for each artist ( #1 )  
							
							 
							
							 
							
							
								
 
							
							
							Versus last commit that incremented genres every track. Also now only
stores ID for artist rather than all their genres. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								
								Kevin Mok 
							
						 
						
							
							
							
								
							
								cb75a0b2bb 
								
							
								 
							
						 
						
							
							
								
								Implemented get_genre functionality ( #1 )  
							
							 
							
							 
							
							
								
 
							
							
							Code actually in increase_artist_count. Updates genre counts with
each track from the artist. 
							
						 
						8 years ago