Rhet Turnbull
e7099d250b
Concurrency refactor 999 ( #1029 )
...
* Working on making export threadsafe, #999
* Working on making export threadsafe, #999
* refactor for concurrent export, #999
* Fixed race condition in ExportRecord context manager
2023-04-01 09:39:08 -07:00
Rhet Turnbull
1d1b69601f
Added --replace-keywords to batch-edit #1018 ( #1019 )
2023-03-14 11:58:13 -07:00
Rhet Turnbull
cfb623d19b
Feature appends prepends 1010 ( #1015 )
...
* Added appends, prepends filters, #1010
* Fixed initialization of field_arg
2023-03-09 06:22:24 -08:00
Rhet Turnbull
94f484e9ec
Feature date added 998 ( #1003 )
...
* Implemented --date-added, #998
* Added --date-added-from-photo
* Fixed typehint
2023-02-25 14:38:49 -08:00
Rhet Turnbull
1661cc9f0b
Feature batch edit 949 ( #1001 )
...
* Initial implementation of batch-edit, #949
* Added tests for batch-edit, #949
2023-02-25 14:37:26 -08:00
Rhet Turnbull
31212a1daa
Added exportdb test for #990
2023-02-19 22:54:13 -08:00
Rhet Turnbull
06b02b4a23
Feature exportdb update 990 ( #992 )
...
* Added cloud_guid, #990
* Added fingerprint, cloud_guid to PhotoInfo.json
* Added stub for --migrate-photos-library
* Added --migrate-photos-library option to exportdb, #990
2023-02-19 22:51:25 -08:00
Rhet Turnbull
b03670dc70
Implemented show command, #964 ( #982 )
2023-02-12 08:11:38 -08:00
Rhet Turnbull
ce297ced0a
Added lock files to export to minimize name collisions ( #981 )
2023-02-11 18:21:15 -08:00
Rhet Turnbull
97a0a65d8a
Feature UUID from stdin 965 ( #979 )
...
* Allow --uuid-from-file to read from stdin, #965
* Load query options before opening the database
2023-02-11 09:26:42 -08:00
Rhet Turnbull
0982d0c548
Fixes regression for #640
2023-02-05 18:00:04 -08:00
Rhet Turnbull
007f0e0960
Feature add query command ( #970 )
...
* Added query_command and example
* Refactored QUERY_OPTIONS, added query_command, refactored verbose, #930 , #931
* Added query options to debug-dump, #966
* Refactored query, #602
* Added precedence test for --load-config
* Refactored handling of query options
* Refactored export_photo
* Removed extraneous print
* Updated API_README
* Updated examples
2023-02-05 14:48:42 -08:00
Rhet Turnbull
9efb99cbd4
Fixed --dry-run with --finder-tags-keywords and --xattr-template, #958 ( #961 )
2023-01-28 18:08:19 -08:00
Rhet Turnbull
0c293d0bf5
Refactor verbose 931 ( #960 )
...
* Began refactoring verbose code for #931
* Fixed tests for timewarp due to verbose refactor
* Updated test data
* More refactoring for #931
* Refactored queryoptions.py
* Refactored queryoptions.py
* Refactored queryoptions.py
* Refactored echo_error
* Refactored debug
* Refactored debug
* Refactored use of verbose in export
* Refactored use of verbose in export
* Refactred --verbose in add-locations and debug-dump
* Refactored --verbose for
* Refactored --verbose for osxphotos exportdb
* Refactored --verbose for osxphotos import
* Refactored --verbose for osxphotos orphans
* Refactored --verbose for osxphotos snap-diff
* Refactored --verbose for osxphotos sync
* Refactored --verbose for osxphotos timewarp
* Added default verbose() function to verbose
2023-01-28 17:44:20 -08:00
Rhet Turnbull
770d85759d
Implemented {counter} template ( #957 )
2023-01-25 06:17:06 -08:00
oPromessa
80ee142c7f
Added --not-edited option to query | Added corresponding tests for query and export ( #956 )
...
* Added --not-edited option to query
Added --not-edited option to query (exclusive with --edited) to search for photos that have not been edited.
Added test scenarios for --edited and -.-not-edited
* Added --not-edited option to query
Added --not-edited option to query (exclusive with --edited) to search for photos that have not been edited.
Added query test scenarios for --edited and --not-edited
Added export test scenarios for --edited and --not-edited
* Added --not-edited option to query
Added --not-edited option to query (exclusive with --edited) to search for photos that have not been edited.
Added query test scenarios for --edited and --not-edited
Added export test scenarios for --edited and --not-edited
* Made edited/non-edited mutually exclusive in query() to match other filters
Co-authored-by: Rhet Turnbull <rturnbull@gmail.com>
2023-01-24 20:11:47 -08:00
Rhet Turnbull
369fa553e8
Feature timewarp parse date 867 ( #951 )
...
* Working on tests for timewarp --parse-date
* Test working for --parse-date
* Refactored date utils out of timewarp.py
* Added timezone to --parse-date, updated tests
* Added cog to README
2023-01-22 22:35:05 -08:00
Rhet Turnbull
29968269ff
Feature person favorite 940 ( #950 )
...
* Added person favorite for #940
* Added person.feature_less #940 (but not 100% sure it's right yet)
* Added tests for PersonInfo.favorite, PersonInfo.feature_less
2023-01-22 11:53:08 -08:00
Rhet Turnbull
bd01e41714
Bug timewarp sync 946 ( #947 )
...
* Fix --timezone iCloud sync, #946
* ADded tests for timezone fix #946
2023-01-21 14:48:56 -08:00
Rhet Turnbull
69eb4b070c
Updated search info for Ventura, #937 ( #943 )
2023-01-21 10:29:31 -08:00
Rhet Turnbull
8c46b8e545
Bug slow import 934 ( #942 )
...
* Working on slow import, #934
* Tests working for #934
* Removed unnecessary report record updates
2023-01-21 07:44:42 -08:00
Rhet Turnbull
83d14ac191
Feature add locations 929 ( #932 )
...
* Initial implementation of add-locations command #929
* Updated help for add-locations
* Fixed handling of shared albums in sync
* Added test for add-locations
2023-01-16 21:26:02 -08:00
Rhet Turnbull
c383212822
Feature add sync command 887 ( #921 )
...
* Starting work on sync command, #887
* Added parsing for --set, --merge
* Added query options
* Added --incloud, --not-incloud, --not-missing, --cloudasset, --not-cloudasset to query options, #800 (#902 )
* Got basic import logic working
* Got basic set/merge logic working
* add to album now working
* Resolve paths for --import
* Refactored report writer to reuse code from export report
* Removed report_writer_sync.py
* add oPromessa as a contributor for code (#914 )
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
* Added --profile, --watch, --breakpoint, --debug as global options (#917 )
* Removed unnecessary import
* Release 0.56.0 (#918 )
* Release 0 56 0 (#919 )
* Release 0.56.0
* Release 0.56.0
* Updated CHANGELOG.md [skip ci]
* Got CSV reporting, summary results done
* Added json report for sync results
* Added sqlite report for sync
* Basic set/merge working for sync
* sync mvp working
* Added help text for sync
* Added test for sync
* Updated tests for sync
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-01-14 22:06:20 -08:00
Rhet Turnbull
8caee5a81b
Added --incloud, --not-incloud, --not-missing, --cloudasset, --not-cloudasset to query options, #800 ( #902 )
2023-01-08 14:53:16 -08:00
Rhet Turnbull
6788f318a2
Added PhotoInfo.fingerprint #900 ( #901 )
2023-01-06 18:39:12 -08:00
Rhet Turnbull
eb0251b198
Fix for incorrect path for shared photos on Ventura, #883 ( #893 )
...
Fixes PhotoInfo.path to return the correct path for shared photos on Ventura (#883 )
2023-01-01 08:26:54 -08:00
Rhet Turnbull
1b89f85a41
Fix for #853 , deleted files not in exportdb --report ( #877 )
2022-12-19 08:02:29 -08:00
Rhet Turnbull
0472582870
Fix for #872 , duplicate results with --exif (and --name) ( #876 )
2022-12-19 07:39:24 -08:00
Rhet Turnbull
b2b814954b
Added errors to export database, --update-errors to export, #872 ( #874 )
2022-12-18 14:16:38 -08:00
Rhet Turnbull
3557658b73
Partial fix for #859 , missing path edited on Mojave ( #862 )
...
* Partial fix for #859 , missing path edited on Mojave
* Fixed annotation issue
2022-12-11 11:19:11 -08:00
Rhet Turnbull
ce5145ff85
Added --post-function to import, #842 ( #851 )
2022-11-24 09:26:09 -08:00
Rhet Turnbull
6bf24ad2de
Feature import parse date 847 ( #850 )
...
* Working on #847
* Added additional help for --parse-date
* Added tests for --parse-date
2022-11-23 22:56:02 -08:00
Rhet Turnbull
d6fc8fc3b1
Added test for #848
2022-11-19 18:09:47 -08:00
Rhet Turnbull
f610d3cc65
Updated search_info test
2022-11-15 20:49:28 -08:00
Rhet Turnbull
a727dc9294
Added --alt-copy method for #807 ( #835 )
2022-11-14 21:42:02 -08:00
Rhet Turnbull
c2c2da6c95
Bug search info macos13 816 ( #831 )
...
* Fixed SearchInfo for macOS 13, #816
* Additional fixes for SearchInfo, #816
2022-11-13 21:17:43 -08:00
Rhet Turnbull
831eecfdf7
Added tests for macOS 13 / Ventura, added test for labels on macOS 13, #816
2022-11-13 07:57:00 -08:00
Rhet Turnbull
5665cf1804
Refactor update osxmetadata ( #804 )
...
* Updated osxmetadata to use v1.0.0
* Added README_DEV
* fix for missing detected_text xattr
* fix for missing detected_text xattr
2022-10-15 22:12:11 -07:00
Rhet Turnbull
191a2cd618
Bugfix exportdb migration 794 ( #795 )
...
* Fixed migration for already migrated database, #794
* Version bump
2022-09-25 07:55:15 -07:00
Rhet Turnbull
43fcdbc371
Updated dependencies
2022-09-17 09:03:40 -07:00
Rhet Turnbull
3cb4be4254
Feature read iphone db #745 ( #791 )
...
* Added ability to read iPhone database
* Added comments
* Fixed tests
* Fixed albums for iPhone database
2022-09-11 22:26:45 -07:00
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