Commit graph

8269 commits

Author SHA1 Message Date
Mouse Reeve
5ab67cac87
Merge pull request #2591 from asmaloney/spelling-various
Fix spelling in various comments
2023-01-11 07:27:18 -08:00
Giebisch
b9576ccd31 Merge conflict fix 2023-01-11 16:26:36 +01:00
Giebisch
b22d060d93 Merge branch 'main' into import-limit 2023-01-11 16:22:08 +01:00
Mouse Reeve
bc276c4b3a
Merge pull request #2589 from asmaloney/spelling-aria
Fix two "aria-hidden" tags
2023-01-11 07:20:21 -08:00
Giebisch
d35fec8217 Fixed trans 2023-01-11 15:18:50 +01:00
Giebisch
88e993d727 Frontend Mockup 2023-01-11 15:12:22 +01:00
Andy Maloney
e5539a6faf Fix spelling in various comments 2023-01-10 17:24:02 -05:00
Andy Maloney
c6d2edfe7a Fix spelling in blocktrans arg 2023-01-10 17:21:00 -05:00
Andy Maloney
e1c90314ad Fix two "aria-hidden" tags 2023-01-10 17:17:03 -05:00
Andy Maloney
a027204e5b Fix spelling in author form
"oepnlibrary" ➡️ "openlibrary"
2023-01-10 16:51:13 -05:00
Andy Maloney
dd23bc4d0f {list} Fix duplicate suggestions in Add Books section
Fixes #2584

(Also fix a spelling mistake in a comment in book_search.py)
2023-01-10 11:08:11 -05:00
Mouse Reeve
917569ef0e
Merge pull request #2373 from codeurimpulsif/contrib-system
Add contrib directory with systemd service files for front, worker and scheduler
2023-01-09 20:26:02 -08:00
Mouse Reeve
cdf51ccbc4
Merge pull request #2580 from Giebisch/fix-rating-half-stars
Fix Half Stars for Rating books
2023-01-09 20:24:50 -08:00
Mouse Reeve
bdd32c5628
Merge pull request #2555 from jaschaurbach/author_website
Add Website field to author
2023-01-09 20:14:14 -08:00
Mouse Reeve
c9fa90f83b
Merge pull request #2547 from avandeursen/docker-test-run
Ensure django tests pass in default Docker setting
2023-01-09 20:06:39 -08:00
Mouse Reeve
9480318c5d
Merge pull request #2544 from joachimesque/redirect-after-shelving-book
Redirect back to the original page after shelving book
2023-01-09 20:05:13 -08:00
Giebisch
892ba563a4 Fix Half Stars for Rating books 2023-01-07 20:59:32 +01:00
Joachim
336c92d96e
Merge branch 'main' into redirect-after-shelving-book 2023-01-06 15:13:57 +01:00
Giebisch
5200ea585a Import Limit Bugfix and lint 2023-01-05 23:37:43 +01:00
Christof Dorner
1c6548a0ad Ensure transient cover_url field value gets persisted across form renders
Given this field doesn't map to an `Edition` model field it lost its values when re-rendering the form.
It worked only when the form was valid and rendered as part of the confirmation screen, which is due to
the context data value being set in `add_authors` which was only getting called after the form validation.

I've opted to pull it out into a separate new function that gets called before form validation.
2023-01-04 18:02:04 +01:00
Giebisch
6d1de44c48 Sync with main and merge migrations 2023-01-02 17:38:43 +01:00
Mouse Reeve
2bd94b1332
Merge pull request #2563 from joachimesque/update-github-actions
Update github actions versions
2023-01-02 07:58:25 -07:00
Giebisch
7e7966987b Merge branch 'main' into import-limit 2023-01-02 15:42:50 +01:00
Joachim
4b55b4c026 Update black 2023-01-01 21:09:25 +01:00
Joachim
3f6cdff363 Update github actions versions 2023-01-01 21:06:35 +01:00
Joachim
fa3edea87b Update validate.py 2023-01-01 20:51:23 +01:00
Joachim
ac2ef667af Fix error when no referer 2023-01-01 19:57:10 +01:00
Joachim
bc19d7c658 Black 2023-01-01 19:45:12 +01:00
Joachim
f266c71da9 Replace hidden field with HTTP Referrer value 2023-01-01 19:42:03 +01:00
Arie van Deursen
2bf8cd88f1
Fix @pytest.mark.skipif formatting 2022-12-30 18:44:28 +01:00
Joachim
78c214a6d4 Add validation before using url 2022-12-30 17:56:25 +01:00
Joachim
bfe04feca9 Add validation util + test 2022-12-30 17:55:47 +01:00
Doctor
45aa397863 Add redis.service in After for bookwyrm and bookwyrm-scheduler services 2022-12-30 17:36:16 +01:00
Codimp
358a0e60a9 Add systemd service files for bookwyrm front, worker and scheduler 2022-12-30 17:36:16 +01:00
Codimp
1e0cbe776c Add contrib directory with explanation 2022-12-30 17:36:16 +01:00
Mouse Reeve
e026f4535a
Merge pull request #2550 from chdorner/fix/cache-languages
Fix fragment caches (language codes, cache keys, etc.)
2022-12-30 07:33:15 -08:00
Mouse Reeve
ca89a6f098
Merge pull request #2543 from joachimesque/user-menu-mobile-align-right
User menu mobile align right
2022-12-30 07:20:23 -08:00
Jascha Urbach
2d76595af6
Add Website field to author
Authors have Websites. that might be interesting for BookWyrm users. Now there is a field specify the website of an author and it is shown tu users under the wikipedia link

Adds max char for ISFDB ID (6) and ISNI (19 - 16 plus three -)
2022-12-28 15:41:48 +01:00
Joachim
5c92774a7f Merge branch 'main' into redirect-after-shelving-book 2022-12-28 10:44:41 +01:00
Mouse Reeve
cfbd0b97fc
Merge pull request #2552 from chdorner/fix/example-env-redis
Add REDIS_BROKER_HOST to example env
2022-12-27 06:40:14 -08:00
Christof Dorner
31028e9573 Add REDIS_BROKER_HOST to example env
This might avoid future confusion when somebody wants to run
this dockerless for example, given that in the settings module
this gets the default value of `redis_broker` when not set.
2022-12-27 11:29:09 +01:00
Christof Dorner
247d85305c Fix cache duration comment 2022-12-26 17:52:58 +01:00
Christof Dorner
9aad37acd5 Specificy fragment name in cache key for landing page 2022-12-26 17:52:03 +01:00
Christof Dorner
51c932802a Use language in cachey key for about_page_superlatives 2022-12-26 17:50:51 +01:00
Arie van Deursen
5d63b48328
Fix postgres to version 13 in Docker compose
Helps to make tests reproducible, and avoids accidentally
relying on postgres:11 in which some tests fail.
2022-12-26 14:27:46 +01:00
Arie van Deursen
1c0a3a7829
Only test thumbnails if they're enabled in the settings 2022-12-26 14:26:23 +01:00
Arie van Deursen
8441314e7c
Enable thumbnail generation in example environment
This makes the example environment more similar to the
setting in the django-tests.yml GitHub workflow.

It also ensures thumbnail generation is tested by default.
2022-12-26 14:23:19 +01:00
Joachim
f5a79dfa82 Redirect to "next" value in view 2022-12-23 21:35:28 +01:00
Joachim
3f52d6ee33 Add hidden "next" input set to current path 2022-12-23 21:34:53 +01:00
Joachim
00d14cd37c Stylelint 2022-12-23 20:25:42 +01:00