Skip to content
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 JPEG XL support to image processing. #2488

Open
wants to merge 25 commits into
base: next
Choose a base branch
from
Open

Commits on Dec 19, 2023

  1. Next version

    Keats committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    e5f3026 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    a586a5a View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. Match <!--more--> in addition to <!-- more --> (getzola#2397)

    * Match <!-- more --> without spaces
    
    * Add tests for new <!-- more --> handling, with a note on pulldown-cmark bug
    clarfonthey authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    682447e View commit details
    Browse the repository at this point in the history
  2. fix(serve): content can be served from output_path (getzola#2398)

    This fixes a bug introduced in getzola#2258
    
    The issue arose when `output_path` was relative. The request being
    served would be canonicalized and this would be a string. So, for
    example, if you were serving content from `public` the code
    [right after](https://github.com/getzola/zola/blob/38199c125501e9ff0e700e96adaca72cc3f25d2b/src/cmd/serve.rs#L144-L147)
    the canonicalization checking if
    `root.starts_with(original_root)` would always return `false` since
    an absolute path, `/some/path/to/content` would never start with a
    string like `public`.
    stanistan authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    42ea1b4 View commit details
    Browse the repository at this point in the history
  3. Allow IPv6 serve, default base_url to listen interface instead of 1…

    …27.0.0.1 (getzola#2395)
    
    * Parse interface as IpAddr, allow IPv6.
    
    * Default base_url to socket address, instead of 127.0.0.1
    clarfonthey authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    8b602b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Refactor: create_directory responsibly (getzola#2407)

    * Remove ensure_directory_exists since it's identical to create_directory, and misleading
    
    * Don't create directories unless needed; rely on create_dir_all instead of manually iterating over components
    clarfonthey authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a6bd2b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    0122845 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Allow ignoring files when link checking (getzola#2264)

    * Allow ignoring files when link checking
    
    * cargo fmt
    
    * Fix tests
    
    * Remove mystery duplicate function..?
    
    * Add in some mysterious missing code..?
    
    * Simple tests for link checker file globs in config
    
    * cargo fmt
    
    * Remove comment
    
    * convert expect to error propagation
    
    * Address comments
    
    * cargo fmt
    Raymi306 authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    0098877 View commit details
    Browse the repository at this point in the history
  2. Issue 2359 get section by lang (getzola#2410)

    * adding optional `lang` arugment to `get_section` global function
    
    * Add handling of default language passed in `lang` argument of `get_section`
    
    * Remove clones for path.  Change "?" to an explicit check for error
    
    * lint changes
    
    * Clean up error handling for add_lang_to_path call
    
    * fix format
    
    * Add optional parameter "lang" to get_page template function.  Add check for language available in config.
    
    * Modify helper function name from calculate_path to get_path_with_lang.  Modify documentation for get_section and get_page to include equivalent calls without using lang argument to demostrate how lang argument effects pathing.
    SumDonkuS authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    73e06bd View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Update pulldown_cmark dep to v0.10, and add pulldown_cmark_escape dep. (

    getzola#2432)
    
    The pulldown_cmark escaping functionality is now shipped in a separate
    pulldown_cmark_escape crate
    (https://crates.io/crates/pulldown-cmark-escape), starting with v0.10.0.
    
    The markdown.rs module has to be adapted to a few API changes in
    pulldown_cmark, and we have to introduce explicit handling of <img> alt
    text to ensure it continues to be properly escaped.
    
    There are also a few other behavior changes that are caught by the
    tests, but these actually seem to be desired, so I've updated the insta
    snapshot files for those tests to incorporate those changes.
    Specifically, one footnote-parsing case seems to be handled better now,
    and pulldown-cmark's `push_html` now doesn't escape quotes in text nodes
    anymore (see pulldown-cmark/pulldown-cmark#836).
    timonvo authored Feb 18, 2024
    Configuration menu
    Copy the full SHA
    42fc576 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    472b1f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Fix --base-url improper path and protocol handling using zola serve (

    …getzola#2311)
    
    * Fix --base-url improper path and protocol handling.
    
    * Fix formatting.
    jamwil authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    4bf67af View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Fix section transparency serialization (getzola#2462)

    Fixes passing section.transparency for
    getzola#1840
    wold5 authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    7a12e62 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Fix resizing for images with EXIF orientation (getzola#2468)

    * Fix resizing for images with EXIF orientation
    
    * Added test for asymmetric resize for exif images
    
    ---------
    
    Co-authored-by: Tanishq <[email protected]>
    amtanq and Tanishq authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    866eb0c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Fix link check report inconsistency (getzola#2472)

    * Fix link check report inconsistency
    
    * Fix formatting issue
    
    ---------
    
    Co-authored-by: Tanishq <[email protected]>
    amtanq and Tanishq authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    7bf429b View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    20f00ba View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Restore trailing slash behaviour in serve command (getzola#2482)

    * Restore trailing slash behaviour in serve command.
    
    * Restore guard in case where base_url is just a slash.
    jamwil authored May 3, 2024
    Configuration menu
    Copy the full SHA
    3423b8a View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Implemented bottom footnotes with backreferences (getzola#2480)

    * Implemented bottom footnotes with backreferences
    
    Fixes getzola#1285
    
    * Added bottom_footnotes option to configuration.md
    
    * Renamed fix_github_style_footnotes()
    
    * Added tests for convert_footnotes_to_github_style()
    
    * Changed test to plain html instead of Vec<Event>
    
    * Added integration test for footnotes
    
    * Applied suggested changes
    totikom authored May 9, 2024
    Configuration menu
    Copy the full SHA
    b76d37c View commit details
    Browse the repository at this point in the history
  2. Update deps

    Keats committed May 9, 2024
    Configuration menu
    Copy the full SHA
    b3d5349 View commit details
    Browse the repository at this point in the history
  3. Update changelog

    Keats committed May 9, 2024
    Configuration menu
    Copy the full SHA
    eccc642 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. Update msrv

    Keats committed May 12, 2024
    Configuration menu
    Copy the full SHA
    731e6c0 View commit details
    Browse the repository at this point in the history
  2. update tests

    Keats committed May 12, 2024
    Configuration menu
    Copy the full SHA
    83d144d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. cargo fmt

    Keats committed May 13, 2024
    Configuration menu
    Copy the full SHA
    cebeb3a View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Add JPEG XL support to image processing.

    As discussed in getzola#2421.
    veluca93 committed May 14, 2024
    Configuration menu
    Copy the full SHA
    8842da7 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Rename JXL -> JpegXl

    veluca93 committed May 16, 2024
    Configuration menu
    Copy the full SHA
    e9a3bfe View commit details
    Browse the repository at this point in the history