Commit Graph

407 Commits

Author SHA1 Message Date
Nico Miguelino
cea472d44f fix: basic authentication failing when opted for it (#2033) 2024-08-21 08:20:25 -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
f935b95115 Enables Flake8 E501 (#2019) 2024-08-13 15:48:33 -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
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
91ea312738 fix: upgrade instructions in settings page (#1970) 2024-07-11 20:35:55 -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
nicomiguelino
6e87511237 chore/fix: increase scope of Python linter 2024-07-02 16:08:19 -07:00
Nico Miguelino
6caf5aab73 chore: clean up unusued wifi-reset code (#1948) 2024-06-29 09:56:54 -07:00
Nico Miguelino
8a60fb5efc chore: rename all Resin references to Balena (#1945)
* the changes exclude references to Docker volumes
2024-06-28 06:54:13 -07:00
Nico Miguelino
87e2d493ce Adds Python linting in CI (#1939) 2024-06-21 09:11:14 -07:00
Nico Miguelino
0fd729b019 Refactor all Celery tasks to a separate file (#1938) 2024-06-20 12:40:27 -07:00
nicomiguelino
5a82c77cf7 chore: cleanup code related to USB assets 2024-06-18 15:49:13 -07:00
nicomiguelino
3c279028a2 fix: set a hard time limit for the get_display_power task
* Doing so will avoid unfinished tasks filling up the queue.
2024-06-08 11:56:47 -07:00
nicomiguelino
1ed719674e fix: get Supervisor version from the API 2024-05-27 09:37:38 -07:00
Michael Schwinghammer
b79ae46b3b Support for pyyaml > 5.4.1 2023-11-20 21:43:07 -06:00
nicomiguelino
c67baa0f18 Decode base64-encoded byte so that file downloads can be possible again. 2023-04-08 23:07:46 -07:00
nicomiguelino
3b3f88312c Fix dependency and runtime issues in server and websocket services. 2023-02-22 22:43:59 -08:00
nicomiguelino
00d122314a Fix affected unit tests. 2023-02-22 11:39:45 -08:00
nicomiguelino
79534040f6 Fix some failing unit test cases. Enforce unicode strings. 2023-02-21 15:02:54 -08:00
Nico Miguelino
2d6e0be3f7 Merge branch 'Screenly:master' into py-2-to-3 2023-02-17 13:05:25 -08:00
Emyll Almonte
c94164adba Update server.py
Until enabling SSL is functional, the API should default to `HTTP` so users dont see the error when clicking API.

For reference: https://github.com/Screenly/Anthias/issues/1410
2023-02-17 13:23:55 -05:00
nicomiguelino
3d1e64a0f9 Apply Stage 2 changes to .py files using futurize
- Changes are not yet tested thoroughly.
2023-02-16 22:26:31 -08:00
nicomiguelino
6b7d6a817b Merge branch '1703-new-design' of github.com:nicomiguelino/Anthias into 1703-new-design 2023-02-01 22:03:04 -08:00
nicomiguelino
9882c4bfbf Allow splash page to support multiple IP addresses as well. 2023-02-01 22:02:28 -08:00
nicomiguelino
e30777d925 Fix nav menus. 2023-02-01 21:24:36 -08:00
nicomiguelino
b57b446797 Add major/minor UI changes to the system info page. 2023-01-28 21:39:49 -08:00
nicomiguelino
0fc7e9e69a Make development experience less of a hassle and out-of-the-box. 2023-01-24 22:59:42 -08:00
Viktor Petersson
e59f31935c Merge pull request #1676 from ealmonte32/patch-4
Copyright year update
2023-01-03 17:35:20 +00:00
nicomiguelino
130975ad7e Make use of retry_call.
- Refactor the lib.utils import statements as well.
2022-12-14 14:14:54 -08:00
nicomiguelino
81f8d7a779 Make use of the Supervisor API on shutdown and reboot.
- Do some refactoring as well.
2022-12-14 11:55:07 -08:00
Emyll Almonte
2d1cf57544 Update server.py 2022-12-01 17:50:49 -05:00
Emyll Almonte
620685a7c4 Update server.py 2022-12-01 11:58:01 -05:00
Emyll Almonte
95ad385b62 Merge branch 'Screenly:master' into patch-1 2022-11-29 15:15:16 -05:00
Emyll Almonte
9425f14127 Update server.py 2022-11-29 13:37:08 -05:00
Emyll Almonte
babbb43258 Update server.py 2022-11-29 13:18:23 -05:00
Nico Miguelino
a8a40c0975 Merge branch 'Screenly:master' into 1648-splash-2 2022-11-29 08:53:25 -08:00
nicomiguelino
3e3bc1e149 Remove unnecessary variable declaration.
- The unnecessary declaration causes an overhead, especially if the
  function call keeps repeating when an exception is raised.
2022-11-25 21:28:48 -08:00
Emyll Almonte
081faf2ac9 Update server.py 2022-11-24 12:13:06 -05:00
Emyll Almonte
3ee86efc18 Update server.py 2022-11-22 23:08:16 -05:00
Emyll Almonte
81fd34d224 Update server.py 2022-11-22 16:27:51 -05:00
Nash Kaminski
d01eda0e9a Implement reboot and shutdown for Dockerized Screenly via host agent process.
This change implements a mechanism for executing a restricted set of commands on the host from within the screenly Docker containers by using a very simple host agent process, which requires only 2 packaged dependencies (python3 and python3-redis) from the standard Raspbian repositories.

Initially, this functionality is used to implement the previously disabled reboot and shutdown features. However, this could fairly easily be expanded to re-implement the USB asset loading functionality.

Furthermore, this change removes the reinstallation of build-essential, as /usr/lib/gcc/arm-linux-gnueabihf/4.9/cc1plus does not exist after reinstalling such and screenly builds without error.

Signed-off-by: Nash Kaminski <nashkaminski@kaminski.io>
2021-04-02 01:57:15 -05:00
Viktor Petersson
7dc9b7ed0d Moves display power check to async 2021-01-22 11:42:14 +00:00
Viktor Petersson
e034132331 Reverts config change 2021-01-22 10:54:42 +00:00
Viktor Petersson
e58d750b12 Minor formatting and adds debug logging support 2021-01-22 10:41:00 +00:00
Viktor Petersson
774d1d878e Minor refactoring of systems page 2021-01-13 15:28:11 +00:00
Viktor Petersson
ef18999206 Removes deprecated upgrade script. 2021-01-08 18:07:53 +00:00
Viktor Petersson
5ee4e2d40a Adds CEC support and minor dependency refactoring 2021-01-08 11:55:05 +00:00