Commit Graph

71 Commits

Author SHA1 Message Date
Kevin Whitaker
c8ecca96e9 Disable replaygain until I can figure out why it's causing problems. 2017-02-27 18:17:16 -05:00
Kevin Whitaker
bc183449a3 Set log output is sent to file. Implment seemingly correct replain gain support. 2017-02-24 18:08:02 -05:00
Kevin Whitaker
e2ec2f2152 Worked changing password into admin. 2017-02-24 17:17:13 -05:00
Kevin Whitaker
d9ebd4fe75 limit tracks some more. Have track updated in title too. 2017-02-24 17:02:29 -05:00
Kevin Whitaker
4e34ce5d21 limit results at the sql level. 2017-02-23 21:58:20 -05:00
Kevin Whitaker
f389ebaf40 put in base of install root when installing. 2017-02-23 19:01:06 -05:00
Kevin Whitaker
3bb52e259b Add basic readme. 2017-02-23 18:48:35 -05:00
Kevin Whitaker
f11f3de4e4 Support enter key in some text boxes as button click that matches. 2017-02-23 18:41:29 -05:00
Kevin Whitaker
f75419cfbd Don't pull from request queue unless the next item also was already up for voting. 2017-02-23 18:37:32 -05:00
Kevin Whitaker
df0e044a96 Convert timer to javascript to cut down on requests. 2017-02-23 18:32:39 -05:00
Kevin Whitaker
4f3e3d74d2 Make clearer when user is created. Make sure clear logs button clicks. 2017-02-22 22:11:10 -05:00
Kevin Whitaker
8992875180 Fix a bug. Add some destructors. comment out one that causes problems. 2017-02-22 21:38:37 -05:00
Kevin Whitaker
8bb9728039 add config with higher upload limit. Add basic bash run script. Add cmake directives to put these in install location. 2017-02-22 20:48:39 -05:00
Kevin Whitaker
8db237cddd Have users have upload permissions. Make sure upload tab only shows up then. 2017-02-22 20:40:09 -05:00
Kevin Whitaker
e1dbdf997e Move extension checking into add method. Change scan results to not have booleans and cause issues with switches. Implement moving/checking/adding uploaded track to library. 2017-02-22 20:28:30 -05:00
Kevin Whitaker
4233e5fb36 Sanity checks. Make sure track isn't in vote batch and remove it from request queue if there. 2017-02-22 18:00:54 -05:00
Kevin Whitaker
e5b86cc4df Make sure admin can remove tracks from the collection. 2017-02-22 17:45:21 -05:00
Kevin Whitaker
4f2a0c5d4d Finish adding user creation to admin screen. 2017-02-21 01:31:07 -05:00
Kevin Whitaker
5a602cddaa Add empty tabs to fill. 2017-02-21 00:26:16 -05:00
Kevin Whitaker
fc98ec671a Make sure track path is saved to track view so sending it back won't crash. Keep track of users for requests to implement limited amounts of requests. Implement requesting with limits. 2017-02-19 22:21:05 -05:00
Kevin Whitaker
5b89f375b2 Implement basics of search using sql like. Now with so much data passing, curtail some object deletions. 2017-02-19 21:07:14 -05:00
Kevin Whitaker
8c8a6c30f1 Set up basic request layout to fill with logic. 2017-02-19 18:17:56 -05:00
Kevin Whitaker
c6c2eccec5 Refactor things so less manual layout is done where not needed. Yields proper boostrap panel. 2017-02-19 16:40:33 -05:00
Kevin Whitaker
4f2eb8232d Now with more screens about to be added, move main interface to tab widgets. 2017-02-19 15:42:34 -05:00
Kevin Whitaker
48a33d31ec Have backend also keep track of users who voted on a track to prevent duplicate voting. Add vote count next to vote button. Make sure these details are correct, event on refresh. 2017-02-19 12:43:35 -05:00
Kevin Whitaker
161e408a47 Implement vote sending to backend. Have trackdetails spit out a msotly complete audiotrack for voting. Fix voting to actually modify list. Fix js code to not break on songs with apostrophes. 2017-02-19 10:31:52 -05:00
Kevin Whitaker
1b82d58c5e Override css settings messing up vertical alignment. 2017-02-19 09:49:35 -05:00
Kevin Whitaker
de6a151fd0 Clean up some things. Make skip vote longer. Put in js that should show notifications for skip requests. 2017-02-18 23:13:13 -05:00
Kevin Whitaker
249e34f3c7 Try to not have track details eat up more space than they should. 2017-02-18 22:40:52 -05:00
Kevin Whitaker
cc8c4bcb7e Implement basics of voting ui. Change vote selection code to also inject cover before putting in list. Make sure player sends winning track to highlight on client. 2017-02-18 22:23:09 -05:00
Kevin Whitaker
d12e2471da Allow changing track bg color easier. 2017-02-18 17:24:45 -05:00
Kevin Whitaker
25e4961f1a Remove some of old styling for new bootstrap css. 2017-02-18 17:20:09 -05:00
Kevin Whitaker
6d038acf56 Use bootstrap theme. Remove progressbar css that no longer applies. 2017-02-18 16:08:16 -05:00
Kevin Whitaker
289c1790a7 Implement UI for track skipping. 2017-02-18 15:48:13 -05:00
Kevin Whitaker
1186b7a439 Mark a user logged in in DB when successful. 2017-02-18 14:39:16 -05:00
Kevin Whitaker
cb393b0c0d Uncomment user actions and fix by finding active DB object instead of converting dead one. Use font-awesome to make icons for buttons. Implement rest of basic logic for login page. Some style fixings. Start adding skip controls. 2017-02-18 14:25:52 -05:00
Kevin Whitaker
c5e979e948 Make sql connection public to share same connection pool. Layout calls for user info from DB. Implement login path. 2017-02-18 00:27:24 -05:00
Kevin Whitaker
1279143931 Add a little animation when changing track details. 2017-02-17 20:02:20 -05:00
Kevin Whitaker
0fa26d83f6 Start tweaking alignments to make look a little better and take up proper spacing. 2017-02-17 19:47:30 -05:00
Kevin Whitaker
167b2f9084 add boost in because wt seems to now complain about it. Remove first song change message as it's unlikely anyone will encounter it with other events firing soon after. Start cleaning up some container/layout mess. Implement trackdetails and show this on the play controls. 2017-02-16 22:55:14 -05:00
Kevin Whitaker
b101657669 Have timer run and update progressbar to show playing track state. 2017-02-16 20:30:05 -05:00
Kevin Whitaker
53bc31ebb9 Start implementing web UI. Add track detail container. Comment out some old test code and DB code while more gets hooked up. Play/pause button is mostly implemented. 2017-02-15 00:47:58 -05:00
Kevin Whitaker
7668a923d8 Add code to try and make sure second votable track is different from first. Implement code to handle skip requests in player. 2017-02-13 21:47:52 -05:00
Kevin Whitaker
41fa567f82 Add untested play/pause event code and change web interface to know which happened. 2017-02-08 23:22:34 -05:00
Kevin Whitaker
35279008ee Redo events so that the event can have needed info alongside it. Make sure when computer is picking tracks if no votes that it doesn't pick a song that just played if possible. Fix mislabeled method. Implement untest admin skip and vote code. 2017-02-08 23:05:13 -05:00
Kevin Whitaker
39a780cb95 Remove lots of DB calls just for getting the current track. Add update call for vote closing. Add some code to try and avoid having current playing track show up in votes again. 2017-02-08 21:30:23 -05:00
Kevin Whitaker
1a545af49f Change track DB add method to give more details on failure when it happens. 2017-02-08 19:47:35 -05:00
Kevin Whitaker
71a2cd6321 Add taglib to project to get extra cover data(and possibly replace libgroove for this function). Remove oggs from accepted files until I can figure out cover data for them better. Add non-persisted field for this to audiotrack object and method to add this data to it in memory. 2017-02-08 00:56:32 -05:00
Kevin Whitaker
44df1cf607 Have sqlite connection object be pointers to help make sure correct destruction pattern happens. 2017-02-06 01:38:12 -05:00
Kevin Whitaker
166443f9ad Test allowing oggs through the scanner. Clean up some transactions on first launch to prevent locking from a uncapped while loop. Also don't start the event loop without 3 tracks or voting can't happen. 2017-02-06 00:44:31 -05:00