Commit Graph
121 Commits
Author SHA1 Message Date
zarzet b434af048f feat(link): show computer playback on the iOS 27 Lock Screen
While a paired computer plays, the iPhone publishes a NowPlaying
RemoteMediaSession through a new LinkNowPlaying ExtensionKit extension
instead of starting local audio for a Lock Screen card. The app sends
the track, position and volume over a method channel; the extension
reads the computer's state and sends its commands directly over the
pinned Link connection, so the card keeps working while the app
sleeps.

- Pairing credentials go to a Keychain item shared through the app
  group. An install without the app group, and so without that
  Keychain, carries them in the session attributes instead.
- A desktop catalog song's cover comes from the computer's
  getCoverArt by song id. The app's own cover is a loopback proxy URL
  that the extension cannot use.
- Errors returned to the system carry only their domain and code: a
  URL error's details cannot cross XPC and aborted the extension.
  Failures are logged to the device log without URLs or keys.
- CI and release builds move to Xcode 27 and check that the extension
  is embedded.

On a test device the card appears, but its controls and cover do not
reach the computer yet; that is still being investigated.
2026-10-30 03:03:49 +07:00
zarzet 753ab00006 ci(windows): prepare verified SignPath release signing 2026-10-25 00:52:41 +07:00
zarzet fdc94673e1 chore(android): update Gradle to 9.8.2 and android-junit5 to 2.0.2 2026-10-24 12:12:27 +07:00
zarzet d8a54db106 fix(flutter): backport semantics geometry crash fix 2026-10-23 13:49:43 +07:00
zarzet 8f553c7aa3 feat(windows): prepare native ARM64 builds and packages
Add architecture-specific CI jobs, native playback dependencies and bundle validation. Native Windows ARM64 compilation and runtime testing are still pending.
2026-10-22 23:10:34 +07:00
zarzet 11a9b9a4ec chore: remove redundant comments across the codebase 2026-10-22 01:41:09 +07:00
zarzet 6f2498b9b8 ci(desktop): build the Linux bundle for arm64 as well
Mirror the release workflow's Linux matrix: an ubuntu-22.04-arm job
installs rustup and clones Flutter, and Cargo and pub caches are keyed
per runner architecture.
2026-10-21 19:05:44 +07:00
zarzet acb826da9f ci(desktop): pin Windows to VS 2022 and unblock GStreamer on Linux
Visual Studio 2026 on windows-latest removed <experimental/coroutine>,
which permission_handler_windows still includes. On Ubuntu 22.04 the
image's libunwind-14-dev held back libgstreamer1.0-dev; installing
libunwind-dev first lets apt replace it.
2026-10-21 14:11:21 +07:00
zarzet f6df8502fc feat(release): publish desktop builds in mornyeapp/Mornye-Desktop
The release workflow now ships phone builds in Mornye and desktop
packages in Mornye-Desktop, each with its own notes and SHA256SUMS.txt.
Desktop releases stay drafts until the DESKTOP_RELEASES_PUBLIC
repository variable is 'true'.

Desktop update checks read the new repository, and a release list
cached from the main repository is not reused. The Windows installer
links its updates page there too.
2026-10-21 11:34:43 +07:00
zarzet f3c05dfbe4 build(macos): sign with a stable self-signed identity when available
Ad hoc signatures change on every build, so macOS asks for the keychain
password again after each rebuild or update. A self-signed certificate keeps
the designated requirement stable; Gatekeeper behavior is unchanged.
2026-10-20 17:04:56 +07:00
zarzet bcb1ee8b90 feat(desktop): play through media_kit with MPRIS and SMTC sessions
Windows and Linux now create a libmpv deck through media_kit; macOS,
Android and iOS keep audioplayers. Without libmpv the runtime falls back
to audioplayers.

- The equalizer becomes one libavfilter graph behind mpv's lavfi filter
  (input gain, peaking bands, balance, compressor, -0.5 dBFS limiter)
  after a planar float conversion. Changes set the af property again.
  Filters a libmpv build lacks are probed once and left out; the input
  gain then moves to mpv's volume. Filter failures are reported per player.
- Deck volume is scaled by the in-app output volume on mpv's cubic curve,
  position updates run on a timer, DSD sources throw when libmpv cannot
  open them, and exclusive output has a hook for a later setting.
- The in-app output volume persists across launches on every desktop OS.
- Previews go through the runtime's preview deck, so desktop previews
  follow the in-app volume.
- Linux publishes MPRIS over D-Bus and Windows uses SMTC through
  smtc_windows, both driven by the audio handler.
- The Linux CI job installs libmpv-dev.
2026-10-20 16:55:01 +07:00
zarzet 7855428ea0 ci(release): bundle the LGPL FFmpeg in desktop release packages
Stage FFmpeg in the macOS (cached source build), Linux (per
architecture) and Windows release jobs, require it in the macOS app
build, and check the bundles before packaging.
2026-10-20 16:13:57 +07:00
zarzet e8706589ad ci(desktop): stage and verify the bundled LGPL FFmpeg
Cache the macOS source build by the fetch script hash, fetch the BtbN
builds on Linux and Windows, and check that every bundle carries
runnable, non-GPL ffmpeg and ffprobe with their license files.
2026-10-20 16:13:08 +07:00
zarzet 173555a1ba ci(release): build and publish desktop packages
Add build-macos (universal dmg), build-linux (x86_64 and aarch64 AppImage
and deb on ubuntu-22.04 and ubuntu-22.04-arm) and build-windows (installer
and portable zip, optional SignPath signing when SIGNPATH_API_TOKEN is set,
continue-on-error until proven). create-release verifies each job's
checksums, publishes one SHA256SUMS.txt for every asset and lists the
desktop downloads with the macOS "Open Anyway" and SmartScreen notes. Jobs
after create-release no longer skip when only the Windows build failed.
2026-10-20 15:07:31 +07:00
zarzet 02f3cb9980 ci(desktop): build the macOS, Linux and Windows apps
Add a Desktop workflow (manual and on pull requests touching desktop
paths) that builds the Rust desktop library, runs a release Flutter
build per OS, checks the bundled backend and uploads a zip. The Windows
job continues on error until the Rust backend builds for Windows.
2026-10-20 14:27:17 +07:00
zarzet 37e21b5712 feat(branding): rename app and native backend to Mornye
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.

Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
2026-10-20 12:00:44 +07:00
zarzet 4c78f476d3 ci: run the Android Rust build once and cache Cargo
The rust job rebuilt the Android libraries that the android job already builds through Gradle. Drop it, cache Cargo for the rust, rust-ios and android jobs, widen the rust path filter to the fixtures the Rust tests read, default workflow tokens to contents: read, and delete the inert auto-tag workflow.
2026-10-18 22:01:32 +07:00
zarzet 0539a12f99 ci: add a dart format gate and fix the one drifted test file
Format drift was unchecked in CI. Add the gate before analyze and include integration_test in the documented format commands.
2026-10-18 22:01:32 +07:00
zarzet d2d5593b9c ci: include integration tests in Dart change detection 2026-10-18 00:46:08 +07:00
zarzet 49aeedbdcf chore(ci): refresh action pins and align Android build toolchains 2026-10-11 14:33:58 +07:00
zarzet 83adc03a15 fix(ci): locate Discord license notices inside the iOS plugin framework 2026-10-11 14:31:31 +07:00
zarzet 9f2062d495 build(android): verify full APK integrity and publish checksums 2026-10-08 23:54:24 +07:00
zarzet f0e89e0348 fix(ios): audit Discord license in its framework bundle 2026-10-08 23:54:06 +07:00
zarzet b8c50b1527 perf(android): reduce release APK size
Keep Dart debug data outside libapp.so and archive matching symbols and R8 mappings in CI. Pack native relocations, preserve JNI exports, and recompress PNG assets losslessly.

ARM64 APK shrinks from 80,306,680 to 76,080,247 bytes (5.26%). Verified with 1,877 Flutter tests, 19 native device tests, Discord SDK integration, and release startup on a 16 KiB Android emulator.
2026-10-06 15:22:42 +07:00
zarzet 3191ff926f ci: provision pinned Discord SDK for Android and iOS 2026-10-04 02:12:44 +07:00
zarzet 5bcbb029c9 ci: remove Pages workflow without site sources 2026-10-04 01:42:00 +07:00
zarzet 9c0b22e2c8 feat(build): require Discord in production and keep Lite opt-in 2026-10-04 01:40:54 +07:00
zarzet 541bfc4002 perf(media): shrink FFmpeg while preserving HTTPS motion artwork 2026-10-04 01:35:48 +07:00
zarzet 0b2cf0e4e5 feat(discord): add opt-in mobile rich presence with track artwork 2026-10-03 02:14:11 +07:00
zarzet 72b689b1f8 build(android): sign release APKs with APK Signature Scheme v4
Release signing now also writes the V4 .apk.idsig beside each APK, verifies it in CI and publishes it for adb incremental installs. Normal installers keep using the V1-V3 signatures inside the APK.
2026-10-01 21:00:42 +07:00
zarzet 2d554998b1 chore(deps): update Flutter Rust and Android dependencies 2026-09-26 11:55:51 +07:00
zarzet 5259c86365 feat(player): add Mornye media notification controls
Sync notification favorites with Library, add Mornye transport icons and an output action on legacy Android, and expose the iOS favorite command. Preserve playback position when controls refresh.

Vendor audio_service 0.18.19 with a small Android patch for custom notification actions. Modern Android keeps its system output switcher and transport layout.
2026-09-26 03:07:38 +07:00
zarzet 728d179d69 refactor(discord): remove rich presence and bundled SDK
Remove the presence setting, platform bridge, SDK archive, and SDK preparation from local and CI builds. Reject leftover Discord native libraries in release APK audits.
2026-09-26 03:07:04 +07:00
zarzet 64f76293ec fix(android): bundle Discord SDK in local and CI releases 2026-09-26 02:02:49 +07:00
zarzet c24132cb9b fix(ci): require verified V1 V2 V3 release APK signatures 2026-09-25 16:54:28 +07:00
zarzet 1e3414b3d0 fix(ci): audit stripped iOS archives and configure FFmpeg tests 2026-09-23 22:59:44 +07:00
zarzet d5ac292d36 fix(ios): keep release feed bundle identity in sync
Use com.zarz.spotiflac for the app and matching test targets. Read the bundle identifier from the built IPA when updating apps.json so the release feed matches the distributed application.

Validation: Xcode project plist lint and binary IPA bundle identifier extraction passed.
2026-09-19 12:10:25 +07:00
zarzet 1ebdac8645 style: remove trailing whitespace 2026-09-18 00:31:27 +07:00
zarzet aa99726439 feat(backend): migrate production backend to Rust
Replace the Go backend with the Rust workspace and route Android/iOS through
UniFFI bindings. Include the migrated extension runtime, network, providers,
media metadata, downloads and library operations, with version 5.0.0+147.

Remove Go sources, adapters, native build selection and CI dependencies.
Build Rust unconditionally and lock the iOS Rust pod using a relative path.
Retain legacy source and migration evidence in a local ignored archive.

Validation: Android Kotlin compile and 53 native tests; Swift Rust-branch
equivalence and syntax; CocoaPods install; workflow, shell, Ruby, plist and
diff checks. Reuse the preceding 100 Rust tests, fmt/Clippy and five-ABI
build checkpoint; no new APK or iOS application build for this cleanup.

Known follow-up: URL/URLSearchParams globals are missing from the Rust JS
runtime. A controlled extension replay confirms a URL-resolution regression;
this commit does not fix that runtime gap.
2026-09-14 22:58:27 +07:00
zarzet 4b7e731474 feat(about): show compiled short Git commit 2026-09-06 14:54:35 +07:00
zarzet 1d96521c0f fix(lyrics): align usability checks with shared fixtures
Trim after removing inline timestamps before matching speaker prefixes in Dart. Run one 21-case usability corpus through Dart, Go, and Kotlin tests.

Document the shared fixture and trigger Dart and Go CI when its resources change.
2026-09-06 14:05:09 +07:00
zarzet 4a4de098c8 ci(ios): reuse backend build script without duplicate framework setup
Build the XCFramework through scripts/build_ios.sh and use the framework configuration already committed in the Xcode project. Remove duplicate registration and its dedicated Ruby dependency setup.

Verified an unsigned release archive and one Gobackend reference, link entry, and embedded framework.
2026-09-06 14:04:05 +07:00
zarzet 0290ab7151 fix(ci): standardize Android ARM release build 2026-08-30 12:06:04 +07:00
zarzet 760d796673 fix(ci): harden release workflow inputs and actions 2026-08-29 18:57:22 +07:00
zarzet 4fa0ab860b chore(deps): upgrade Flutter Go and Android dependencies 2026-08-27 10:42:14 +07:00
zarzet d3f9388ba8 fix(ci): align APK targets with supported ABIs 2026-08-02 01:42:50 +07:00
zarzet 834a8dde89 chore(repo): improve contributor experience 2026-07-29 14:16:10 +07:00
zarzet 555f0e8117 fix(ci): download pinned Gradle for native tests 2026-07-25 10:28:26 +07:00
zarzet 60a74a7e0e fix(ci): install Android 37 platform package 2026-07-25 10:14:44 +07:00
zarzet 89dcef8ffd test(native-worker): add Android regression gates 2026-07-24 12:16:41 +07:00