bookwyrm/bookwyrm
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
..
activitypub Merge pull request #3007 from hughrun/signed-get 2023-10-02 09:52:59 -07:00
connectors Change import of clean 2023-08-02 19:37:52 +02:00
forms Only show author confirmation if new authors are added, show suggestions for parent work and set it correctly. 2023-08-01 15:12:50 +02:00
importers Type annotations for bookwyrm.importers 2023-08-21 16:58:16 +02:00
isbn Type annotations for bookwyrm.isbn 2023-08-21 15:46:50 +02:00
management Fixes typo and outdated comment 2023-08-01 20:53:06 -07:00
middleware Adds IP blocklist views 2021-09-17 13:04:10 -07:00
migrations Adds merge migration 2023-08-06 16:02:28 -07:00
models Merge pull request #3008 from dato/author_in_citation 2023-10-18 17:31:55 -07:00
static Run stylelint to fix remaining issues 2023-10-18 20:39:12 -03:00
telemetry Added mypy to scripts and workflow, and some first annotations for celerywyrm 2023-07-22 13:27:43 +02:00
templates Minor vocabulary fixes and structured data improvements (#3036) 2023-10-21 17:53:24 +02:00
templatetags Avoid server error when encountering broken edition 2023-07-17 07:07:01 -07:00
tests Merge pull request #3008 from dato/author_in_citation 2023-10-18 17:31:55 -07:00
utils Revert return type for get_or_set 2023-09-13 10:21:30 +02:00
views Merge pull request #2949 from bookwyrm-social/user-search 2023-10-02 10:21:08 -07:00
__init__.py
activitystreams.py fix illegal values in redis jobs 2023-08-19 08:34:03 +10:00
admin.py Adds model for instance admin announcements 2021-05-19 14:00:46 -07:00
apps.py Add automatic instrumentation to Postgres queries 2023-04-07 01:58:49 -04:00
book_search.py Some small improvements to annotations 2023-07-28 20:54:03 +02:00
context_processors.py Python formatting 2022-03-01 11:39:08 -08:00
emailing.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
imagegenerators.py Fix lint 2021-06-19 19:44:14 +02:00
lists_stream.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
preview_images.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
redis_store.py Merge pull request #2784 from WesleyAC/add-status-cache-get-audience 2023-04-07 06:43:04 -07:00
settings.py Move version out of settings (#3045) 2023-10-19 11:29:59 +02:00
signatures.py fix tests and formatting 2023-04-13 22:33:54 +10:00
status.py Catches missing reference to previous sanitizer 2022-07-04 13:24:13 -07:00
storage_backends.py Enable Azure BlobStorage as an alternative to AWS S3 2023-03-05 12:08:16 -05:00
suggested_users.py fix illegal values in redis jobs 2023-08-19 08:34:03 +10:00
tasks.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
thumbnail_generation.py Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
urls.py Merge branch 'main' into installable-pwa 2023-10-07 13:34:35 +01:00
wsgi.py