Daan Sprenkels
2a2316fb40
Try to fix autoqueue adoption #2
2018-11-23 15:28:54 +01:00
Daan Sprenkels
daf842ec62
Try to fix autoqueue adoption
2018-11-23 15:24:39 +01:00
Daan Sprenkels
a692106c5b
Disallow duplicate queues
2018-11-23 15:17:29 +01:00
Daan Sprenkels
6b8fdbab2e
Do not allow staff modify song hash
2018-11-23 14:41:27 +01:00
Daan Sprenkels
78a66f7494
Show toolbar admin if is_staff
2018-11-23 14:19:52 +01:00
Daan Sprenkels
446b564a4b
Fix upload bug (astimezone)
2018-11-08 11:51:41 +01:00
Daan Sprenkels
5c495b17ef
Fix timezone and change upload limit to (2*)
...
I have had enough. People are complaining, I have upper the upload
limit to (2*) instead of (3*). It will be on their heads if the db
is fucked up in a couple of years.
2018-11-08 11:13:50 +01:00
Daan Sprenkels
b2fa50c5a4
Fix spelling of queueën
2018-11-02 18:49:05 +01:00
Daan Sprenkels
bac45e8b3d
Set a str() for QueueCommand
2018-10-28 17:28:13 +01:00
Daan Sprenkels
f1e6fef2d2
Add an index on User.name
...
This is needed because this field is queried when the songs list
is being searched.
2018-10-28 17:23:10 +01:00
Daan Sprenkels
3a4f9a336f
Do not include html in upload ratio error
2018-10-28 15:20:30 +01:00
Daan Sprenkels
e97a0c9711
Fix upload ratio TypeError
2018-10-28 15:07:55 +01:00
Daan Sprenkels
6771fd1347
Do not count irregular requests for upload ratio
2018-10-28 15:02:55 +01:00
Daan Sprenkels
383f12235a
Add a db_index on PlaylistSong.user
2018-10-28 14:26:58 +01:00
Daan Sprenkels
21522602bd
Add indices on search fields
2018-10-26 16:36:46 +02:00
Daan Sprenkels
6f4469d77a
privacy: Add <p>'s
2018-10-18 17:50:58 +02:00
Daan Sprenkels
cdc32f994c
Remove extranous full stop
2018-10-18 17:46:50 +02:00
Daan Sprenkels
fadf0da61e
Some formatting
2018-10-18 17:45:38 +02:00
Daan Sprenkels
8acd36a8b7
Fix a typo
2018-10-18 17:37:32 +02:00
Daan Sprenkels
bb13340028
Only show relevant stuff to internal clients
2018-10-18 17:35:47 +02:00
Daan Sprenkels
ae7f087cdc
Add privacy statement
2018-10-18 17:05:32 +02:00
Daan Sprenkels
16e3161b3f
Fix replaygain analysis bug
2018-10-12 19:19:11 +02:00
Daan Sprenkels
844a198dcd
Update queues admin interface
2018-10-10 18:31:42 +02:00
Daan Sprenkels
4dc6d9dd42
metrics: Do not fail when tables not migrated
2018-08-18 22:48:02 +02:00
Daan Sprenkels
d1d3246ea1
More checks preventing bad user deletes
2018-08-18 22:45:19 +02:00
Daan Sprenkels
a22473c445
stats: Compute new stats before purging cache
2018-08-18 22:38:06 +02:00
Daan Sprenkels
56e69b1cc5
Fix duplicate name bug on stats page
2018-08-18 22:32:46 +02:00
Daan Sprenkels
8488023710
Implement anonimising deletion of users
2018-08-18 21:39:04 +02:00
Daan Sprenkels
ee08b6dcc0
Cache end-response when searching songs
2018-08-16 23:49:08 +02:00
Daan Sprenkels
2a340ef22c
Add caching for song searching
2018-08-16 23:32:57 +02:00
Daan Sprenkels
641e5cb908
Refactor {,playlist_}song_to_dict
2018-08-16 22:09:58 +02:00
Daan Sprenkels
7b8d012924
stats: Increase cache time to 2 hours
2018-08-16 17:46:32 +02:00
Daan Sprenkels
60084cfe04
Cache the stats page
2018-08-16 17:20:50 +02:00
Daan Sprenkels
3f22056157
Upgrade to django 2.1
2018-08-16 15:09:55 +02:00
Daan Sprenkels
91b0ed7fcf
Allow blank email for user
2018-08-16 14:30:17 +02:00
Daan Sprenkels
33e4287b25
Show {date_joined,queue,is_staff} in UserAdmin
2018-08-16 14:06:06 +02:00
Daan Sprenkels
461630404e
Show queue field in useradmin
2018-08-16 13:59:59 +02:00
Daan Sprenkels
675a39131c
metrics: Do not include user with empty queue left
2018-04-09 20:09:13 +02:00
Daan Sprenkels
25a2912590
metrics: Do not include currently playing song
2018-04-09 19:47:08 +02:00
Daan Sprenkels
a51b3a934e
Do not ignore any users for stats
2018-04-09 19:43:09 +02:00
Daan Sprenkels
f06e782846
Merge branch 'marietje-zuid' of marietje-zuid.science.ru.nl:/srv/MarietjeDjango into marietje-zuid
2018-04-09 19:20:36 +02:00
Daan Sprenkels
644e654fef
metrics: Add queue length in seconds
2018-04-09 19:19:22 +02:00
Daan Sprenkels
dfd4752dea
Use southern style queue limit
2018-04-09 18:06:12 +02:00
Daan Sprenkels
7daacc50bb
queues: Add an index on PlaylistSong.state
2018-04-09 17:51:27 +02:00
Daan Sprenkels
126372a758
metrics: Add users in queue
2018-04-09 17:00:37 +02:00
Daan Sprenkels
17858c4aae
Add basic metrics export
2018-04-09 15:04:32 +02:00
Daan Sprenkels
a7fe50b61d
Tweak decoding in import scripts
2017-11-03 19:46:15 +01:00
Daan Sprenkels
1152317490
Add import scripts from SQL db
2017-11-03 18:18:46 +01:00
Daan Sprenkels
d780fbad34
Fix song display in admin w/o uploader
2017-11-03 18:18:46 +01:00
Daan Sprenkels
a437cdd632
Disable registration and add study field to user model
2017-11-03 18:18:33 +01:00
Daan Sprenkels
9110a1d9e9
Implement traditional queue length restrictions
2017-11-02 19:23:30 +01:00
Daan Sprenkels
6e12099f3a
Add queue/upload restriction
2017-11-02 18:45:33 +01:00
Daan Sprenkels
d02cf5df9b
Merge branch 'merge-upstream'
2017-10-05 18:07:37 +02:00
Daan Sprenkels
3abb39916d
Add LIMIT_ALWAYS option which limits the queue length always
2017-10-05 18:06:43 +02:00
Daan Sprenkels
8b6b0958ef
replaygain: Implement rg update API
2017-09-18 14:15:03 +02:00
Daan Sprenkels
9c03c9bdc5
replaygain: Prepare song model for rg retrieval
2017-09-18 14:14:38 +02:00