New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to output albums as branches #31
base: master
Are you sure you want to change the base?
Add option to output albums as branches #31
Commits on Feb 15, 2021
-
Add option to output albums as branches
Adds a .yml option: photos_as_resource_pages If set to true, default behaviour will be changed to produce - a directory `name` for the album instead of one `name.md` file - an `_index.md` for the album inside this directory - a `name.md` for every photo inside the same directory Key properties of the photos will be saved in the front matter. This change provides the basis for users who want to use keywords to generate automatic collections of pages using Hugo's taxonomy and have more finetuned control over the data being used to generate the album. To optimally use this new functionality, the user will need to deploy new list templates that repicate the {{< wrap >}} and produce the desired output.
Configuration menu - View commit details
-
Copy full SHA for 8f62499 - Browse repository at this point
Copy the full SHA 8f62499View commit details
Commits on Feb 17, 2021
-
Add option to output albums as branches
Adds a .yml option: generate_branch_bundle If set to true, default behaviour will be changed to produce - directory `name` for the album instead of one `name.md` file - `_index.md` for the album inside this directory - `name.md` for every photo inside the same directory Key properties of the photos will be saved in the front matter. This change provides the basis for users who want to use keywords to generate automatic collections of pages using Hugo's taxonomy and have more finetuned control over the data being used to generate the album. To optimally use this new functionality, the user will need to deploy new list templates that repicate the {{< wrap >}} and produce the desired output.
Configuration menu - View commit details
-
Copy full SHA for be88345 - Browse repository at this point
Copy the full SHA be88345View commit details -
Configuration menu - View commit details
-
Copy full SHA for 128c2d4 - Browse repository at this point
Copy the full SHA 128c2d4View commit details
Commits on Feb 19, 2021
-
Implement minimal EXIF and IPTC tag support
Use PIL's TAGS to deal with EXIF. Use iptcinfo3 to deal with IPTC tags. Allows to use these as fallback options for copyright and caption of photos. As a sample use-case also implements the fallback for the photo album to be determined from the set of photos in it. Will not change the default behaviour without adding the setting tag_map, exif or iptc to the configuration file.
Configuration menu - View commit details
-
Copy full SHA for 2acb76e - Browse repository at this point
Copy the full SHA 2acb76eView commit details -
Make settings robust for missing parameters
Returns None instead of raising AttributeError when accessing a setting that is not defined.
Configuration menu - View commit details
-
Copy full SHA for 5019c90 - Browse repository at this point
Copy the full SHA 5019c90View commit details -
Clean imports, requirements and logging
Remove unused imports Add iptcinfo3 to the project requirements Tidy up some wording
Configuration menu - View commit details
-
Copy full SHA for 16cf5b9 - Browse repository at this point
Copy the full SHA 16cf5b9View commit details -
# Conflicts: # docs/README.md # hugophotoswipe/album.py
Configuration menu - View commit details
-
Copy full SHA for f917a76 - Browse repository at this point
Copy the full SHA f917a76View commit details -
Do not overwrite the hps.yml config file after every run. hps new: quit bitching about existing folders. Now specifically checks if the album.yml file already exists instead of the folder itself. _load_albums: Look for nested albums Switch default logging level to INFO and verbose to DEBUG. Replace print() with logging.INFO/WARNING in hps.py Include level & function in logging message Reduce verbosity of _load_albums
Configuration menu - View commit details
-
Copy full SHA for 78dd59e - Browse repository at this point
Copy the full SHA 78dd59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c861407 - Browse repository at this point
Copy the full SHA c861407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7664f8a - Browse repository at this point
Copy the full SHA 7664f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6526b1a - Browse repository at this point
Copy the full SHA 6526b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbd90f3 - Browse repository at this point
Copy the full SHA dbd90f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd1d36 - Browse repository at this point
Copy the full SHA 2dd1d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 738d86a - Browse repository at this point
Copy the full SHA 738d86aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e04f9d - Browse repository at this point
Copy the full SHA 3e04f9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9040b5 - Browse repository at this point
Copy the full SHA b9040b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cec17 - Browse repository at this point
Copy the full SHA a4cec17View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab9e3d - Browse repository at this point
Copy the full SHA bab9e3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5812f58 - Browse repository at this point
Copy the full SHA 5812f58View commit details
Commits on Feb 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 330132d - Browse repository at this point
Copy the full SHA 330132dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fe653d - Browse repository at this point
Copy the full SHA 5fe653dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a6d59f - Browse repository at this point
Copy the full SHA 8a6d59fView commit details
Commits on Mar 7, 2021
-
Remove mandatory validation of valid image. Album.update() relies on
Photo() returning an object even if the file has been removed.
Configuration menu - View commit details
-
Copy full SHA for 0603d61 - Browse repository at this point
Copy the full SHA 0603d61View commit details -
Remove mandatory validation of valid image. Album.update() relies on
Photo() returning an object even if the file has been removed. We moved this test to album.update() with a try clause so that the album.photos will only ever return actual photos. Updated the _load_albums() to call new() album when setting enabled and the album doesn't exist yet.
Configuration menu - View commit details
-
Copy full SHA for 7003fc1 - Browse repository at this point
Copy the full SHA 7003fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b409c88 - Browse repository at this point
Copy the full SHA b409c88View commit details
Commits on Mar 8, 2021
-
Resolve bugs and complexities.
- Remove exif based copyright from album.py. It unnecessarily complicated matters. - Remove memory leak in calling PIL.Image.open() by encapsulating in a with block.
Configuration menu - View commit details
-
Copy full SHA for 10a0255 - Browse repository at this point
Copy the full SHA 10a0255View commit details -
Configuration menu - View commit details
-
Copy full SHA for b520289 - Browse repository at this point
Copy the full SHA b520289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8518352 - Browse repository at this point
Copy the full SHA 8518352View commit details -
Encapsulate Image.open in with block in original_image to reduce
number of simultaneous open files.
Configuration menu - View commit details
-
Copy full SHA for 5db31d7 - Browse repository at this point
Copy the full SHA 5db31d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 823b530 - Browse repository at this point
Copy the full SHA 823b530View commit details
Commits on Jun 13, 2022
-
Implement minimal EXIF and IPTC tag support
Use PIL's TAGS to deal with EXIF. Use iptcinfo3 to deal with IPTC tags. Allows to use these as fallback options for copyright and caption of photos. Will not change the default behaviour without specifying the setting tag_map, exif or iptc to the configuration file.
Configuration menu - View commit details
-
Copy full SHA for e393a61 - Browse repository at this point
Copy the full SHA e393a61View commit details -
Ignores local changes (photo_exif & branches) but realignes with upstream improvements.
Configuration menu - View commit details
-
Copy full SHA for fc6b8e6 - Browse repository at this point
Copy the full SHA fc6b8e6View commit details -
Merge pull request #9 from GjjvdBurg/master
Catch-up to master
Configuration menu - View commit details
-
Copy full SHA for 472b25b - Browse repository at this point
Copy the full SHA 472b25bView commit details
Commits on Jun 14, 2022
-
Implement minimal EXIF and IPTC tag support
Use PIL's TAGS to deal with EXIF. Use iptcinfo3 to deal with IPTC tags. Allows to use these as fallback options for copyright and caption of photos. Will not change the default behaviour without specifying the setting tag_map, exif or iptc to the configuration file.
Configuration menu - View commit details
-
Copy full SHA for 3febea5 - Browse repository at this point
Copy the full SHA 3febea5View commit details
Commits on Jun 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d3698cf - Browse repository at this point
Copy the full SHA d3698cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f5ce0 - Browse repository at this point
Copy the full SHA 25f5ce0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f44fd - Browse repository at this point
Copy the full SHA 06f44fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3511e1 - Browse repository at this point
Copy the full SHA d3511e1View commit details -
Improve error handling for improper tags
Also add test cases for improperly formatted tags.
Configuration menu - View commit details
-
Copy full SHA for 98a2313 - Browse repository at this point
Copy the full SHA 98a2313View commit details -
Remove get_attribute overloader
Need a more robust solution to extract arbitrary attributes. For now, removing this from this branch.
Configuration menu - View commit details
-
Copy full SHA for f4f2b42 - Browse repository at this point
Copy the full SHA f4f2b42View commit details -
Increase log level for iptcinfo to ERROR
iptcinfo spews many warnings about missing IPTC data, reading before image or decoding error. Most of the time this just seems to mean that the desired tags aren't present.
Configuration menu - View commit details
-
Copy full SHA for f8059a7 - Browse repository at this point
Copy the full SHA f8059a7View commit details -
# Conflicts: # docs/README.md # hugophotoswipe/photo.py # tests/test_photo.py
Configuration menu - View commit details
-
Copy full SHA for 366a6d8 - Browse repository at this point
Copy the full SHA 366a6d8View commit details -
Add option to output albums as branches
Adds a .yml option: generate_branch_bundle If set to true, default behaviour will be changed to produce - directory `name` for the album instead of one `name.md` file - `_index.md` for the album inside this directory - `name.md` for every photo inside the same directory Key properties of the photos will be saved in the front matter. This change provides the basis for users who want to use keywords to generate automatic collections of pages using Hugo's taxonomy and have more finetuned control over the data being used to generate the album. To optimally use this new functionality, the user will need to deploy new list templates that repicate the {{< wrap >}} and produce the desired output. (cherry picked from commit be88345)
Configuration menu - View commit details
-
Copy full SHA for b9f9ec4 - Browse repository at this point
Copy the full SHA b9f9ec4View commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f21963b - Browse repository at this point
Copy the full SHA f21963bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98309e6 - Browse repository at this point
Copy the full SHA 98309e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbeea57 - Browse repository at this point
Copy the full SHA fbeea57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c68156 - Browse repository at this point
Copy the full SHA 5c68156View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d8b21 - Browse repository at this point
Copy the full SHA a6d8b21View commit details -
Fix bug in image rotation code
Note: Was not detected in test suite because all test images have exif['Orientation'] = None.
Configuration menu - View commit details
-
Copy full SHA for 6bcad51 - Browse repository at this point
Copy the full SHA 6bcad51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30ce4c2 - Browse repository at this point
Copy the full SHA 30ce4c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 098bb6f - Browse repository at this point
Copy the full SHA 098bb6fView commit details