Commit Graph

9 Commits (8fcaf15fbe97427040d17a5625fe6c7102c15965)

Author SHA1 Message Date
voussoir 5f6d21fdee Give Photos a `searchhidden` property.
By default, photos with searchhidden do not appear in the search
results. This allows a small number of representative images from
a large album to appear in the results, while the rest can be
found on the album's page.

The same effect could be achieved with a tag and forbid search,
but tag searching has much higher cost and it would be more difficult
to implement as a default behavior without requiring lots of special
checks whenever listing tags etc.
2018-03-09 17:10:27 -08:00
voussoir a4a278c173 Give Tags a description field. 2017-05-12 17:31:17 -07:00
voussoir d52143e283 Add nullcheck to associated directory upgrader 2017-03-22 23:56:58 -07:00
voussoir efa930f4a8 Make associated_directory its own table so albums can have multiple
Also renamed a bunch of indices
2017-03-16 23:57:31 -07:00
voussoir 70f284d413 Fix album_group indices being added to the wrong table. 2017-03-10 05:49:18 -08:00
voussoir 83408aca4a Give Albums their own ID counter, own group rel table 2017-03-04 01:13:22 -08:00
voussoir c3a4fa443b Rename variable 'row_tuple' to 'db_row'; Improve some docstrings 2017-03-03 21:15:31 -08:00
voussoir 80cb66b825 Rename phototagger.py to photodb.py 2017-02-04 20:01:03 -08:00
voussoir c84acca6c9 Move modules into an actual package 2017-02-04 19:55:13 -08:00