diff --git a/CHANGELOG.md b/CHANGELOG.md index 190fd4124..8485b655f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,152 +1,153 @@ -# Changelog - -## Unreleased - -- fix: `icloud --username` parameter reported as not an option [#719](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/719) - -## 1.16.2 (2023-09-30) - -- fix: send logs to stdout [#697](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/697) - -## 1.16.1 (2023-09-27) - -- fix: shared libraries throw INTERNAL_ERROR for some users [#690](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/690) - -## 1.16.0 (2023-09-25) - -- feature: shared library support with `--list-libraries` and `--library` parameters [#455](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/455), [#489](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/489), [#678](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/678) - -## 1.15.1 (2023-07-16) - -- fix: excessive logging for existing and deduplicated files -- fix: add missing docker platforms back - -## 1.15.0 (2023-07-16) - -- fix: logs when progress bar enabled -- feature: `--dry-run` parameter to run icloudpd without changes to local files and iCloud -- fix: pypi.org license and description - -## 1.14.5 (2023-07-06) - -- fix: pypi publishing for macos - -## 1.14.4 (2023-07-06) - -- fix: docker auth during publishing - -## 1.14.3 (2023-07-06) - -- add binary wheel without dependencies to pypi -- fix: remove tests from pypi distributions - -## 1.14.2 (2023-07-03) - -- fix: finite retry on unhandled errors during photo iteration [#642](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/642) -- fix: retry on internal error during deletion [#615](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/615) - -## 1.14.1 (2023-07-02) - -- fix: retry authN on session error during deletion [#647](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/647) - -## 1.14.0 (2023-07-01) - -- fix: auto-delete date mismatch [#345](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/345) -- fix: `--version` parameter - -## 1.13.4 (2023-06-14) - -- experimental: fix npm packaging - -## 1.13.4 (2023-06-11) - -- experimental: fix npm registry publishing - -## 1.13.2 (2023-06-10) - -- experimental: fix npm registry publishing - -## 1.13.1 (2023-06-10) - -- experimental: add support for distributing `icloudpd` with [npm](README_NPM.md) package manager - -## 1.13.0 (2023-04-21) - -- fix: only delete files successfully downloaded [#614](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/614) - -## 1.12.0 (2023-03-10) - -- experimental: add macos binary [#551](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/551) -- fix: add `icloud` script to the source distribution [#594](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/594) - -## 1.11.0 (2023-02-24) - -- feature: add experimental mode for new cli - -## 1.10.0 (2023-02-17) - -- feature: add `--watch-with-interval` parameter [#568](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/568) -- fix: allow spaces in filenames [#378](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/378) -- feature: add `--notification-email-from` parameter [#496](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/496) - -## 1.9.0 (2023-02-10) - -- fix: replace invalid chars in filenames with '_' [#378](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/378) -- feature: add `--domain` parameter to support mainland China [#572](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/572), [#545](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/545) -- feature: add `linux/arm/v7` and `linux/arm/v6` docker image [#434](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/434) - -## 1.8.1 (2023-02-03) - -- fix: avoid crash when downloading over legacy `-original` name [#338](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/338) -- fix: remove mac binary unitl Apple signing is supported [#551](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/551) -- fix: PyPI distribution [#549](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/549) -- fix: keyring error [#539](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/539) - -## 1.8.0 (2023-01-27) - -- update dependencies to solve [#539](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/539) -- feature: a new command line option `--delete-after-download` to allow user to delete photos in the iCloud right after download is complete. [#431](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/431), [#368](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/368) [#314](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/314) [#124](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/124) [#332](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/332) - -## 1.7.3 (2023-01-20) - -- deprecating python 3.6 -- experimental: package `icloudpd` & `icloud` as executables [#146](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/146) - -## 1.7.2 (2021-01-16) - -- fix: smtp server_hostname cannot be an empty [#227](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/227) -- fix: Warning for missing `tzinfo` in Docker image removed by adding `tzinfo`-package. -[#286](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/286) - -## 1.7.1 (2020-11-15) - -- fix: dev Docker build on Windows correctly manages crlf for scripts - -## 1.7.1rc1 (2020-11-10) - -- fix: --only-print-filenames option displays filenames (live photos) of files that have already been downloaded #200 -- fix: docker works on Windows #192 - -## 1.7.0 (2020-11-1) - -- fix: --log-level option [#194](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/194) -- feature: Folder structure can be set to 'none' instead of a date pattern, -so all photos will be placed directly into the download directory. -- fix: Empty directory structure being created #185 -- feature: removed multi-threaded downloading and added deprecation notice to --threads-num parameter #180, #188 -- fix: documentation issues, first addressed in #141 and separated contribution -info from README.md into CONTRIBUTING.md - -## 1.6.2 (2020-10-23) - -- Began recording updates in `CHANGELOG.md` -- fix: reduce chances of IOErrors by changing default --threads_num to 1 #155, #163 -- fix: reduce chances of errors due to missing required parameters #175 -- fix: missing downloading process by upgrading tqdm dependency #167 - --------------------------------------------- - -## Earlier Versions - -Please refer to the commit history in GitHub: - +# Changelog + +## Unreleased + +- fix: file date attribute [#714](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/714) +- fix: `icloud --username` parameter reported as not an option [#719](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/719) + +## 1.16.2 (2023-09-30) + +- fix: send logs to stdout [#697](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/697) + +## 1.16.1 (2023-09-27) + +- fix: shared libraries throw INTERNAL_ERROR for some users [#690](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/690) + +## 1.16.0 (2023-09-25) + +- feature: shared library support with `--list-libraries` and `--library` parameters [#455](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/455), [#489](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/489), [#678](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/678) + +## 1.15.1 (2023-07-16) + +- fix: excessive logging for existing and deduplicated files +- fix: add missing docker platforms back + +## 1.15.0 (2023-07-16) + +- fix: logs when progress bar enabled +- feature: `--dry-run` parameter to run icloudpd without changes to local files and iCloud +- fix: pypi.org license and description + +## 1.14.5 (2023-07-06) + +- fix: pypi publishing for macos + +## 1.14.4 (2023-07-06) + +- fix: docker auth during publishing + +## 1.14.3 (2023-07-06) + +- add binary wheel without dependencies to pypi +- fix: remove tests from pypi distributions + +## 1.14.2 (2023-07-03) + +- fix: finite retry on unhandled errors during photo iteration [#642](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/642) +- fix: retry on internal error during deletion [#615](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/615) + +## 1.14.1 (2023-07-02) + +- fix: retry authN on session error during deletion [#647](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/647) + +## 1.14.0 (2023-07-01) + +- fix: auto-delete date mismatch [#345](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/345) +- fix: `--version` parameter + +## 1.13.4 (2023-06-14) + +- experimental: fix npm packaging + +## 1.13.4 (2023-06-11) + +- experimental: fix npm registry publishing + +## 1.13.2 (2023-06-10) + +- experimental: fix npm registry publishing + +## 1.13.1 (2023-06-10) + +- experimental: add support for distributing `icloudpd` with [npm](README_NPM.md) package manager + +## 1.13.0 (2023-04-21) + +- fix: only delete files successfully downloaded [#614](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/614) + +## 1.12.0 (2023-03-10) + +- experimental: add macos binary [#551](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/551) +- fix: add `icloud` script to the source distribution [#594](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/594) + +## 1.11.0 (2023-02-24) + +- feature: add experimental mode for new cli + +## 1.10.0 (2023-02-17) + +- feature: add `--watch-with-interval` parameter [#568](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/568) +- fix: allow spaces in filenames [#378](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/378) +- feature: add `--notification-email-from` parameter [#496](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/496) + +## 1.9.0 (2023-02-10) + +- fix: replace invalid chars in filenames with '_' [#378](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/378) +- feature: add `--domain` parameter to support mainland China [#572](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/572), [#545](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/545) +- feature: add `linux/arm/v7` and `linux/arm/v6` docker image [#434](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/434) + +## 1.8.1 (2023-02-03) + +- fix: avoid crash when downloading over legacy `-original` name [#338](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/338) +- fix: remove mac binary unitl Apple signing is supported [#551](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/551) +- fix: PyPI distribution [#549](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/549) +- fix: keyring error [#539](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/539) + +## 1.8.0 (2023-01-27) + +- update dependencies to solve [#539](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/539) +- feature: a new command line option `--delete-after-download` to allow user to delete photos in the iCloud right after download is complete. [#431](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/431), [#368](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/368) [#314](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/314) [#124](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/124) [#332](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/332) + +## 1.7.3 (2023-01-20) + +- deprecating python 3.6 +- experimental: package `icloudpd` & `icloud` as executables [#146](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/146) + +## 1.7.2 (2021-01-16) + +- fix: smtp server_hostname cannot be an empty [#227](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/227) +- fix: Warning for missing `tzinfo` in Docker image removed by adding `tzinfo`-package. +[#286](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/286) + +## 1.7.1 (2020-11-15) + +- fix: dev Docker build on Windows correctly manages crlf for scripts + +## 1.7.1rc1 (2020-11-10) + +- fix: --only-print-filenames option displays filenames (live photos) of files that have already been downloaded #200 +- fix: docker works on Windows #192 + +## 1.7.0 (2020-11-1) + +- fix: --log-level option [#194](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/194) +- feature: Folder structure can be set to 'none' instead of a date pattern, +so all photos will be placed directly into the download directory. +- fix: Empty directory structure being created #185 +- feature: removed multi-threaded downloading and added deprecation notice to --threads-num parameter #180, #188 +- fix: documentation issues, first addressed in #141 and separated contribution +info from README.md into CONTRIBUTING.md + +## 1.6.2 (2020-10-23) + +- Began recording updates in `CHANGELOG.md` +- fix: reduce chances of IOErrors by changing default --threads_num to 1 #155, #163 +- fix: reduce chances of errors due to missing required parameters #175 +- fix: missing downloading process by upgrading tqdm dependency #167 + +-------------------------------------------- + +## Earlier Versions + +Please refer to the commit history in GitHub: + diff --git a/Dockerfile b/Dockerfile index 69b0741ce..05e4938cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,6 @@ FROM python:3.12-alpine3.18 as build WORKDIR /app -ENV TZ="America/Los_Angeles" - ENV CARGO_NET_GIT_FETCH_WITH_CLI=true RUN set -xe \ @@ -19,9 +17,9 @@ RUN pyinstaller -y --collect-all keyrings.alt --hidden-import pkgutil --collect- FROM alpine:3.18 as runtime -WORKDIR /app +RUN apk add --no-cache tzdata -ENV TZ="America/Los_Angeles" +WORKDIR /app COPY --from=build /app/dist/icloudpd_ex . diff --git a/README_DOCKER.md b/README_DOCKER.md index f7b1cb8e7..7bdef3a9a 100644 --- a/README_DOCKER.md +++ b/README_DOCKER.md @@ -8,6 +8,8 @@ A command-line tool to download all your iCloud photos. docker run -it --rm --name icloudpd -v $(pwd)/Photos:/data -e TZ=America/Los_Angeles icloudpd/icloudpd:latest icloudpd --directory /data --username my@email.address --watch-with-interval 3600 ``` +Image asset date will be convered to specified TZ and then used for creating folders (see `--folder-stucture` param) + On Windows: - use `%cd%` instead of `$(pwd)`