Commit graph

160 commits

Author SHA1 Message Date
pepaskopec-blip
aa1d8c4426 Stop linking the Android APK through a branch-named raw URL.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 12:22:11 +02:00
pepaskopec-blip
04e0a41f31 Install Android API 37.0 in CI, the name Google now publishes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:00:08 +02:00
pepaskopec-blip
70119bf373 Skip the retired Android SDK tools package in CI.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 10:57:59 +02:00
pepaskopec-blip
9d8b853081 Add a Jetpack Compose Android app that plays the same maturita content.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 10:54:49 +02:00
pepaskopec-blip
2c16cf977d Let the updater apply a new build after restart.
The swap helper now detaches from the app, downloads start when a newer VERSION appears, and checks keep running so a just-published build is not missed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 19:49:10 +02:00
pepaskopec-blip
f746447b75 Keep a copy of each search result page name.
Lesson and exercise targets were built in a temporary buffer, so choosing one sometimes opened nothing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 19:26:07 +02:00
pepaskopec-blip
cafa18b189 Add in-app search for subjects, lessons and exercises.
The header magnifier and Cmd/Ctrl+K open a palette that jumps straight to a matching page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 19:08:54 +02:00
pepaskopec-blip
45ed500fa2 Ship the macOS installer as a double-clickable app.
A regular user can unzip and open it; install no longer needs Terminal or chmod.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 18:27:43 +02:00
pepaskopec-blip
2d6e1f04c3 Package each installer as a zip so a README click downloads a file instead of opening the script as text.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 18:24:53 +02:00
pepaskopec-blip
7fabe1846e Pin installer and updater downloads to the builds tip commit.
raw.githubusercontent.com caches branch-named files, so the installer was serving a stale zip after CI rewrote builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:31:16 +02:00
pepaskopec-blip
0d40e12788 Fix CI so published builds can move past the stuck VERSION.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:22:32 +02:00
pepaskopec-blip
d679e81887 Restyle the interface after Umímeto, Apple, and To dáš.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:17:54 +02:00
pepaskopec-blip
6c41abed05 Use a generic Windows path in the README install example.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:06:04 +02:00
pepaskopec-blip
72deed70e8 Point the build and runtime paths at src/ and data/.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:01:17 +02:00
pepaskopec-blip
c2a632c7d6 Move sources into src/ and runtime files into data/.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:00:57 +02:00
pepaskopec-blip
452dba4a8a Add Developer ID signing and notarization to the macOS build.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 16:25:08 +02:00
pepaskopec-blip
2cb3565df5 Fix path layout and Czech stats, and rewrite the install docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 16:02:59 +02:00
pepaskopec-blip
737e27deb0 Publish builds to a branch instead of to releases.
Releases and version numbers are gone. CI now rebuilds all three platforms
on every change to main and commits the packages to the `builds` branch,
so what anyone downloads is the current state of the repository. The
branch is rewritten from scratch each time rather than added to, so the
repository keeps one copy of the packages instead of a ~70 MB set per
commit.

Without tags there is no version to compare, so a build carries the
commit it was made from and the branch carries a VERSION file naming the
same commit. The updater fetches those few bytes and treats any
difference as being behind; commits are not ordered, and the branch only
ever holds the current build.

The installers fetch from the branch over raw.githubusercontent.com for
the same reason.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 15:40:47 +02:00
pepaskopec-blip
4566336b1b Make the learning path show one next step and a real finish flag.
Every unlocked unit carried the "current" class, so three nodes lit up
identically and none of them pointed anywhere. Mark only the first
unlocked unit that is not finished; the rest stay open but quiet.

The finish node filled its whole circle with chequers, which read as the
placeholder pattern for a missing image rather than as a flag, most of
all in light mode. Give it the plain face the other locked nodes have and
put the chequers in a small badge where they show a padlock.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 15:22:35 +02:00
pepaskopec-blip
7d503d6c5b Add installers that fetch the newest release when run.
Each installer carries no application of its own and resolves
/releases/latest/download/ at the moment it runs, so the file never goes
stale and the same download keeps working across future releases.

macOS installs into /Applications, falling back to the user's own folder
when that is not writable, and clears the quarantine flag the unsigned
build would otherwise trip over. Windows extracts over any existing
install rather than replacing the folder, so the progress files kept
inside it survive, and adds a Start menu entry. Linux drops the AppImage
in ~/Applications with a desktop entry and its icon.

Publish the macOS one zipped, because a release asset loses its
executable bit and a .command needs one to be double-clicked.

The .cmd also had to be excluded from the *.cmd ignore rule, which comes
from the kernel section of the template and targets build artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 15:16:46 +02:00
pepaskopec-blip
91a848b408 Add a self-updater that installs new releases.
Bake the release tag into the binary so the app knows what it is running;
plain builds keep the "dev" default and never offer an update. The CI
workflow already exported the tag on Linux and macOS, so only the Windows
job needed it.

Read the newest version from the redirect GitHub serves for
/releases/latest, which avoids the REST API and its unauthenticated rate
limit and needs no JSON parser. Networking goes through the curl command
rather than a linked library: curl handles TLS, redirects and proxies, it
ships on all three platforms, and it keeps the bundling scripts free of
another shared library.

An application cannot reliably replace its own files while running, so
every platform follows one shape: unpack beside the current install,
write a script that waits for this process to exit before swapping, then
launch it detached and quit. Staging beside the install keeps the move on
one filesystem and fails early when the location is read-only. The
Windows script copies without mirroring so the progress files kept inside
the install directory survive.

Check quietly a few seconds after startup and offer the result in a
banner above the pages, with a manual check in the settings popover.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 15:04:55 +02:00
pepaskopec-blip
ae56a1c1da Rework the interface into a consistent visual system.
Replace the accumulated per-widget decoration with short, documented
scales for type, weight, radius and motion. Fills are flat and elevation
is neutral, so accent colour marks state instead of decorating: the
gradients on buttons, pills, nodes and progress bars are gone, along with
the coloured glow shadows and the triple ring on the current unit.

Drop draw_node_halo() and the gradient aura on the learning path, which
painted the same bloom in the cairo layer.

Give the welcome page the app icon, a single-colour heading and an
unboxed paragraph. Restore keyboard focus rings, which were suppressed
everywhere, and clamp exercise bodies to a readable measure on wide
windows.

Fix two layout bugs found on the way: the statistics metric cards were
unequal because hexpand only shares leftover space, and a fraction of
zero still painted a stub of accent colour because GTK gives the progress
node a minimum width.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 14:17:34 +02:00
pepaskopec-blip
9f27724751 Fix broken macOS release bundle missing GTK libraries.
Replace fragile dylibbundler with a recursive otool-based bundler, verify every dependency, smoke-test launch, and ship GTK schemas with the Windows zip.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 16:30:23 +02:00
pepaskopec-blip
b49c456098 Fix AppImage post-step aborting on no-op mv.
linuxdeploy already writes the final path; renaming the file onto itself failed under set -e.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 12:43:29 +02:00
pepaskopec-blip
1179ae1f7d Fix AppImage icon size rejected by linuxdeploy.
Use the real 512×512 PNG instead of the 1024×1024 app-icon copied into the 512 path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 12:38:30 +02:00
pepaskopec-blip
5f70493cd8 Fix Linux AppImage script copying the GTK plugin onto itself.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 12:34:07 +02:00
pepaskopec-blip
d76c636795 Fix Linux CI build on Ubuntu 22.04 GTK 4.6.
Provide G_APPLICATION_DEFAULT_FLAGS and css provider fallbacks for older GLib/GTK.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 12:30:44 +02:00
pepaskopec-blip
93ef37132c Fix macOS bundling hang on missing librsvg.
Skip the SVG pixbuf loader, pass Homebrew search paths to dylibbundler, and keep CI non-interactive.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 12:14:55 +02:00
pepaskopec-blip
f8e27e8b53 Add self-contained release packaging for Linux, macOS, and Windows.
Resolve asset/progress paths for AppImage and .app bundles, and ship GitHub Actions builds on version tags.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 08:35:29 +02:00
pepaskopec-blip
f55216b764 Merge branch 'main' of https://git.dvorakmortonxd.dev/dvorakmortonxd/sprechen.c 2026-09-15 14:45:00 +02:00
pepaskopec-blip
3ea022dd4f Make the app icon work on macOS, Windows, and Linux.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 14:44:45 +02:00
c5beebe880 Merge pull request 'Fix ALS abbreviation to ALU in hardware lessons' (#1) from bukovinafilip/maturita.c:fix/alu-terminology into main
Reviewed-on: edu/maturita.c#1
2026-09-15 14:41:52 +02:00
acc0ec9590 Fix ALS abbreviation to ALU in hardware lessons 2026-09-15 12:55:10 +02:00
pepaskopec-blip
6060a8d874 Show the app icon on the macOS Dock via AppKit.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:53:14 +02:00
pepaskopec-blip
0397519801 Wire app icon into the GTK window and build.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:47:00 +02:00
dvorakmortonxd
2e6bd75546 Rearranged the Mluvnice exercises to a roadmap as is Deutsch and other subjects 2026-09-15 12:45:36 +02:00
dvorakmortonxd
fa3e54cecf Cestina mluvnice exercises 2026-09-15 12:41:46 +02:00
pepaskopec-blip
c54df6f04b Add app icon for maturita.C branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:39:02 +02:00
77e91531ea Literatura - Ladislav Fuks - Spalovac Mrtvol - Maturitni cetba 2026-09-14 15:58:47 +02:00
pepaskopec-blip
d2f860474d Drop locked placeholder units 28–30 from year-1 networks path.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 15:39:29 +02:00
0bfd7db42a 1984 - George Orwille - Czech Maturita Readings 2026-09-14 15:35:41 +02:00
pepaskopec-blip
1e9c9b5f84 Improve multiple-choice quiz layout with cards and clearer states.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 15:32:52 +02:00
pepaskopec-blip
1dc8ddea07 Add year picker for computer networks path (years 1–4).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:27:29 +02:00
pepaskopec-blip
6848b22b93 Add network unit 27 on wireless networks and Wi-Fi security.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:16:00 +02:00
pepaskopec-blip
ac3c0849b7 Add network unit 26 on application protocols and ports.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:12:51 +02:00
pepaskopec-blip
d5219f5f8d Add network unit 25 on TCP and UDP transport protocols.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:09:29 +02:00
pepaskopec-blip
0897f5f194 Add network unit 24 on ARP and RARP address resolution.
Cover IP/MAC conversion, broadcast queries, replies and ARP cache.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:06:33 +02:00
pepaskopec-blip
cdcfe2237d Add network unit 23 on ICMP messages and traceroute.
Cover error reporting, ping echo and the TTL-based traceroute method.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:03:46 +02:00
pepaskopec-blip
f1fb4f7af0 Add network unit 22 on IP packets and headers.
Cover datagram structure, key header fields, protocol numbers and fragmentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:58:32 +02:00
pepaskopec-blip
5522a77533 Add network unit 21 on Ethernet addresses and frames.
Cover MAC assignment plus Ethernet II, 802.3, SNAP, raw frames and sizes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:54:48 +02:00