Skip to content

Releases: neodb-social/neodb

0.10.4.9

28 Oct 20:10
Compare
Choose a tag to compare

customize page size
cleanup dependencies

0.10.4.8

19 Oct 15:55
Compare
Choose a tag to compare

What's Changed

  • add qidian,ypshuo parser by @j1g5awi
  • add fediverse:creator tag to posts/identities
  • improve login compatibility with Sharkey
  • fix missing title in discog parser

New Contributors

0.10.4.7

15 Oct 12:14
Compare
Choose a tag to compare
  • Fix login by friendica
  • Fix login by firefish
  • use API key for google books API call

0.10.4.6

13 Oct 23:49
Compare
Choose a tag to compare

What's Changed

  • add book format enum to edition
  • Support "sending" emails to console in debug mode by @pmakholm in #735
  • Update zh-Tw translation of django.po by @den13501 in #736
  • Add new link format from Douban app

New Contributors

0.10.4.5

27 Jul 19:59
Compare
Choose a tag to compare

add game release type
fix minor issues with Bandcamp and TMDB

0.10.4.4

23 Jul 18:05
Compare
Choose a tag to compare

Danish translation and various fixes

New Contributors

0.10.4.3

19 Jul 12:37
Compare
Choose a tag to compare

fix search

0.10.4.1

18 Jul 15:53
Compare
Choose a tag to compare
  • some minor improvement to reduce unhelpful error log
  • add error log for email sending failure
  • add some preference toggle during registration

0.10.4

17 Jul 13:42
Compare
Choose a tag to compare

Configuration

NEODB_LANGUAGE is deprecated, added three new configurations in .env:

  • NEODB_PREFERRED_LANGUAGES - preferred languages when importing titles from 3rd party sites like TMDB and Steam, comma-separated list of ISO-639-1 two-letter codes, en,zh by default. It can includes languages with no UI translations yet, e.g. if set to ja,en,zh, NeoDB scraper will fetch catalog metadata in three languages if they are available from third party sites, Japanese users (= whose browser language set to ja-JP) will see English UI with Japanese metadata.
  • NEODB_DISCOVER_FILTER_LANGUAGE - False by default; when set to True, /discover/ will only show items with languages match one of NEODB_PREFERRED_LANGUAGES.
  • NEODB_DISCOVER_SHOW_LOCAL_ONLY - False by default; when set to True, only show items marked by local users rather than entire network on /discover/
  • NEODB_DISCOVER_UPDATE_INTERVAL - minutes between each update for popular items on /discover/

Catalog scrapers will try to get title and description in each languages configured in NEODB_PREFERRED_LANGUAGES. the coverage of languages may vary by sites, e.g. TMDB and Steam may have better coverage than others. some fields including people and company names do not support multi-language yet, which will be improved in the future

Discover page will show item titles matching the user's preference, and fallback to site preference (NEODB_PREFERRED_LANGUAGES), if neither match, it will show just a random language available.

Migration

after upgrading to this version, existing items in database will need to be migrated to support multiple languages

alias neodb-manage='docker compose --profile production run --rm shell neodb-manage'
neodb-manage catalog --localize
neodb-manage cron --runonce DiscoverGenerator

the actual language of those titles are auto-detected during the migration, which means some may not be correct (e.g. a common error I noticed is some short en titles are mistaken as pt), but you can manually correct them by either editing the item metadata or use the Refetch option in the edit page.

API

  • in order to get a specific language version of title and description, Accept-Language has to be specified in the request HTTP header
  • brief has been renamed to description, hosts has been renamed to host; supports of these legacy fields will be removed in 0.11
  • Edition.language is now a list of strings

Full Changelog: 0.10.3.2...0.10.4beta1

0.10.4rc9

17 Jul 05:27
Compare
Choose a tag to compare
0.10.4rc9 Pre-release
Pre-release

Configuration

NEODB_LANGUAGE is deprecated, added three new configurations in .env:

  • NEODB_PREFERRED_LANGUAGES - preferred languages when importing titles from 3rd party sites like TMDB and Steam, comma-separated list of ISO-639-1 two-letter codes, en,zh by default. It can includes languages with no UI translations yet, e.g. if set to ja,en,zh, NeoDB scraper will fetch catalog metadata in three languages if they are available from third party sites, Japanese users (= whose browser language set to ja-JP) will see English UI with Japanese metadata.
  • NEODB_DISCOVER_FILTER_LANGUAGE - False by default; when set to True, /discover/ will only show items with languages match one of NEODB_PREFERRED_LANGUAGES.
  • NEODB_DISCOVER_SHOW_LOCAL_ONLY - False by default; when set to True, only show items marked by local users rather than entire network on /discover/
  • NEODB_DISCOVER_UPDATE_INTERVAL - minutes between each update for popular items on /discover/

Catalog scrapers will try to get title and description in each languages configured in NEODB_PREFERRED_LANGUAGES. the coverage of languages may vary by sites, e.g. TMDB and Steam may have better coverage than others. some fields including people and company names do not support multi-language yet, which will be improved in the future

Discover page will show item titles matching the user's preference, and fallback to site preference (NEODB_PREFERRED_LANGUAGES), if neither match, it will show just a random language available.

Migration

after upgrading to this version, existing items in database will need to be migrated to support multiple languages

alias neodb-manage='docker compose --profile production run --rm shell neodb-manage'
neodb-manage catalog --localize
neodb-manage cron --runonce DiscoverGenerator

the actual language of those titles are auto-detected during the migration, which means some may not be correct (e.g. a common error I noticed is some short en titles are mistaken as pt), but you can manually correct them by either editing the item metadata or use the Refetch option in the edit page.

API

  • in order to get a specific language version of title and description, Accept-Language has to be specified in the request HTTP header
  • brief has been renamed to description, hosts has been renamed to host; supports of these legacy fields will be removed in 0.11
  • Edition.language is now a list of strings

Full Changelog: 0.10.3.2...0.10.4beta1