Commit Graph

590 Commits

Author SHA1 Message Date
KnugiHK
33149075d3 autopep8 2025-05-11 18:07:51 +08:00
KnugiHK
cc410b8503 Save the environment by reducing CI targets 2025-05-11 18:01:25 +08:00
KnugiHK
e8acf6da32 Fix key access in f-string for older Python 2025-05-11 17:59:20 +08:00
KnugiHK
667c005a67 Make received_ & read_timestamp optional 2025-05-11 17:49:51 +08:00
KnugiHK
bb48cd381b Fix test case where media_base should never be None 2025-05-11 17:49:33 +08:00
KnugiHK
ae6e8ba7e2 Make to_ & from_json functions dynamic
This is to prevent error like #150 in the future
2025-05-11 17:46:00 +08:00
KnugiHK
1eea5fc5c1 Use the new chat importing method from data_model
This commit also fixes #150
2025-05-11 17:29:24 +08:00
KnugiHK
dd795f3282 Adjust banner position 2025-05-11 17:27:23 +08:00
KnugiHK
75c3999567 Update debug log name 2025-05-11 16:56:19 +08:00
KnugiHK
fa41572753 Change print to logger for better logging in the future
This commit also added --debug and --no-banner options, which will enable debug level of logging and supress the default banner
2025-05-11 16:53:46 +08:00
KnugiHK
0681661660 Update bruteforce_crypt15.py 2025-05-08 00:51:09 +08:00
KnugiHK
907fe4aa91 Update ci.yml 2025-05-07 22:56:52 +08:00
KnugiHK
80cb868beb Expend all tests to all common systems 2025-05-07 22:49:06 +08:00
KnugiHK
904f44dc12 Update test_nuitka_binary.py 2025-05-07 22:40:28 +08:00
KnugiHK
520f31651c Forgot to install nuitka 2025-05-07 22:31:11 +08:00
KnugiHK
c346199d05 Fix python versions in ci.yml 2025-05-07 22:30:04 +08:00
KnugiHK
3e37bbb021 Create test_nuitka_binary.py 2025-05-07 22:28:48 +08:00
KnugiHK
0bb4f52a26 Add CI 2025-05-07 21:46:19 +08:00
KnugiHK
a3294ead11 Add a basic sanity check for the exporter
The check make sure all modules can be imported and the exporter can at least run without any arguments provided.
2025-05-07 21:45:45 +08:00
KnugiHK
e2b773eac5 Move all tests to single directory 2025-05-07 21:31:29 +08:00
KnugiHK
170a108109 Bug fix on incorrectly normalized number that starts with 0 2025-05-07 21:31:03 +08:00
Knugi
1348ec89f0 Merge pull request #149 from fschuh/main_test
Support for incremental merges of two export folders
2025-05-07 21:18:33 +08:00
fschuh
db42ad123d Fixed unit tests so they no longer fail on Windows 2025-05-05 15:53:13 -04:00
fschuh
dad7666adb Updated to also use shutil for JSON file copying 2025-05-05 12:32:29 -04:00
KnugiHK
a58dd78be8 PEP8 2025-05-05 17:13:43 +08:00
KnugiHK
3220ed2d3f Update testing data 2025-05-05 17:11:55 +08:00
KnugiHK
4e1d994aa5 Add message_type when importing json 2025-05-05 17:10:57 +08:00
KnugiHK
4ca56b1c5c Bug fix on wrong type of self.message_type 2025-05-05 17:08:35 +08:00
KnugiHK
60790d89e3 Remove args.incremental_merge from device type check 2025-05-05 16:15:51 +08:00
KnugiHK
ed2ec7cb9e Exit if no json is found 2025-05-05 16:14:05 +08:00
KnugiHK
75c2db6d5c Accept both raw timestamp and formatted time string 2025-05-05 16:13:48 +08:00
KnugiHK
352be849a7 Bug fix on messages with timestamp being '0' 2025-05-05 16:13:17 +08:00
KnugiHK
3e3aeae7ad key_id can also be a string 2025-05-05 16:12:57 +08:00
KnugiHK
9d76cf60af Attach media_base from JSON 2025-05-05 16:12:13 +08:00
KnugiHK
eded9a140f Add new attributes to JSON 2025-05-05 16:11:10 +08:00
KnugiHK
5a9944d14b Respects users' choices on the output JSON 2025-05-05 16:09:53 +08:00
KnugiHK
b8652fcb96 Throwaway variable 2025-05-05 15:22:00 +08:00
KnugiHK
ad267a7226 Quote all paths in output messages 2025-05-05 15:20:46 +08:00
KnugiHK
534aea924d Add docs 2025-05-05 15:20:14 +08:00
fschuh
d0fc620ba6 Added print statement with merging media folder names 2025-05-05 00:41:10 -04:00
fschuh
1f9cbc3ad2 Updated .gitignore with some additional dev folders 2025-05-05 00:39:13 -04:00
fschuh
fab9bc7649 Added unit tests 2025-05-05 00:37:01 -04:00
fschuh
8d34300ea5 Merged JSON files are now only updated on disk if the contents have actually changed. 2025-05-04 22:55:42 -04:00
fschuh
fbffc16452 Added call to main() if directly executing __main__.py file 2025-05-04 15:58:53 -04:00
fschuh
2f15360526 Fixed remaining compatibility issues with latest code 2025-05-04 15:58:02 -04:00
KnugiHK
d7ba73047a Merge branch 'main' into dev 2025-04-29 22:01:13 +08:00
Knugi
81f072f899 Update generate-website.js 2025-04-29 13:22:05 +00:00
Knugi
2d8960d5e3 Update README.md 2025-04-29 13:20:14 +00:00
Knugi
bacbcda474 Update README.md 2025-04-29 08:55:31 +00:00
Knugi
9cfbb560eb Update generate-website.yml 2025-04-29 08:52:32 +00:00