Commit Graph

65 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 2553d6f9e6 Definitively disable pre-commit hook
continuous-integration/drone/push Build is passing Details
2023-01-16 19:49:41 +01:00
Lukáš Kucharczyk 8cf6270d8f Bump version 2023-01-16 19:47:32 +01:00
Lukáš Kucharczyk 0b1089b0f4 Disable pre-commit hook 2023-01-16 19:46:15 +01:00
Lukáš Kucharczyk dd50d6dd40 Allow filtering by platform and game
continuous-integration/drone/push Build is passing Details
Fixes #32
2023-01-15 23:14:28 +01:00
Lukáš Kucharczyk 162f4f3dbf Fix Dockerfile
continuous-integration/drone/push Build is passing Details
2023-01-15 19:16:34 +01:00
Lukáš Kucharczyk c5b451a258 Fix error when showing session list with no sessions
Fixes #31
2023-01-15 18:02:48 +01:00
Lukáš Kucharczyk 163211ab0b Hide button if no last session 2023-01-15 13:03:30 +01:00
Lukáš Kucharczyk 64f5668dde Do not specify button width and height
continuous-integration/drone/push Build is passing Details
2023-01-13 22:11:12 +01:00
Lukáš Kucharczyk 465d958d9b Start sessions of last purchase from list
continuous-integration/drone/push Build is passing Details
Fixes #19
2023-01-13 16:54:24 +01:00
Lukáš Kucharczyk d8ece979a8 Revert make dev to plain runserver
The runserver_plus has problems with cache not being invalidated
2023-01-13 16:52:05 +01:00
Lukáš Kucharczyk 078f87687f Make format_duration more robust
continuous-integration/drone/push Build is passing Details
2023-01-09 22:48:09 +01:00
Lukáš Kucharczyk 49723831e9 Fix displaying finish button
continuous-integration/drone/push Build is passing Details
2023-01-09 22:05:12 +01:00
Lukáš Kucharczyk 025ea0dd4e Fix migration
continuous-integration/drone/push Build is passing Details
2023-01-09 19:09:31 +01:00
Lukáš Kucharczyk 97467c7a52 Also set duration_manual to zero
continuous-integration/drone/push Build is passing Details
2023-01-09 19:05:47 +01:00
Lukáš Kucharczyk 7842d6f45d Remove debugging statement 2023-01-09 19:00:03 +01:00
Lukáš Kucharczyk b77089f7ad Show playtime total on session list
continuous-integration/drone/push Build is passing Details
Fixes #6
Fixes #25
2023-01-09 18:57:22 +01:00
Lukáš Kucharczyk 24f4459318 Avoid raising exception on format_duration(None)
Fixes #25
2023-01-09 16:14:01 +01:00
Lukáš Kucharczyk 751182df52 Emit gunicorn logs to stdin and stderr 2023-01-08 15:48:53 +01:00
Lukáš Kucharczyk 33e136a810 Add .dockerignore 2023-01-08 15:48:31 +01:00
Lukáš Kucharczyk 362732c22a Run make date via poetry 2023-01-08 15:48:12 +01:00
Lukáš Kucharczyk 8e1c670ffd Fix collectstaticfiles causing error
continuous-integration/drone/push Build is passing Details
Fixes #23
2023-01-08 15:46:09 +01:00
Lukáš Kucharczyk e5a9b9aa50 Fix CSRF error (#22)
continuous-integration/drone/push Build is passing Details
Fixes #21

Reviewed-on: #22
2023-01-08 14:35:28 +00:00
Lukáš Kucharczyk c9b2d5bd8d
Update changelog
continuous-integration/drone/push Build is passing Details
2023-01-07 22:08:57 +01:00
Lukáš Kucharczyk 0d20b543b0
Do not load the admin interface in prod
continuous-integration/drone/push Build is passing Details
2023-01-07 21:59:54 +01:00
Lukáš Kucharczyk f7b69f7704
Add more utilities to Makefile 2023-01-07 21:59:34 +01:00
Lukáš Kucharczyk 1ccfdc321a
Start caddy in the background 2023-01-07 21:59:17 +01:00
Lukáš Kucharczyk 25a58c2732
Be more explicit in docker-compose.yml 2023-01-07 21:59:09 +01:00
Lukáš Kucharczyk 270d9f7296
Ignore static folder when building container 2023-01-07 21:58:22 +01:00
Lukáš Kucharczyk 2939b4a515
Change to gunicorn
continuous-integration/drone/push Build is passing Details
2023-01-07 21:09:47 +01:00
Lukáš Kucharczyk d029fda896 Collect static files in entrypoint.sh
continuous-integration/drone/push Build is passing Details
2023-01-07 18:10:36 +01:00
Lukáš Kucharczyk 9dead362c1 Set STATIC_ROOT 2023-01-07 18:09:22 +01:00
Lukáš Kucharczyk d81dba727b Add docker-compose.yml 2023-01-07 18:09:10 +01:00
Lukáš Kucharczyk f550978e4a
Release version 0.1.1
continuous-integration/drone/push Build is passing Details
2023-01-05 23:31:06 +01:00
Lukáš Kucharczyk db5de81c09
Add make date 2023-01-05 23:30:43 +01:00
Lukáš Kucharczyk 15ed6504b1
Order by timestamp_start by default 2023-01-05 23:30:13 +01:00
Lukáš Kucharczyk fd9bf8c026
Improve manual duration mark 2023-01-05 23:10:42 +01:00
Lukáš Kucharczyk 5172c38c16
Refactor the calculated_sum and manual_sum 2023-01-05 23:03:46 +01:00
Lukáš Kucharczyk 9c56ed4ce8
Make logging work 2023-01-05 22:14:51 +01:00
Lukáš Kucharczyk d00bb1cd06
Properly unset CSRF_TRUSTED_ORIGINS 2023-01-05 22:09:35 +01:00
Lukáš Kucharczyk bedfbb7f31
Remove cruft 2023-01-05 22:09:21 +01:00
Lukáš Kucharczyk f2b08cd1cd
Changes after linting 2023-01-05 22:05:26 +01:00
Lukáš Kucharczyk 5ad0e52787
Turn on type checking 2023-01-05 22:01:27 +01:00
Lukáš Kucharczyk f7ec07994f
Improve duration handling in Session model 2023-01-05 22:01:15 +01:00
Lukáš Kucharczyk 03e89a92c7
Fix another duration formatting error 2023-01-05 22:00:51 +01:00
Lukáš Kucharczyk 76bf03b482
Improve session list 2023-01-05 22:00:08 +01:00
Lukáš Kucharczyk e6b5804e37
Update infra 2023-01-05 21:56:57 +01:00
Lukáš Kucharczyk 2807c5e00e
Add pre-commit hook to update version 2023-01-05 21:10:17 +01:00
Lukáš Kucharczyk 4b45127335 Allow deleting sessions
continuous-integration/drone/push Build is passing Details
2023-01-04 20:28:07 +01:00
Lukáš Kucharczyk b8a15e43db Redirect after adding game/platform/purchase/session 2023-01-04 19:35:35 +01:00
Lukáš Kucharczyk a1309c3738 Fix display of duration_manual 2023-01-04 19:32:18 +01:00