Commit Graph

244 Commits

Author SHA1 Message Date
Lukáš Kucharczyk cdc6ca1324 Fix potential division by zero
continuous-integration/drone/push Build is passing Details
2023-11-09 09:18:49 +01:00
Lukáš Kucharczyk e7ed349356 Add more stats
continuous-integration/drone/push Build is passing Details
* Finished (count)
* Unfinished (count)
* Refunded (count)
2023-11-08 18:13:48 +01:00
Lukáš Kucharczyk 5052ca7dbf Add more stats
continuous-integration/drone/push Build is passing Details
* All finished games
* All finished 2023 games
* All finished games that were purchased this year
* Total sessions
* Days played
2023-11-08 16:24:22 +01:00
Lukáš Kucharczyk f408bfd927 stats: change overall stats table layout 2023-11-08 15:48:06 +01:00
Lukáš Kucharczyk 666dee33ba Model changes
continuous-integration/drone/push Build is passing Details
* More fields are now optional. This is to make it easier to add new items in bulk.
  * Game: Wikidata ID
  * Edition: Platform, Year
  * Purchase: Platform
  * Platform: Group
  * Session: Device
* New fields:
  * Game: Year Released
    * To record original year of release
    * Upon migration, this will be set to a year of any of the game's edition that has it set
  * Purchase: Date Finished
* Editions are now unique combination of name and platform
2023-11-06 19:48:12 +01:00
Lukáš Kucharczyk e0b09e051a simplify playtime range display 2023-11-06 12:05:39 +01:00
Lukáš Kucharczyk 4552cf7616 Version 1.3.0
continuous-integration/drone/push Build is passing Details
2023-11-05 15:10:56 +01:00
Lukáš Kucharczyk a614b51d29 Make some pages redirect back instead to session list 2023-11-05 15:09:51 +01:00
Lukáš Kucharczyk e67aa3fda1 Add more stats
continuous-integration/drone/push Build is passing Details
2023-11-02 20:12:32 +01:00
Lukáš Kucharczyk 8423fd02b4 Extend stats range to 2018
continuous-integration/drone/push Build is passing Details
2023-11-02 15:32:57 +01:00
Lukáš Kucharczyk 2bd07e5f2d Remove cruft
continuous-integration/drone/push Build is passing Details
2023-11-02 15:14:57 +01:00
Lukáš Kucharczyk 058b83522c Group by game instead of purchase 2023-11-02 15:14:50 +01:00
Lukáš Kucharczyk f13ed8a078 Reorder imports in views.py
continuous-integration/drone/push Build is passing Details
2023-11-02 09:53:28 +01:00
Lukáš Kucharczyk 02d5adcb3c Remove hardcoded year 2023-11-02 09:52:59 +01:00
Lukáš Kucharczyk d6fb16bb74 Make navigation more compact 2023-11-02 09:52:42 +01:00
Lukáš Kucharczyk 71b90b8202 Add stats link, year selector 2023-11-02 09:20:09 +01:00
Lukáš Kucharczyk 3ee36932c3 Limit stats of single year correctly 2023-11-02 09:17:08 +01:00
Lukáš Kucharczyk 391fcc79a8 Version 1.2.0
continuous-integration/drone/push Build is passing Details
2023-11-01 20:35:58 +01:00
Lukáš Kucharczyk 57d4fd7212 Add yearly stats page
Fixes #15
2023-11-01 20:35:52 +01:00
Lukáš Kucharczyk a5b2854bf6 Add a button to start session from game overview
continuous-integration/drone/push Build is passing Details
Fix #62
2023-10-13 19:22:43 +02:00
Lukáš Kucharczyk 518c0ecd56 Add more time tests for fractional numbers
continuous-integration/drone/push Build is passing Details
2023-10-13 17:01:33 +02:00
Lukáš Kucharczyk a6cd7a3430 Do not format as float if no precision specified
continuous-integration/drone/push Build is passing Details
2023-10-13 16:58:12 +02:00
Lukáš Kucharczyk dba8414fd9 Version 1.1.2
continuous-integration/drone/push Build is failing Details
2023-10-13 16:33:55 +02:00
Lukáš Kucharczyk 0e2113eefd Display durations in a consistent manner
Fixes #61
2023-10-13 16:32:12 +02:00
Lukáš Kucharczyk c4b0347f3b Version 1.1.1
continuous-integration/drone/push Build is passing Details
2023-10-09 20:56:23 +02:00
Lukáš Kucharczyk c6ed21167c Remove debugging cruft from container 2023-10-09 20:56:13 +02:00
Lukáš Kucharczyk 4ce15c44fc Add edit buttons to game overview, notes 2023-10-09 20:55:31 +02:00
Lukáš Kucharczyk c814b4c2cb Version 1.1.0
continuous-integration/drone/push Build is passing Details
2023-10-09 00:04:46 +02:00
Lukáš Kucharczyk 11b9c602de Improve game overview
- add counts for each section
- add average hours per session
2023-10-09 00:00:45 +02:00
Lukáš Kucharczyk 9a332593f4 Fix playtime range not working with manual session
continuous-integration/drone/push Build is passing Details
Fixes #55
2023-10-08 21:13:32 +02:00
Lukáš Kucharczyk 22935721ca Remove unused chart functionality
continuous-integration/drone/push Build is passing Details
2023-10-08 21:08:03 +02:00
Lukáš Kucharczyk a2ecdcf44a ci: automatically redeploy container
continuous-integration/drone/push Build was killed Details
2023-10-04 20:21:00 +02:00
Lukáš Kucharczyk 3c958c4a13 Organize changelog better
continuous-integration/drone/push Build is passing Details
2023-10-04 18:14:21 +02:00
Lukáš Kucharczyk 3db1724e22 Fix session being wrongly considered in progress
continuous-integration/drone/push Build is passing Details
Fixes #58
2023-10-04 18:12:13 +02:00
Lukáš Kucharczyk d2a9630b04 Fix date range on game overview
continuous-integration/drone/push Build is passing Details
2023-10-01 21:51:32 +02:00
Lukáš Kucharczyk e3ee832d3f Adjust game edit URL
continuous-integration/drone/push Build is passing Details
2023-10-01 21:28:20 +02:00
Lukáš Kucharczyk 7467e2732d Add game overview page
Fixes #8
2023-10-01 21:28:02 +02:00
Lukáš Kucharczyk 787ee8640f Try to shutdown container gracefully and faster
continuous-integration/drone/push Build is passing Details
2023-10-01 19:57:15 +02:00
Lukáš Kucharczyk ab41222f3c Switch fonts to WOFF2 2023-10-01 19:53:07 +02:00
Lukáš Kucharczyk 29bf3b1946 Further improve session list
continuous-integration/drone/push Build is passing Details
2023-09-30 19:44:35 +02:00
Lukáš Kucharczyk 3f7ccea2e2 fix tailwind config to only scan relevant files 2023-09-30 18:13:50 +02:00
Lukáš Kucharczyk b5ffb3586b Update base.css 2023-09-30 16:25:19 +02:00
Lukáš Kucharczyk 26d57a238e Update .vscode 2023-09-30 16:25:05 +02:00
Lukáš Kucharczyk 2d5ad3182c Update CSS 2023-09-30 16:24:54 +02:00
Lukáš Kucharczyk 49cc3ea0cc Improve session list
continuous-integration/drone/push Build is passing Details
Fixes #53
2023-09-30 15:55:38 +02:00
Lukáš Kucharczyk 440e1cfb71 Focus important fields on forms
continuous-integration/drone/push Build is passing Details
2023-09-30 12:40:02 +02:00
Lukáš Kucharczyk 1cbd8c5c55 Update generated CSS
continuous-integration/drone/push Build is passing Details
2023-09-20 19:06:04 +02:00
Lukáš Kucharczyk bc81a0ee8e Add hacky way to not reload page when starting/ending session
continuous-integration/drone/push Build is passing Details
Partially fixes #52
2023-09-20 18:54:54 +02:00
Lukáš Kucharczyk c5653977ff Add time copy button, improve session editing
continuous-integration/drone/push Build is passing Details
2023-09-18 20:21:05 +02:00
Lukáš Kucharczyk f151730ab6 Fix bug when filtering only manual sessions (#51)
continuous-integration/drone/push Build is passing Details
2023-09-18 19:37:54 +02:00