Commit graph

131 commits

Author SHA1 Message Date
Josh W
11d6b102af Logic error with admin requests. 2020-02-15 13:34:12 -05:00
Josh W
98fa88bd20 Rename variable for less confusion. 2020-02-15 13:33:48 -05:00
Josh W
5f3d507612 Staff requests shouldn't affect when to play next. 2020-02-14 15:34:04 -05:00
Josh W
7b3ed3d127 Expanded song requests to artists, game, & album. 2020-02-13 11:33:10 -05:00
Josh W
d9ffd9a3c0 Added related name for Song_Artists. 2020-02-13 11:31:15 -05:00
Josh W
e2ae6378bd Staff should not be bound by request limits. 2020-02-13 11:30:39 -05:00
Josh W
d4022bdb31 Add Game column to SongRequest admin page. 2020-02-08 00:07:58 -05:00
Josh W
568b3f2f66 Provide an annotate string directly if requested. 2020-02-08 00:07:04 -05:00
Josh W
e7d30d7f3b Decouple ALLOWED_HOSTS. 2020-01-21 18:07:39 -05:00
Josh W
225a2c5b26 Add inline admin action for requesting songs. 2020-01-21 14:51:27 -05:00
Josh W
45d69410b3 Revert accidental gettext_lazy change. 2020-01-21 13:20:07 -05:00
Josh W
2f955c8241 DRF: changed base_name to basename. 2020-01-21 12:21:07 -05:00
Josh W
b393c7da3e Removing django-authtools. 2020-01-21 12:20:40 -05:00
Josh W
81700335cf Allow new song requests from admin page. 2019-11-28 22:35:51 -05:00
Josh W
269e2e30a8 Faulty logic with queued queryset. 2019-11-23 23:56:16 -05:00
Josh W
427c06fb35 Redefine new_requests. 2019-11-23 22:31:11 -05:00
Josh W
8badc08818 Next requests are now based on queued, not played. 2019-11-23 19:42:29 -05:00
RecursiveGreen
813531be26 Add replaygain support. 2019-07-03 11:57:46 -04:00
RecursiveGreen
b30003847d Better request display in the admin interface. 2019-07-03 11:57:25 -04:00
RecursiveGreen
0907ea72bd Support uploading to Amazon S3 (and equivalent). 2019-06-12 13:51:36 -04:00
RecursiveGreen
c7811ddd11 Code shuffle. 2019-06-10 07:37:22 -04:00
RecursiveGreen
d866ce7cda Re-enable the custom Radio IRI model form/field. 2019-06-06 15:45:56 -04:00
RecursiveGreen
f3ec6a1ae3 Create a custom validator for the radio IRI. 2019-06-06 15:45:25 -04:00
RecursiveGreen
6f76b7c611 ugettext is deprecated--use gettext instead. 2019-06-06 15:44:56 -04:00
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