Commit Graph

3300 Commits

Author SHA1 Message Date
Nico Miguelino
a5e71c95ae fix: create a Scheduler instance after server initialization completes (#2043) 2024-08-30 12:56:58 -07:00
Nico Miguelino
d5f5c63e1e Use Poetry for the Python linter (#2042) 2024-08-29 11:29:59 -07:00
Nico Miguelino
dff1d26955 Adopt a singleton pattern for the media player instance (#2039)
* chore: adopt a singleton pattern for the media player instance
* chore: remove file-level/module-level mocks in tests
2024-08-28 07:16:26 -07:00
Nico Miguelino
6d02fbe89b Install python-is-python3 so that python will point to python3 (#2036) 2024-08-27 07:41:04 -07:00
Nico Miguelino
3ca8d4e2b0 Update documentation (#2037)
* docs: replace old info with up-to-date info
* docs: add follow-up info about the devices where the installer doesn't work
2024-08-27 07:04:03 -07:00
Nico Miguelino
77d527a50c Modify install script to support install of a specific version (#2026) 2024-08-24 14:19:32 -07:00
Nico Miguelino
9a38ee9bed fix: asset not being displayed for single-asset lists (#2034)
* added a delay before the asset loop starts
2024-08-24 13:01:53 -07:00
Nico Miguelino
cea472d44f fix: basic authentication failing when opted for it (#2033) 2024-08-21 08:20:25 -07:00
Nico Miguelino
3e4d91c544 Overhaul and refactor the installer script (#2028)
* Downgrades `cryptography` from `38.0.2` (now yanked) to `38.0.1`.
* Refactored and cleaned up the installer script
* Used [Charm's gum](https://github.com/charmbracelet/gum) for:
  * Adding cosmetic changes to the script
  * Making the code use less boilerplate
2024-08-20 09:24:39 -07:00
Nico Miguelino
6dce00fe4a fix: replace retry with tenacity (#2027) 2024-08-16 14:23:39 -07:00
Nico Miguelino
5508517628 fix: remove Monitor Info from the System Info page (#2024) 2024-08-16 07:39:28 -07:00
Nico Miguelino
a803fe8d32 Creates a script for installing (trusted) self-signed certificates (#2023) v0.18.8 2024-08-14 11:12:31 -07:00
Nico Miguelino
f935b95115 Enables Flake8 E501 (#2019) 2024-08-13 15:48:33 -07:00
Nico Miguelino
251308df20 Removes obsolete version attribute from non-Balena Docker Compose files (#2015)
* chore: clean up Docker Compose files
* Remove the version field from Compose files, except those used by
  the Balena fleets.
  * Rename volume names
* fix: rename `anthias-data` back to `resin-data`
* fix: hide "Update Available" navbar for Balena instances
2024-08-13 14:41:44 -07:00
Nico Miguelino
8ac54dd019 fix: server startup takes a minute to start in local dev mode (#2016) 2024-08-12 08:06:48 -07:00
Nico Miguelino
5474ff9143 Adds error-handling when getting IP addresses from within the settings page (#2014) 2024-08-08 06:53:26 -07:00
Nico Miguelino
6b8b0d0318 fix: disable FKMS for Raspberry Pi devices (#2001) 2024-08-06 07:49:13 -07:00
Nico Miguelino
390c40d9e8 fix: trigger test and linter check on push and/or PR to experimental branch (#2012) 2024-08-06 07:27:01 -07:00
Nico Miguelino
c0964b77cb Edits docs to include experimental features (#2008)
* chore: edit docs to include experimental features
* do minor grammatical error(s) in the installer
* chore: exclude bin/install.sh from the CI workflow trigger
2024-08-06 06:53:08 -07:00
Nico Miguelino
1c0487d53c fix: remove Docker repo/tag names that causes error when pushing to Docker Hub (#2006) 2024-08-02 10:43:44 -07:00
Nico Miguelino
30d5a18173 Updates scripts to support build and installation processes for experimental features (#2005)
* feat: update scripts to support build and installation processes for experimental features
* chore: remove `production` from the CI worklow branches
* chore: refactor the build script
2024-08-02 09:08:51 -07:00
Nico Miguelino
56fad54d96 Modifies audio output based on app settings and Pi version (#2002)
* fix: modify audio output based on app settings and pi version
* chore: refactore code for audio output
* tests: fix failing unit tests
2024-07-31 17:27:32 -07:00
Nico Miguelino
d0728bd7e4 fix: increase Balena API call retries from 30 to 90 (#2004) 2024-07-31 13:43:08 -07:00
Nico Miguelino
9484f5b5d7 fix: update webview git hash and tag to point to the latest version (#1998) 2024-07-29 11:39:23 -07:00
Nico Miguelino
4bd295c4a1 Fixes: Anthias is not starting asset (gets stuck at the logo screen) (#1896) WebView-v0.3.1 2024-07-28 13:16:05 -07:00
Nico Miguelino
ec8115b603 Cleans up unused OMX code (#1992)
* chore: cleanup unused OMX code
* chore: resolve Python linting errors
2024-07-26 08:26:24 -07:00
dependabot[bot]
2a9d71a7a7 chore(deps): bump yt-dlp from 2023.11.16 to 2024.7.7 in /requirements (#1963)
* chore(deps): bump yt-dlp from 2023.11.16 to 2024.7.7 in /requirements

Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2023.11.16 to 2024.7.7.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2023.11.16...2024.07.07)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: bump requests to 2.32.3

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nicomiguelino <nicomiguelino2014@gmail.com>
2024-07-25 13:14:19 -07:00
Nico Miguelino
2751c363de Fixes the CI workflow for building webview binaries (#1991) 2024-07-25 11:21:42 -07:00
Nico Miguelino
159cb20d62 fix: CI workflow for building and pushing webview images (#1990) 2024-07-25 08:26:37 -07:00
Nico Miguelino
14259c3022 docs: update docs for deploying on a Balena Fleet (#1989) 2024-07-24 08:40:37 -07:00
Nico Miguelino
591357d1bc chore: bumps Python version used by linter from 3.7 to 3.11 (#1988) 2024-07-23 15:29:05 -07:00
Nico Miguelino
a33116ba1b Fixes Pi 1 builds in CI (#1987)
* fix: don't build and push Dockerfile.test
* fix: removes the Docker build script from the files to be ignored
2024-07-23 08:56:20 -07:00
dependabot[bot]
ffaebbefa7 chore(deps): bump ansible-core from 2.12 to 2.15.9 in /requirements (#1944)
Bumps [ansible-core](https://github.com/ansible/ansible) from 2.12 to 2.15.9.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/compare/v2.12.0...v2.15.9)

---
updated-dependencies:
- dependency-name: ansible-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nico Miguelino <nicomiguelino2014@gmail.com>
2024-07-23 07:22:32 -07:00
Nico Miguelino
417ccf7646 fix: remove non-existing APT package libssl1.1 for Pi 1 builds (#1986) 2024-07-23 05:32:04 -07:00
Nico Miguelino
99a38d69ee Upgrade containers to use Bookworm (#1980)
* upgrade containers from using Buster to Bookworm
* replace OMX with VLC
* update the Qt version, webview hash, and the webview download URL
* enable FKMS for Raspberry Pi 1, 2, 3 and 4 devices
2024-07-22 14:26:01 -07:00
Nico Miguelino
ec710ed9b3 Upgrades webview builder from Buster to Bookworm (#1982)
* fix: bump Qt minor and patch version
* fix: update webview Dockerfile
* docs: update README.md
* fix: add check for Debian version before calling fetch_rpi_firmware
WebView-v0.3.0
2024-07-18 21:21:41 -07:00
Nico Miguelino
65ea8b5f39 Fixes failure to start the host agent service in Bullseye. (#1979)
* fix: install Python deps in a virtual env for older versions as well
* fix: add python3-venv as dependency
2024-07-17 11:52:22 -07:00
Nico Miguelino
dfae0d3907 fix: modify formatting of IPv6 addresses in the splash screen (#1976) 2024-07-16 08:22:41 -07:00
Nico Miguelino
19dd33de52 fix: broken API docs page (#1975) 2024-07-15 13:19:26 -07:00
Nico Miguelino
17d62957e7 Fixes host agent on Bullseye (#1971)
* fix: host agent not working on Bullseye
* fix: have Debian < 12 use virtual envs as well
* fix: add condition that checks if the `venv` module is present
2024-07-15 10:27:59 -07:00
Nico Miguelino
d4be208794 fix: remove unused JS code in settings.html (#1974) 2024-07-15 08:30:46 -07:00
Nico Miguelino
91ea312738 fix: upgrade instructions in settings page (#1970) 2024-07-11 20:35:55 -07:00
Nico Miguelino
8a9f870188 chore: bump Werkzeug from 2.2.2 to 2.2.3 (#1966) 2024-07-11 13:34:48 -07:00
Nico Miguelino
035f2c8dd1 Fixes IP address on splash screen not updating (#1950)
* fix: IP address previewed on splash screen doesn't update
* fix: consider multiple IPv4 and IPv6 as well
2024-07-11 09:28:45 -07:00
Nico Miguelino
70ae0d7314 Fix: Making Anthias work without Internet (#1965) 2024-07-10 06:56:46 -07:00
Nico Miguelino
5bb412319f Merge pull request #1936 from Screenly/dependabot/pip/requirements/urllib3-1.26.19
chore(deps): bump urllib3 from 1.26.5 to 1.26.19 in /requirements
2024-07-06 15:20:24 -07:00
dependabot[bot]
07f8092f0b chore(deps): bump urllib3 from 1.26.5 to 1.26.19 in /requirements
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.5...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 17:47:10 +00:00
Nico Miguelino
7c5de8ac37 Merge pull request #1907 from Screenly/dependabot/pip/requirements/idna-3.7
Bump idna from 2.6 to 3.7 in /requirements
2024-07-06 10:45:50 -07:00
dependabot[bot]
91e944b45c Bump idna from 2.6 to 3.7 in /requirements
Bumps [idna](https://github.com/kjd/idna) from 2.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v2.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 17:32:57 +00:00
Viktor Petersson
1aba2c45c2 Merge pull request #1959 from Screenly/dependabot/pip/requirements/certifi-2024.7.4 2024-07-06 08:32:23 +01:00