Michael Mayer
|
7f48ad5efa
|
Purge: Only process 250 rows per iteration
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-10 22:36:08 +02:00 |
|
Michael Mayer
|
b865203d89
|
Purge: Sleep 250ms to give database time for other tasks
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-10 22:21:05 +02:00 |
|
Michael Mayer
|
561323d544
|
Backend: Re-render thumbs after files changed #299
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-10 20:10:17 +02:00 |
|
Michael Mayer
|
8ccaaff4e5
|
Backend: Update label photo count and refactor entity fixtures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-10 19:43:49 +02:00 |
|
Michael Mayer
|
406737e180
|
Fix places counter #292
See https://github.com/photoprism/photoprism/issues/292#issuecomment-626203720
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-10 16:12:15 +02:00 |
|
Michael Mayer
|
4beeebe5cc
|
Backend: Add Hidden column to PhotoAlbum
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-09 21:00:02 +02:00 |
|
Michael Mayer
|
253fbc632b
|
Backend: Add Hidden column to PhotoAlbum
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-09 20:59:45 +02:00 |
|
Michael Mayer
|
252e67ce03
|
Add photo_count column to labels table
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-09 11:00:22 +02:00 |
|
Michael Mayer
|
3aad02501f
|
Run unit tests in separate databases to avoid conflicts
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 19:34:29 +02:00 |
|
Michael Mayer
|
e703a54586
|
Backend: Close db connection after running tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 18:35:19 +02:00 |
|
Michael Mayer
|
2f28c6840e
|
Backend: Try migrations a second time if they fail
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 18:18:19 +02:00 |
|
Michael Mayer
|
40b7a1285f
|
Backend: Reduce db migration error log level to debug
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 18:02:53 +02:00 |
|
Michael Mayer
|
c5dbe1bc14
|
Backend: Refactor database migration
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 17:45:32 +02:00 |
|
Michael Mayer
|
94dfb3cd19
|
Add WaitForMigration() function to avoid db test failures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 16:36:09 +02:00 |
|
Michael Mayer
|
05d9187167
|
Update count in places are restoring photos #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 16:01:34 +02:00 |
|
Theresa Gresch
|
aaf1ff64ad
|
Backend: Add tests to internal/entity
|
2020-05-08 15:46:16 +02:00 |
|
Michael Mayer
|
842da9f09b
|
Backend: Query package refactoring
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 15:41:01 +02:00 |
|
Theresa Gresch
|
695294fc58
|
Backend: Improve photo_label_test
|
2020-05-08 14:31:58 +02:00 |
|
Theresa Gresch
|
0d0ba28331
|
Backend: Add tests to internal/entity
|
2020-05-08 14:18:11 +02:00 |
|
Michael Mayer
|
1894b4440f
|
Detect and report photos without primary file, e.g. after purging #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 12:01:28 +02:00 |
|
Michael Mayer
|
3288ede6e6
|
Simplify Purge() function #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 12:01:28 +02:00 |
|
Theresa Gresch
|
dc23632556
|
Backend: Add tests to internal/entity
|
2020-05-08 11:46:09 +02:00 |
|
Theresa Gresch
|
a136945470
|
Backend: Add tests to internal/entity
|
2020-05-08 10:21:03 +02:00 |
|
Michael Mayer
|
c0c0c96c30
|
Remove primary flag for missing files #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 09:36:34 +02:00 |
|
Michael Mayer
|
305ec3e822
|
Get convert option for index command from settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 08:09:43 +02:00 |
|
Michael Mayer
|
a5a2da36f1
|
Automatically purge when running index command #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 07:56:14 +02:00 |
|
Michael Mayer
|
830ce5fc21
|
Improve purge performance using ignore option #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-08 07:43:14 +02:00 |
|
Michael Mayer
|
979a5f5c76
|
Code clean-up and refactoring of purge command #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 21:55:34 +02:00 |
|
Michael Mayer
|
252672b291
|
Run purge after indexing files in Web UI #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 21:46:00 +02:00 |
|
Michael Mayer
|
ac33ee87a1
|
Purge command: Fix database query and add --dry flag #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 20:33:11 +02:00 |
|
Michael Mayer
|
f0187df4a1
|
Purge command to remove missing files from the index #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 19:42:04 +02:00 |
|
Theresa Gresch
|
5c0d12c4d9
|
Backend: Add tests to internal/entity
|
2020-05-07 18:08:12 +02:00 |
|
Theresa Gresch
|
4c6aec9912
|
Backend: Add tests to internal/entity
|
2020-05-07 17:29:35 +02:00 |
|
Theresa Gresch
|
a0465e0e10
|
Backend: Add tests to internal/entity
|
2020-05-07 16:45:33 +02:00 |
|
Michael Mayer
|
c318d22ca7
|
UX: Rename "path" to "folder"
See https://twitter.com/browseyourlife/status/1258330913991208960
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 12:49:06 +02:00 |
|
Michael Mayer
|
38fe8277fa
|
UX: Rename "directory" to "folder"
See https://twitter.com/browseyourlife/status/1258330913991208960
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 12:33:09 +02:00 |
|
Michael Mayer
|
c505503485
|
NSFW: Don't set flag if private filter is disabled #296
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 10:23:09 +02:00 |
|
Michael Mayer
|
a6ab94fb2e
|
Indexer: Observe Convert option flag
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-07 08:29:41 +02:00 |
|
Theresa Gresch
|
1ccb546893
|
Backend: Add tests to internal/form
|
2020-05-06 17:05:06 +02:00 |
|
Michael Mayer
|
3ccad67622
|
Index and import subdirectories #258
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-06 15:53:47 +02:00 |
|
Theresa Gresch
|
ff505579ec
|
Backend: Add tests to internal/api
|
2020-05-06 12:56:13 +02:00 |
|
Michael Mayer
|
1479a3ec5b
|
Refactor indexer so that thumbs and jpegs can be created on demand #258
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-06 10:35:41 +02:00 |
|
Michael Mayer
|
6c6ea0ac3d
|
Support GPSVersionID 2.0.0.0 #295
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-06 08:03:57 +02:00 |
|
Michael Mayer
|
bc69f22da2
|
Fix edit dialog after renaming config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-05 19:44:02 +02:00 |
|
Michael Mayer
|
9b643c830f
|
Add template settings; remove twitter config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-05 18:26:44 +02:00 |
|
Michael Mayer
|
a886ad7942
|
Improve naming of thumbnail config values #294
Reverted PHOTOPRISM_RESAMPLE_FILTER back to PHOTOPRISM_THUMB_FILTER so that nothing breaks.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-05 17:17:19 +02:00 |
|
Michael Mayer
|
14fc9cd374
|
Revert and improve naming of thumbnail config values #294
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-05 17:04:13 +02:00 |
|
Michael Mayer
|
1c53a565a7
|
Configure on-demand rendering of regular thumbnail sizes #294
Can be enabled by setting PHOTOPRISM_RESAMPLE_UNCACHED to true
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
|
2020-05-05 15:42:54 +02:00 |
|
Theresa Gresch
|
ee6dd2be72
|
Backend: Add tests to internal/api
|
2020-05-05 09:28:52 +02:00 |
|
Theresa Gresch
|
b16216819b
|
Backend: Add test fixtures
|
2020-05-05 09:28:30 +02:00 |
|