Kevin Mok
96b7a4a98c
Run on server, update dependencies
5 years ago
Kevin Mok
1d9583489f
History/most played queries
Update history service draft.
5 years ago
Kevin Mok
89432834f6
Fix duplicate key bug, set root url to login
6 years ago
Kevin Mok
68c1c85ebd
Artist graph improvements
- title
- full artist name on multiple lines
- responsive and fit screen (#63 )
Other:
- added creating db to README
- added script to update requirements
- updated requirements
6 years ago
Kevin Mok
91484dbeab
Responsive features graph page
In process of making artists graph maximize height responsively. Moved
misc files in base dir to new scripts dir.
6 years ago
Kevin Mok
dbb1a8738e
Merge branch 'vis-page'
6 years ago
Kevin Mok
670693203e
Fix genre graph not displaying
- take top genres/artists for graphs
- improve graphs' appearance
- update pip packages
6 years ago
Kevin Mok
1a3686c282
Wrote README
6 years ago
Kevin Mok
b5152f988f
Merge branch 'history'
6 years ago
Kevin Mok
c4277ab0b4
Setup history log on nzxt-arch
6 years ago
Kevin Mok
db184da0a2
Merge pull request #64 from Kevin-Mok/history
Scan user history
6 years ago
Kevin Mok
15c07a208a
Updated pip packages
6 years ago
Kevin Mok
e8a94fb7c2
Added basic Bootstrap elements to templates
6 years ago
Kevin Mok
4ff1bc6744
Setup Sass for Bootstrap and Darkly theme
Genre graph stopped showing up for whatever reason.
6 years ago
Kevin Mok
668fcb7421
Merge branch 'master' into history
6 years ago
Kevin Mok
a7e4c151cf
Merge branch 'chris/wip' into vis-page
6 years ago
Kevin Mok
73223ac355
Put features graphs into Bootstrap columns
d3 ranges based on the column size.
6 years ago
Kevin Mok
4ddf11aa41
Added admin command to scan personal history ( #58 )
Reverted exported history file to exclude timestamp. Simplified logging
for scanning user history.
6 years ago
Kevin Mok
895cf7d40d
Split parse_history into own function
For grabbing history in a command (#58 ).
6 years ago
Kevin Mok
db29bc9f67
Added timestamp to exported history filename ( #57 )
6 years ago
Kevin Mok
3d0acc7a4b
Refactor saving History obj
From import_history and parse_history. Also refactor getting CSV
information from import_history.
6 years ago
Kevin Mok
f54eb4a814
Refactor saving artists to track
Exact same code in parse_history, parse_library and import_history.
6 years ago
Kevin Mok
920a9ad772
Import history into DB from exported CSV ( #57 )
6 years ago
Kevin Mok
93e646565a
Set uploader to current user in HistoryUpload ( #57 )
6 years ago
Kevin Mok
a4a00458af
Able to upload history onto server ( #57 )
6 years ago
Kevin Mok
df62fc21ee
Copied Chris' code to get genre graph working
6 years ago
Kevin Mok
d15717490d
Export ISO timestamp for history ( #57 )
6 years ago
Kevin Mok
fa2c5f7008
Export listening history to csv ( #57 )
Still need to convert timestamps to more CPU-readable format and figure
out what to do about reading headers for importing.
6 years ago
Kevin Mok
3d6dff359d
Store user id/secret in session upon login ( #61 )
History table uses session's user_id instead of secret in URL.
6 years ago
Kevin Mok
77141849ac
Move non-request functions in login/views to utils
6 years ago
Kevin Mok
b2990b45ee
Filter out unnecessary columns in history table
6 years ago
Kevin Mok
4b19c932b0
Split Track column into name and artists
6 years ago
Kevin Mok
2912977992
Setup django_tables2 for user history table
6 years ago
Kevin Mok
b4ffddb24d
Setup new page for user history
6 years ago
Kevin Mok
a399960a49
Only get history after latest stored one
6 years ago
Kevin Mok
d06e5912cc
Create History relation and add entries
Logs User, time and Track.
6 years ago
Kevin Mok
2644a3aeb2
Parse listening history and add Track objects
6 years ago
Chris Shyi
cc071d621c
Make genre data test more comprehensive
Modified the genre data retrieval test to be more comprehensive.
6 years ago
Chris Shyi
765141c024
Improve readability
Added additional comments to improve readability of the genre graph
related code.
6 years ago
Chris Shyi
54c541426c
Genre Artist Breakdown
Implemented the generation of genre artist breakdown data for the genre
graphs. More test cases needed.
6 years ago
Chris Shyi
6665532fea
Made minor fixes to docstrings
7 years ago
Kevin Mok
06c31ac659
Merge pull request #53 from chrisshyi/wip
Fixed floating point precision issue
7 years ago
Chris Shyi
01759c59b3
Fix floating point precision issue in audio feat
The last commit (fc6c30ec32
) was affected
by a floating point addition/subtraction precision bug. The bug caused
nonsensical categories to appear on the audio feature bar charts. Now
fixed.
7 years ago
Chris Shyi
fc6c30ec32
Refactor audio feat graph
Fixes #51 . Instead of passing in an array of hard coded values as the
interval end points, an object specifying the beginning, the end, and
the step size is used. Categories can be more easily defined and
modified this way.
7 years ago
Chris Shyi
98151e19d2
Merge pull request #50 from Kevin-Mok/apps
Split spotifyvis into multiple apps
7 years ago
Kevin Mok
344fb2760e
Merge branch 'master' of https://github.com/Kevin-Mok/spotify-lib-vis into apps
7 years ago
Kevin Mok
23126ba823
Merge branch 'apps' into loading-page
7 years ago
Kevin Mok
a36ce3be88
Site is as functional as before ( resolves #47 )
Finished setting up graphs app and getting data from API app. Only issue
now is this branch is behind a few commits from other branches.
7 years ago
Kevin Mok
c949ecd3cc
Setup API app, can scan library ( #47 )
Manually merged console logging from loading-page branch.
7 years ago
Kevin Mok
e50d3d8476
Login app working ( #47 )
Can login and create User object. Also now store user token info in db
(closes #48 ).
7 years ago