Commit Graph

760 Commits

Author SHA1 Message Date
KnugiHK 00e58ce2c9 Handle group message sender lid mapping (#188) 2026-01-18 21:25:40 +08:00
KnugiHK 4245ecc615 Update android_handler.py 2026-01-17 15:07:16 +08:00
KnugiHK 68dcc6abe0 Improve brute-force offsets with process pool
Refactored the brute-force offset search in `_decrypt_crypt14` to use `ProcessPoolExecutor` for better parallelism and performance. Improved progress reporting and clean shutdown on success or interruption.
2026-01-17 14:43:51 +08:00
KnugiHK c05e76569b Add more chat type 2026-01-17 13:55:16 +08:00
KnugiHK a6fe0d93b1 Rename the obj variable to json_obj in telegram_json_format 2026-01-17 13:54:56 +08:00
KnugiHK 2d096eff4d Add tqdm as dependency 2026-01-17 13:45:39 +08:00
KnugiHK ea9675973c Refactor Message class to accept pre-initialized Timing object
Pass the `Timing` object directly through `timezone_offset` to avoid repeated initialization of the same object within the `Message` class.
2026-01-17 13:42:11 +08:00
KnugiHK 064b923cfa Convert time unit for progress 2026-01-17 13:22:56 +08:00
KnugiHK cd35ffc185 Remove the prompt after user enter the password 2026-01-17 13:19:10 +08:00
KnugiHK 05bd26b8ed Decrease the default brute force worker to 4 2026-01-17 13:18:49 +08:00
KnugiHK d200130335 Refactor to use tqdm for showing progress 2026-01-17 13:18:31 +08:00
KnugiHK 1c7d6f7912 Update README.md 2026-01-14 02:10:05 +08:00
KnugiHK 94960e4a23 Add iphone_backup_decrypt as an optional dependency (#123)
to make managing dependency easier
2026-01-14 02:07:10 +08:00
KnugiHK 79578d867f Handle new LID mapping #188, #144, #168
Implements the latest LID mapping changes. This should fully addresses #188 and likely resolves #144 (validation required). Note: A successful fix for #144 deprecates the pending workaround in #168. Additionally, resolved a bug where chat filters were not working for  newly created chat rooms.
2026-01-13 01:52:58 +08:00
Knugi 32c93159ac Update ci.yml 2026-01-12 15:50:19 +00:00
KnugiHK 6910cc46a4 Update android_handler.py 2026-01-12 22:55:51 +08:00
KnugiHK 9e0457e720 Adjust the reaction to be render on the bottom left/right corner
This makes the reaction match WhatsApp's theme.
2026-01-12 22:54:05 +08:00
KnugiHK e0967a3104 Defer reaction logging until table existence is confirmed
Moved the "Processing reactions..." log entry to occur after the `message_add_on` table check. This prevents the log from appearing on the old WhatsApp schema
2026-01-12 22:23:16 +08:00
KnugiHK db50f24dd8 Minor formats 2026-01-12 22:19:59 +08:00
Cosmo 75fcf33fda feat: Add support for exporting message reactions 2026-01-11 07:06:23 -08:00
KnugiHK 0ba81e0863 Implement granular error handling
Added and improved layered Zlib and SQLite header checks to distinguish between authentication failures (wrong key) and data corruption.
2026-01-08 23:59:31 +08:00
KnugiHK 647e406ac0 Implement early key validation via authenticated decryption (#190)
Utilize `decrypt_and_verify` to immediately identify incorrect user-provided keys via GCM tag validation.
2026-01-08 23:57:02 +08:00
KnugiHK 9cedcf1767 Create conftest to oves test_nuitka_binary.py to the end of testing
Moves test_nuitka_binary.py to the end and fails if the file is missing.
2026-01-06 23:00:36 +08:00
KnugiHK 93a020f68d Merge branch 'dev' 0.13.0rc2 2026-01-06 21:19:22 +08:00
KnugiHK 401abfb732 Bump version 2026-01-06 21:19:09 +08:00
KnugiHK 3538c81605 Enhance qouted message resolution to include media caption
Modified the `reply_query` to support messages that may not have body text but contain media caption.
2026-01-06 20:59:51 +08:00
KnugiHK 5a20953a81 Optimize quoted message lookups via global in-memory mapping
This change replaces the inefficient N+1 SQL query pattern with a pre-computed hash map. By fetching `ZSTANZAID` and `ZTEXT` pairs globally before processing, the exporter can resolve quoted message content in O(1) time.

Crucially, this maintains parity with the Android exporter by ensuring that replies to messages outside the current date or chat filters are still correctly rendered, providing full conversational context without the performance penalty of repeated database hits.
2026-01-06 20:51:29 +08:00
KnugiHK 8f29fa0505 Center the version string in the exporter banner 2026-01-06 20:35:02 +08:00
KnugiHK 0a14da9108 Reduce CI platforms 2026-01-05 00:31:47 +08:00
KnugiHK 929534ff80 Add windows 11 arm and macos 15 intel to CI 2026-01-05 00:17:00 +08:00
KnugiHK 87c1555f03 Add windows 11 arm and macos x64 to binary compiling 2026-01-05 00:02:52 +08:00
Knugi fd325b6b59 Update generate-website.yml 2026-01-04 05:51:15 +00:00
Knugi 17e927ffd6 Update README.md 2026-01-02 05:35:59 +00:00
Knugi 5b488359c8 Update README.md 2026-01-02 05:32:39 +00:00
Knugi d2186447c6 Update README.md 2026-01-02 05:30:22 +00:00
Knugi 82abf7d874 Add Verifying Build Integrity section 2026-01-02 04:53:52 +00:00
Knugi 5e676f2663 Merge pull request #187 from KnugiHK/alert-autofix-4
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
2026-01-02 12:39:56 +08:00
Knugi 5da2772112 Potential fix for code scanning alert no. 4: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-01-02 04:39:37 +00:00
KnugiHK 04a21728a8 Merge branch 'dev' 0.13.0rc1 2026-01-01 15:08:52 +08:00
KnugiHK 412efd66a0 Add --tg as an alias to --telegram 2026-01-01 15:06:21 +08:00
KnugiHK 0ac1612c6c Django license is no longer needed 2026-01-01 14:56:10 +08:00
KnugiHK 8ffeabfca6 Bump version 2026-01-01 14:02:33 +08:00
KnugiHK d5ad085210 Update pm.png 2025-12-29 01:40:25 +08:00
KnugiHK baaafe1eca Update README.md 2025-12-29 00:32:07 +08:00
KnugiHK 91f160fc2a Update example image 2025-12-29 00:31:19 +08:00
Knugi 21cae9fe93 Add Python Support Policy 2025-12-28 10:32:34 +00:00
KnugiHK a70895f959 Drop Python 3.9 2025-12-28 18:28:10 +08:00
Knugi 79d12b9c8b Fix a typo #184 2025-12-28 06:23:33 +00:00
KnugiHK ff27918705 Update pyproject.toml 2025-12-27 19:01:40 +08:00
KnugiHK a1c53c3db2 Update test_nuitka_binary.py 2025-12-27 17:32:28 +08:00