Commit graph

107 commits

Author SHA1 Message Date
RecursiveGreen
58dddd2d0d Stores now accessible through API. 2019-06-04 14:58:52 -04:00
RecursiveGreen
52ad3c8600 Removed unused import. 2019-06-04 14:26:09 -04:00
RecursiveGreen
5317b45748 Forgot to add 'active' to fields. 2019-06-04 12:43:04 -04:00
RecursiveGreen
c428a5a3e9 Add Store Serializer and changed related_name. 2019-06-04 12:22:58 -04:00
RecursiveGreen
c305a32717 Updated API for new Stores and general cleanup. 2019-06-04 12:03:12 -04:00
RecursiveGreen
3afc5c7a3a Implemented Store into admin pages. 2019-06-03 15:03:23 -04:00
RecursiveGreen
ba1f6f05da Fixed total variables. 2019-06-03 15:02:43 -04:00
RecursiveGreen
eed7aee596 Temporarily disable custom ModelField for IRI. 2019-06-03 14:41:23 -04:00
RecursiveGreen
c48f848bba Comment cleanup with proper RFC numbers. 2019-06-03 14:37:28 -04:00
RecursiveGreen
4c7c2e0dc3 Add string representation for Store. 2019-06-03 11:29:18 -04:00
RecursiveGreen
d7360887cd Add docstring. 2019-06-03 11:01:32 -04:00
RecursiveGreen
9fa3a408b1 Initial changes to Song model using Stores. 2019-06-03 10:59:18 -04:00
RecursiveGreen
385dc74605 Move back to standard settings file. 2019-05-21 11:47:16 -04:00
Josh Washburne
beaaa0adbe Move a couple settings to the .env file. 2019-05-20 15:56:44 -04:00
Josh Washburne
5bb6be7a1d Request bounds check and standard HTTP responses. 2019-05-20 15:56:19 -04:00
Josh Washburne
3991a4c069 Made import old radio output clearer. 2019-01-16 10:16:33 -05:00
Josh Washburne
5f7541d6b5 Updated importing old radio data for clarity. 2019-01-16 10:15:45 -05:00
Josh Washburne
1a95c323d4 Use Argon2 password hashing. 2019-01-16 10:11:41 -05:00
Josh Washburne
b93b8751ec Implemented rating variance for song requests. 2019-01-15 15:29:14 -05:00
Josh Washburne
bf88b8cfdc Add check to song request to make sure song exists. 2018-09-24 13:28:36 -04:00
Josh Washburne
bb493548cb If a song request is queued, it's technically played. 2018-09-24 13:03:42 -04:00
Josh Washburne
7a59b5778c Refactoring duplicate code. 2018-09-24 13:02:52 -04:00
Josh Washburne
3d4dbaacb0 Filter API results based on authorization. 2018-04-26 12:18:08 -04:00
Josh Washburne
586391f19d Add custom pagination to return total number of pages. 2018-04-19 12:08:29 -04:00
Josh Washburne
9a9cf4c6ef API module doesn't need models. 2018-04-19 12:08:08 -04:00
Josh Washburne
930f300bdb Remove redundant line. 2018-04-10 08:55:36 -04:00
Josh Washburne
80b3eb2031 Refactor rating functionality and move favoriting to Song API. 2018-04-09 15:04:39 -04:00
Josh Washburne
139ac8d892 Add song ratings functionality to API. 2018-04-09 12:11:15 -04:00
Josh Washburne
c186d2e997 Add average rating for Song model. 2018-04-09 12:10:26 -04:00
Josh Washburne
30ea69ac93 New permission to exclude DJ. 2018-04-09 12:08:23 -04:00
Josh Washburne
d3f13e470f Added favorites API functionality. 2018-04-06 12:24:13 -04:00
Josh Washburne
89d2616c65 Rename function to make endpoint flow nicer. 2018-04-06 12:23:23 -04:00
Josh Washburne
6ce5b7ca65 Whitespace cleanup. 2018-04-06 12:21:50 -04:00
Josh Washburne
c32c3ed214 Logic error in checking for DJ user. 2018-04-06 12:19:51 -04:00
Josh Washburne
068e9e05a8 Add Song Request History functionality to the API. 2018-04-05 16:23:01 -04:00
Josh Washburne
a94b75a663 Rearrange Song Serializers to clean up code. 2018-04-05 16:22:15 -04:00
Josh Washburne
62a4b8db40 Adding Profile API functionality. 2018-04-05 10:59:30 -04:00
Josh Washburne
81c948783b Retrieve Album and Game information from Song serializer. 2018-04-05 10:58:27 -04:00
Josh Washburne
253ee3ddd2 SongCreateSerializer no longer needed. 2018-04-04 11:04:50 -04:00
Josh Washburne
6dd4fa72ec Add/Remove artists for song objects in the API. Code cleanup. 2018-04-03 16:24:54 -04:00
Josh Washburne
5bcf6c72d9 Don't include the DJ for create/modify permissions. 2018-04-03 16:23:48 -04:00
Josh Washburne
1d6a2662c3 Deal with optional trailing slashes. 2018-04-03 16:23:17 -04:00
Josh Washburne
d785fae875 Remove temporary debuging code. 2018-04-03 09:30:30 -04:00
Josh Washburne
aaad64dc39 Different serializers for different actions. 2018-04-02 16:54:53 -04:00
Josh Washburne
ddbcf5c96f Removed unnecessary import. 2018-04-02 16:51:48 -04:00
Josh Washburne
f24d1dacbc Allow no artists to be attached at song creation in API. 2018-04-02 16:51:24 -04:00
Josh Washburne
22f3aeb693 Add making song requests from the API. 2018-03-30 17:22:18 -04:00
Josh Washburne
de74f17fb0 is_requestable wasn't checking already queued songs in SongRequest. 2018-03-30 17:21:40 -04:00
Josh Washburne
b342fbb116 Make date output less verbose. 2018-03-30 13:07:58 -04:00
Josh Washburne
f6e0365e6b RadioProfile now has song request functionality. 2018-03-30 12:53:41 -04:00