Commit graph

6382 commits

Author SHA1 Message Date
Mouse Reeve
599c79917e Makes query to get admins unique 2022-01-08 18:44:32 -08:00
Mouse Reeve
ad9d7bcd65
Merge pull request #1794 from bookwyrm-social/new-languages
Adds Italian and Norwegian locales
2022-01-08 18:42:23 -08:00
Mouse Reeve
79f6fb966e Updates migration 2022-01-08 17:07:51 -08:00
Mouse Reeve
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
Mouse Reeve
c23b91da32 New strings 2022-01-08 16:56:34 -08:00
Mouse Reeve
ac1787ce6b Merge branch 'main' into new-languages 2022-01-08 16:54:31 -08:00
Mouse Reeve
82294909a8 Python formatting 2022-01-08 16:38:52 -08:00
Mouse Reeve
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
Mouse Reeve
a80cb4310e
Merge pull request #1771 from bookwyrm-social/about-page
Refactors about page
2022-01-08 13:28:23 -08:00
Mouse Reeve
c822048509 Invalidate template cache on relationship change 2022-01-08 13:04:01 -08:00
Mouse Reeve
f2f40cf3b9 Creates custom get_or_set function 2022-01-08 13:01:05 -08:00
Mouse Reeve
2cca9fab2d Cache user relationship for follow buttons 2022-01-08 12:33:13 -08:00
Mouse Reeve
26928252cd Use cache 2022-01-08 11:44:04 -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
bb4b724b1a Updates queries 2022-01-08 11:26:15 -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
Joachim
705c4cd636 Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
Joachim
12ea1910b4 Add docstrings 2022-01-08 17:47:45 +01:00
Joachim
656e0b84eb Fix 2022-01-08 17:42:25 +01:00
Joachim
a54995eb9d Add new complete strategy 2022-01-08 17:41:44 +01:00
Mouse Reeve
02a963c4ef Adds locales to application 2022-01-08 07:38:14 -08:00
Mouse Reeve
cb858b66fe Adds Italian and Norwegian locales 2022-01-08 07:34:18 -08:00
Mouse Reeve
392dbfce01 Merge branch 'main' into about-page 2022-01-07 14:59:26 -08: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
f43a9570e2 Updates test 2022-01-07 13:40:20 -08:00
Mouse Reeve
8a8ce0c0d4 Fixes deletion of lists 2022-01-07 13:30:11 -08:00
Mouse Reeve
0580b66c3b Fixes test 2022-01-07 10:34:45 -08:00
Mouse Reeve
7e1a4bc363 Ticks version number 2022-01-07 10:32:40 -08:00
Mouse Reeve
165fdc6d2d Merge branch 'main' into list-not-loading 2022-01-07 10:32:17 -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