Commit graph

144 commits

Author SHA1 Message Date
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
pepaskopec-blip
de2fc2cd36 Add network unit 20 on routers and gateways.
Cover router roles, firewalls, multiprotocol conversion and gateway use cases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:50:06 +02:00
pepaskopec-blip
0f211e3185 Add network unit 19 on routing principles and algorithms.
Cover adaptive vs static routing, control types, metrics and distance vector.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:46:44 +02:00
cf84bffb36 prepared the czech subject 2026-09-14 12:44:24 +02:00
pepaskopec-blip
07631f7837 Add network unit 18 on switch forwarding in detail.
Cover CAM learning plus cut-through, store-and-forward and fragment-free modes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:39:49 +02:00
pepaskopec-blip
247d3af8af Add network unit 17 on active network devices.
Cover repeater, transceiver, hub, switch, router and gateway with a quiz.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:24:22 +02:00
pepaskopec-blip
a14110e642 Add network unit 16 on medium access methods.
Cover collisions, Aloha, CSMA/CD and CSMA/CA with slides and a quiz.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:21:51 +02:00
pepaskopec-blip
337c41fa62 Add network unit 15 on fiber protection and installation.
Cover primary/secondary coatings and cleave/splice mounting with a quiz.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:19:18 +02:00
pepaskopec-blip
a6f359376c Add network unit 14 on fiber optics basics.
Cover light conversion, pros/cons, and multimode vs single-mode fiber with a quiz.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:15:18 +02:00
pepaskopec-blip
46688f76d1 Add network unit 13 on bus, star and ring topologies.
Unlock slides and a quiz covering shared-medium, hub/switch and ring layouts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:12:56 +02:00
pepaskopec-blip
f538da1c3f Add network unit 12 on TCP/IP architecture basics.
Cover OSI mapping, model origin, and key protocols per layer with slides and a quiz.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:10:28 +02:00
pepaskopec-blip
2a83b18cdf Add network unit 11 on the seven ISO/OSI layers.
Unlock slides and a quiz covering each OSI layer so the networks path continues past the ISO/OSI vs TCP/IP overview.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:08:09 +02:00
dvorakmortonxd
64d40fdc15 Unit 3 Vocabulary 2026-09-14 08:33:33 +02:00
dvorakmortonxd
c1a4edaa67 Unit 2 Vocabulary 2026-09-14 08:24:16 +02:00
dvorakmortonxd
a4f6f9da0e made the vocabulary exercise in unit 1 less out of place by moving it a few pixels 2026-09-11 22:17:26 +02:00
dvorakmortonxd
310049b22e UI tweaks again (made it so special symbols like stars arent affected since it makes it look weird on retina screens) 2026-09-11 22:11:25 +02:00
dvorakmortonxd
a57c4923fe made vocabulary exercise just a bit more tolerant 2026-09-11 22:08:45 +02:00