Commit graph

6212 commits

Author SHA1 Message Date
Joel Bradshaw 5b3ff0cf82 Instrument celery, move init into apps.py 2022-01-01 14:48:58 -08:00
Joel Bradshaw 40bec83833 Add versions to requirements.txt 2022-01-01 14:48:58 -08:00
Joel Bradshaw 3d7f73d73c Document OTLP in env, only load if env vars exist
Also move telemetry into its own file, all those imports seemed like
unnecessary clutter
2022-01-01 14:48:58 -08:00
Joel Bradshaw 7cb7063da5 Add more route names, and format
I think these show up in telemetry, and nicer names are nice
2022-01-01 14:48:46 -08:00
Joel Bradshaw 8b4f93dd4e Integrate open telemetry
This allows us to export to anyone that takes OTLP, which is most of the
major players, I think! Nifty!

Kinda like the S3 config but for tracing, you can slot in any provider
that supports it via environment variables

This uses the Django instrumentation, which gets us a bunch of nifty
stuff right out of the box.
2021-12-31 03:47:21 -08:00
Mouse Reeve 1c48605418 Merge branch 'main' into production 2021-12-28 07:28:34 -08: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 38d4172e2c
Merge pull request #1707 from bookwyrm-social/locale_updates
Adds annual review translations for Galician and Spanish
2021-12-28 07:18:21 -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
Mouse Reeve d0e44f1ee4
Merge pull request #1706 from joachimesque/summary-list-bugfixes
Fixes: Annual summary book list
2021-12-28 06:59:24 -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 4ca0834b43 Merge branch 'main' into production 2021-12-27 14:56:45 -08:00
Mouse Reeve 0dde5d4a4b
Merge pull request #1705 from bookwyrm-social/annual-ids
Use readthroughs only to determine books read this year
2021-12-27 14:56:32 -08:00
Mouse Reeve b35cc90be6
Merge pull request #1704 from bookwyrm-social/summary-strings
Adds translation strings for summary page
2021-12-27 14:51:30 -08: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 2a5012470b Merge branch 'main' into production 2021-12-27 14:33:30 -08:00
Mouse Reeve 66d5f16f82
Merge pull request #1703 from bookwyrm-social/hide-annual-summary
Hide annual summary
2021-12-27 14:32:53 -08:00
Mouse Reeve 90c321caae Adds translation strings for summary page
Plus locale updates
2021-12-27 14:27:37 -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 07c190d717 Merge branch 'main' into production 2021-12-27 13:41:45 -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 ed3ae0940b
Merge pull request #1701 from bookwyrm-social/annual-summary-tweaks
Adds minor changes to null states for annual summary
2021-12-27 13:31:57 -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 e1614a52ac
Merge pull request #1700 from bookwyrm-social/locales
Locale updates
2021-12-27 13:03:43 -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
Mouse Reeve a148f0e2be
Merge pull request #1686 from cincodenada/sync-s3
Adds sync_media_to_s3 command
2021-12-27 12:48:25 -08:00
Mouse Reeve 38c132e251
Merge pull request #1684 from bookwyrm-social/remove-checkall
Removes check_all javascript that is no longer used
2021-12-27 12:47:21 -08:00
Mouse Reeve 119a030aab Locale updates 2021-12-27 12:44:22 -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