update sponsor links & etc

This commit is contained in:
Your Name 2023-01-23 17:35:52 -05:00 committed by Henri Dickson
parent 236a517d97
commit 2da1991025
2 changed files with 10 additions and 6 deletions

View file

@ -2,7 +2,7 @@
![Test Status](https://github.com/neodb-social/neodb/actions/workflows/django.yml/badge.svg?branch=main) ![Test Status](https://github.com/neodb-social/neodb/actions/workflows/django.yml/badge.svg?branch=main)
Boofilsic/NeoDB is an open source project and free service to help users manage, share and discover collections, reviews and ratings for culture products (e.g. books, movies, music, podcasts, games and performances) in Fediverse. Boofilsic/NeoDB is an open source project and free service to help users manage, share and discover collections, reviews and ratings for culture products (e.g. books, movies, music, podcasts, games and performances) in Fediverse.
[NeoDB.social](https://neodb.social) and [NiceDB](https://nicedb.org) are free services hosted by volunteers. [NeoDB.social](https://neodb.social) and [NiceDB](https://nicedb.org) are free services hosted by volunteers.
@ -18,4 +18,6 @@ Please see [doc/install.md](doc/install.md)
- Join our Discord community, links available on [our Fediverse profile](https://mastodon.social/@neodb) - Join our Discord community, links available on [our Fediverse profile](https://mastodon.social/@neodb)
## Sponsor ## Sponsor
If you like this project, please consider sponsoring NiceDB on [Patreon](https://patreon.com/tertius). If you like this project, please consider sponsoring
- NeoDB on [ko-fi](https://ko-fi.com/neodb) or [liberapay](https://liberapay.com/neodb)
- NiceDB on [Patreon](https://patreon.com/tertius).

View file

@ -3,7 +3,7 @@ Catalog
Data Models Data Models
----------- -----------
all types of catalog items inherits from `Item` which stores as multi-table django model. all types of catalog items inherits from `Item` which stores as multi-table django model.
one `Item` may have multiple `ExternalResource`s, each represents one page on an external site one `Item` may have multiple `ExternalResource`s, each represents one page on an external site
```mermaid ```mermaid
@ -34,10 +34,10 @@ classDiagram
} }
Item <|-- Edition Item <|-- Edition
Item <|-- Series Item <|-- Series
Series *-- Work Series *-- Work
Work *-- Edition Work *-- Edition
class Series { class Series {
+String Goodreads_Series_ID +String Goodreads_Series_ID
} }
@ -58,7 +58,7 @@ classDiagram
Item <|-- TVEpisode Item <|-- TVEpisode
TVShow *-- TVSeason TVShow *-- TVSeason
TVSeason *-- TVEpisode TVSeason *-- TVEpisode
class TVShow{ class TVShow{
+String IMDB_ID +String IMDB_ID
+String TMDB_ID +String TMDB_ID
@ -90,6 +90,7 @@ Add a new site
-------------- --------------
- add a new item to `IdType` enum in `catalog/common/models.py` - add a new item to `IdType` enum in `catalog/common/models.py`
- add a new file in `catalog/sites/`, a new class inherits `AbstractSite`, with: - add a new file in `catalog/sites/`, a new class inherits `AbstractSite`, with:
* `SITE_NAME`
* `ID_TYPE` * `ID_TYPE`
* `URL_PATTERNS` * `URL_PATTERNS`
* `WIKI_PROPERTY_ID` (not used now) * `WIKI_PROPERTY_ID` (not used now)
@ -105,3 +106,4 @@ Add a new site
+ move captured response file to `test_data/`, except large/images files. Or if have to, use a smallest version (e.g. 1x1 pixel / 1s audio) + move captured response file to `test_data/`, except large/images files. Or if have to, use a smallest version (e.g. 1x1 pixel / 1s audio)
+ add `@use_local_response` decorator to test methods that should pick up these responses + add `@use_local_response` decorator to test methods that should pick up these responses
- run all the tests and make sure they pass - run all the tests and make sure they pass
- add `&.source-label__sitename` to `common/static/sass/_Label.sass`