23 Commits (fe35fe57a5015d6f9289cb18b28a629fb8b874b5)

Author SHA1 Message Date
Felix Stupp fe35fe57a5
entities: add support for UriHolder._set_primary_uri return value 11 months ago
Felix Stupp 10fb1438a9
models/entities: Reformat code 11 months ago
Felix Stupp 8c2f01fdae
models/entities: Use custom Set type for better typing 11 months ago
Felix Stupp 4ff8bef871
Add navigatable pages for tags 11 months ago
Felix Stupp 3a1b2725bc
MediaElement: Add sort_key 11 months ago
Felix Stupp 86e9fb11fb
Media|Collection: Implement all UriHolder abstracts 11 months ago
Felix Stupp 2f132ee701
Fix circular dependency with UriHolder by using abstract _clear_uri_set
- instead of abstract _set_uri_set
- removed circular dependency on UriHolder.add_uris
11 months ago
Felix Stupp f7e53f3097
Reformat code 11 months ago
Felix Stupp 70be1210d3
entities: Make {collection,media}_list public in Tag 11 months ago
Felix Stupp 1e27f7b3d1
UriHolder: Make uri & uri_set proper properties
- to avoid direct DB access
- to allow for getter & setter functions
- makes consistency checks on each lookup unneccesary
- propose async consistency checks (TODO)
11 months ago
Felix Stupp 44a630c074
Split models/entities into multiple files 1 year ago
Felix Stupp fc8389b3b2
models/entities: Make CUSTOM_TABLE_DEF's SQLs lazy
because _table_ is not yet available, but later when needed
1 year ago
Felix Stupp 8d5ac34bc6
Separate MediaThumbnail & *Cache tables 1 year ago
Felix Stupp 0271728366
Reformat code 1 year ago
Felix Stupp e6fa101c1d
MediaThumbnail.download: Raise error if thumbnail has no valid mime type 1 year ago
Felix Stupp bc6a25b914
MediaCollection.add_episode: Do not update season/episode info if set to 0 1 year ago
Felix Stupp 30ac2b1240
Tag: On non-preference tags see super tags as assigned ones
- hence letting a non-preference tag be accounted for nothing
- but using its "super tags" as the direct replacements for it
1 year ago
Felix Stupp dd583e9aea
TagKey: Allow Tag objects for super_tags
Subsequently for get_tag as well
1 year ago
Felix Stupp c5eb23ebff
Add TagKey
- tags generated automatically & managed by the system & extractors
- can be found by searching for their tag keys
1 year ago
Felix Stupp 52c7934acb
Decouple tag_scoring from model entities
By using Protocol typing
1 year ago
Felix Stupp 8472fc4c0d
Add maintenance page with button to scrub temporary tags 1 year ago
Felix Stupp ed1e5b3f26
Extract temporary tag management in own methods
Also added way to uniquely identifiying them
1 year ago
Felix Stupp 328f234711
Refractor models.py into 2 submodules 2 years ago