Commit Graph

304 Commits

Author SHA1 Message Date
Lukáš Kucharczyk b81989a352 Model changes
* 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-18 09:22:25 +01:00
Lukáš Kucharczyk 5e6a5a4024 simplify playtime range display 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 288bf65afb Version 1.3.0 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 1d0bafd72d Make some pages redirect back instead to session list 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk db9ac2edeb Add more stats 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 2076fe20d1 Extend stats range to 2018 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk ff30962ce9 Remove cruft 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk d06e284426 Group by game instead of purchase 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 1f36a32b3d Reorder imports in views.py 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk e87f985cb3 Remove hardcoded year 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 8ca62f32e3 Make navigation more compact 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 5bc04c463a Add stats link, year selector 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 0130ab0059 Limit stats of single year correctly 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk df5e605582 Version 1.2.0 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk ade8a47c86 Add yearly stats page
Fixes #15
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 4dd6f13160 Add a button to start session from game overview
Fix #62
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 50f0571144 Add more time tests for fractional numbers 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 3fae309ff2 Do not format as float if no precision specified 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk e0a4aae6f6 Version 1.1.2 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk e1848caee9 Display durations in a consistent manner
Fixes #61
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 4767c17004 Version 1.1.1 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 2cbe10a983 Remove debugging cruft from container 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 693e1b1cd3 Add edit buttons to game overview, notes 2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk 8eeeb9d3c9 Version 1.1.0 2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk caa2ae06e1 Improve game overview
- add counts for each section
- add average hours per session
2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk b9869cf232 Fix playtime range not working with manual session
Fixes #55
2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk 36f80b7f01 Remove unused chart functionality 2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk 9df959d989 ci: automatically redeploy container 2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk db7b60bdf2 Organize changelog better 2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk 470426004e Fix session being wrongly considered in progress
Fixes #58
2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk 3e04ef2b83 Fix date range on game overview 2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk 760f12e6b1 Adjust game edit URL 2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk ac1f86cac3 Add game overview page
Fixes #8
2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk 775ec6424b Try to shutdown container gracefully and faster 2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk 6000384c72 Switch fonts to WOFF2 2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk 8786a4518e Further improve session list 2023-11-18 09:21:34 +01:00
Lukáš Kucharczyk a2ababaebc Update base.css 2023-11-18 09:21:24 +01:00
Lukáš Kucharczyk aae09a913c Update .vscode 2023-11-18 09:21:24 +01:00
Lukáš Kucharczyk c07f966cf1 Update CSS 2023-11-18 09:21:24 +01:00
Lukáš Kucharczyk d653f83a33 Improve session list
Fixes #53
2023-11-18 09:21:24 +01:00
Lukáš Kucharczyk 552d4bee9e Focus important fields on forms 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 8293737058 Update generated CSS 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 5234e19705 Add hacky way to not reload page when starting/ending session
Partially fixes #52
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 077d8d1e3c Add time copy button, improve session editing 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 8ba5344a4d Fix bug when filtering only manual sessions (#51) 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 9d2a0ace33 add robots.txt 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 9b1f4e95e0 disable deleting sessions in code 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk d1f843a267 allow admin in prod 2/2 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 65a110b37c allow admin in prod 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk bbb5d0bfd5 disable deleting sessions 2023-11-18 09:20:54 +01:00