Commit graph

6076 commits

Author SHA1 Message Date
Mouse Reeve
2cca9fab2d Cache user relationship for follow buttons 2022-01-08 12:33:13 -08:00
Mouse Reeve
b6d04e9997
Merge pull request #1792 from reesporte/lang-setting
save language preferences with cookies that last
2022-01-08 11:27:58 -08:00
Mouse Reeve
a4cb8f7e89
Merge pull request #1788 from bookwyrm-social/single-env-file
Moves to a single example .env file
2022-01-08 11:02:57 -08:00
reesporte
85691478f1 save language preferences with cookies that last
(as long as login ones do)
2022-01-08 12:56:57 -06:00
Mouse Reeve
9609e130f2 Moves to a single example .env file
The prod and dev ones hae gotten so close that it seems unnecessary to
have two different ones.
2022-01-07 14:49:15 -08:00
Mouse Reeve
7d2a53fec9
Merge pull request #1784 from bookwyrm-social/npm-update
Updates NPM dependencies to resolve security alerts
2022-01-07 14:40:10 -08:00
Mouse Reeve
a9b88c0796 Use null to invalidate rules 2022-01-07 14:18:41 -08:00
Mouse Reeve
02feb0d594 Stylelint updates 2022-01-07 14:08:36 -08:00
Mouse Reeve
db3b4465f6 Updates NPM dependencies to resolve security alerts
Amazing how many npm dependencies you can have when you don't even use
npm in an app
2022-01-07 13:50:27 -08:00
Mouse Reeve
47c79afd75
Merge pull request #1770 from bookwyrm-social/email-config
Configure email sender from .env file
2022-01-07 10:23:50 -08:00
Mouse Reeve
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
Mouse Reeve
db1485abb3
Merge pull request #1781 from bookwyrm-social/dependabot/npm_and_yarn/postcss-8.2.13
Bump postcss from 8.2.10 to 8.2.13
2022-01-07 10:14:28 -08:00
Mouse Reeve
2ff9ba8bee
Merge pull request #1783 from bookwyrm-social/bad-caches
Removes caches that cause CSRF token failures
2022-01-07 10:14:17 -08:00
Mouse Reeve
e91947afbf Adds meaningful test mock 2022-01-07 10:06:11 -08:00
Mouse Reeve
c918edb622 Fixes searching for users in get started view 2022-01-07 09:56:29 -08:00
dependabot[bot]
21ce7f3721
Bump postcss from 8.2.10 to 8.2.13
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 17:54:08 +00:00
Mouse Reeve
7415166718
Merge pull request #1776 from bookwyrm-social/dependabot/pip/celery-5.2.2
Bump celery from 4.4.2 to 5.2.2
2022-01-07 09:53:46 -08:00
Mouse Reeve
abcae9e6c4 Removes caches that cause CSRF token failures 2022-01-07 09:47:58 -08:00
Mouse Reeve
c89b8ee5db Updates flower 2022-01-07 09:45:21 -08:00
Mouse Reeve
1c74c0c0d9 Merge branch 'main' into dependabot/pip/celery-5.2.2 2022-01-07 08:38:05 -08:00
Mouse Reeve
f9d7512ffd
Merge pull request #1780 from bookwyrm-social/search-timeouts
Make search timeouts configurable
2022-01-07 08:12:30 -08:00
Mouse Reeve
b18c69e186 Make search timeouts configurable 2022-01-07 07:42:05 -08:00
Mouse Reeve
0ddecd7049
Merge pull request #1778 from hughrun/register-403
do not cache registration form
2022-01-06 18:56:23 -08:00
Mouse Reeve
a1e3ef1c79
Fixes pylint complaint 2022-01-06 18:47:14 -08:00
Hugh Rundle
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
dependabot[bot]
2d5ea3a99d
Bump celery from 4.4.2 to 5.2.2
Bumps [celery](https://github.com/celery/celery) from 4.4.2 to 5.2.2.
- [Release notes](https://github.com/celery/celery/releases)
- [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst)
- [Commits](https://github.com/celery/celery/compare/4.4.2...v5.2.2)

---
updated-dependencies:
- dependency-name: celery
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 22:42:44 +00:00
Mouse Reeve
602574566b
Merge pull request #1775 from bookwyrm-social/order-suggestions
Sort suggestions by mutuals
2022-01-06 13:12:51 -08:00
Mouse Reeve
cc6c75c5ec
Merge pull request #1774 from hughrun/zero-annual
Minor grammar fix for annual review page
2022-01-06 13:05:33 -08:00
Mouse Reeve
deaa06d44c Sort suggestions by mutuals 2022-01-06 13:02:12 -08:00
Hugh Rundle
e2efd5fd5a
"any" is plural
English huh, what a weird language.
2022-01-07 07:50:36 +11:00
Mouse Reeve
00a14e89a0
Merge pull request #1772 from bookwyrm-social/cache-tweaks
Cache tweaks
2022-01-06 12:13:56 -08:00
Mouse Reeve
cf57891482 Python formatting 2022-01-06 11:50:51 -08:00
Mouse Reeve
cf6e101e55
Merge pull request #1773 from bookwyrm-social/load-generatednote-status-type
Loads subclass for generated note
2022-01-06 11:41:30 -08:00
Mouse Reeve
4d0fa2db4a Dummy cache for tests 2022-01-06 11:40:27 -08:00
Mouse Reeve
45393af843 Loads subclass for generated note
Fixes display weirdness in threads
2022-01-06 11:27:02 -08:00
Mouse Reeve
86b3789ffe Fixes display of filter inputs in chromium 2022-01-06 11:11:00 -08:00
Mouse Reeve
e416ef05e8 Fixes cache of status interact
The CSRF token was being cached which caused submits to fail
2022-01-06 11:07:22 -08:00
Mouse Reeve
32ac4111aa
Merge pull request #1768 from bookwyrm-social/shelf-button-cache
Cache queries in feed view
2022-01-06 10:42:31 -08:00
Mouse Reeve
b3bfaf0586 Use 6 month cache for items that don't really need to expire 2022-01-06 10:27:12 -08:00
Mouse Reeve
99a5924ea8 Not bool 2022-01-05 17:36:52 -08:00
Mouse Reeve
2fed188862 Configure email sender from .env file 2022-01-05 17:35:42 -08:00
Mouse Reeve
69bd9246dd
Merge pull request #1767 from bookwyrm-social/suggested-users-query
Uses single query to get suggested users
2022-01-05 16:19:00 -08:00
Mouse Reeve
0f37e0ad42 Don't try to clear caches for nonexistant authors 2022-01-05 15:55:12 -08:00
Mouse Reeve
b0fef8f0e3 Cache landing page 2022-01-05 15:53:01 -08:00
Mouse Reeve
7df99afdc7 Cache status interact buttons 2022-01-05 14:54:51 -08:00
Mouse Reeve
0da0091237 Cache title author snippet 2022-01-05 14:33:10 -08:00
Mouse Reeve
4a43ad95ef Linting on suggested_users 2022-01-05 13:51:34 -08:00
Mouse Reeve
ad6d7d5eca Caches suggested books 2022-01-05 13:43:15 -08:00
Mouse Reeve
3cda27577f Removes status content cache 2022-01-05 13:01:53 -08:00
Mouse Reeve
6823d5f1b7 Cache follow button template snippet 2022-01-05 12:59:52 -08:00