434 Commits

Author SHA1 Message Date
Nico Miguelino
29ae072514 chore: replace Poetry with uv for managing host dependencies (#2611) 2025-12-16 05:03:27 -08:00
Nico Miguelino
c94734deda refactor: split viewer.py into multiple files (#2271) 2025-04-27 09:44:40 -07:00
Nico Miguelino
bba8f601fd fix: stick to pi4 for Anthias version v0.19.5 and older (#2251) 2025-03-27 00:08:06 -07:00
Nico Miguelino
dedeaf8114 fix: installing Anthias in Bullseye (#2248)
* fix: revert `ansible-core` to `2.15.9`

* fix: use `ansible-core` `2.18.3` for Bookworm; use `2.15.9` otherwise

* fix: handle installation of pip dependencies via Ansible conditionally
2025-03-25 11:36:44 -07:00
Nico Miguelino
3be2771bd3 feat: add support for compute module devices (#2218) 2025-02-27 21:47:32 -08:00
Nico Miguelino
f76bb72dc8 chore: install the ARM64 version of Docker for Pi 4 running 64-bit (#2213) 2025-02-17 07:46:14 -08:00
Nico Miguelino
c28bb7b92b fix: retrieve MAC address from host (#1929) 2025-01-20 14:08:28 -08:00
Nico Miguelino
a92c462331 fix: Docker image build and deployment process for Pi 4 (#2199) 2025-01-15 10:51:52 -08:00
Nico Miguelino
490051585f Replace flake8 with ruff (#2092) 2025-01-14 06:47:52 -08:00
Nico Miguelino
4f0f8e5a20 Adds support for Raspberry Pi 5 (#1868) 2024-12-19 23:30:58 -08:00
nicomiguelino
45f1367da2 chore: allow support for building of images from the container upgrade script 2024-12-05 14:00:40 -08:00
Nico Miguelino
7dd6d49881 chore: update development mode scripts to containerize Poetry and other relevant dependencies (#2144) 2024-12-04 10:14:07 -08:00
Nico Miguelino
7d99b0bc71 fix: ask for privilege escalation password during installation (#2134) 2024-11-18 11:39:40 -08:00
Nico Miguelino
01d28d55ec chore: make use of Webpack for building CSS and JS files (#2127) 2024-11-15 11:17:08 -08:00
Nico Miguelino
c766045f3e chore: use multi-stage builds for server images in both development and production environments (#2117) 2024-11-08 21:59:42 -08:00
Nico Miguelino
f8749b123e chore(workflow): port the Docker image builder script to Python (#2060) 2024-11-07 06:04:32 -08:00
Nico Miguelino
d7132ab325 chore(tools): write a script for starting the development server (#2104) 2024-10-31 08:06:41 -07:00
Nico Miguelino
70afe9ba49 chore(cleanup): remove workflow related to the experimental branch (#2101) 2024-10-22 09:08:37 -07:00
Nico Miguelino
284c025db6 docs: update docs and scripts for setting up Anthias in dev mode (#2097) 2024-10-17 14:11:53 -07:00
Nico Miguelino
188e3993d0 Migrate web server back-end from Flask to Django (#2040) 2024-10-16 14:07:45 -07:00
Nico Miguelino
e3cfeb1d7e Clean up unused/untraversed steps during server startup (#2088) 2024-10-10 11:09:14 -07:00
Nico Miguelino
37f4d74744 Add support for x86 devices (#2048) 2024-09-19 09:24:23 -07:00
Nico Miguelino
bb31a1b1d3 fix: install python3-dev during installation to prevent dependency errors (#2069) 2024-09-12 20:03:08 -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
77d527a50c Modify install script to support install of a specific version (#2026) 2024-08-24 14:19:32 -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
a803fe8d32 Creates a script for installing (trusted) self-signed certificates (#2023) 2024-08-14 11:12:31 -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
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
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
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
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
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
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
9bc1bd30f0 Renames Screenly references to Anthias (#1946) 2024-07-03 11:00:58 -07:00
Nico Miguelino
ab8c1927a2 Refactors server scripts for development mode (#1952)
* refactor code for development mode
* remove unused imports
* trigger test workflow on `master` push
2024-07-03 10:03:56 -07:00
Nico Miguelino
87e2d493ce Adds Python linting in CI (#1939) 2024-06-21 09:11:14 -07:00
nicomiguelino
5a82c77cf7 chore: cleanup code related to USB assets 2024-06-18 15:49:13 -07:00
nicomiguelino
7989920995 chore: clean up unused images 2024-06-17 15:23:37 -07:00
nicomiguelino
09a2f9c759 fix: container build script for development mode 2024-06-06 08:22:39 -07:00
Nico Miguelino
dc1f963bd7 Allows support for 4k display by increasing shared memory in viewer (#1894)
* fix: increase `shm_size` of the viewer service for RPi OS and Balena versions
* modify the docs to include usage of the `--shm-size` flag
2024-05-15 12:54:47 -07:00
Nico Miguelino
bb86fdc6be fix: Bump Chrome and ChromeDriver to latest stable version. (#1869)
* Fixes the unit test pipeline
2024-04-03 00:34:23 -07:00
Nico Miguelino
503498e92f Fixes the Anthias installer so that it'll work on Debian Bookworm as well (#1836) 2024-04-01 23:39:22 -07:00
nicomiguelino
d2282acfbc docs: Add details about possible values for the --board option.
- Modify the script so that the help text will be more detailed as well.
2023-10-17 17:59:12 -07:00
nicomiguelino
2ed1ce772a Remove the --token flag. 2023-06-26 11:58:26 -07:00
nicomiguelino
a78b288847 Modify Balena deployment script so that local changes can be deployed as
well.

- With these changes, you don't need to wait for a newer version of
  images from Docker Hub to be uploaded.
2023-06-21 22:16:17 -07:00
nicomiguelino
b71db65a03 Modify Balena deployment script. 2023-06-19 17:38:39 -07:00