Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LEARN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Working on FileForge Desktop

FileForge 0.3.0 combines a connected workspace with the existing native conversion service. Both run on the user's computer. The desktop release includes its engines; the website is not opened remotely inside the app.
FileForge 0.3.1 combines a connected workspace with the existing native conversion service. Both run on the user's computer. The desktop release includes its engines; the website is not opened remotely inside the app.

## Architecture

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FileForge

Local file tools for Windows. **Version 0.3.0** brings the connected FileForge workspace into the desktop application, with its engines bundled for offline use. The existing native converters remain available for larger files.
Local file tools for Windows. **Version 0.3.1** fixes native XLSX-to-PDF exports that could miss cells when a workbook reported incorrect worksheet dimensions. The desktop workspace includes its engines for offline use, and the native converters handle larger files.

## Install or update

Expand Down
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from .workspace import WORKSPACE, workspace_manifest

CONVERTERS = {**CORE_CONVERTERS, **ADVANCED_CONVERTERS, 'image': convert_images}
VERSION = '0.3.0'
VERSION = '0.3.1'

STATIC = Path(__file__).parent / "static"
DATA = Path(os.environ.get("FILEFORGE_DATA_DIR", Path(tempfile.gettempdir()) / "fileforge-jobs"))
Expand Down
2 changes: 1 addition & 1 deletion app/models/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Offline background removal model

FileForge 0.3.0 bundles the unmodified U²-Net small (U2NETP) model by Xuebin Qin and contributors, under Apache-2.0. The Windows application can remove backgrounds without downloading a model at runtime or sending the picture to an AI service.
FileForge 0.3.1 bundles the unmodified U²-Net small (U2NETP) model by Xuebin Qin and contributors, under Apache-2.0. The Windows application can remove backgrounds without downloading a model at runtime or sending the picture to an AI service.

- Architecture and source: https://github.com/xuebinqin/U-2-Net
- ONNX weights distributed by rembg: https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2netp.onnx
Expand Down
4 changes: 2 additions & 2 deletions app/static/desktop-help.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>FileForge — Desktop help</title><link rel="stylesheet" href="/static/desktop-help.css"></head><body><main>
<header><a class="brand" href="/tools/workspace/">FileForge<span>Desktop 0.3.0</span></a><nav aria-label="Main navigation"><a href="/tools/workspace/">Workspace</a><a href="/tools/">All tools</a><a href="/native/">Native tools</a><a href="/desktop-help/" aria-current="page">Help</a></nav></header>
<header><a class="brand" href="/tools/workspace/">FileForge<span>Desktop 0.3.1</span></a><nav aria-label="Main navigation"><a href="/tools/workspace/">Workspace</a><a href="/tools/">All tools</a><a href="/native/">Native tools</a><a href="/desktop-help/" aria-current="page">Help</a></nav></header>
<p class="eyebrow">ON YOUR COMPUTER</p><h1>One app.<br><em>Two ways to work.</em></h1><p class="intro">Use the connected workspace for the full toolkit, or native tools for larger files. Both run locally, without an account or cloud conversion.</p>
<section><h2>Connected workspace</h2><p>All 22 workspace tasks are included: Word and PowerPoint previews to PDF, text/PDF/data conversion, image tools, PDF compression and splitting, HEIC conversion, OCR, document scanning and screenshot design. Pass a result straight to the next compatible tool.</p><p>Engines, fonts, the background model and English, German and Turkish OCR data are bundled. There is no offline pack to download and no runtime CDN request. The workspace uses the same practical limits as the browser tools.</p><p>Files and results stay in the current page’s memory. Download results before navigating away or closing FileForge. Clear all releases the workspace’s selection and previews. Optional favourites/settings contain tool choices, not selected documents, and the private window clears its storage when the app closes.</p><p>Office exports are flattened page images. Layout and fonts may differ from Microsoft Office; check the preview. DOC/PPT, macros and embedded objects are not supported. OCR exports text; it does not make a searchable PDF.</p><a href="/tools/workspace/">Open workspace →</a></section>
<section><h2>Native tools</h2><p>The nine existing native converters remain available, including larger video, image and PDF jobs. They run through a service bound only to 127.0.0.1, which means this computer. Workspace file limits and native file limits differ; each tool shows its own limits.</p><p>Native tools copy selected inputs into temporary job folders on this computer. Source copies are deleted after completion, failure or cancellation. Results expire after 24 hours while the app is running; old folders are cleaned at startup. Clear completed removes retained native results. Downloaded files stay where you saved them.</p><p>Native video compression needs separately installed FFmpeg and FFprobe on PATH. The workspace’s short-video engine is bundled and does not need that installation. Microsoft Edge WebView2 is required for the application window.</p><a href="/native/">Open native tools →</a></section>
<section><h2>Downloads and updates</h2><p>Keep FileForge.exe and the workspace folder together. Download and extract the complete release, then use install.cmd or run the executable directly. Updating the website does not silently change this installed app; a desktop update replaces its tested workspace and native executable.</p><p>The workspace folder contains ordinary replaceable engine files, licenses and a pinned source manifest. <a href="/workspace-notices">Read component notices</a> or <a href="/workspace-source">view source and build references</a>.</p></section>
<footer>FileForge 0.3.0 · Processing stays on your device.</footer></main></body></html>
<footer>FileForge 0.3.1 · Processing stays on your device.</footer></main></body></html>
4 changes: 2 additions & 2 deletions app/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>
<aside class="sidebar">
<a class="brand" href="/" aria-label="FileForge home"><span class="brand-mark">f<span>↗</span></span>FileForge<span class="version">0.3.0</span></a>
<a class="brand" href="/" aria-label="FileForge home"><span class="brand-mark">f<span>↗</span></span>FileForge<span class="version">0.3.1</span></a>
<a class="connected-link" href="/tools/workspace/">Connected workspace ↗</a><a class="connected-link" href="/tools/">All workspace tools ↗</a><a class="connected-link" href="/desktop-help/">Help &amp; privacy ↗</a><div class="sidebar-caption">NATIVE TOOLS</div>
<nav aria-label="Conversion tools" id="navigation"></nav>
<div class="sidebar-bottom">
Expand Down Expand Up @@ -55,7 +55,7 @@ <h3 id="drop-title">Drop your video here</h3>
<div class="activity-heading"><div><h2 id="activity-title">Your conversions <span id="job-count">0</span></h2><p>Download your results here.</p></div><button class="text-button" id="clear-history" disabled>Clear completed</button></div>
<div id="jobs" aria-live="polite"><div class="empty-state"><span class="empty-icon" aria-hidden="true">↳</span><div><strong>A fresh workspace</strong><p>Your conversions will appear here when you start.</p></div></div></div>
</section>
<footer class="page-footer"><span>FileForge 0.3.0 <span class="footer-dot">·</span> Built for files. Designed for you.</span><span>Results expire after 24 hours <span class="footer-dot">·</span> Download what you need</span></footer>
<footer class="page-footer"><span>FileForge 0.3.1 <span class="footer-dot">·</span> Built for files. Designed for you.</span><span>Results expire after 24 hours <span class="footer-dot">·</span> Download what you need</span></footer>
</div>
</main>
</body>
Expand Down
2 changes: 1 addition & 1 deletion desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import urllib.request
from pathlib import Path

VERSION = "0.3.0"
VERSION = "0.3.1"
EXPECTED_TOOLS = 9


Expand Down
4 changes: 2 additions & 2 deletions installer/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Copy-Item -LiteralPath (Join-Path $PSScriptRoot 'uninstall.ps1') -Destination $i
if (Test-Path -LiteralPath (Join-Path $PSScriptRoot 'THIRD_PARTY_NOTICES.txt')) {
Copy-Item -LiteralPath (Join-Path $PSScriptRoot 'THIRD_PARTY_NOTICES.txt') -Destination $installRoot -Force
}
@{ installPath = $installRoot; app = 'FileForge'; version = '0.3.0' } | ConvertTo-Json | Set-Content -LiteralPath $marker -Encoding UTF8
@{ installPath = $installRoot; app = 'FileForge'; version = '0.3.1' } | ConvertTo-Json | Set-Content -LiteralPath $marker -Encoding UTF8
if (-not $SkipShortcuts) {
$shellObject = New-Object -ComObject WScript.Shell
$startMenu = [Environment]::GetFolderPath('Programs')
Expand All @@ -37,7 +37,7 @@ if (-not $SkipRegistration) {
$registryPath = 'HKCU:/Software/Microsoft/Windows/CurrentVersion/Uninstall/FileForge'
New-Item -Path $registryPath -Force | Out-Null
New-ItemProperty -Path $registryPath -Name DisplayName -Value 'FileForge' -PropertyType String -Force | Out-Null
New-ItemProperty -Path $registryPath -Name DisplayVersion -Value '0.3.0' -PropertyType String -Force | Out-Null
New-ItemProperty -Path $registryPath -Name DisplayVersion -Value '0.3.1' -PropertyType String -Force | Out-Null
New-ItemProperty -Path $registryPath -Name InstallLocation -Value $installRoot -PropertyType String -Force | Out-Null
New-ItemProperty -Path $registryPath -Name DisplayIcon -Value (Join-Path $installRoot 'FileForge.exe') -PropertyType String -Force | Out-Null
$uninstallCommand = 'powershell.exe -NoProfile -ExecutionPolicy Bypass -File "' + (Join-Path $installRoot 'uninstall.ps1') + '"'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def slow(job):

def test_toolbox_health_validation_and_private_preview(client):
health = client.get('/api/health').json()
assert health['version'] == '0.3.0'
assert health['version'] == '0.3.1'
assert len(health['tools']) == 9 and 'pdfpreview' not in health['tools']
bad = [('background', {'fill': 'remote'}), ('trace', {'precision': True}),
('crop', {'x': 0, 'y': 0, 'width': -1, 'height': 20}),
Expand Down
6 changes: 3 additions & 3 deletions tests/test_workspace_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@pytest.mark.skipif(not workspace_manifest(), reason='Run tools/prepare_workspace.py to include the offline workspace checks.')
def test_complete_workspace_is_pinned_and_does_not_contain_personal_site():
manifest = verify()
assert manifest['version'] == '0.3.0'
assert manifest['version'] == '0.3.1'
assert manifest['task_count'] == 22 and manifest['tool_pages'] == 21
paths = [item['path'] for item in manifest['files']]
for required in ['tools/workspace/index.html', 'tools/word-to-pdf/index.html', 'tools/powerpoint-to-pdf/index.html', 'tools/csv-json/index.html', 'vendor/ffmpeg/ffmpeg-core.wasm', 'vendor/heic/heic-to.js', 'vendor/tesseract/lang/eng.traineddata.gz', 'THIRD_PARTY_NOTICES.md', 'SOURCE.md']:
Expand All @@ -23,7 +23,7 @@ def test_complete_workspace_is_pinned_and_does_not_contain_personal_site():
assert list((WORKSPACE / 'licenses').glob('*.txt'))
assert list((WORKSPACE / 'assets/models').glob('*.onnx'))
html = (WORKSPACE / 'tools/workspace/index.html').read_text(encoding='utf-8')
assert 'Native tools' in html and 'Desktop 0.3.0' in html
assert 'Native tools' in html and 'Desktop 0.3.1' in html
assert 'data-open-offline' not in html and 'data-offline-panel' not in html
assert 'Skate Scape' not in html and 'umut alisoglu' not in html

Expand All @@ -34,7 +34,7 @@ def test_native_routes_remain_local_and_health_distinguishes_modes():
assert response.status_code == 200 and 'Native conversion tools' in response.text
assert "frame-ancestors 'none'" in response.headers['content-security-policy']
health = client.get('/api/health').json()
assert health['version'] == '0.3.0' and len(health['tools']) == 9
assert health['version'] == '0.3.1' and len(health['tools']) == 9
assert client.post('/api/jobs', headers={'origin': 'https://external.invalid'}).status_code == 403
assert client.get('/', headers={'host': 'external.invalid'}).status_code == 400
help_page = client.get('/desktop-help/')
Expand Down
4 changes: 2 additions & 2 deletions tools/prepare_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
OUTPUT = ROOT / 'app/workspace'

HEADER = '''function header(path) {
return `<a class="skip-link" href="#main">Skip to content</a><header class="site-header wrap hub-header"><a class="wordmark" href="/tools/workspace/"><span class="monogram">f.</span><span>FileForge<small>Desktop 0.3.0 · on your device</small></span></a><nav aria-label="Main navigation"><a href="/tools/workspace/"${path === '/tools/workspace/' ? ' aria-current="page"' : ''}>Workspace</a><a href="/tools/"${path !== '/tools/workspace/' ? ' aria-current="page"' : ''}>All tools</a><a href="/native/">Native tools</a><button type="button" data-open-tools class="tool-switcher-trigger" hidden>Find a tool</button><a href="/desktop-help/">Help</a></nav></header>`;
return `<a class="skip-link" href="#main">Skip to content</a><header class="site-header wrap hub-header"><a class="wordmark" href="/tools/workspace/"><span class="monogram">f.</span><span>FileForge<small>Desktop 0.3.1 · on your device</small></span></a><nav aria-label="Main navigation"><a href="/tools/workspace/"${path === '/tools/workspace/' ? ' aria-current="page"' : ''}>Workspace</a><a href="/tools/"${path !== '/tools/workspace/' ? ' aria-current="page"' : ''}>All tools</a><a href="/native/">Native tools</a><button type="button" data-open-tools class="tool-switcher-trigger" hidden>Find a tool</button><a href="/desktop-help/">Help</a></nav></header>`;
}
const footer = `<footer class="site-footer wrap new-footer"><a class="footer-brand" href="/tools/workspace/">FileForge<small>Desktop 0.3.0</small></a><div><a href="/tools/workspace/">Connected workspace</a><a href="/tools/">All tools</a><a href="/native/">Native tools for larger files</a><a href="/desktop-help/">Privacy &amp; help</a><a href="/workspace-notices">Component notices</a></div><p class="footer-note"><span>Processing stays on your computer. Download results before closing.</span><span>Engines included · no account</span></p></footer>`;
const footer = `<footer class="site-footer wrap new-footer"><a class="footer-brand" href="/tools/workspace/">FileForge<small>Desktop 0.3.1</small></a><div><a href="/tools/workspace/">Connected workspace</a><a href="/tools/">All tools</a><a href="/native/">Native tools for larger files</a><a href="/desktop-help/">Privacy &amp; help</a><a href="/workspace-notices">Component notices</a></div><p class="footer-note"><span>Processing stays on your computer. Download results before closing.</span><span>Engines included · no account</span></p></footer>`;

'''

Expand Down
2 changes: 1 addition & 1 deletion tools/third_party_notices.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def is_notice(item):

def main():
blocks = [
"FileForge 0.3.0 - Third-party notices\n\n"
"FileForge 0.3.1 - Third-party notices\n\n"
"Native FFmpeg and FFprobe are separately installed external tools and are not bundled.\n"
"The connected workspace includes its own FFmpeg WebAssembly engine and other replaceable browser runtimes in workspace/.\n"
"The following notices cover the Python runtime, conversion libraries and native components distributed in this release.\n"
Expand Down
2 changes: 1 addition & 1 deletion workspace-source.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"repository": "https://github.com/UmutAlisoglu/umutalisoglu.github.io.git",
"commit": "baddae3683a1794d309d24f5234b40a40af1c25a",
"version": "0.3.0",
"version": "0.3.1",
"task_count": 22,
"tool_pages": 21
}
Loading