71 Commits

Author SHA1 Message Date
a851b5329a Correctly display game that is used as filter 2023-01-16 17:24:34 +01:00
6fa049e1b1 Sort and clean up imports 2023-01-15 23:39:52 +01:00
6b7ed0dbb5 Order by timestamp_start from the newest
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 23:20:43 +01:00
dd50d6dd40 Allow filtering by platform and game
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #32
2023-01-15 23:14:28 +01:00
e8e6d5bcae Display playtime graph on session list
Some checks failed
continuous-integration/drone/push Build is failing
Fixes #29
2023-01-15 18:03:59 +01:00
c5b451a258 Fix error when showing session list with no sessions
Fixes #31
2023-01-15 18:02:48 +01:00
163211ab0b Hide button if no last session 2023-01-15 13:03:30 +01:00
64f5668dde Do not specify button width and height
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 22:11:12 +01:00
465d958d9b Start sessions of last purchase from list
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #19
2023-01-13 16:54:24 +01:00
2defdd4657 List number of sessions when filtering on session list
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-10 20:47:33 +01:00
078f87687f Make format_duration more robust
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-09 22:48:09 +01:00
49723831e9 Fix displaying finish button
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-09 22:05:12 +01:00
025ea0dd4e Fix migration
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-09 19:09:31 +01:00
97467c7a52 Also set duration_manual to zero
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-09 19:05:47 +01:00
7842d6f45d Remove debugging statement 2023-01-09 19:00:03 +01:00
b77089f7ad Show playtime total on session list
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #6
Fixes #25
2023-01-09 18:57:22 +01:00
24f4459318 Avoid raising exception on format_duration(None)
Fixes #25
2023-01-09 16:14:01 +01:00
e5a9b9aa50 Fix CSRF error (#22)
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #21

Reviewed-on: #22
2023-01-08 14:35:28 +00:00
0d20b543b0
Do not load the admin interface in prod
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 21:59:54 +01:00
2939b4a515
Change to gunicorn
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 21:09:47 +01:00
9dead362c1 Set STATIC_ROOT 2023-01-07 18:09:22 +01:00
15ed6504b1
Order by timestamp_start by default 2023-01-05 23:30:13 +01:00
fd9bf8c026
Improve manual duration mark 2023-01-05 23:10:42 +01:00
5172c38c16
Refactor the calculated_sum and manual_sum 2023-01-05 23:03:46 +01:00
9c56ed4ce8
Make logging work 2023-01-05 22:14:51 +01:00
d00bb1cd06
Properly unset CSRF_TRUSTED_ORIGINS 2023-01-05 22:09:35 +01:00
bedfbb7f31
Remove cruft 2023-01-05 22:09:21 +01:00
f2b08cd1cd
Changes after linting 2023-01-05 22:05:26 +01:00
f7ec07994f
Improve duration handling in Session model 2023-01-05 22:01:15 +01:00
03e89a92c7
Fix another duration formatting error 2023-01-05 22:00:51 +01:00
76bf03b482
Improve session list 2023-01-05 22:00:08 +01:00
e6b5804e37
Update infra 2023-01-05 21:56:57 +01:00
8efce77062
Improve newcomer experience
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-05 17:15:14 +01:00
89be0c031b
Fix errors with empty database 2023-01-05 17:14:34 +01:00
4e67735de8
Fix negative playtimes being considered positive 2023-01-05 17:13:45 +01:00
85f52fc735
Fix checking duration when database is empty
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-05 16:33:32 +01:00
34ce1e9b05
Set up tests, add tests for common.util.time, add %d
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-05 15:18:57 +01:00
fd7fc7c710
Annotate common.util.time.now
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-05 11:24:31 +01:00
32f10e183e
Display total hours played on homepage
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-05 11:24:07 +01:00
fdb9aa8e84
Add format_duration to common.util.time 2023-01-05 11:17:01 +01:00
4b45127335 Allow deleting sessions
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-04 20:28:07 +01:00
b8a15e43db Redirect after adding game/platform/purchase/session 2023-01-04 19:35:35 +01:00
a1309c3738 Fix display of duration_manual 2023-01-04 19:32:18 +01:00
12cc9025a0 Fix display of duration_calculated, display durations less than a minute 2023-01-04 19:26:01 +01:00
6fe960bc04 Make the "Finish now?" button on session list work 2023-01-04 19:19:49 +01:00
61d2e65d83
Remove cruft
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-04 17:46:06 +01:00
84dafe9223
Update generated CSS
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-04 17:29:19 +01:00
59cf620ff3
Set version in the footer to fixed, fix main container height 2023-01-04 17:28:51 +01:00
40810256aa
Improve session listing 2023-01-04 17:27:54 +01:00
b3842504af
Save calculated duration to database 2023-01-04 17:25:19 +01:00