Commit Graph

316 Commits

Author SHA1 Message Date
aff8ddf878 Small fixes in stats and userstats, changed Most_played_uploads to exclude your own plays 2018-12-15 01:42:52 +01:00
ce73e5d874 Fix unique requests stats ordering 2018-12-14 23:47:55 +01:00
ea308d5071 Merge branch 'marietje-zuid' of gitlab.science.ru.nl:oslomp/MarietjeDjango into marietje-zuid 2018-12-14 23:32:32 +01:00
29bd66c881 updated settings for cashing userstats 2018-12-14 23:28:50 +01:00
0140119828 Changed cache location for userstats.
Settings needs to be added:
    'userstats': {
        'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
        'LOCATION': '/var/tmp/MarietjeDjango_cache/default',
        'OPTIONS': { 'MAX_ENTRIES': 1500 },
    },
2018-12-14 23:23:46 +01:00
d99f12491c Merge branch 'master' into 'marietje-zuid'
untrack settings

See merge request oslomp/MarietjeDjango!2
2018-12-14 23:03:42 +01:00
dcfcd63db1 untrack settings 2018-12-14 22:56:26 +01:00
d1bf9a1b90 privacy: Update (song report note) 2018-12-14 17:47:25 +01:00
07d5cb82eb Fix request error feedback 2018-12-14 17:43:50 +01:00
ce89125ade Expand 'default' cache size 2018-12-14 17:37:29 +01:00
298c89fc4d Limit user stat list size 2018-12-14 17:29:50 +01:00
6153a09277 Merge branch 'marietje-zuid' into 'marietje-zuid'
Song reporting and user stats

See merge request dsprenkels/MarietjeDjango!5
2018-12-14 16:59:45 +01:00
f6fcc63450 Song reporting and user stats 2018-12-14 16:59:44 +01:00
0c1f9cb08d Merge branch 'oslomp/duration-stats' into 'marietje-zuid'
Redo "added Time Requested to stats"

See merge request dsprenkels/MarietjeDjango!2
2018-11-28 19:23:33 +01:00
88ff6ee997 Redo "added Time Requested to stats"
This reverts commit d827ec39d2.
2018-11-28 12:29:20 +01:00
d827ec39d2 Revert "added Time Requested to stats"
This reverts commit 38feb0d39e.
2018-11-28 12:28:19 +01:00
38feb0d39e added Time Requested to stats 2018-11-28 11:35:44 +01:00
c1889954d7 Forget cancelled songs instead of state=(*) 2018-11-23 16:32:18 +01:00
84bf2653c2 Add choices on Song.state 2018-11-23 16:26:21 +01:00
ecd5537eaf Align MM:SS to the right 2018-11-23 16:09:51 +01:00
08031fc225 Align MM:SS to the right 2018-11-23 15:58:42 +01:00
36a344ab07 Change time display to (H:)?MM:SS 2018-11-23 15:50:49 +01:00
c160ab12ce Merge branch 'marietje-zuid' into 'marietje-zuid'
queue/request: include length in request list

See merge request dsprenkels/MarietjeDjango!1
2018-11-23 15:31:41 +01:00
2a2316fb40 Try to fix autoqueue adoption #2 2018-11-23 15:28:54 +01:00
daf842ec62 Try to fix autoqueue adoption 2018-11-23 15:24:39 +01:00
a692106c5b Disallow duplicate queues 2018-11-23 15:17:29 +01:00
66ca91f128 queue/request: include length in request list 2018-11-23 14:45:36 +01:00
6b8fdbab2e Do not allow staff modify song hash 2018-11-23 14:41:27 +01:00
78a66f7494 Show toolbar admin if is_staff 2018-11-23 14:19:52 +01:00
446b564a4b Fix upload bug (astimezone) 2018-11-08 11:51:41 +01:00
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
b2fa50c5a4 Fix spelling of queueën 2018-11-02 18:49:05 +01:00
bac45e8b3d Set a str() for QueueCommand 2018-10-28 17:28:13 +01:00
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
3a4f9a336f Do not include html in upload ratio error 2018-10-28 15:20:30 +01:00
e97a0c9711 Fix upload ratio TypeError 2018-10-28 15:07:55 +01:00
6771fd1347 Do not count irregular requests for upload ratio 2018-10-28 15:02:55 +01:00
383f12235a Add a db_index on PlaylistSong.user 2018-10-28 14:26:58 +01:00
21522602bd Add indices on search fields 2018-10-26 16:36:46 +02:00
6f4469d77a privacy: Add <p>'s 2018-10-18 17:50:58 +02:00
cdc32f994c Remove extranous full stop 2018-10-18 17:46:50 +02:00
fadf0da61e Some formatting 2018-10-18 17:45:38 +02:00
8acd36a8b7 Fix a typo 2018-10-18 17:37:32 +02:00
bb13340028 Only show relevant stuff to internal clients 2018-10-18 17:35:47 +02:00
ae7f087cdc Add privacy statement 2018-10-18 17:05:32 +02:00
16e3161b3f Fix replaygain analysis bug 2018-10-12 19:19:11 +02:00
844a198dcd Update queues admin interface 2018-10-10 18:31:42 +02:00
ea98e23cb1 Fix upload percentage on stats page
Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>
2018-09-09 10:15:49 +02:00
4dc6d9dd42 metrics: Do not fail when tables not migrated 2018-08-18 22:48:02 +02:00
d1d3246ea1 More checks preventing bad user deletes 2018-08-18 22:45:19 +02:00