Commit Graph

531 Commits

Author SHA1 Message Date
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
5ad0e52787 Turn on type checking 2023-01-05 22:01:27 +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
2807c5e00e Add pre-commit hook to update version 2023-01-05 21:10:17 +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
869e0e0fe0 Run all python Makefile commands via poetry 2023-01-05 17:12:57 +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
67f5090bf8 Rely on poetry for make test
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-05 12:19:56 +01:00
51d5306f91 Add more cache dirs to .gitignore 2023-01-05 12:19:43 +01:00
66a49ff911 Rely on poetry's virtual env 2023-01-05 12:19:32 +01:00
3e32261d4a Set up test environment for testing
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-05 12:05:16 +01:00
9b07758198 Install poetry before testing
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-05 12:02:01 +01:00
c57f969a00 Add tests for common.util.time
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-05 11:52:50 +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
bf61326c18 Make it possible to add a new platform 2023-01-04 17:24:54 +01:00
4c642d97cb Add homepage, link to it from the logo 2023-01-04 17:22:36 +01:00
d225856174 Set default version to "git-main" 2023-01-04 17:20:46 +01:00
5c50e059e6 Hide navigation bar items
If there are no games/purchases/sessions,
hide the related navbar items
2023-01-04 17:19:40 +01:00
84c92fe654 Fix version
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-03 22:33:03 +01:00
166dd716ed Remove non-working tag from CI file
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-03 22:06:43 +01:00
6102459637 Set VERSION_NUMBER in Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-03 22:04:46 +01:00
e4cd75d51f Use add.html for add_purchase 2023-01-03 22:04:36 +01:00
b1c8f58855 Add make shell 2023-01-03 22:04:22 +01:00
250f841e00 Try fixing CI
Some checks failed
continuous-integration/drone/push Build is failing
0.1.0
2023-01-03 21:44:08 +01:00
89adf479f6 Include version in the footer
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-03 21:35:09 +01:00
5f9ca5781f Properly set TIME_ZONE 2023-01-03 20:52:23 +01:00
1a2f0b974d Set timezone from TZ env variable
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-03 20:41:26 +01:00