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 option to authenticate to secure assets #101

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Nov 17, 2024

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

Commits on Nov 24, 2024

  1. Assert asset byte size.

    This commit adds warnings, if the exported asset's size does not match the expected size.
    The result made me curious, as one of the assets from the `backup.zip` test reports a warning when testing with `backupEnvironment` (the size of the `.jpg`: expected 27_093 bytes, got 27_002 bytes).
    Even though, this commit adds a warning for individual assets, and reports a warning count as the result of the operatoin ("Entities from environment <ENV_ID> were backd up with X warning(s) into ...).
    This commit takes the liberty to rephrase "backuped" -> "backed up".
    
    ```
    Exporting entities from environment id <ENVIRONMENT_ID>
    
    Exporting: collections
    [...]
    Exporting: assetFolders
    Exporting: assets
    Exporting: file kontent-app.webp.
    Exporting: file kontent-calendar.png.
    Exporting: file kontent-logo-2.avif.
    Exporting: file kontent-ai.png.
    Exporting: file kai-hp-highlight-3.jpg.
    Size mismatch: expected 27093 bytes, got 27002 bytes.
    Exporting: file kai-logo-ver-black-rgb.svg.
    Exporting: file kai-logo-ver-neg-rgb.svg.
    Exporting: webhooks
    Exporting: webSpotlight
    
    Entities from environment <ENVIRONMENT_ID> were backd up with 1 warning(s) into 2024-11-24-10-55-backup-<ENVIRONMENT_ID>.zip.
    ```
    
    Partially fixes kontent-ai#100
    andgdk committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    2f880a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2024

  1. Revert "Assert asset byte size."

    This reverts commit 2f880a6.
    andgdk committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    f791769 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6b13ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    647331e View commit details
    Browse the repository at this point in the history