Commit graph

6684 commits

Author SHA1 Message Date
Mouse Reeve
59b5369654 Updates tests 2022-01-27 18:23:31 -08:00
Mouse Reeve
d711c7a5a2 Test fixes 2022-01-27 13:32:49 -08:00
Mouse Reeve
047e3a324a
Merge pull request #1855 from bookwyrm-social/instance-default-language
Makes default language configurable
2022-01-27 13:25:12 -08:00
Mouse Reeve
ba18e1e34b Adds tests for initdb command 2022-01-27 13:23:29 -08:00
Mouse Reeve
b3d9a46c98
Merge pull request #1869 from bookwyrm-social/list-notes
Let users add info about their list entry submissions
2022-01-27 13:04:08 -08:00
Mouse Reeve
d925395f9d
Merge pull request #1874 from willhoh/main
This fixes #1871 and fixes #1873
2022-01-27 13:01:50 -08:00
Mouse Reeve
a80c19d3e5 Screen reader fixes for list view 2022-01-27 12:55:53 -08:00
Mouse Reeve
2cf10b932d
Merge pull request #1875 from bookwyrm-social/get-started-books
Don't check suggested books against shelved books
2022-01-27 12:43:04 -08:00
Mouse Reeve
8a8d09fc30
Merge pull request #1872 from officialkzhang/main
Added a class for fixing onboarding logo's size
2022-01-27 12:42:46 -08:00
Willi Hohenstein
72c22cdcc0 reformatted file 2022-01-27 21:21:28 +01:00
Mouse Reeve
577bc18a47 Minor simplification for user shelf view 2022-01-27 12:05:26 -08:00
officialkzhang
f62e66f5ee
Revised HTML element for onboarding logo
Added navbar class to the parent header of the onboarding logo and removed the previously appended icon class from the image.
2022-01-27 14:51:57 -05:00
Mouse Reeve
c0dabeee04 Don't check suggested books against shelved books
It takes too long, and ideally this is your first action so you don't
have any books shelved yet.
2022-01-27 11:45:40 -08:00
Mouse Reeve
d62473c432 Tests that list item notes federate 2022-01-27 11:04:30 -08:00
Willi Hohenstein
dd35c90042 fix linging errors 2022-01-27 19:54:12 +01:00
Willi Hohenstein
f8afdfc6a9 This fixes #1871 huge amount of traffic from bots
and closes #1873 that leaves a file after testing.
2022-01-27 17:30:02 +01:00
officialkzhang
13edeffb53
Added a class for fixing onboarding logo's size
Added a CSS class for fixing the onboarding logo's size to a reasonable dimension (about 3rem).
2022-01-27 00:22:50 -05:00
Mouse Reeve
0d69d9b48b Adds more unit tests for list views 2022-01-26 12:02:48 -08:00
Mouse Reeve
65b9872c72 Fixes approving curated submissions 2022-01-26 10:37:50 -08:00
Mouse Reeve
eddd9ccc32 Refer to user by id in form tests 2022-01-25 13:57:12 -08:00
Mouse Reeve
2eabe29401 Show notes on curation page 2022-01-25 13:54:44 -08:00
Mouse Reeve
3f9a401d98 Put list action tests in correct files 2022-01-25 13:54:38 -08:00
Mouse Reeve
3a5289a999 Separate lists view test files 2022-01-25 13:38:13 -08:00
Mouse Reeve
dd16fb2a26 Move embed view to separate file 2022-01-25 13:37:57 -08:00
Mouse Reeve
d456ab7306 Move lists tests into directory 2022-01-25 13:22:04 -08:00
Mouse Reeve
f85158191b Use form for saving list items 2022-01-25 12:11:17 -08:00
Mouse Reeve
a43731b335 Fixes tests for list actions 2022-01-25 10:08:54 -08:00
Mouse Reeve
e1599384b0 Fixes list views tests 2022-01-25 09:46:00 -08:00
Mouse Reeve
38ccc23cd5 Add notes form 2022-01-25 09:40:03 -08:00
Mouse Reeve
6009593b6b Migration formatting 2022-01-25 09:17:00 -08:00
Mouse Reeve
037cc35eeb Adds merge migration and python formatting 2022-01-25 08:45:22 -08:00
Mouse Reeve
de4576bc44 Merge branch 'main' into list-notes 2022-01-25 08:44:29 -08:00
Mouse Reeve
9902794bbd Adds edit note view 2022-01-25 08:44:04 -08:00
Joel Bradshaw
0c53f4e003 Fix linting and formatting 2022-01-25 01:09:27 -08:00
Joel Bradshaw
a1a3aa45f4 Don't log autoload debug
This is just too much
2022-01-25 00:53:15 -08:00
Joel Bradshaw
9e6390662b Download fonts at app startup instead
We can't bake the font into the Docker image as such, because we mount
the volumes which blows away anything we have in the app tree
beforehand.

We could stash it somewhere in the image and then copy it from there on
app startup or something, but at that point we might as well just
download it as part of the app startup.
2022-01-25 00:53:01 -08:00
Joachim
766a0cc652 Fix tests 2022-01-24 23:16:15 -08:00
Joachim
6f5115c716 Use Source Han Sans for preview images generation 2022-01-24 23:16:15 -08:00
Joel Bradshaw
284eb620dd Add Source Han font for preview generation to Docker image
Include the license and a README explaining things in the repo itself.

Depending on an external source for this is intended to be temporary,
the goal is to have a Bookywrm-managed source for these, but this should
be stable enough for now.

We build it into the Dockerfile to make it available without adding it
to the git repo itself, because git history is forever and we don't want
to bake large files into the history.

Theoretically it would make sense to gate this download on the
ENABLE_PREVIEW_IMAGES environment variable, but ENV variables aren't
available at Docker image build time (for sensible reasons), so we just
unconditonally download it.

This does mean users will ultimately download it anyway, but the benefit
to doing this over adding it to the git history is that if we switch
fonts, or update this one, or change strategies altogether, this version
of the font will no longer have to be downloaded.

Additionally, the font won't be downloaded until the application is
actually built, which involves a bunch of other downloading (of Docker
images and the like), so it's a reasonable time to do it.
2022-01-24 23:16:14 -08:00
Mouse Reeve
ca0dbeb0ab Move list views into more files 2022-01-24 19:39:30 -08:00
Mouse Reeve
a1a84b28b0 Adds edit box 2022-01-24 13:56:18 -08:00
Mouse Reeve
8280386f0e Context for note block in list item 2022-01-24 13:45:52 -08:00
Mouse Reeve
5206d08dbb Adds demo display of comment in list entry 2022-01-24 13:37:51 -08:00
Mouse Reeve
d0a4c78d02 Limit length on list item note 2022-01-24 12:02:05 -08:00
Mouse Reeve
91f085c876
Merge pull request #1868 from bookwyrm-social/swedish-locale
Adds Swedish locale
2022-01-24 10:08:38 -08:00
Mouse Reeve
eeee62cd04 Adds Swedish to the app 2022-01-24 09:39:13 -08:00
Mouse Reeve
906456802a Adds Swedish locale files and updates all locales 2022-01-24 09:38:56 -08:00
Mouse Reeve
a651352b8b
Merge pull request #1866 from cincodenada/patch-3
Fix typo from models refactor
2022-01-24 07:25:19 -08:00
Joel Bradshaw
7373fb4132
Fix typo from models refactor
Looks like this got caught up when moving to importing `models`
instead of the individual models, and was throwing an error on
`./bw-dev initdb`
2022-01-23 23:41:22 -08:00
Mouse Reeve
191079a922 Python formatting 2022-01-22 19:01:42 -08:00