30 Commits

Author SHA1 Message Date
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
2019-04-17 07:08:38 -04:00
91484dbeab Responsive features graph page
In process of making artists graph maximize height responsively. Moved
misc files in base dir to new scripts dir.
2019-03-07 08:21:36 -05:00
670693203e Fix genre graph not displaying
- take top genres/artists for graphs
- improve graphs' appearance
- update pip packages
2019-03-07 05:57:30 -05:00
e8a94fb7c2 Added basic Bootstrap elements to templates 2018-11-18 04:43:42 -05:00
4ff1bc6744 Setup Sass for Bootstrap and Darkly theme
Genre graph stopped showing up for whatever reason.
2018-11-18 02:49:35 -05:00
a7e4c151cf Merge branch 'chris/wip' into vis-page 2018-11-17 21:34:14 -05:00
73223ac355 Put features graphs into Bootstrap columns
d3 ranges based on the column size.
2018-11-17 20:49:47 -05:00
4ddf11aa41 Added admin command to scan personal history (#58)
Reverted exported history file to exclude timestamp. Simplified logging
for scanning user history.
2018-11-17 19:37:51 -05:00
db29bc9f67 Added timestamp to exported history filename (#57) 2018-11-14 12:04:19 -05:00
3d0acc7a4b Refactor saving History obj
From import_history and parse_history. Also refactor getting CSV
information from import_history.
2018-11-08 09:42:52 -05:00
a4a00458af Able to upload history onto server (#57) 2018-11-07 18:10:12 -05:00
df62fc21ee Copied Chris' code to get genre graph working 2018-11-07 00:14:45 -05:00
d15717490d Export ISO timestamp for history (#57) 2018-11-06 23:23:44 -05:00
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.
2018-11-06 22:58:38 -05:00
3d6dff359d Store user id/secret in session upon login (#61)
History table uses session's user_id instead of secret in URL.
2018-11-06 21:45:52 -05:00
77141849ac Move non-request functions in login/views to utils 2018-11-06 21:35:30 -05:00
b2990b45ee Filter out unnecessary columns in history table 2018-11-06 18:22:27 -05:00
4b19c932b0 Split Track column into name and artists 2018-11-06 16:14:29 -05:00
2912977992 Setup django_tables2 for user history table 2018-11-06 15:23:43 -05:00
b4ffddb24d Setup new page for user history 2018-11-06 12:19:28 -05:00
2644a3aeb2 Parse listening history and add Track objects 2018-11-04 18:38:25 -05:00
Chris Shyi
765141c024 Improve readability
Added additional comments to improve readability of the genre graph
related code.
2018-07-26 02:37:53 -04:00
Chris Shyi
54c541426c Genre Artist Breakdown
Implemented the generation of genre artist breakdown data for the genre
graphs. More test cases needed.
2018-07-24 00:24:47 -04:00
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.
2018-06-30 18:51:52 -04:00
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.
2018-06-30 17:59:34 -04:00
344fb2760e Merge branch 'master' of https://github.com/Kevin-Mok/spotify-lib-vis into apps 2018-06-29 11:41:58 -04:00
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.
2018-06-29 11:08:40 -04:00
c949ecd3cc Setup API app, can scan library (#47)
Manually merged console logging from loading-page branch.
2018-06-29 10:17:38 -04:00
e50d3d8476 Login app working (#47)
Can login and create User object. Also now store user token info in db
(closes #48).
2018-06-29 08:43:03 -04:00
8b1344d453 Split spotifyvis code into different apps (#47)
Server is able to start, but none of the apps are linked together yet.
2018-06-29 04:25:27 -04:00