diff --git a/.github/workflows/quillscan-package.yml b/.github/workflows/quillscan-package.yml index aba3e27b9..e1265d925 100644 --- a/.github/workflows/quillscan-package.yml +++ b/.github/workflows/quillscan-package.yml @@ -22,6 +22,7 @@ jobs: shell: pwsh needs: wheels runs-on: windows-2022 + timeout-minutes: 90 steps: - uses: actions/checkout@v7 - uses: actions/setup-python@v7 diff --git a/.github/workflows/quillscan-pagescan.yml b/.github/workflows/quillscan-pagescan.yml index caa1822c2..b406554c6 100644 --- a/.github/workflows/quillscan-pagescan.yml +++ b/.github/workflows/quillscan-pagescan.yml @@ -16,6 +16,7 @@ jobs: run: shell: pwsh runs-on: windows-2022 + timeout-minutes: 30 steps: - uses: actions/checkout@v7 - uses: actions/setup-python@v7 diff --git a/quill/apps/scan.py b/quill/apps/scan.py index b5c4fd610..e87f882b6 100644 --- a/quill/apps/scan.py +++ b/quill/apps/scan.py @@ -30,7 +30,7 @@ from quill.platform.announce_engine import AnnouncementEngine from quill.stability.safe_mode import should_enable_safe_mode from quill.ui import app_context_help, menu_palette -from quill.ui.dialog_contract import show_message_box, show_modal_dialog +from quill.ui.dialog_contract import apply_modal_ids, show_message_box, show_modal_dialog from quill.ui.native_status_bar import native_status_text, sync_native_status_bar from quill.ui.spoken_name import set_spoken_name @@ -560,6 +560,7 @@ def about(self): layout.Add(link, 0, wx.ALL, 5) layout.Add(dialog.CreateButtonSizer(wx.OK), 0, wx.ALL, 5) dialog.SetSizerAndFit(layout) + apply_modal_ids(dialog, affirmative_id=wx.ID_OK, escape_id=wx.ID_OK) show_modal_dialog(dialog, "About QUILL Scan") def close(self, event): diff --git a/quill/apps/scan_ocr_settings.py b/quill/apps/scan_ocr_settings.py index b6ebe7e7b..76ac4602e 100644 --- a/quill/apps/scan_ocr_settings.py +++ b/quill/apps/scan_ocr_settings.py @@ -3,7 +3,7 @@ import wx from quill.io.scanning.recognition import Preferences -from quill.ui.dialog_contract import show_modal_dialog +from quill.ui.dialog_contract import apply_modal_ids, show_modal_dialog from quill.ui.spoken_name import set_spoken_name @@ -42,6 +42,7 @@ def edit_preferences(parent, prefs): layout.Add(control, 0, wx.EXPAND | wx.ALL, 4) layout.Add(dialog.CreateButtonSizer(wx.OK | wx.CANCEL), 0, wx.ALL, 6) dialog.SetSizerAndFit(layout) + apply_modal_ids(dialog, affirmative_id=wx.ID_OK, escape_id=wx.ID_CANCEL) engine.SetFocus() if show_modal_dialog(dialog, "OCR settings") == wx.ID_OK: return Preferences( diff --git a/quill/core/release_catalog.py b/quill/core/release_catalog.py index 7fa208b69..bc9e79f7d 100644 --- a/quill/core/release_catalog.py +++ b/quill/core/release_catalog.py @@ -109,7 +109,7 @@ def lookup_asset_prefix(self) -> str: ReleaseProduct( "quillpress", "QuillPress", - "quill-press-v", + "quill-quillpress-v", "Quill-Press", "quill/apps/quillpress.py", "_VERSION", @@ -125,7 +125,7 @@ def lookup_asset_prefix(self) -> str: ReleaseProduct( "quillgithub", "Quill GitHub", - "quill-github-v", + "quill-quillgithub-v", "Quill-GitHub", "quill/apps/quillgithub.py", "_VERSION", diff --git a/quill/core/runtime_apps.py b/quill/core/runtime_apps.py index 8c8a2064a..e134ef5b8 100644 --- a/quill/core/runtime_apps.py +++ b/quill/core/runtime_apps.py @@ -88,6 +88,10 @@ def launcher_exe(self) -> str: ), RuntimeApp("beacon", "quill.apps.beacon", "Quill Beacon", "CommunityAccess.QuillBeacon"), RuntimeApp("social", "quill_social", "QUILL Social", "CommunityAccess.QuillSocial"), + RuntimeApp( + "quillgithub", "quill.apps.quillgithub", "Quill GitHub", "CommunityAccess.QuillGitHub" + ), + RuntimeApp("quillpress", "quill.apps.quillpress", "Quill Press", "CommunityAccess.QuillPress"), ) diff --git a/quill/core/storage_mode.py b/quill/core/storage_mode.py index 391273aa8..e1f29242d 100644 --- a/quill/core/storage_mode.py +++ b/quill/core/storage_mode.py @@ -43,6 +43,8 @@ "QuillBeacon.exe", "QuillSocial.exe", "QuillMediaPlayer.exe", + "QuillPress.exe", + "QuillGitHub.exe", ) diff --git a/standalone/quillgithub/quill-github.spec b/standalone/quillgithub/quill-github.spec index 97f57c633..5a2f0ecb8 100644 --- a/standalone/quillgithub/quill-github.spec +++ b/standalone/quillgithub/quill-github.spec @@ -3,6 +3,12 @@ import os from PyInstaller.utils.hooks import collect_all quill_datas, quill_binaries, quill_hiddenimports = collect_all("quill") +# No bug-report credential ships in any QuillVille build (2026-09-26; feedback +# is email-only). collect_all("quill") would sweep a stale, gitignored +# quill/_feedback_token.py left in the checkout, so drop it here, exclude it +# below, and let scripts/check_no_credentials.py refuse the build if it or +# feedback_hub reaches the archive anyway. +quill_hiddenimports = [m for m in quill_hiddenimports if m != "quill._feedback_token"] nacl_datas, nacl_binaries, nacl_hiddenimports = collect_all("nacl") a = Analysis( @@ -11,8 +17,24 @@ a = Analysis( binaries=quill_binaries + nacl_binaries, datas=quill_datas + nacl_datas, hiddenimports=quill_hiddenimports + nacl_hiddenimports, - excludes=["torch", "numpy.f2py", "PIL", "Pillow", "matplotlib", "scipy"], + excludes=[ + "quill._feedback_token", + "feedback_hub", + "torch", + "numpy.f2py", + "PIL", + "Pillow", + "matplotlib", + "scipy", + ], ) +import sys as _sys # noqa: E402 + +_sys.path.insert(0, os.path.join(SPECPATH, "..", "..", "scripts")) +from check_no_credentials import assert_toc_clean # noqa: E402 + +assert_toc_clean(a.pure) + pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, exclude_binaries=True, name="QuillGitHub", console=False) coll = COLLECT(exe, a.binaries, a.datas, name="QuillGitHub", upx=False) diff --git a/standalone/quillpress/quill-press.spec b/standalone/quillpress/quill-press.spec index 100abcb71..332cf9c32 100644 --- a/standalone/quillpress/quill-press.spec +++ b/standalone/quillpress/quill-press.spec @@ -3,6 +3,12 @@ import os from PyInstaller.utils.hooks import collect_all quill_datas, quill_binaries, quill_hiddenimports = collect_all("quill") +# No bug-report credential ships in any QuillVille build (2026-09-26; feedback +# is email-only). collect_all("quill") would sweep a stale, gitignored +# quill/_feedback_token.py left in the checkout, so drop it here, exclude it +# below, and let scripts/check_no_credentials.py refuse the build if it or +# feedback_hub reaches the archive anyway. +quill_hiddenimports = [m for m in quill_hiddenimports if m != "quill._feedback_token"] nacl_datas, nacl_binaries, nacl_hiddenimports = collect_all("nacl") a = Analysis( @@ -11,8 +17,24 @@ a = Analysis( binaries=quill_binaries + nacl_binaries, datas=quill_datas + nacl_datas, hiddenimports=quill_hiddenimports + nacl_hiddenimports, - excludes=["torch", "numpy.f2py", "PIL", "Pillow", "matplotlib", "scipy"], + excludes=[ + "quill._feedback_token", + "feedback_hub", + "torch", + "numpy.f2py", + "PIL", + "Pillow", + "matplotlib", + "scipy", + ], ) +import sys as _sys # noqa: E402 + +_sys.path.insert(0, os.path.join(SPECPATH, "..", "..", "scripts")) +from check_no_credentials import assert_toc_clean # noqa: E402 + +assert_toc_clean(a.pure) + pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, exclude_binaries=True, name="QuillPress", console=False) coll = COLLECT(exe, a.binaries, a.datas, name="QuillPress", upx=False) diff --git a/standalone/runtime/app-profiles.json b/standalone/runtime/app-profiles.json index 6b2bd2d88..893f0b894 100644 --- a/standalone/runtime/app-profiles.json +++ b/standalone/runtime/app-profiles.json @@ -227,6 +227,20 @@ "GitHub provider, account, review and Workbench modules." ] }, + "quillscan": { + "name": "QUILL Scan", + "entry": "quill/apps/scan.py", + "standalone": "standalone/quillscan", + "components": [], + "optional_components": [], + "layers": [], + "notes": [ + "Does not install the shared runtime: it ships its own self-contained", + "Windows x64 installer (release_catalog shared_runtime=False). Declared", + "here so the profile gate sees every entry point; it names no", + "shared-runtime layers and no shared components." + ] + }, "converter": { "name": "Quill Converter", "entry": "quill/apps/converter.py", diff --git a/tests/unit/core/test_tls_one_check.py b/tests/unit/core/test_tls_one_check.py index ec7240a63..2630032d9 100644 --- a/tests/unit/core/test_tls_one_check.py +++ b/tests/unit/core/test_tls_one_check.py @@ -253,6 +253,8 @@ def _calls_configure_first(main: ast.FunctionDef) -> bool: "quill/apps/inkwell.py", "quill/apps/player.py", "quill/apps/podcasts.py", + "quill/apps/quillgithub.py", + "quill/apps/quillpress.py", "quill/apps/radio.py", "quill/apps/studio.py", "quill/apps/transcribe.py", diff --git a/tests/unit/structure/test_shared_runtime_installer.py b/tests/unit/structure/test_shared_runtime_installer.py index 762158435..cb1b2e1ab 100644 --- a/tests/unit/structure/test_shared_runtime_installer.py +++ b/tests/unit/structure/test_shared_runtime_installer.py @@ -50,7 +50,9 @@ def test_the_skip_test_compares_the_payload_build_against_the_installed_one() -> "standalone/converter/installer/quill-converter.iss", "standalone/inkwell/installer/quill-inkwell.iss", "standalone/transcribe/installer/quill-transcribe.iss", + "standalone/quillgithub/installer/quill-github.iss", "standalone/quilllite/installer/quilllite.iss", + "standalone/quillpress/installer/quill-press.iss", "standalone/radio/installer/quill-radio.iss", "standalone/social/installer/quill-social-shared.iss", "standalone/studio/installer/quill-audio-studio.iss", diff --git a/tests/unit/tools/test_release_catalog.py b/tests/unit/tools/test_release_catalog.py index 5276a9df4..c7ed672b6 100644 --- a/tests/unit/tools/test_release_catalog.py +++ b/tests/unit/tools/test_release_catalog.py @@ -9,7 +9,8 @@ def test_release_catalog_agrees_with_every_release_consumer() -> None: def test_every_product_has_one_maintained_release_identity() -> None: - assert len(PRODUCTS) == 13 + assert len(PRODUCTS) == 15 + assert BY_KEY["quillpress"].wave == BY_KEY["quillgithub"].wave == "held" assert BY_KEY["quillscan"].wave == "held" assert not BY_KEY["quillscan"].shared_runtime assert len(BY_KEY) == len(PRODUCTS)