Adeodato Simó
698e74a496
Minor vocabulary fixes and structured data improvements ( #3036 )
...
* Remove duplicate Review object under `rating` property
This was preventing validation, since `rating` is not a valid property
(`review` is, which is created from book.html already).
* Drop `bestRating` property in ratings, since it defaults to 5
See <https://schema.org/bestRating > ("If bestRating is omitted,
5 is assumed").
* Create Rating object (and its enclosing Review) in book/rating.html
* Use `position` property for Book objects in a series
`volumeNumber`, previously used, is only valid for objects of type
PublicationVolume (which series members are not).
* Give URL of book series when setting of `isPartOf`
* series.html: Add empty BookSeries object
---------
Co-authored-by: Adeodato Simó <dato@users.noreply.github.com>
2023-10-21 17:53:24 +02:00
Jascha Ezra Urbach
1685ac1953
Move version out of settings ( #3045 )
...
This removes the content of VERSION from settings.py and moves it into a seperate file which makes it easier to update versionnumbers via script in the future.
2023-10-19 11:29:59 +02:00
Mouse Reeve
2237a7eb9e
Merge pull request #3008 from dato/author_in_citation
...
Cite author in quotations and alt text
2023-10-18 17:31:55 -07:00
Adeodato Simó
f88a0f8229
Run stylelint to fix remaining issues
...
Including deletion of two duplicate stanzas introduced in 33c13608a8
("Refixing
light and dark themes").
2023-10-18 20:39:12 -03:00
Adeodato Simó
6392a8e01d
Merge pull request #2032 from viviicat/bw-dev-npm-fix
...
Conflicts:
bw-dev
dev-tools/Dockerfile
bookwyrm/static/css/bookwyrm/_all.scss
bookwyrm/static/css/themes/bookwyrm-dark.scss
bookwyrm/static/css/themes/bookwyrm-light.scss
2023-10-18 18:54:53 -03:00
Sidharth
25e8b259f7
Show/Hide password icon
2023-10-18 21:33:37 +05:30
Mouse Reeve
3624763073
Merge pull request #3043 from dato/prettier_rerun_final
...
Final prettier re-run
2023-10-17 14:28:48 -07:00
Adeodato Simó
d55e0b6ba3
Final JS update to match 'es5' trailing comma style
...
This is follow-up to cd247a668
("Update .prettierrc").
2023-10-17 17:11:59 -03:00
Jascha Ezra Urbach
06923c64c1
Merge pull request #3003 from dato/book_info_first_pub_date
...
Fallback to showing first published date
2023-10-17 20:16:06 +02:00
Jascha Ezra Urbach
3ade72b90d
Merge pull request #3038 from dato/parsed_date_defaults
...
Stable defaults for incomplete parsed dates
2023-10-17 20:08:04 +02:00
Jascha Ezra Urbach
4d352faae3
Merge branch 'main' into prettier-trailing-comma
2023-10-17 19:31:24 +02:00
Adeodato Simó
8afcb9b6d3
Fix tests warning: ImportJob.updated_date received a naive datetime
2023-10-15 22:03:45 -03:00
Adeodato Simó
c02306a66b
Default to Jan 1st too on incomplete dates received from ActivityPub
2023-10-15 19:59:51 -03:00
Adeodato Simó
c066d11eb1
Bugfix: default missing date components to 1, not today's
...
Fixes : #2660 .
2023-10-15 19:49:00 -03:00
Adeodato Simó
8f0f3e6ace
ImportItem: preserve parsed timezones in date_started, date_read
...
This is a follow-up to b564e514f
("Handle parsed dates that already
have a timezone on import"), which was applied to `date_added` only.
(Appart from consistency, this will allow to apply future parsing fixes
more easily.)
2023-10-15 19:48:02 -03:00
Hugh Rundle
c946e7dd82
Merge branch 'main' into installable-pwa
2023-10-15 08:42:17 +11:00
Jascha Urbach
0f79aea36f
introduce .prettierrc
...
With this pullrequest I introduce .prettierrc with one rule:
'trailingComma': 'none'
2023-10-14 17:52:58 +02:00
Jascha Urbach
97adf2f7fd
I changed my own comments to get rid of this warning which I could have better written in the first place.
2023-10-14 17:21:15 +02:00
Jascha Ezra Urbach
0452e8698d
Merge branch 'main' into installable-pwa
2023-10-14 13:57:59 +02:00
Jascha Ezra Urbach
16b7db4639
Merge pull request #3022 from dato/drop_duplicate_isfdb_link
...
Drop duplicate author link to ISFDB
2023-10-14 13:57:08 +02:00
Adeodato Simó
1778c56be0
URL-encode book series name when linking to it
...
Closes : #3021 .
2023-10-09 04:24:05 -03:00
Adeodato Simó
55eb81dbf9
Drop duplicate author link to ISFDB
...
Closes : #3018 .
2023-10-09 01:16:32 -03:00
R.G. Wood
a7e427efc2
Merge branch 'main' into installable-pwa
2023-10-07 13:34:35 +01:00
R.G. Wood
1798abfc3e
Display site name and description for PWA manifest
2023-10-07 13:32:49 +01:00
R.G. Wood
34d5c557d8
Fix syntax styling
2023-10-07 13:32:18 +01:00
Mouse Reeve
bcfd4d2efa
Merge pull request #3016 from bookwyrm-social/release-changes
...
Updates locales and version number for release
2023-10-02 10:22:05 -07:00
Mouse Reeve
e4ba09178f
Merge pull request #2949 from bookwyrm-social/user-search
...
Allow searching for local users when logged out
2023-10-02 10:21:08 -07:00
Mouse Reeve
703a56940c
Merge pull request #2953 from phildini/add-spanish-articles
...
Add spanish articles
2023-10-02 10:20:51 -07:00
Mouse Reeve
3deddf6355
Merge pull request #2912 from categulario/fix-form-labels
...
fix ids of labels in invite request form in admin
2023-10-02 10:04:34 -07:00
Mouse Reeve
b3bfcf8665
Updates test for new logic
2023-10-02 10:02:42 -07:00
Mouse Reeve
458b258ad5
Merge pull request #3007 from hughrun/signed-get
...
create instance user on instance creation
2023-10-02 09:52:59 -07:00
Mouse Reeve
fcfe34f2f6
Updates locales and version number for release
2023-10-02 09:42:22 -07:00
Joeri de Ruiter
d4088ac854
Merge branch 'main' into mypy-utils
2023-09-28 09:43:40 +02:00
Adeodato Simó
7cfdf235bc
Include author in cover image alt text
2023-09-25 16:03:16 -03:00
Adeodato Simó
80a1180090
Include author name when serializing Quotation
2023-09-25 16:03:16 -03:00
Hugh Rundle
fe4bc28f37
fix tests
2023-09-24 15:58:52 +10:00
Hugh Rundle
b69031c01a
formatting
2023-09-24 12:31:01 +10:00
Mouse Reeve
bab28a8fc9
Merge pull request #3000 from dato/position_serialization
...
Minor improvements to Quotation pure content
2023-09-23 17:47:27 -07:00
Adeodato Simó
ec2c5cb546
Only use first publish date if publisher is unknown
2023-09-23 18:23:15 -03:00
Adeodato Simó
2c968e94cb
Fallback to first published date if published date not present
2023-09-23 18:22:02 -03:00
Adeodato Simó
fadf30b942
Also use italics for book title in editions.html template
2023-09-23 17:49:38 -03:00
Adeodato Simó
cc05cabcb5
Note content: use italics for book titles + em-dash for Quotation
2023-09-23 17:49:38 -03:00
Mouse Reeve
ef582f1bc2
Merge pull request #2986 from NetspherePub/2985
...
Correct EPUB spelling
2023-09-22 17:04:18 -07:00
Mouse Reeve
0a029e6e01
Merge pull request #2992 from jderuiter/new-edition-issues
...
parent_work was not always included when needed
2023-09-22 17:00:40 -07:00
Adeodato Simó
1e495684af
Serve static files in debug mode
2023-09-18 19:01:22 -03:00
Adeodato Simó
ce3885d4f6
Use endposition
when serializing Quotation
2023-09-17 15:18:48 -03:00
Adeodato Simó
1322a0c693
Substitute “p.” for “page” in page progress serialization
2023-09-17 15:18:21 -03:00
Adeodato Simó
25fd7276ea
pure_content()
refactor: shorter conditionals
2023-09-17 15:01:04 -03:00
Joeri de Ruiter
af5f71f5ac
Revert return type for get_or_set
2023-09-13 10:21:30 +02:00
Joeri de Ruiter
05f8bd0d3c
parent_work was not always included in work when needed
2023-09-13 09:46:31 +02:00