Daan Sprenkels
9c40eb228e
ci/deploy: Properly escape $'s
2019-03-29 15:42:01 +01:00
Daan Sprenkels
8bc3a288ee
ci/deploy: Pull code instead of push
2019-03-29 15:29:59 +01:00
Daan Sprenkels
576ed475f1
ci/deploy: Install git and no pylint deps
2019-03-29 15:11:50 +01:00
Daan Sprenkels
639d57d221
ci: Fix .gitlab-ci.yml syntax
2019-03-29 15:06:18 +01:00
Daan Sprenkels
2dcd23a28c
ci: Add deploy stage
2019-03-29 15:01:26 +01:00
Daan Sprenkels
00b2609f17
interface: Align button nav with other content
2019-03-29 14:29:24 +01:00
Daan Sprenkels
810e071eb4
Revert "Revert "Merge branch 'marietje-zuid-interface' into 'marietje-zuid'""
...
This reverts commit 102874cc86 .
2019-03-29 14:25:55 +01:00
Daan Sprenkels
568f7c6a50
Add missing migration
2019-03-20 11:31:33 +01:00
Daan Sprenkels
bc3488557c
Merge branch 'marietje-zuid' of marietje-zuid.science.ru.nl:/srv/MarietjeDjango into marietje-zuid
2019-03-20 11:26:04 +01:00
Daan Sprenkels
fc60135d6c
Merge branch 'dsprenkels/remove_executed' of ssh://gitlab.science.ru.nl/dsprenkels/MarietjeDjango into dsprenkels/remove_executed
2019-03-20 11:20:09 +01:00
Daan Sprenkels
0f840c2470
Merge branch 'marietje-zuid' into dsprenkels/remove_executed
2019-03-20 11:19:50 +01:00
Daan Sprenkels
9b559cb3f2
Add production requirements.txt in a separate file
2019-03-20 11:18:28 +01:00
Daan Sprenkels
bc9108a237
Revert "Update requirements.txt"
...
This reverts commit 6ae7da5797 .
2019-03-20 11:17:40 +01:00
Daan Sprenkels
58b96cb159
Revert "Update requirements.txt"
...
This reverts commit 6ae7da5797 .
However, it adds a new file for requirements on production.
2019-03-20 11:12:59 +01:00
Daan Sprenkels
0b1dfaf020
Remove executed field from QueueCommand
2019-03-20 11:09:06 +01:00
Daan Sprenkels
6fed97f62c
Remove executed field from QueueCommand
2019-03-20 10:56:44 +01:00
Daan Sprenkels
6ae7da5797
Update requirements.txt
2019-03-20 10:32:55 +01:00
Daan Sprenkels
4ac3d6e425
reports: Make songs readonly for performance
2019-01-30 13:43:05 +01:00
Daan Sprenkels
3c080ced24
Fix bug introduced by 19c1c70
2019-01-30 13:38:35 +01:00
Daan Sprenkels
19c1c70cd3
fix all pylint complaints
2019-01-23 19:44:38 +01:00
Daan Sprenkels
2c41e85753
ci: Make pylint modules more explicit
2019-01-20 22:36:19 +01:00
Daan Sprenkels
14bfa8a9a0
ci: Install django
2019-01-20 22:31:34 +01:00
Daan Sprenkels
a40a5c7593
Merge branch 'marietje-zuid' of ssh://gitlab.science.ru.nl/dsprenkels/MarietjeDjango into marietje-zuid
2019-01-20 22:28:45 +01:00
Daan Sprenkels
f10a4759da
Move issues/MRs urls to dsprenkels
...
Fixes #1
2019-01-20 22:27:03 +01:00
Daan Sprenkels
42a631641e
Add pylint stub
2019-01-17 11:03:00 +01:00
Daan Sprenkels
969abd29cb
Merge branch 'oslomp/MarietjeDjango-queue' into marietje-zuid
2019-01-16 19:10:55 +01:00
Daan Sprenkels
d1bf9a1b90
privacy: Update (song report note)
2018-12-14 17:47:25 +01:00
Daan Sprenkels
07d5cb82eb
Fix request error feedback
2018-12-14 17:43:50 +01:00
Daan Sprenkels
ce89125ade
Expand 'default' cache size
2018-12-14 17:37:29 +01:00
Daan Sprenkels
298c89fc4d
Limit user stat list size
2018-12-14 17:29:50 +01:00
Daan Sprenkels
88ff6ee997
Redo "added Time Requested to stats"
...
This reverts commit d827ec39d2 .
2018-11-28 12:29:20 +01:00
Daan Sprenkels
d827ec39d2
Revert "added Time Requested to stats"
...
This reverts commit 38feb0d39e .
2018-11-28 12:28:19 +01:00
Daan Sprenkels
c1889954d7
Forget cancelled songs instead of state=(*)
2018-11-23 16:32:18 +01:00
Daan Sprenkels
84bf2653c2
Add choices on Song.state
2018-11-23 16:26:21 +01:00
Daan Sprenkels
ecd5537eaf
Align MM:SS to the right
2018-11-23 16:09:51 +01:00
Daan Sprenkels
08031fc225
Align MM:SS to the right
2018-11-23 15:58:42 +01:00
Daan Sprenkels
36a344ab07
Change time display to (H:)?MM:SS
2018-11-23 15:50:49 +01:00
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