Release 2.0.3 with custom sync server support in web builds
This commit is contained in:
1 parent
727eaa1f72
commit
7e84a69098
17 files changed
+48
-25
No files matched your search
@@ -1,4 +1,10 @@
|
||||
# Changelog
|
||||
## [2.0.3] - 2026-09-20
|
||||
### Fixed
|
||||
- Web and browser builds can connect to compatible custom sync servers when you choose one.
|
||||
- Browser extensions no longer request access to the Inner Breeze website.
|
||||
- Chrome break reminders now follow the app's settings and Rest Now action.
|
||||
|
||||
## [2.0.2] - 2026-09-20
|
||||
### Fixed
|
||||
- Habit editor section headings and reminder details now align with their rows.
|
||||
|
||||
@@ -53,8 +53,8 @@ android {
|
||||
applicationId "xyz.waozi.inbe"
|
||||
minSdk 21
|
||||
targetSdk 36
|
||||
versionCode 126
|
||||
versionName "2.0.2"
|
||||
versionCode 127
|
||||
versionName "2.0.3"
|
||||
manifestPlaceholders = [
|
||||
inbeAppLabel: "Inner Breeze",
|
||||
inbeUsesCleartextTraffic: "false"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
Fixed
|
||||
---
|
||||
- Web and browser builds can connect to compatible custom sync servers when you choose one.
|
||||
- Browser extensions no longer request access to the Inner Breeze website.
|
||||
@@ -12,11 +12,10 @@
|
||||
"storage"
|
||||
],
|
||||
"host_permissions": [
|
||||
"https://api.waozi.xyz/*",
|
||||
"https://inbe.waozi.xyz/*"
|
||||
"https://api.waozi.xyz/*"
|
||||
],
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz https://inbe.waozi.xyz; object-src 'self'"
|
||||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https: wss: http: ws:; object-src 'self'"
|
||||
},
|
||||
"icons": {
|
||||
"16": "icons/icon-16.png",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: inbe.waozi
|
||||
Version: 2.0.2
|
||||
Version: 2.0.3
|
||||
Architecture: arm64
|
||||
Maintainer: Waozi <[email protected]>
|
||||
Click-Version: 0.4
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<binary>inbe</binary>
|
||||
</provides>
|
||||
<releases>
|
||||
<release version="2.0.2" date="2026-09-20"/>
|
||||
<release version="2.0.3" date="2026-09-20"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.1"/>
|
||||
</component>
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "inbe",
|
||||
"title": "Inner Breeze",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"architecture": "arm64",
|
||||
"framework": "ubuntu-sdk-20.04",
|
||||
"description": "Syncable breathing, meditation, and habit practice app.",
|
||||
|
||||
@@ -2,17 +2,16 @@
|
||||
"manifest_version": 3,
|
||||
"name": "Inner Breeze",
|
||||
"short_name": "Inbe",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"description": "Breathing, meditation, habit tracking, and encrypted sync.",
|
||||
"permissions": [
|
||||
"contextMenus"
|
||||
],
|
||||
"host_permissions": [
|
||||
"https://api.waozi.xyz/*",
|
||||
"https://inbe.waozi.xyz/*"
|
||||
"https://api.waozi.xyz/*"
|
||||
],
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz https://inbe.waozi.xyz; object-src 'self'"
|
||||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https: wss: http: ws:; object-src 'self'"
|
||||
},
|
||||
"icons": {
|
||||
"16": "icons/icon-16.png",
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<binary>inbe</binary>
|
||||
</provides>
|
||||
<releases>
|
||||
<release version="2.0.2" date="2026-09-20"/>
|
||||
<release version="2.0.3" date="2026-09-20"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.1"/>
|
||||
</component>
|
||||
@@ -22,7 +22,7 @@
|
||||
<binary>inbe</binary>
|
||||
</provides>
|
||||
<releases>
|
||||
<release version="2.0.2" date="2026-09-20"/>
|
||||
<release version="2.0.3" date="2026-09-20"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.1"/>
|
||||
</component>
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
meditation, and habit tracking with visual and audio cues, meditation
|
||||
timers, habit counters, session history, and optional sync.
|
||||
|
||||
version: '2.0.2'
|
||||
version: '2.0.3'
|
||||
license: BSD-3-Clause
|
||||
base: core22
|
||||
confinement: strict
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { spawn } from "node:child_process";
|
||||
import { accessSync, constants, existsSync, mkdtempSync, readFileSync, rmSync } from "node:fs";
|
||||
import { createServer } from "node:http";
|
||||
import { tmpdir } from "node:os";
|
||||
import { join, resolve } from "node:path";
|
||||
|
||||
@@ -193,6 +194,15 @@ async function main() {
|
||||
assert.ok(existsSync(join(extensionRoot, "index.html")), "missing built extension page");
|
||||
|
||||
const chromium = resolveChromium();
|
||||
const syncServer = createServer((request, response) => {
|
||||
response.writeHead(200, {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Content-Type": "text/plain",
|
||||
});
|
||||
response.end(request.url === "/sync-probe" ? "custom sync server reachable" : "unexpected path");
|
||||
});
|
||||
await new Promise((resolveReady) => syncServer.listen(0, "127.0.0.1", resolveReady));
|
||||
const syncServerPort = syncServer.address().port;
|
||||
const stderrLines = [];
|
||||
const args = [
|
||||
"--headless=new",
|
||||
@@ -261,6 +271,10 @@ async function main() {
|
||||
const readyState = await waitForPageReady(cdp, page);
|
||||
assert.ok(readyState.href.includes("chrome-extension://"));
|
||||
|
||||
const customServerResponse = await evaluate(cdp, page,
|
||||
`fetch('http://127.0.0.1:${syncServerPort}/sync-probe').then((response) => response.text())`, true);
|
||||
assert.equal(customServerResponse, "custom sync server reachable");
|
||||
|
||||
const pageExports = JSON.parse(await evaluate(cdp, page, `(() => {
|
||||
Module._app_web_test_enable_extension_breaks(60);
|
||||
return JSON.stringify({
|
||||
@@ -297,6 +311,7 @@ async function main() {
|
||||
if (cdp) cdp.close();
|
||||
chrome.kill("SIGTERM");
|
||||
await delay(250);
|
||||
await new Promise((resolveClosed) => syncServer.close(resolveClosed));
|
||||
rmSync(userDataDir, { recursive: true, force: true });
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ write_web_app_csp_html() {
|
||||
src=$1
|
||||
dst=$2
|
||||
cache_version=$(date +%s)
|
||||
csp="default-src 'self' data: blob:; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz https://inbe.waozi.xyz; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://telegram.org; style-src 'self' 'unsafe-inline'; worker-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob:; frame-src https:; img-src data: https:; media-src https:; object-src 'none'"
|
||||
csp="default-src 'self' data: blob:; connect-src 'self' https: wss: http: ws:; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://telegram.org; style-src 'self' 'unsafe-inline'; worker-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob:; frame-src https:; img-src data: https:; media-src https:; object-src 'none'"
|
||||
meta="<meta http-equiv=\"Content-Security-Policy\" content=\"$csp\">"
|
||||
|
||||
awk -v meta="$meta" -v version="$cache_version" '
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
<p class="policy-kicker">05 · Browser extensions</p>
|
||||
<h2>Permissions with a narrow purpose.</h2>
|
||||
<p>The browser extension uses browser storage for settings and reminder state. Depending on the browser build, it may use alarms, context menus, notifications, and the browser's active-or-idle status to schedule local reminders and quick actions.</p>
|
||||
<p>Inner Breeze does not read your browsing history, page contents, form data, keystrokes, or mouse position. Host access to <code>inbe.waozi.xyz</code> and <code>api.waozi.xyz</code> supports app resources and optional online features.</p>
|
||||
<p>Inner Breeze does not read your browsing history, page contents, form data, keystrokes, or mouse position. The browser extension requests host access to <code>api.waozi.xyz</code> for optional sync with the default server. You can leave sync off or choose a compatible server. A custom server must allow requests from the browser extension.</p>
|
||||
<p>Consistent with the Chrome Web Store Limited Use requirements, extension data is used only to provide or improve user-facing Inner Breeze features. It is not used for advertising, creditworthiness, or unrelated purposes.</p>
|
||||
</section>
|
||||
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
|
||||
#define APP_VERSION_MAJOR 2
|
||||
#define APP_VERSION_MINOR 0
|
||||
#define APP_VERSION_PATCH 2
|
||||
#define APP_VERSION_STRING "2.0.2"
|
||||
#define APP_VERSION_PATCH 3
|
||||
#define APP_VERSION_STRING "2.0.3"
|
||||
|
||||
#endif
|
||||
+2
-2
@@ -107,7 +107,7 @@ function publishExtensionBreakConfig(force) {
|
||||
text = JSON.stringify(config);
|
||||
if (!force && text === extensionBridgeLastConfig) return;
|
||||
extensionBridgeLastConfig = text;
|
||||
runtime.sendMessage({ type: 'breathing.breakConfig', config: config }, function() {
|
||||
runtime.sendMessage({ type: 'inbe.breakConfig', config: config }, function() {
|
||||
var lastError = chrome.runtime && chrome.runtime.lastError;
|
||||
if (lastError) console.warn('Inner Breeze extension break sync failed:', lastError.message);
|
||||
});
|
||||
@@ -117,7 +117,7 @@ window.__inbeExtensionBreakNow = function(breakType) {
|
||||
var runtime = extensionRuntime();
|
||||
publishExtensionBreakConfig(true);
|
||||
if (!runtime) return;
|
||||
runtime.sendMessage({ type: 'breathing.breakNow', breakType: breakType | 0 }, function() {
|
||||
runtime.sendMessage({ type: 'inbe.breakNow', breakType: breakType | 0 }, function() {
|
||||
var lastError = chrome.runtime && chrome.runtime.lastError;
|
||||
if (lastError) console.warn('Inner Breeze extension rest-now failed:', lastError.message);
|
||||
});
|
||||
|
||||
+4
-4
@@ -6,8 +6,8 @@ IDI_APP_ICON ICON "inbe.ico"
|
||||
IDI_NOTIFICATION_ICON ICON "inbe.ico"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 2,0,2,0
|
||||
PRODUCTVERSION 2,0,2,0
|
||||
FILEVERSION 2,0,3,0
|
||||
PRODUCTVERSION 2,0,3,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -24,11 +24,11 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "waozi"
|
||||
VALUE "FileDescription", "Inner Breeze"
|
||||
VALUE "FileVersion", "2.0.2"
|
||||
VALUE "FileVersion", "2.0.3"
|
||||
VALUE "InternalName", "inbe"
|
||||
VALUE "OriginalFilename", "inbe-windows-x86_64.exe"
|
||||
VALUE "ProductName", "Inner Breeze"
|
||||
VALUE "ProductVersion", "2.0.2"
|
||||
VALUE "ProductVersion", "2.0.3"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
Reference in new issue
Block a user