Commit Graph

540 Commits

Author SHA1 Message Date
Rhet Turnbull
5391d1059c Refactor phototemplate (#788)
* Refactored date code in phototemplate.py

* Refactored date code in phototemplate.py

* Refactored place values in PhotoTemplate

* Refactored place values in PhotoTemplate
2022-09-04 15:13:59 -07:00
Rhet Turnbull
9b175d17d6 Refactored ExportResults (#786) 2022-09-03 21:01:48 -07:00
Rhet Turnbull
d5a9001661 Updated PhotosAlbum code 2022-09-02 18:07:09 -07:00
Rhet Turnbull
cee2acad53 Updated sqlitekvstore 2022-09-01 06:17:15 -07:00
Rhet Turnbull
b8ad8016aa Added --resume to import, #768 (#784) 2022-08-31 22:14:49 -07:00
Rhet Turnbull
e39776b51e Added --field to dump and query, #777 (#779) 2022-08-27 21:05:57 -07:00
Rhet Turnbull
af9311c9c8 Fixed --print to work with {tab} 2022-08-27 11:11:38 -07:00
Rhet Turnbull
5eaeb72c3e Added --print to dump, added {tab} 2022-08-27 10:50:25 -07:00
Rhet Turnbull
8e986b451e Added --print, --quiet, #769, #770 (#773) 2022-08-26 22:17:12 -07:00
Rhet Turnbull
66f6002a57 Feature filter filter 759 (#771)
* Added filter(x) filter, #759

* Added int, float filters
2022-08-26 06:39:32 -07:00
Rhet Turnbull
991511af07 Added --report to import command (#766) 2022-08-22 07:29:53 -07:00
Rhet Turnbull
3c98906158 Fixed template function to work with import command (#765) 2022-08-21 14:33:18 -07:00
Rhet Turnbull
c88fc75013 Feature add import 754 (#762)
* Initial alpha version of import command

* Refactored

* Improved help, added --clear-metadata

* Added --clear-metadata, --exiftool to import

* Added --keyword, --title, --description

* Added --location

* Added test for --location

* Changed --auto-folder to --split-folder, added docs

* Added --walk, updated docs

* Added --check-templates

* Updated help text for import
2022-08-21 09:07:22 -07:00
Rhet Turnbull
38a5998063 Feature orphans (#755)
* Initial implementation of orphan command

* Implemented orphans command, #84
2022-08-13 08:43:02 -07:00
Rhet Turnbull
db3c37fb5b Hot fix for 749 (#750) 2022-08-08 06:26:08 -07:00
Rhet Turnbull
76625b9e84 Feature add keep 730 (#740)
* Implemented #730, --keep

* Implemented #739, fixed --keep to accept relative paths

* Updated to macos-latest

Ref: https://github.com/actions/virtual-environments/issues/5583

* Release files for #730
2022-07-27 08:14:00 -07:00
Rhet Turnbull
5d33dcdcc3 Implemented --favorite-rating, #732 2022-07-23 18:16:06 -07:00
Rhet Turnbull
bd33b61882 Implemented #731, export_id in report database 2022-07-23 10:11:39 -07:00
Rhet Turnbull
292fdf3c74 Fix for large files and exiftool, #722 (#723) 2022-07-01 08:03:21 -07:00
Rhet Turnbull
5f63cccc7c Initial support for Ventura developer preview (#715) 2022-06-17 12:11:17 -07:00
Rhet Turnbull
75568269bb Added shortuuid, #314 2022-05-28 23:03:04 -07:00
Rhet Turnbull
9e9266ec9c Added slice, sslice filters 2022-05-28 22:07:31 -07:00
Rhet Turnbull
6f1e81b038 Updated join so join() works correctly, #706 2022-05-28 19:12:46 -07:00
Rhet Turnbull
43512240b3 Updated README.md, fixed broken test 2022-05-28 18:49:25 -07:00
Rhet Turnbull
0a973d67f9 Updated template language to match autofile
* Added field_arg to template grammar

* Updated template grammar to match autofile MTL

* Added format and filter args from autofile

* Added cloud_metadata to PhotoInfo

* Version bump, updated docs

* Added tests for filters
2022-05-27 18:33:07 -07:00
Rhet Turnbull
c776f3070d Added --uuid-info, --uuid-files to exportdb 2022-05-21 08:08:25 -07:00
Rhet Turnbull
dfcb99f377 Updated test 2022-05-21 07:25:47 -07:00
Rhet Turnbull
79e4b333e9 Initial implementation of exiftool command, #691 (#696)
* Initial implementation of exiftool command, #691

* updated comment [skip ci]
2022-05-20 22:12:48 -07:00
Rhet Turnbull
470839ba0d Feature report writer #309 (#690)
* Initial implementation of ReportWriter for #309

* Initial implementation of ReportWriterJSON

* Added sqlite report format

* Added auto-flush to report writer, fixed exportdb --info to output json

* Added exportdb --report
2022-05-15 09:30:17 -07:00
Rhet Turnbull
391815dd94 --report can now accept a template, #339 2022-05-14 09:04:04 -07:00
Rhet Turnbull
a89c66b3f7 Fixed test to run on MacOS > Catalina 2022-05-12 21:48:53 -07:00
Rhet Turnbull
abbb200838 Fixed path_derivatives for shared photos, #687 2022-05-08 18:30:13 -07:00
Rhet Turnbull
e7eefce5c5 Added --no-keyword, #637 2022-05-07 14:24:06 -07:00
Rhet Turnbull
35a4777ae4 Added --limit, #592 (#685) 2022-05-07 08:59:01 -07:00
Rhet Turnbull
57deb23988 Added --added-after, --added-before, --added-in-last, #439 2022-05-05 17:38:59 -07:00
Rhet Turnbull
4533057142 Added --added-after, --added-before, --added-in-last, #439 (#683) 2022-05-05 17:06:55 -07:00
Rhet Turnbull
3ed658a7d0 Updated to pytimeparse2, added tests for custom Click param types 2022-05-05 07:00:52 -07:00
Rhet Turnbull
9bc5890589 Added moment_info, #71 2022-05-03 22:12:09 -07:00
Rhet Turnbull
70d3247e8c Feature timewarp function (#678)
* Added constraints, fixed themes for timewarp

* Updated progress to use rich_progress

* Added --function to timewarp, #676
2022-05-01 22:22:01 -07:00
Rhet Turnbull
dc4d322dab Feature timewarp (#675)
* Implemented timewarp command

* Updated docs

* Added missing pytest mark
2022-05-01 10:01:05 -07:00
Rhet Turnbull
77433b01ed Added --year query option, #593 (#670) 2022-04-20 06:27:03 -07:00
Rhet Turnbull
afe5ed3dc0 Added validation for template string options 2022-04-18 10:28:02 -07:00
Rhet Turnbull
382d097285 fix verbose output when redirected to file, #661 2022-03-27 09:52:23 -07:00
Rhet Turnbull
445010e7e5 Richify (#653)
* Improved rich_echo, added rich_echo_via_pager

* Initial implementation for #647, added rich output
2022-03-06 07:17:09 -08:00
Rhet Turnbull
de1900f10a Debug updates 2022-03-04 20:05:15 -08:00
Rhet Turnbull
d8802368fc Added --tmpdir, #650 (#651) 2022-03-02 06:58:23 -08:00
Rhet Turnbull
25d6f148be CLI refactor (#642)
* Initial refactoring of cli.py

* Renamed cli_help

* Refactored all cli commands

* Dropped support for 3.7

* Added test for export with --min-size

* Version bump

* Fixed python version
2022-02-26 22:29:19 -08:00
Rhet Turnbull
43e1cb18cc Updated tests 2022-02-26 15:30:13 -08:00
Rhet Turnbull
173e3ccc37 Removed debug code from exiftool, fixed #641 2022-02-24 05:09:42 -08:00
Rhet Turnbull
5b66962ac1 Fixed export of bursts with --uuid and --selected, #640 2022-02-21 22:58:54 -08:00