MTGProxyPrinter

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2024-11-23
17:03
Add a TODO entry Leaf check-in: 2f3208ee6a user: thomas tags: refactor_data_importer
16:00
ApiStreamRunner: Enqueue None after completing the card data read. Extend docstrings a bit. check-in: 113cfc73fc user: thomas tags: refactor_data_importer
15:53
Implement class ApiStreamRunner. It encapsulates stream-decoding the card data json from the API, and pushes the result as batches into a queue. check-in: 784abcfc8f user: thomas tags: refactor_data_importer
12:20
Separate fetching CardData from the API from the database import. check-in: f6013f9824 user: thomas tags: refactor_data_importer
11:13
Renamed card data import/download worker classes, removing the "CardInfo" prefix check-in: 5a379570a5 user: thomas tags: refactor_data_importer
10:55
Properly release the progress bar when completing the card data download to file. Leaf check-in: 67ae61ff0e user: thomas tags: trunk
2024-10-28
14:05
Tests: Set a default timeout of 10s per test. Bump required pytest version to 6.0, which is the first version allowing configuration via pyproject.toml. check-in: 5a030918a1 user: thomas tags: trunk
13:57
Refactor test_page_config_widget.py: Use a pytest fixture to create PageLayoutSettings instances containing the default settings. check-in: 9abf9cb4e7 user: thomas tags: trunk
12:32
Fix resource warning at application start. Explicitly keep a reference to the open crash log file. check-in: b61b175b8b user: thomas tags: trunk
2024-10-26
11:17
Fix application settings migration code. Add unit tests for all settings file versions verifying that the migration code does not crash. check-in: e75d027f1f user: thomas tags: trunk
11:04
Fix settings migrations from really old versions. Closed-Leaf check-in: 18d5d2f33d user: thomas tags: fix_settings_migration
2024-10-19
09:00
Add changelog entry. check-in: f443f6bce3 user: thomas tags: fix_settings_migration
08:56
Fix crash in settings migration code when upgrading from 0.26.1 or older. check-in: 04001301b0 user: thomas tags: fix_settings_migration
08:46
Add test cases for the settings migration code, verifying that the code does not crash check-in: 75957cb012 user: thomas tags: fix_settings_migration
2024-10-18
15:54
Tests: Simplified asserts in test_document.py check-in: c9928b0eb7 user: thomas tags: trunk
2024-10-16
11:48
Merge with trunk Leaf check-in: 8b1031c310 user: thomas tags: port_pyside6
2024-10-09
13:08
Clarify the scope of the default card language option in the settings. Add a note about card language of imported deck lists. check-in: cf0e6f4403 user: thomas tags: trunk
2024-10-03
14:45
Implement asynchronous card database migrations with progress reporting. Implements [f460c3e0caf7b1dd] check-in: 40729f514a user: thomas tags: trunk
14:39
Add changelog entry Closed-Leaf check-in: cd08a846d6 user: thomas tags: async_migrations
14:30
Fix remaining database migration tests check-in: a5bf722e78 user: thomas tags: async_migrations
14:24
Code cleanup and more logging in the database migration code. check-in: a5de4eb6ee user: thomas tags: async_migrations
14:10
DatabaseMigrationRunner: Remove the database dumping code in run(), which was present to debug disappearing data during migrations. check-in: 1ac37e8ac9 user: thomas tags: async_migrations
14:08
Further improved @with_database_write_lock() by no longer assigning the application to a variable, which avoids a type hinting warning. check-in: 01e75d1d25 user: thomas tags: async_migrations
14:05
Improve the should_run attribute detection and logging output in the @with_database_write_lock decorator. check-in: 6317d7efd2 user: thomas tags: async_migrations
13:58
Application: Re-introduce the removed should_run attribute, which is used by the @with_database_write_lock decorator. The attribute is read before starting a task that was unblocked waiting on the database, and prevents starting long-running tasks during the application exit sequence. check-in: 12793dc4c7 user: thomas tags: async_migrations
13:47
Partial fix for the database migration tests. check-in: dcb11ec4b7 user: thomas tags: async_migrations
13:47
MigrationScriptRunner: Move the migration script parameter from run() to __init__(). The first is incompatible with pytest, which wraps QRunnable.run(), making it impossible to pass the parameter in test code. check-in: 8d98eb776c user: thomas tags: async_migrations
2024-10-01
15:54
Deck list downloaders for CubeCobra and Manabox.app now accepts the "http://www." prefix. check-in: e6312ee8a9 user: thomas tags: trunk
2024-09-26
08:16
Fix migration scripts running PRAGMA statements. Some scripts require turning off foreign key constraints, and that cannot happen within a transaction. The migration script runner now commits any transaction before running a PRAGMA statement, and starts a new transaction afterwards. check-in: da3236dd3f user: thomas tags: async_migrations
2024-09-25
08:04
DatabaseMigrationRunner: Release the runner instance when leaving run() check-in: 149fc9c088 user: thomas tags: async_migrations
2024-09-22
18:07
The Archidekt deck list downloader now accepts URLs starting with "https://www." check-in: 9deba291b1 user: thomas tags: trunk
16:42
Moved carddb_migrations.py out of the model package into the main package. check-in: 3a37939ad5 user: thomas tags: async_migrations
16:16
Implement asynchronous database migrations with progress reporting. Refactor handling of asynchronous application startup tasks. Run these sequentially by chaining them via the task end signal as a trigger to run the next. Run the three database-hitting tasks by first running the version migration, then the settings synchronisation, then the CLI argument handling. check-in: d27e4c90d2 user: thomas tags: async_migrations
2024-09-19
08:25
Extract the inner signal container class from the PrintingFilterUpdater class, and move it to runner.py check-in: 4733b68ea4 user: thomas tags: async_migrations
2024-09-18
08:02
Written class DatabaseMigrationRunner, derived from Runnable check-in: 8c70f69beb user: thomas tags: async_migrations
2024-09-17
10:29
Introduce dataclass container holding migration scripts. This simplifies the API a lot. Finish migrating the remaining migration scripts to the new data container. check-in: d1a7b7ee37 user: thomas tags: async_migrations
08:32
WIP: Started to transform the card database migration scripts into a declarative format, that can be loaded and processed by a to-be-written database migration worker. check-in: 1a52aa9938 user: thomas tags: async_migrations
2024-09-16
09:07
MainWindow: Fix a broken call to tr(), which was still using an f-string and wasn't picked up by lupdate. check-in: cd7aee3234 user: thomas tags: trunk
08:51
Packaging: Remove the MTGProxyPrinter.egg-info directory that is automatically generated during Python wheel file generation. check-in: 5f6cffb549 user: thomas tags: trunk
07:54
Merge fork Leaf check-in: bdcc28c7df user: thomas tags: duplex_printing
2024-09-15
18:34
Merge fork. check-in: af2df11c92 user: thomas tags: trunk
2024-09-14
12:57
Release v0.29.1 check-in: 45b2a6f419 user: thomas tags: port_pyside6
12:50
Release v0.29.1 check-in: 3ab2cec226 user: thomas tags: trunk, release, v0.29.1
12:47
Fix broken PDF export option check-in: d750582d74 user: thomas tags: trunk
2024-09-13
12:32
Release v0.29.0 check-in: 9f9cd9a1ab user: thomas tags: port_pyside6
12:29
Release v0.29.0 check-in: abdc6017f0 user: thomas tags: trunk, release, v0.29.0
12:19
tests/ui/test_page_config_container.py: Fixed bad import check-in: 0f75057af0 user: thomas tags: trunk
12:05
Fix missing signal emit code in PageConfigWidget. UI updates are now properly propagating to the PageConfigPreviewArea. check-in: 87fd3baee9 user: thomas tags: port_pyside6
12:01
PageConfigWidget: Use partial() instead of lambdas to emit the page_layout_changed signal check-in: f5c1d9ddb9 user: thomas tags: trunk
11:56
Tests: Verify PageConfigWidget does emit the page_layout_changed signal when widget values are changed. Add a test timeout of 100ms for each test check-in: 7b64dd2c97 user: thomas tags: trunk