Commit Graph

48 Commits

Author SHA1 Message Date
Lukáš Kucharczyk c358b1aaa0 Adding new games is easier 2023-11-09 21:01:01 +01:00
Lukáš Kucharczyk 1bc3ca057b Refactor, remove cruft 2023-11-09 19:35:57 +01:00
Lukáš Kucharczyk c2c0886451 Add backlog decrease count 2023-11-09 19:15:49 +01:00
Lukáš Kucharczyk a879360ebd UX improvements
continuous-integration/drone/push Build is passing Details
* ignore English articles when sorting names
  * added a new sort_name field that gets automatically created
* automatically fill certain values in forms:
  * new game: name and sort name after typing
  * new edition: name and sort name when selecting game
  * new purchase: platform when selecting edition
2023-11-09 14:49:00 +01:00
Lukáš Kucharczyk c52cd822ae Use safe_division in more places 2023-11-09 10:06:14 +01:00
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 e0b09e051a simplify playtime range display 2023-11-06 12:05:39 +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 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 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 0e2113eefd Display durations in a consistent manner
Fixes #61
2023-10-13 16:32:12 +02:00
Lukáš Kucharczyk 4ce15c44fc Add edit buttons to game overview, notes 2023-10-09 20:55:31 +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 22935721ca Remove unused chart functionality
continuous-integration/drone/push Build is passing Details
2023-10-08 21:08:03 +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 7467e2732d Add game overview page
Fixes #8
2023-10-01 21:28:02 +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
Lukáš Kucharczyk 104ffc9d03 disable deleting sessions in code
continuous-integration/drone/push Build is passing Details
2023-09-17 17:17:22 +02:00
Lukáš Kucharczyk 0b7da3550c Change recent session view to current year
continuous-integration/drone/push Build is passing Details
2023-09-14 18:49:16 +02:00
Lukáš Kucharczyk fa4f1c4810 Improve forms, add helper buttons on add session form 2023-02-21 23:49:57 +01:00
Lukáš Kucharczyk b78c4ba9c5
Sync game name and edition name fields for QOL
continuous-integration/drone/push Build is passing Details
2023-02-20 18:21:48 +01:00
Lukáš Kucharczyk 65c175afb2
Allow editing filtered entities from session list 2023-02-20 17:16:19 +01:00
Lukáš Kucharczyk 9590988b6a Fix error when generating charts with less than 2 entries
continuous-integration/drone/push Build is passing Details
2023-02-19 14:55:06 +01:00
Lukáš Kucharczyk 938c82a395 Allow filtering by game, edition, purchase from the session list 2023-02-19 14:36:12 +01:00
Lukáš Kucharczyk 51d8e953c0 Allow editing editions 2023-02-18 21:47:25 +01:00
Lukáš Kucharczyk 2eec677f41 Allow editing purchases 2023-02-18 21:44:19 +01:00
Lukáš Kucharczyk f2eb14d3ef Fix session starting 2023-02-18 21:43:51 +01:00
Lukáš Kucharczyk 8a8b05b0bd Add support for device info
Closes #49
2023-02-18 21:12:18 +01:00
Lukáš Kucharczyk d4ab0596da Re-introduce index view
continuous-integration/drone/push Build is passing Details
2023-02-18 20:50:36 +01:00
Lukáš Kucharczyk 25bc74eff1 Add support for game editions (#28) 2023-02-18 20:49:46 +01:00
Lukáš Kucharczyk 8296ebcf31
Fix redirect to index
continuous-integration/drone/push Build is passing Details
2023-02-06 17:23:44 +01:00
Lukáš Kucharczyk 04a4f2e0be Order homepage sessions from newest
continuous-integration/drone/push Build is passing Details
2023-01-31 16:37:44 +01:00
Lukáš Kucharczyk 4892218c83 Show only last 30 days on homepage
Fixes #47
2023-01-30 22:16:28 +01:00
Lukáš Kucharczyk feee9d6dac Make it possible to edit sessions
continuous-integration/drone/push Build is passing Details
Fixes #46
2023-01-30 17:38:44 +01:00
Lukáš Kucharczyk 18e8f93261
Additional fixes
continuous-integration/drone/push Build is passing Details
2023-01-20 15:06:42 +01:00
Lukáš Kucharczyk 56e5dfaa03 Rename project, part 2 (#42)
continuous-integration/drone/push Build is failing Details
Reviewed-on: #42
2023-01-20 13:37:46 +00:00