From e026d1a4dbfe02c7a2ea554dbd3d1db86b8be715 Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Mon, 5 Jan 2026 21:09:28 -0500 Subject: [PATCH] Update about.html version history, fix API exports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit About page: - Version history now shows v4.1.2 prominently with accordion for older versions - Shortened 'Error Correction Reed-Solomon' to 'DCT ECC / RS Code' - Removed v4.1 badges from established features API fixes: - Export MAX_FILE_PAYLOAD_SIZE from constants - Export calculate_capacity_by_mode from steganography 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontends/web/templates/about.html | 115 +++++++++++++++-------------- src/stegasoo/__init__.py | 5 ++ 2 files changed, 66 insertions(+), 54 deletions(-) diff --git a/frontends/web/templates/about.html b/frontends/web/templates/about.html index ee1818d..5420405 100644 --- a/frontends/web/templates/about.html +++ b/frontends/web/templates/about.html @@ -100,7 +100,7 @@
  • Output: JPEG or PNG
  • Color: Color or grayscale
  • Speed: ~2s
  • -
  • Error Correction: Reed-Solomon v4.1
  • +
  • Error Correction: Reed-Solomon

  • @@ -375,56 +375,64 @@
    Version History
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    VersionChanges
    4.1.0 - Reed-Solomon error correction for DCT mode (corrects up to 16 byte errors per 223-byte chunk), - majority voting on length headers, improved robustness with problematic carrier images -
    4.0.0 - Channel keys for group/deployment isolation, - DCT default, simplified auth, passphrase replaces day_phrase, - 4-word default, JPEG fix, large image support, subprocess isolation, Python 3.10-3.12 -
    3.2.0Single passphrase, more default words
    3.0.0DCT mode, JPEG output, color preservation
    2.2.0QR code RSA key import/export
    2.1.0File embedding, compression
    2.0.0Web UI, REST API, RSA keys
    1.0.0Initial release, CLI only, LSB mode
    + +
    +
    + v4.1.2 +
    + Progress bars for encode operations, + mobile-responsive polish, + DCT decode bug fix, release validation script +
    +
    +
    + + +
    +
    +

    + +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    4.1.1DCT RS format stability, Docker cleanup, first-boot wizard
    4.1.0Reed-Solomon error correction for DCT, majority voting headers
    4.0.0Channel keys, DCT default, subprocess isolation
    3.2.0Single passphrase, more default words
    3.0.0DCT mode, JPEG output, color preservation
    2.xWeb UI, REST API, RSA keys, QR codes, file embedding
    1.0.0Initial release, CLI only, LSB mode
    +
    +
    +
    @@ -553,9 +561,8 @@
    -
    Error Correction
    - Reed-Solomon - v4.1 +
    DCT ECC
    + RS Code
    diff --git a/src/stegasoo/__init__.py b/src/stegasoo/__init__.py index ec9c845..bdc2bef 100644 --- a/src/stegasoo/__init__.py +++ b/src/stegasoo/__init__.py @@ -45,6 +45,7 @@ from .image_utils import ( # Steganography functions from .steganography import ( + calculate_capacity_by_mode, compare_modes, has_dct_support, will_fit_by_mode, @@ -92,6 +93,7 @@ from .constants import ( EMBED_MODE_LSB, FORMAT_VERSION, LOSSLESS_FORMATS, + MAX_FILE_PAYLOAD_SIZE, MAX_IMAGE_PIXELS, MAX_MESSAGE_SIZE, MAX_PASSPHRASE_WORDS, @@ -149,6 +151,7 @@ from .validation import ( MIN_MESSAGE_LENGTH = 1 MAX_MESSAGE_LENGTH = MAX_MESSAGE_SIZE MAX_PAYLOAD_SIZE = MAX_MESSAGE_SIZE +# MAX_FILE_PAYLOAD_SIZE imported from constants above SUPPORTED_IMAGE_FORMATS = LOSSLESS_FORMATS LSB_BYTES_PER_PIXEL = 3 / 8 DCT_BYTES_PER_PIXEL = 0.125 @@ -188,6 +191,7 @@ __all__ = [ "has_argon2", # Steganography "has_dct_support", + "calculate_capacity_by_mode", "compare_modes", "will_fit_by_mode", # QR utilities @@ -252,6 +256,7 @@ __all__ = [ "MAX_MESSAGE_LENGTH", "MAX_MESSAGE_SIZE", "MAX_PAYLOAD_SIZE", + "MAX_FILE_PAYLOAD_SIZE", "MIN_IMAGE_PIXELS", "MAX_IMAGE_PIXELS", "SUPPORTED_IMAGE_FORMATS",