bookwyrm/bookwyrm/tests
Mouse Reeve 2de115fc1e Add helper to refer views back to http referers safely
In most cases, we want to return back to where we came from after
performing an action. It's not safe to return to an arbitrary referer,
so this streamlines using the util validator to verify the redirect and
fall back on regular redirect params if the referer is outside our
domain.
2023-03-20 10:25:38 -07:00
..
activitypub Enable finding existing hashtags case-insensitive 2023-03-07 13:16:45 +01:00
activitystreams Merge branch 'main' into get-audience-perf 2023-03-12 15:40:53 -07:00
connectors Merge pull request #2150 from cincodenada/fix-pylint 2022-06-05 15:41:32 -07:00
data Isfdb ID for books and authors (#2482) 2022-12-11 11:33:33 -08:00
importers Add Test for Import Limit 2022-12-19 23:25:43 +01:00
lists_stream More mocks 2022-07-02 19:43:59 -07:00
management Set default auth user group to editor on initdb 2023-01-21 17:04:32 +01:00
models Try and fix a flaky test 2023-03-07 12:59:32 +01:00
templatetags That test didn't work 2022-10-04 12:09:05 -07:00
views Merge pull request #2524 from chdorner/feature/tag-support 2023-03-12 16:37:39 -07:00
__init__.py Python formatting 2022-04-08 14:24:14 -07:00
test_book_search.py add wonky ISBN test 2022-08-30 19:57:25 +10:00
test_context_processors.py Select theme in context processors 2022-03-01 09:53:02 -08:00
test_emailing.py Fixes unit test 2022-11-23 22:00:34 -08:00
test_postgres.py Pylint fixes 2022-07-02 12:07:22 -07:00
test_preview_images.py Black 2022-12-17 17:56:28 +01:00
test_sanitize_html.py Use "strip" in bleach 2022-07-04 13:55:58 -07:00
test_signing.py Fixes mocks for tests 2023-02-20 12:23:18 -08:00
test_suggested_users.py Updates tests 2022-01-06 12:13:24 -08:00
test_utils.py Add helper to refer views back to http referers safely 2023-03-20 10:25:38 -07:00
validate_html.py Removes test exception 2022-08-05 11:04:32 -07:00