Images section (#813)

* Add new configuration options
* Refactor scan/clean
* Schema changes
* Add details to galleries
* Remove redundant code
* Refine thumbnail generation
* Gallery overhaul
* Don't allow modifying zip gallery images
* Show gallery card overlays
* Hide zoom slider when not in grid mode
This commit is contained in:
WithoutPants
2020-10-13 10:12:46 +11:00
committed by GitHub
parent df3252e24f
commit aca2c7c5f4
147 changed files with 12483 additions and 946 deletions

View File

@@ -418,6 +418,8 @@ func sqlGenKeys(i interface{}, partial bool) string {
if partial || t != 0 {
query = append(query, fmt.Sprintf("%s=:%s", key, key))
}
case bool:
query = append(query, fmt.Sprintf("%s=:%s", key, key))
case SQLiteTimestamp:
if partial || !t.Timestamp.IsZero() {
query = append(query, fmt.Sprintf("%s=:%s", key, key))