Commit Graph

4535 Commits

Author SHA1 Message Date
27a0b92de0 Fix include order 2022-01-17 16:12:16 -08:00
27acf668df Add the required bits for Django's logger
So, you can't define handlers piecewise, and if you redefine a logger,
you have to also include everything it uses, because your "new" logger
doesn't have a reference to the original logging config to get things
like mail_admins and require_debug_false.

require_debug_true isn't strictly necessary here, but it seemed strange
to just copy over one of them.
2022-01-17 15:56:24 -08:00
13a2c58b98 Use parameter-based formatting for debug 2022-01-17 15:14:01 -08:00
5cf1d8a30a Make it black 2022-01-09 23:53:23 -08:00
085dd24a62 Simplify and explain our overrides
This should also fix the 500s-in-prod issue, yay
2022-01-09 23:49:14 -08:00
83851c2933 Add bookwyrm-specific logging 2022-01-09 23:49:14 -08:00
af3c84cd87 Add basic logging config 2022-01-09 23:49:14 -08:00
6492ca2941 Merge pull request #1769 from joachimesque/thumbnail-generation-strategy
Change thumbnail generation strategy
2022-01-09 12:34:42 -08:00
00e8574d1f Typo fix 2022-01-09 11:01:55 -08:00
ebf4c6127f Merge pull request #1798 from joachimesque/annual-summary-fix-highest-link
Annual Summary: Fix link to book with highest page count
2022-01-09 10:08:13 -08:00
278ce88b82 Annual Summary: Fix link to book with highest page count 2022-01-09 12:18:18 +01:00
4c07c5e47e Add end message for populate_list_streams command 2022-01-09 12:11:52 +01:00
734da71037 Remove backend setting 2022-01-09 10:36:06 +01:00
599c79917e Makes query to get admins unique 2022-01-08 18:44:32 -08:00
79f6fb966e Updates migration 2022-01-08 17:07:51 -08:00
ac1787ce6b Merge branch 'main' into new-languages 2022-01-08 16:54:31 -08:00
e1a617f742 Merge pull request #1613 from bookwyrm-social/list-not-loading
Use a redis cache to store lists for user
2022-01-08 13:38:20 -08:00
a80cb4310e Merge pull request #1771 from bookwyrm-social/about-page
Refactors about page
2022-01-08 13:28:23 -08:00
26928252cd Use cache 2022-01-08 11:44:04 -08:00
bb4b724b1a Updates queries 2022-01-08 11:26:15 -08:00
85691478f1 save language preferences with cookies that last
(as long as login ones do)
2022-01-08 12:56:57 -06:00
705c4cd636 Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
12ea1910b4 Add docstrings 2022-01-08 17:47:45 +01:00
656e0b84eb Fix 2022-01-08 17:42:25 +01:00
a54995eb9d Add new complete strategy 2022-01-08 17:41:44 +01:00
02a963c4ef Adds locales to application 2022-01-08 07:38:14 -08:00
392dbfce01 Merge branch 'main' into about-page 2022-01-07 14:59:26 -08:00
02feb0d594 Stylelint updates 2022-01-07 14:08:36 -08:00
f43a9570e2 Updates test 2022-01-07 13:40:20 -08:00
8a8ce0c0d4 Fixes deletion of lists 2022-01-07 13:30:11 -08:00
0580b66c3b Fixes test 2022-01-07 10:34:45 -08:00
7e1a4bc363 Ticks version number 2022-01-07 10:32:40 -08:00
165fdc6d2d Merge branch 'main' into list-not-loading 2022-01-07 10:32:17 -08:00
47c79afd75 Merge pull request #1770 from bookwyrm-social/email-config
Configure email sender from .env file
2022-01-07 10:23:50 -08:00
5c7cc034d5 Merge pull request #1782 from bookwyrm-social/get-started-user-search
Fixes searching for users in get started view
2022-01-07 10:23:19 -08:00
e91947afbf Adds meaningful test mock 2022-01-07 10:06:11 -08:00
c918edb622 Fixes searching for users in get started view 2022-01-07 09:56:29 -08:00
abcae9e6c4 Removes caches that cause CSRF token failures 2022-01-07 09:47:58 -08:00
b18c69e186 Make search timeouts configurable 2022-01-07 07:42:05 -08:00
a1e3ef1c79 Fixes pylint complaint 2022-01-06 18:47:14 -08:00
e4be6a98e8 do not cache registration form
Fixes #1777

Caching the Landing view also caches the registration form, including the CSRF value.

This moves the caching into the recently reviewed books landing template which is presumably what we're trying to cache here, instead of caching the whole view.

NOTE: this fixes the problem with registration, I haven't done enough testing to be sure it actually still caches the recent reviews data.
2022-01-07 13:13:56 +11:00
602574566b Merge pull request #1775 from bookwyrm-social/order-suggestions
Sort suggestions by mutuals
2022-01-06 13:12:51 -08:00
cc6c75c5ec Merge pull request #1774 from hughrun/zero-annual
Minor grammar fix for annual review page
2022-01-06 13:05:33 -08:00
deaa06d44c Sort suggestions by mutuals 2022-01-06 13:02:12 -08:00
e2efd5fd5a "any" is plural
English huh, what a weird language.
2022-01-07 07:50:36 +11:00
00a14e89a0 Merge pull request #1772 from bookwyrm-social/cache-tweaks
Cache tweaks
2022-01-06 12:13:56 -08:00
8722778ed0 Updates tests 2022-01-06 12:13:24 -08:00
cf57891482 Python formatting 2022-01-06 11:50:51 -08:00
4d0fa2db4a Dummy cache for tests 2022-01-06 11:40:27 -08:00
45393af843 Loads subclass for generated note
Fixes display weirdness in threads
2022-01-06 11:27:02 -08:00