Commit graph

4418 commits

Author SHA1 Message Date
Joachim
c53b5c306f Lint fix 2021-12-29 20:03:07 +01:00
Joachim
4cb520f242 Front-end: New look and behavior for Filters and Result panels 2021-12-29 19:50:32 +01:00
Mouse Reeve
3770713e07 Validate html in discover page tests 2021-12-29 10:44:04 -08:00
Mouse Reeve
1e27b64af4 Valid dl html syntax on announcement page 2021-12-29 10:39:47 -08:00
Mouse Reeve
161532f8a8 Adds validate_html to announcement page tests 2021-12-29 10:37:21 -08:00
Mouse Reeve
9facaf404f Validates html in feed views 2021-12-29 10:20:54 -08:00
Mouse Reeve
0dcd7bee10
Merge pull request #1715 from bookwyrm-social/summary-queries
Simplifies query for earliest year
2021-12-29 10:17:52 -08:00
Mouse Reeve
41fb44a46a Python formatting 2021-12-29 10:07:27 -08:00
Mouse Reeve
f9e9dc55d5 Updates tests 2021-12-29 09:58:42 -08:00
Joachim
faa52503a3 Update bookwyrm.css 2021-12-29 18:57:45 +01:00
Joachim
3b0096caf0 Add button overlay 2021-12-29 18:55:02 +01:00
Mouse Reeve
6ca57ae314 Linter fixes 2021-12-29 09:43:06 -08:00
Mouse Reeve
7eb8d027c4
Merge pull request #1722 from cincodenada/no-more-fedireads-main
Remove last traces of fedireads, but in main
2021-12-29 09:32:43 -08:00
Joachim
6952ab0081 Solve markup validation issues 2021-12-29 17:10:44 +01:00
Joachim
e5f3e9cd2c fix curlylint issue 2021-12-29 17:00:40 +01:00
Joachim
3de2396cb8 Update cover_show_modal.html 2021-12-29 16:45:36 +01:00
Joachim
87ab665583 fix for editorConfig linting 2021-12-29 16:43:38 +01:00
Joachim
e5bca3873c Remove useless additoins 2021-12-29 16:41:14 +01:00
Joachim
f12ba8609f Front-end: On book page, click on cover to show/add image
Closes #1009
2021-12-29 16:40:19 +01:00
Joel Bradshaw
66df16eb78 Fix typo while we're here 2021-12-28 16:49:34 -08:00
Joel Bradshaw
9d1db3f67c Remove last traces of fedireads 2021-12-28 16:49:32 -08:00
Mouse Reeve
49e0f9437e Merge branch 'main' into prettier 2021-12-28 16:30:06 -08:00
Mouse Reeve
4b3d2e87a6
Merge pull request #1633 from joachimesque/tidy-header
Front-end: New modal component + header alignment
2021-12-28 16:24:27 -08:00
Mouse Reeve
5b75f3d310 Avoid clash with existing test data user 2021-12-28 16:02:48 -08:00
Mouse Reeve
6745cd73cc Deterministic ordering for OL import test 2021-12-28 15:53:35 -08:00
Mouse Reeve
a8ae427aeb Updates domain regex 2021-12-28 15:53:26 -08:00
Mouse Reeve
14a90e805a Test users with domains that contain dashes 2021-12-28 15:52:35 -08:00
Mouse Reeve
1a30546b99 Adds test for dm view with partner 2021-12-28 15:44:47 -08:00
Mouse Reeve
5b192d1b3d Fixes error when librarything csv is missing isbn 2021-12-28 15:27:35 -08:00
Mouse Reeve
a58d600030 Adds librarything line without isbn to test data 2021-12-28 15:22:02 -08:00
Mouse Reeve
21e0f4234e Don't try to create a json view of the all books page
It's a fake view, a liar
2021-12-28 15:04:25 -08:00
Mouse Reeve
3f8e309680 Adds test for json requests to all books view 2021-12-28 15:04:06 -08:00
Mouse Reeve
14601a0c31 Don't error out on invalid login POST
Thanks, log4j exploit scanners, for catching this one
2021-12-28 14:50:28 -08:00
Mouse Reeve
638ea166be More trailing slashes in urls 2021-12-28 14:41:45 -08:00
Mouse Reeve
f62cd5fd12 Makes embed key non-optional in urls 2021-12-28 14:40:11 -08:00
Mouse Reeve
0422421d60 Fixes bug in logged out group view 2021-12-28 14:33:30 -08:00
Mouse Reeve
8a3be920c6 Adds test for logged out view of group 2021-12-28 14:29:51 -08:00
Mouse Reeve
ec7c1e75fe
Merge pull request #1714 from joachimesque/handle-user-at-urls
Redirect /@<username> to /user/<username>
2021-12-28 13:19:46 -08:00
Mouse Reeve
c3ec25dbf8 Simplifies query for earliest year 2021-12-28 13:02:12 -08:00
Joachim
17cb936a16 Update test_user.py 2021-12-28 21:54:06 +01:00
Joachim
5284e7009d fix pylint remark 2021-12-28 21:51:45 +01:00
Joachim
cae4934b48 Apply review suggestion 2021-12-28 21:49:52 +01:00
Joachim
05142f4b73 Add test 2021-12-28 21:49:41 +01:00
Joachim
ff3021d1f3 Redirect /@<username> to /user/<username> 2021-12-28 21:40:01 +01:00
Mouse Reeve
faafcbebd7 Fixes calls to counter 2021-12-28 12:26:57 -08:00
Mouse Reeve
d974e251f1 Adds more plurals to summary translation 2021-12-28 12:05:32 -08:00
Joachim
b26d41cefc Update bookwyrm.css 2021-12-28 17:59:01 +01:00
Joachim
b6e90ce2b2 Fix grid on mobile 2021-12-28 17:58:10 +01:00
Joachim
9e0ebc3ec7 Fix hardcoded year in translation key 2021-12-28 17:40:33 +01:00
Joachim
b2f6c61bb6 Slightly better quality images 2021-12-28 17:40:13 +01:00
Mouse Reeve
daa3a1ee77
Merge pull request #1708 from bookwyrm-social/summary-mobile
Tweaks mobile view for annual summary
2021-12-28 07:25:44 -08:00
Mouse Reeve
d67150fb7f Tweaks mobile view for annual summary 2021-12-28 07:16:33 -08:00
Mouse Reeve
86e8d36b25 Adds annual review translations for Galician and Spanish 2021-12-28 07:02:52 -08:00
Joachim
3a015062ec Reverse sorting order 2021-12-28 10:49:09 +01:00
Joachim
489c827673 fix sizes 2021-12-28 10:29:35 +01:00
Joachim
8fd0d5baf0 Fix images stretch 2021-12-28 10:18:40 +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
e6b15f25eb Fixes variable name 2021-12-27 14:22:09 -08:00
Mouse Reeve
3cddd69274 Option to hide the annual summary card 2021-12-27 14:12:57 -08:00
Mouse Reeve
1be164425a Merge branch 'main' into prettier 2021-12-27 13:39:34 -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
85486dcfad
Update bookwyrm.css 2021-12-27 13:29:47 -08:00
Mouse Reeve
5afd59f4d4
Merge branch 'main' into summary-review-sharing 2021-12-27 13:19:15 -08:00
Mouse Reeve
a96466bf35 Adds minor changes to null states for annual summary 2021-12-27 13:16:27 -08:00
Mouse Reeve
c85f881f97
Merge pull request #1691 from joachimesque/2021-in-the-books
Feature: Create annual summary page
2021-12-27 13:15:54 -08:00
Mouse Reeve
ae2d869fa9
Merge pull request #1695 from joachimesque/fix-text-right-on-shelf-modal
Fix: Fix modal alignment in Shelf page
2021-12-27 13:02:33 -08:00
Mouse Reeve
935cca2dd7
Merge pull request #1689 from joachimesque/details-fixes
Front-end: Fix Safari details display and enhance dropdown on mobile
2021-12-27 13:00:29 -08:00
Joachim
cc7f1ef73d Fix: Fix modal alignment in Shelf page 2021-12-22 20:03:13 +01:00
Joachim
5314681641 Update layout.html 2021-12-22 19:47:39 +01:00
Joachim
df7b40359a Add translation calls 2021-12-22 18:15:20 +01: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
d4b8aa51f6 lint styles 2021-12-22 16:55:02 +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
8de2bca2c5 Add + adjust text copy component 2021-12-22 15:13:42 +01:00
Joachim
45dd39d370 Add key creation/revocation 2021-12-22 15:12:56 +01:00
Joachim
af9c983145 Change voice for no read book 2021-12-22 15:11:55 +01:00
Joachim
1022e3e165 Add basic key verification and change voice in template 2021-12-22 15:11:05 +01:00
Joachim
24b0e086e7 Add summary_keys JSONField for the user 2021-12-22 14:57:26 +01:00
Joachim
ce9c6f1727 Color links in green 2021-12-22 14:54:36 +01:00
Joachim
13d668e49e Color links in green 2021-12-22 14:53:34 +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
67092fd3e3 🤦 2021-12-22 10:27:59 +01:00
Joachim
ce8bb306a3 🤦 2021-12-21 17:35:57 +01:00
Joachim
73551f1602 Fix tests? 2021-12-21 17:24:44 +01:00
Joachim
66ee5ccacf Fix tests? 2021-12-21 17:24:15 +01:00
Joachim
8f0df388e6 Update test_annual_summary.py 2021-12-21 15:57:58 +01:00
Joachim
37abf9531d fix test 2021-12-21 15:55:51 +01:00
Joachim
c13e7479c3 Add tests 2021-12-21 14:44:21 +01:00
Joachim
b7545bf0dd Style fixes 2021-12-21 13:50:05 +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
d9bd7be1ec same 2021-12-21 12:06:57 +01:00
Joachim
7c9995a5e5 Fix EditorConfig linting 2021-12-21 12:02:57 +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
1fd44aeb5c Style fixes 2021-12-21 11:43:45 +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
b2f3f03197 Lint style 2021-12-20 23:40:53 +01:00
Joachim
8d64b2d55e Add serif styles 2021-12-20 23:38:18 +01:00
Joachim
c1459dbcf9 Feature: Create annual summary page 2021-12-20 23:37:45 +01:00
Hugh Rundle
1603df0817
add "Create list" form to group template 2021-12-19 14:19:35 +11:00
Joachim
89713ce685 same but for js 2021-12-17 20:53:06 +01:00
Joachim
b15e0e37fc same 2021-12-17 20:51:41 +01:00
Joachim
9a2a31028b fix linting issues 2021-12-17 20:50:04 +01:00
Joachim
355405daa3 Front-end: Fix Safari details display and enhance dropdown on mobile 2021-12-17 20:40:58 +01:00
Joachim
df8427921b Add alignment rule for button reset 2021-12-17 17:34:22 +01:00
Joachim
f88b511bbf Update bookwyrm.css 2021-12-17 17:32:44 +01:00
Joachim
ce0e2eb61a Handle navbar alignment thank to Bulma helper classes 2021-12-17 17:30:14 +01:00
Joachim
f300104c4d Add reset button style 2021-12-17 17:29:46 +01:00
Joachim
2544ea12c7 Revert changes on layout 2021-12-17 17:00:10 +01:00
Mouse Reeve
8bda0bc0dc Removes check_all javascript that is no longer used 2021-12-16 11:06:53 -08:00
Mouse Reeve
2b6c9d9d31 Runs prettier 2021-12-16 10:53:38 -08:00
Mouse Reeve
c3a32b3a54
Merge branch 'main' into tidy-header 2021-12-15 10:02:36 -08:00
Mouse Reeve
e6d500df6b Removes debugging print statements 2021-12-14 19:52:43 -08:00
Mouse Reeve
6ba5d53d38 trying item.last instead of going by list lookup 2021-12-14 19:46:35 -08:00
Mouse Reeve
69204a1c94 More print statements 2021-12-14 19:38:28 -08:00
Mouse Reeve
6af2182879 Test print statements 2021-12-14 19:20:29 -08:00
Mouse Reeve
8cb2e74c81 Uncomment test 2021-12-14 19:05:45 -08:00
Mouse Reeve
86fcaad72c Comments out failing test 2021-12-14 18:47:17 -08:00
Mouse Reeve
3545085a7d Fixes tests 2021-12-14 14:19:27 -08:00
Mouse Reeve
09f5218f9c Fixes accept header 2021-12-14 13:47:09 -08:00
Mouse Reeve
a33b5b054f Retain source on retry jobs 2021-12-14 13:14:45 -08:00
Mouse Reeve
73ea44e532 Add openlibrary selector to list 2021-12-14 12:59:24 -08:00
Mouse Reeve
ba390dc3ad Safer user of "lower" 2021-12-14 12:50:53 -08:00
Mouse Reeve
bee3c86223 Lookup by openlibrary key 2021-12-14 12:49:00 -08:00
Mouse Reeve
4f1d4d9bc0 Adds openlibrary keys to data 2021-12-14 12:42:56 -08:00
Mouse Reeve
bb69c32a6c Adds support for openlibrary csv shelf name format 2021-12-14 11:58:56 -08:00
Mouse Reeve
79af354dfd Don't produce error is author is unset in import 2021-12-14 11:27:13 -08:00
Mouse Reeve
288c396c49 Removes test line 2021-12-10 13:45:50 -08:00
Mouse Reeve
3fb9d140ed Fixes typo in test 2021-12-10 13:39:41 -08:00
Mouse Reeve
d28b22a361 Adds test for generated links in book model 2021-12-10 13:33:00 -08:00
Mouse Reeve
a3d5acc70c Model name in comment 2021-12-10 12:46:40 -08:00
Mouse Reeve
cfd0d0d56a Pylint changes for group model tests 2021-12-10 12:32:53 -08:00
Mouse Reeve
00fdca681f Fixes retry test 2021-12-10 12:16:33 -08:00
Mouse Reeve
5430e389d9 Adds group accept and reject tests 2021-12-10 12:10:58 -08:00
Mouse Reeve
73e09f8d18 Use transaction decorator on group accept 2021-12-10 12:03:18 -08:00
Mouse Reeve
08a8f37a0b Simpler error states for when model values aren't found 2021-12-10 12:02:57 -08:00
Mouse Reeve
3aebb54feb Adds remove member tests 2021-12-10 11:53:10 -08:00
Mouse Reeve
d546d9dce9 Changes spacing on import method 2021-12-10 11:43:13 -08:00
Mouse Reeve
10c74d0619 Additional import tests 2021-12-10 11:41:54 -08:00