Commit graph

57 commits

Author SHA1 Message Date
Josh W
17f79d2a4c Use prefetch/select related to optimize. Cleanup. 2020-03-10 14:53:13 -04:00
Josh W
4e23507363 Refactor for inline reqs. Added inline favorites. 2020-02-19 15:30:47 -05:00
Josh W
ccddf6c8bf Added dynamic settings and removed my own attempt. 2020-02-15 21:12:30 -05:00
Josh W
11d6b102af Logic error with admin requests. 2020-02-15 13:34:12 -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
225a2c5b26 Add inline admin action for requesting songs. 2020-01-21 14:51:27 -05:00
RecursiveGreen
813531be26 Add replaygain support. 2019-07-03 11:57:46 -04:00
RecursiveGreen
0907ea72bd Support uploading to Amazon S3 (and equivalent). 2019-06-12 13:51:36 -04:00
RecursiveGreen
d866ce7cda Re-enable the custom Radio IRI model form/field. 2019-06-06 15:45:56 -04:00
RecursiveGreen
6f76b7c611 ugettext is deprecated--use gettext instead. 2019-06-06 15:44:56 -04:00
RecursiveGreen
c428a5a3e9 Add Store Serializer and changed related_name. 2019-06-04 12:22:58 -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
4c7c2e0dc3 Add string representation for Store. 2019-06-03 11:29:18 -04:00
RecursiveGreen
9fa3a408b1 Initial changes to Song model using Stores. 2019-06-03 10:59:18 -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
b93b8751ec Implemented rating variance for song requests. 2019-01-15 15:29:14 -05: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
930f300bdb Remove redundant line. 2018-04-10 08:55:36 -04:00
Josh Washburne
c186d2e997 Add average rating for Song model. 2018-04-09 12:10:26 -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
de74f17fb0 is_requestable wasn't checking already queued songs in SongRequest. 2018-03-30 17:21:40 -04:00
Josh Washburne
733163f7ba Requestability forgot to check that it was enabled and published. 2018-03-30 12:46:21 -04:00
Josh Washburne
12bce62773 Fix check for next request date in case last_played is NULL. 2018-03-30 12:35:02 -04:00
Josh Washburne
09ecf2a0ca Implement song/jingle boolean checks. 2018-03-30 11:06:45 -04:00
RecursiveGreen
339a74a453 Fix disable signal by checking for empty 'update_fields'. 2018-03-29 22:58:59 -04:00
Josh Washburne
311f744d62 Enabling/Disabling will now affect other objects. 2018-03-29 16:22:15 -04:00
Josh Washburne
3b55456a78 Add RadioManager to remaining Radio models. 2018-03-29 12:14:24 -04:00
Josh Washburne
0fb7f148bb Add functions to grab random songs/jingles. 2018-03-28 14:43:03 -04:00
Josh Washburne
4138015054 Add requestable functionality. Code cleanup. 2018-03-28 12:42:28 -04:00
Josh Washburne
def413a74f Code cleanup. 2018-03-28 12:41:11 -04:00
Josh Washburne
850b3a5211 Functions in utils.py relocated. File no longer necessary. 2018-03-28 12:40:17 -04:00
Josh Washburne
f9d24de34c Code cleanup. 2018-03-27 15:58:26 -04:00
Josh Washburne
4a688bade0 Function renaming and move into Song manager. 2018-03-27 12:05:44 -04:00
Josh Washburne
17a85b2197 Add calculating waittimes for playing/requesting songs. 2018-03-26 15:35:31 -04:00
Josh Washburne
45b98fe1d7 Add naming/sorting changes. 2018-01-18 12:44:32 -05:00
RecursiveGreen
00dd697aca Removed commented code (doh!) 2018-01-14 21:29:26 -05:00
RecursiveGreen
739b2bddcb Implemented Game/Album changing to Song in admin. 2018-01-14 21:23:26 -05:00
RecursiveGreen
476ddb7a5a Moved Song/Artist changes to generic function. 2018-01-14 18:38:14 -05:00
RecursiveGreen
a7ccb61e07 More DRY code cleanup. 2018-01-14 15:21:04 -05:00
RecursiveGreen
25485b54b9 Clean up Songs/Artists admin actions. 2018-01-13 00:39:13 -05:00
Josh Washburne
65fb7d9f15 Add admin actions for adding/removing multiple artists to songs. 2018-01-12 16:35:25 -05:00
Josh Washburne
d8379fe198 Default ordering models and "full_title" for Song. 2018-01-12 16:34:43 -05:00
Josh Washburne
53437d6d96 I lied--now I added the docstring. 2018-01-08 09:39:55 -05:00
Josh Washburne
770bf23f15 Added docstring and code cleanup. 2018-01-08 09:39:28 -05:00
Josh Washburne
6ca8b848d2 Implement natural sorting. (Yay!) 2018-01-05 15:18:12 -05:00