Skip to content

Tmh sbox 9 - #18

Merged
anthonyvalera merged 5 commits into
devfrom
tmh-SBOX-9
Oct 29, 2018
Merged

Tmh sbox 9#18
anthonyvalera merged 5 commits into
devfrom
tmh-SBOX-9

Conversation

@tianahayden

Copy link
Copy Markdown

created logic for authorization for everyone
moved old server logic to remote methods

Tiana Hayden added 5 commits October 29, 2018 10:08
…st > remove current playing song > add new song > update spotify playlsit to reflect those changes. Next, I need to get it to add default songs when the playlist only has one song left, and I need to track last played songs, and I need to make this remote method a post request to update the queue field in the queue model
@anthonyvalera
anthonyvalera merged commit 5c35ecd into dev Oct 29, 2018
Andyprolman added a commit that referenced this pull request Oct 30, 2018
* Added loopback (#11)

* Added loopback

* Added MongoDB test

* Added MongoDB config for CircleCI

* Deleted watcher for watch and dev scripts

* Added exit functionality to test script

* BS-SBOX-2 (#12)

* Adds boot script to add Admin on server start

* Disables server authentication for loopback and completes boot script

* Removes comment (#16)

* AB-SBOX-6 (#17)

* Adds initial route configuration and react router

* Updates file structure, fixes pathing errors

* Adds react router, configures routes, adds a preliminary dashboard for admin

* Tmh sbox 9 (#18)

* fixed user relation model so there is one queue for every user

* created remote method for getplaylist that returns a list of song tracks currently on the playlist

* created updatePlaylist remote method that works to get current playlist > remove current playing song > add new song > update spotify playlsit to reflect those changes. Next, I need to get it to add default songs when the playlist only has one song left, and I need to track last played songs, and I need to make this remote method a post request to update the queue field in the queue model

* simplifed updatePlaylist by using getPlaylist within it

* fixed authorization issues so others can authorize by going to localhost/spotify

* adds styling using grid and username and password state working

* adds login test and styling
vancepope pushed a commit that referenced this pull request Oct 31, 2018
* Added loopback (#11)

* Added loopback

* Added MongoDB test

* Added MongoDB config for CircleCI

* Deleted watcher for watch and dev scripts

* Added exit functionality to test script

* BS-SBOX-2 (#12)

* Adds boot script to add Admin on server start

* Disables server authentication for loopback and completes boot script

* Removes comment (#16)

* AB-SBOX-6 (#17)

* Adds initial route configuration and react router

* Updates file structure, fixes pathing errors

* Adds react router, configures routes, adds a preliminary dashboard for admin

* Tmh sbox 9 (#18)

* fixed user relation model so there is one queue for every user

* created remote method for getplaylist that returns a list of song tracks currently on the playlist

* created updatePlaylist remote method that works to get current playlist > remove current playing song > add new song > update spotify playlsit to reflect those changes. Next, I need to get it to add default songs when the playlist only has one song left, and I need to track last played songs, and I need to make this remote method a post request to update the queue field in the queue model

* simplifed updatePlaylist by using getPlaylist within it

* fixed authorization issues so others can authorize by going to localhost/spotify

* Bs sbox 11 (#19)

* Comments out socket.io requests, fixes AdminContainer, adds HashRouter

* Fixes router to render Admin Dashboard

* Removes build and dist folders

* Ap sbox 7 (#22)

* adds styling using grid and username and password state working

* adds login test and styling

* updates gitignore to exclude dist folder

* Removes fonts from src folders

* Delete bundle.js

* Ap login (#25)

* adds back fonts

* adds font folder

* Ab sbox 6 (#24)

* Adds initial route configuration and react router

* Adds initial route configuration and react router

* Updates file structure, fixes pathing errors

* Fixes file structure, again

* Fixes some things

* Rebased

* Fleshes out CSS for Dashboard

* Adds initial styling for Admin dashboard

* Adds proper text styling for default queue

* Extends design improvements from default queue to current queue

* Adds initial style for play button; adds action and reducer

* Incorporates static play button into currentSong component

* Removes now-defunct play button

* fixes admin dashboard errors

* Ov sbox3 (#28)

* Added a remote method that checks if a song exists in database. If not, it makes Api call to spotify and adds the song to database, otherwise it returns the song from database

* Changed test name to getSong functionality

* Ab sbox 6 (#29)

* Minor routing issues

* Fixes routing

* Adds default songs viewability and delete functionality

* Adds default songs viewability and delete functionality (#30)

* Adds viewing capability of playlist on admin dashboard and delete from queue

* Tmh sbox 9 (#32)

* created updatePlaylist remote method that works to get current playlist > remove current playing song > add new song > update spotify playlsit to reflect those changes. Next, I need to get it to add default songs when the playlist only has one song left, and I need to track last played songs, and I need to make this remote method a post request to update the queue field in the queue model

* simplifed updatePlaylist by using getPlaylist within it

* fixed authorization issues so others can authorize by going to localhost/spotify

* updatePlaylist remote method is now a functioning put request that updates the songId array of that queue

* added default songs to the queue. made it so queue populates with song id. added last play variable and conditions back.

* fixed last played to update in queue

* returned error if duplicates are added. fixed it so last played updates the queue and actually works.

* fixed it so all the edge cases work

* added playlist tests

* Added update type and search input functionality to redux

* Add handleSearch method and deleted uri search capability

* Add handleSearch method and deleted uri search capability

* added getSearch action

* added getSearch action

* Added socket.io

* Added socket.io

* Updated socket.io

* Add handleSearch method and deleted uri search capability

* added getSearch action

* Added socket.io

* Updated socket.io

* Merged conflicts

* Reviewed changes

* Changed app.jsx

* Committing before rebase

* Added socket.io custom room capability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants