Commit Graph
233 Commits
Author SHA1 Message Date
4gray 747e602ed2 chore: update nx dependencies 2026-01-04 19:06:32 +01:00
4gray 943a55585b chore: add saxes, remove epg-parser 2026-01-02 17:22:09 +01:00
4gray c714996ce0 feat(electron): refine Linux sandbox handling and format copy filter
Improve sandbox handling on Linux by detecting Snap, Flatpak,
and AppImage environments and applying appropriate Chromium
command-line switches:

- If running in Snap or Flatpak, disable Chromium's sandbox
  (--no-sandbox) to avoid conflicts with the distribution's
  own sandboxing.
- Otherwise (traditional packages and AppImage), disable the
  SUID sandbox and prefer the user namespace sandbox
  (--disable-setuid-sandbox). This avoids requiring a SUID
  chrome-sandbox binary and aligns with modern Linux best
  practices.

Also adjust apps/electron-backend/src/main.ts to only apply
these changes on Linux (process.platform === 'linux').

Minor formatting: expand the package.json copy "filter" array
to a multiline style for readability.
2025-12-14 12:31:00 +01:00
4gray ddc87e95a7 chore(package): bump version to 0.17.1 2025-12-12 21:25:36 +01:00
4gray a80f3b925f feat(package): include built remote-control-web in packaged app
Add a packaging rule to copy the built remote-control-web output from
dist/apps/remote-control-web into the installer as remote-control-web.
Previously the repository included the raw source pattern
remote-control-web/**/* which did not reflect the compiled build output.
By pointing files to the dist build and filtering all files, the packaged
app now contains the production web assets instead of source files.

This fixes missing runtime assets in releases and ensures the packaged
installer includes the correct built web app for remote control.
2025-12-09 16:43:25 +01:00
4gray 7e4732a1bf chore: add angularx-qrcode and tidy package-lock entries 2025-12-06 21:45:51 +01:00
4gray ac39c2a9dd chore(deps): replace @libsql with better-sqlite3
Remove @libsql/client and its transitive entries from package-lock and
add better-sqlite3 plus its TypeScript types. This updates the lockfile
to reflect switching DB client dependencies: drop the @libsql packages
and related node_modules entries, and add "better-sqlite3" and
"@types/better-sqlite3". The change reduces unused libsql artifacts and
ensures type definitions are available for the new native sqlite client.
2025-12-06 09:26:27 +01:00
4gray 72802f3f7c build(win): unpack libsql native bindings in ASAR
Add an asarUnpack rule for node_modules/@libsql/** so native bindings are
not embedded in the ASAR archive. This ensures libsql's native modules
are available at runtime for the Electron app and prevents issues when
loading native binaries from inside an ASAR.

Also remove ia32 architecture from NSIS target, keeping only x64 to
align installers with supported platforms and reduce build artifacts.
2025-12-05 08:38:18 +01:00
4gray 2c1d29f841 ci: restrict architecture targets to x64 only 2025-11-26 17:46:27 +01:00
4gray 3b76db7aeb ci: update Linux targets in package.json 2025-11-26 17:27:48 +01:00
4gray 1531b1ab73 ci: update Linux target configurations in package.json 2025-11-26 16:48:08 +01:00
4gray a948ce0265 feat(electron): bundle worker assets and resolve worker path
Add webpack config and include it in the electron backend build so 
worker scripts are correctly bundled for packaged apps. Move worker 
files to be packaged as extraResources instead of asar unpack patterns 
so the packaged app can load worker JS from Resources/dist/... at 
runtime. Fix worker path resolution in epg.events: compute resourcesPath
from app.getAppPath() and point to dist/apps/electron-backend/workers 
when app.isPackaged. Remove verbose app path logging and update comments
to reflect the actual packaged layout.
Why: ensure webworker entry points are included in the renderer/backend
bundle and accessible when the Electron app is packaged, preventing
worker loading failures in production builds.
2025-11-24 20:46:15 +01:00
4gray b7109c16a2 feat(package): update build directories and refine file inclusion for packaging 2025-11-24 17:40:48 +00:00
4gray 9f7995054d feat(epg): update worker path for packaged app and refine file inclusion in build 2025-11-24 17:19:35 +00:00
4gray 64afc2901e feat(epg): enhance worker path handling and add fallback for missing worker files 2025-11-24 16:21:00 +00:00
4gray 5b697f458a feat(electron): load epg worker from asar.unpacked in prod
Update EPG worker path handling and unpack worker files for production
builds so the worker can be spawned when the app is packaged with ASAR.
- Change workerPath to let and, when the resolved path includes
  app.asar, replace it with app.asar.unpacked. This ensures the spawned
  worker points to the unpacked resource in production.
- Add electron-builder asarUnpack pattern for workers/** so worker files
  are packaged outside the ASAR archive.
These changes fix runtime errors where worker threads cannot be started
from inside app.asar and ensure the EPG parser can run in packaged apps.
2025-11-23 22:16:33 +01:00
4gray 7da2202119 ci: add icon paths to electron packager configs
Add explicit icon settings to packaged app configuration for macOS,
Linux and Windows. Set macOS icon to 
apps/web/src/assets/icons/favicon.ic, Linux icon directory to 
apps/web/src/assets/icons and Windows icon to 
apps/web/src/assets/icons/favicon.ico. This ensures bundled installers 
and app bundles include the intended application icon across platforms 
and prevents missing icon assets when creating artifacts. Also add 
trailing commas to keep JSON formatting
consistent.
2025-11-23 18:50:46 +01:00
4gray 0d6e519709 chore(deps): update nx & angular packages
Update Angular in pnpm-lock to newer 20.3.x versions
and align CDK/Material specifiers to the compatible 20.2.12/20.2.12
releases. This brings core, common, compiler, platform-browser,
animations, forms and related packages to the 20.3.x series to fix
version skew and ensure dependency compatibility.

Add tsConfig for tests in libs/shared/interfaces project config so
jest runner uses the correct TypeScript spec configuration, fixing
test/compile issues for that library.

Remove husky commit-msg hooks and local pre-commit checks to avoid
running commitlint, tests and eslint on commit (CI remains unaffected).
2025-11-08 23:24:56 +01:00
4gray ea3c2b1e45 feat(build): set deterministic artifact file names
Standardize generated installer/artifact file names across build
targets by adding explicit artifactName patterns in package.json.
Add a general artifactName at the top-level build config, ensure
linux targets (snap/deb/rpm) carry the same pattern, and set a
Windows-specific artifactName for win and nsis outputs that includes
the platform and arch.

This makes build outputs predictable for CI, releases, and automated
upload tooling by embedding name, version, OS, arch, and extension in
artifact filenames.
2025-11-08 23:02:15 +01:00
4gray e6aa33959e feat(deps): bump Electron to v39.x 2025-11-08 10:22:57 +01:00
4gray 516a376dc0 chore(deps): remove Tauri packages and bump test deps 2025-10-27 08:20:29 +01:00
4gray 2f930a6dfe chore(deps): upgrade video.js to 8
Add nested @videojs/http-streaming and related module entries (v2.16.3,
video.js 7.21.7, mpd-parser, @videojs/xhr, videojs-font, etc.) required by
the upgraded video.js ecosystem.

These changes ensure the lockfile reflects the new major video.js
version and pulls in compatible HTTP streaming and parsing libraries so
consumers get consistent, resolved dependency trees and avoid runtime
mismatches when using the newer player.
2025-10-23 22:54:22 +02:00
4gray 94e8d76a36 chore(de): upgrade epg-parser to 0.4.0 and add new deps
Bump epg-parser from 0.1.6 to 0.4.0 in package.json and update
package-lock.json to reflect the new version, resolved tarball, and
integrity. Add its new runtime dependencies (dayjs ^1.11.6 and
lodash.groupby ^4.6.0) into package-lock.json and include a dayjs
entry. Also add missing license fields for some modules.

This upgrade brings epg-parser improvements and fixes, and ensures the
lockfile accurately represents the installed dependency tree.
2025-10-23 21:52:09 +02:00
4gray 0a934d2ac6 refactor(electron): migrate from tauri/plugin-sql to libsql 2025-10-18 21:31:29 +02:00
4gray 7487738a7d refactor(nx): remove packages, fix build issues 2025-10-14 23:44:33 +02:00
4gray 7028ff4049 refactor(nx): app restructuring 2025-10-13 00:24:54 +02:00
4gray 920afa6850 refactor(nx): created shared and m3u-utils library 2025-10-10 11:49:35 +02:00
4gray 99ed5df404 chore: back to electron + nx 2025-10-07 18:02:13 +02:00
4gray e338eb16dc fix(web-player): remove unused dplayer 2025-09-27 20:05:00 +02:00
4gray c01e8c204c chore(deps): bump multiple dev/prod dependency versions
Update several packages in package-lock to newer minor/patch releases
and align Angular ESLint packages with the Angular 20 toolchain. Key
changes include:
- Upgrade @rx-angular/* to 20.0.0 to match other framework updates.
- Bump runtime libs: artplayer, axios, hls.js, rxjs, semver, uuid,
  zone.js to patch/minor versions for fixes and compatibility.
- Update @angular-eslint packages to 20.3.0 to match Angular 20.x.
- Refresh eslint, @eslint/*, eslint-plugin-import, prettier, and
  semantic-release to more recent releases for linting/CI stability.
- Add explicit rxjs 7.8.1 entries under some Angular DevKit node_modules
  to ensure consistent resolution.

These updates address compatibility with Angular 20, pull in bug fixes
and security/maintenance patches, and stabilize dev tooling and CI.
2025-09-27 17:19:50 +02:00
4gray cd2dd2ede5 chore: update to angular v20
- Removed unnecessary imports from header, account-info, 
  loading-overlay, navigation-bar, season-container, serial-details, and 
  vod-details components.
- Updated template syntax to use structural directives more efficiently in mpv-player-bar, account-info, navigation-bar, season-container, serial-details, and vod-details components.
- Enhanced readability and maintainability of the code by organizing imports and using Angular's async pipe and structural directives appropriately.
- Adjusted TypeScript configuration to use "bundler" for module resolution for better compatibility with modern build tools.
2025-09-21 12:27:36 +02:00
dependabot[bot] 935c6cf6d2 chore(deps): bump vite and @angular/build
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) to 6.3.6 and updates ancestor dependency [@angular/build](https://github.com/angular/angular-cli). These dependencies need to be updated together.


Updates `vite` from 6.1.0 to 6.3.6
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite)

Updates `@angular/build` from 19.2.0 to 19.2.17
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/compare/19.2.0...19.2.17)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.6
  dependency-type: indirect
- dependency-name: "@angular/build"
  dependency-version: 19.2.17
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-18 12:23:49 +00:00
dependabot[bot] 27720269db chore(deps): bump axios from 1.6.2 to 1.12.0
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.12.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 22:43:05 +00:00
4gray 944f69f34a chore: bump version to 1.0.0-beta.7 2025-09-08 18:14:58 +02:00
Kiryl Fando c1a54ee466 fix: group sorting logic 2025-04-09 19:05:39 +02:00
4gray fac3a9d49e chore: bump version to 1.0.0-beta.6 2025-04-05 15:07:04 +02:00
Kiryl Fando 2bd99bd524 feat: update hls to the latest version 2025-03-31 23:11:25 +02:00
4gray 3910c0c85c chore: update tauri dependencies and add file reading capability 2025-03-07 20:59:48 +01:00
4gray 35c9ca2bab chore: update Node.js engine requirement to version 20 or higher 2025-03-04 22:13:24 +01:00
4gray 00e7883cee chore: upgrade @ngx-translate packages to versions 16.0.4 and 16.0.1 2025-03-03 19:51:18 +01:00
4gray a2133be1aa chore: update dependencies for Jest packages 2025-03-03 19:43:23 +01:00
4gray e0692dd48e chore: upgrade Angular ESLint packages to version 19.2.0 2025-03-03 19:40:04 +01:00
4gray a75705d5c7 chore: upgrade NgRx packages to version 19.0.1 2025-03-03 19:36:56 +01:00
4gray 0176452bcf chore: upgrade Angular material to v19.2.1 2025-03-03 19:34:51 +01:00
4gray c147a9da7c chore: update to angular 19 2025-03-03 19:32:38 +01:00
4gray f70ed99a19 chore(dependencies): update Tauri packages to latest versions 2024-12-24 23:23:07 +01:00
4gray a17718b1cf chore: update author email in package.json 2024-12-20 22:56:41 +01:00
4gray 0076882ed8 chore: bump version to 1.0.0-beta.5 2024-12-19 21:44:28 +01:00
4gray c34a6a94a0 feat(dependencies): add tauri-sql dependency 2024-12-07 16:33:32 +01:00
4gray 609ae91426 bump: update version to 1.0.0-beta.4 across files
Updates the version number from 1.0.0-beta.3 to 1.0.0-beta.4 in 
package.json, package-lock.json, Cargo.toml, Cargo.lock, and 
tauri.conf.json to reflect the latest release. This change 
ensures consistency across project files and prepares for the 
next deployment.
2024-11-29 01:13:34 +01:00