Verify desktop log directory access and isolated refusal
This commit is contained in:
1 parent
ab3508c9cb
commit
a215cebfee
3 files changed
+8
No files matched your search
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Current Windows account-free checkpoint (2026-11-26)
|
## Current Windows account-free checkpoint (2026-11-26)
|
||||||
|
|
||||||
|
**Log directory (Windows):** Installation Details showed a missing-directory notice and no Open logs action on a fresh profile. With an empty logs directory in that same disposable profile, the action opened exactly that directory in Explorer. The isolated About regression also rejected a direct OpenLogs operation with os_actions_disabled while the directory existed and kept Diagnostics open. No log contents were inspected and no mobile export was tested.
|
||||||
|
|
||||||
**Theme folders (Windows):** From the native Appearance picker, Explorer confirmed the package-specific button opened the disposable profile's `extensions/org.fixture.folder` and the general button opened `extensions`. The isolated Slint regression invoked both actions and received `os_actions_disabled` before continuing through selection and restart. No mobile picker/share claim.
|
**Theme folders (Windows):** From the native Appearance picker, Explorer confirmed the package-specific button opened the disposable profile's `extensions/org.fixture.folder` and the general button opened `extensions`. The isolated Slint regression invoked both actions and received `os_actions_disabled` before continuing through selection and restart. No mobile picker/share claim.
|
||||||
|
|
||||||
**Channel visibility transitions (2026-11-27):** Windows passed seven core event/snapshot tests, including a batched enter with a shared destination, a per-client override and a subsequent move with an explicit origin for an uncached client. Five native notification adapter tests passed: supervised moves into and out of the current channel and a kick into it selected the movement log and corresponding WAV file; subscription changes emitted no notification. These were packet and control fixtures, not a live server test, individual Listen preview, or physical playback.
|
**Channel visibility transitions (2026-11-27):** Windows passed seven core event/snapshot tests, including a batched enter with a shared destination, a per-client override and a subsequent move with an explicit origin for an uncached client. Five native notification adapter tests passed: supervised moves into and out of the current channel and a kick into it selected the movement log and corresponding WAV file; subscription changes emitted no notification. These were packet and control fixtures, not a live server test, individual Listen preview, or physical playback.
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
## Возврат к разработке на ПК, 2026-11-26
|
## Возврат к разработке на ПК, 2026-11-26
|
||||||
|
|
||||||
|
2026-11-27, Windows, база `ab3508c`: проверен `preload:openLogs` на странице сведений об установке. При отсутствии logs показано объяснение без кнопки, при наличии Проводник подтвердил точный каталог временного профиля. Тест about_workflows подтвердил отказ прямого вызова в изолированном режиме. Содержимое журналов не читалось, мобильный экспорт не проверялся.
|
||||||
|
|
||||||
2026-11-27, Windows, база `4fb47fb`: для каждого установленного пакета тем в Appearance доступна его папка. Проводник подтвердил каталог пакета и общий каталог extensions по отдельности. В изолированном режиме обе операции получили os_actions_disabled; адресный тест выбора, перезапуска и удаления темы прошёл. Мобильное открытие не проверялось.
|
2026-11-27, Windows, база `4fb47fb`: для каждого установленного пакета тем в Appearance доступна его папка. Проводник подтвердил каталог пакета и общий каталог extensions по отдельности. В изолированном режиме обе операции получили os_actions_disabled; адресный тест выбора, перезапуска и удаления темы прошёл. Мобильное открытие не проверялось.
|
||||||
|
|
||||||
2026-11-27, Windows, база `bab7c93`: добавлены шесть расширенных настроек звука для переноса и исключения в канал, серверных групп и отказа в правах. В старых профилях прежний выбор действует до изменения отдельного события. Прошли 15 адресных тестов; UI Automation обнаружил все шесть элементов выбора в запущенном приложении. PCM проверен на изолированном выходе, физическое воспроизведение не проверялось. Для предупреждения о речи при выключенном микрофоне по-прежнему нет проверки с настоящим источником речи.
|
2026-11-27, Windows, база `bab7c93`: добавлены шесть расширенных настроек звука для переноса и исключения в канал, серверных групп и отказа в правах. В старых профилях прежний выбор действует до изменения отдельного события. Прошли 15 адресных тестов; UI Automation обнаружил все шесть элементов выбора в запущенном приложении. PCM проверен на изолированном выходе, физическое воспроизведение не проверялось. Для предупреждения о речи при выключенном микрофоне по-прежнему нет проверки с настоящим источником речи.
|
||||||
|
|||||||
@@ -134,6 +134,10 @@ async fn bundled_about_documents_and_diagnostics_through_public_runtime() {
|
|||||||
assert_eq!(value("Operating System Actions"), "Disabled");
|
assert_eq!(value("Operating System Actions"), "Disabled");
|
||||||
assert_eq!(row(&diagnostics, "logs-unavailable").title, "Opening the log directory is disabled in this session.");
|
assert_eq!(row(&diagnostics, "logs-unavailable").title, "Opening the log directory is disabled in this session.");
|
||||||
assert!(!diagnostics.rows.iter().any(|row| row.title.contains("Chromium") || row.title.contains("Electron") || row.id == "logs"));
|
assert!(!diagnostics.rows.iter().any(|row| row.title.contains("Chromium") || row.title.contains("Electron") || row.id == "logs"));
|
||||||
|
std::fs::create_dir_all(root.join("logs")).unwrap();
|
||||||
|
let denied = invoke(&runtime, Operation::OpenLogs).await;
|
||||||
|
assert_eq!(denied.last_error.as_ref().unwrap().code, "os_actions_disabled");
|
||||||
|
assert_eq!(denied.settings_view.page(), Page::Diagnostics);
|
||||||
let returned = invoke(&runtime, back).await;
|
let returned = invoke(&runtime, back).await;
|
||||||
let about = present(&returned, Language::En, Page::Root);
|
let about = present(&returned, Language::En, Page::Root);
|
||||||
assert_eq!(about.focus_row.as_deref(), Some("page:Diagnostics"));
|
assert_eq!(about.focus_row.as_deref(), Some("page:Diagnostics"));
|
||||||
|
|||||||
Reference in new issue
Block a user