Commit graph

26 commits

Author SHA1 Message Date
Joachim
3a015062ec Reverse sorting order 2021-12-28 10:49:09 +01:00
Mouse Reeve
b99ff9ef85 Removes unused import 2021-12-27 14:49:48 -08:00
Mouse Reeve
a064333a96 Use readthroughs only to determine books read this year 2021-12-27 14:45:11 -08:00
Mouse Reeve
2345845560
Merge pull request #1692 from joachimesque/summary-review-sharing
Feature: Annual summary sharing
2021-12-27 13:37:59 -08:00
Mouse Reeve
a96466bf35 Adds minor changes to null states for annual summary 2021-12-27 13:16:27 -08:00
Joachim
07f2d9a11c Update tests 2021-12-22 18:15:05 +01:00
Joachim
b03b6f6d6f Add docstring 2021-12-22 17:14:21 +01:00
Joachim
b9265bdd29 Update annual_summary.py 2021-12-22 17:10:47 +01:00
Joachim
04d51cde3f pylint 2021-12-22 17:09:12 +01:00
Joachim
13ee7e7a65 Use readthrough finish date instead of shelving date 2021-12-22 16:53:10 +01:00
Joachim
357eddf16e Limit page availability to earliest completed readthrough / shelving 2021-12-22 16:52:42 +01:00
Joachim
45dd39d370 Add key creation/revocation 2021-12-22 15:12:56 +01:00
Joachim
1022e3e165 Add basic key verification and change voice in template 2021-12-22 15:11:05 +01:00
Joachim
0da0a62660 Don't crash if there's no ratings 2021-12-22 11:18:47 +01:00
Joachim
6308625bab Don't crash if there's no ratings 2021-12-22 11:18:26 +01:00
Joachim
c13e7479c3 Add tests 2021-12-21 14:44:21 +01:00
Joachim
545fb9e4be disable no-self-use 2021-12-21 13:17:18 +01:00
Joachim
581e7f3e40 R0914 & R0201 2021-12-21 12:22:40 +01:00
Joachim
7e9c7ce9e3 Improve pylint 2021-12-21 12:12:32 +01:00
Joachim
da51711ddf black 2021-12-21 11:58:46 +01:00
Joachim
4d6c4d3ad2 Add rounding for averages 2021-12-21 11:54:20 +01:00
Joachim
c2c57db8e6 Fix for empty years 2021-12-21 11:52:33 +01:00
Joachim
ce6ca49620 Add link to current summary on home feed 2021-12-21 11:43:39 +01:00
Joachim
a8e8785106 Add previous/next year links 2021-12-21 11:43:09 +01:00
Joachim
a24afdb6bf Use aggregate queries 2021-12-21 10:21:30 +01:00
Joachim
c1459dbcf9 Feature: Create annual summary page 2021-12-20 23:37:45 +01:00