Commit Graph

690 Commits

Author SHA1 Message Date
Knugi e0aab06192 Update LICENSE 2026-01-21 16:06:12 +00:00
Knugi 43b00d8b48 Update README.md 2026-01-21 14:28:41 +00:00
Knugi 32c93159ac Update ci.yml 2026-01-12 15:50:19 +00: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
KnugiHK 173eb5d02e Python 3.14 is not yet supported for Nuitka 2025-12-27 17:26:24 +08:00
KnugiHK b39aae365a Update test_nuitka_binary.py 2025-12-27 17:26:03 +08:00
KnugiHK 10691b954a Update test matrix 2025-12-27 17:15:48 +08:00
KnugiHK 60c421a7d0 ok... large image is not free... 2025-12-27 17:05:21 +08:00
KnugiHK 60ddcc08ed Revert "Update ci.yml"
This reverts commit 02b770a6f4.
2025-12-27 17:05:06 +08:00
Knugi 02b770a6f4 Update ci.yml 2025-12-27 09:03:27 +00:00
KnugiHK 5e1bca53d1 Correct macOS binary architecture naming and add x64 build for macos 2025-12-27 16:58:35 +08:00
KnugiHK 968447fef9 Use powershell native function on Windows 2025-12-27 16:55:48 +08:00
KnugiHK 506442392c Add artifact attestation 2025-12-27 16:53:45 +08:00
KnugiHK 1c2d3acf1b Remove vobject from building CICD 2025-12-27 16:49:58 +08:00
KnugiHK aef568b80b Merge branch 'main' into dev 2025-12-27 16:48:47 +08:00
Knugi 42e583ac7c Merge pull request #175 from tomballgithub/vcard_fix
Fix vcard decoding errors
2025-12-15 23:00:07 +08:00
Knugi ea60f878be Upgrade CodeQL action versions to v4 2025-12-15 14:53:39 +00:00
KnugiHK 9d2e06f973 Merge branch 'main' of https://github.com/KnugiHK/Whatsapp-Chat-Exporter 0.12.1 2025-12-15 01:12:30 +08:00
KnugiHK dffce977de Bump version to 0.12.1 2025-12-15 01:12:14 +08:00
KnugiHK 71ca293557 Add main entry point
Added a main entry point in __main__.py to allow running the exporter as a script. Required for standalone binary
2025-12-15 01:12:04 +08:00
Knugi 75720c6d0a Upgrade GitHub Actions to use version 6 2025-12-14 17:08:49 +00:00
KnugiHK 5a80fe189d Add error handling to quoted-printable decoding
Wrapped the decode_quoted_printable function in a try-except block to handle decoding errors gracefully. If decoding fails, a warning is logged and the original value is returned, improving robustness when processing malformed vCard data.
2025-12-14 23:49:10 +08:00
KnugiHK bb10203b44 Remove vobject dependency from project and workflow
Eliminated the use of the vobject library from the codebase, dependency groups, and GitHub Actions workflow. vobject is no longer a dependency for vCards enrichment.
2025-12-14 23:47:24 +08:00
KnugiHK ddd0ac3143 Refactor vCard parsing to improve decoding and structure
Replaces regex-based vCard parsing with dedicated functions for parsing lines, handling quoted-printable encoding, and extracting fields. Adds support for CHARSET and ENCODING parameters, improves handling of multi-line and encoded values, and centralizes vCard entry processing for better maintainability and accuracy.
2025-12-14 23:00:48 +08:00