Commit Graph

382 Commits

Author SHA1 Message Date
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
Viktor Petersson
2da935f48d Fixes redis 2020-12-21 17:20:30 +00:00
Viktor Petersson
2d81dc404e Moves some of the file based logic to redis 2020-12-21 15:25:24 +00:00
Rusko124
9f7d486c34 Edits: viewImage works through nginx and fix for a load screen 2020-12-18 12:00:08 +06:00
Viktor Petersson
de4307b8a3 Various QA fixes for pi3 (and some cleanup) 2020-12-17 11:09:17 +00:00
Viktor Petersson
677a465d1d Introduces Nginx container 2020-11-20 15:43:18 +00:00
Viktor Petersson
33b77842e0 Simplifies splash page 2020-11-12 13:43:36 +00:00
Rusko124
e3e69117ff Edits: docker-compose in the ansible task 2020-11-05 13:57:12 +06:00
Rusko124
2f0f6badee Merge branch 'webkit_instead_uzbl' into edits/merge-master-into-experimental 2020-11-03 13:38:48 +06:00
Rusko124
bbeb50dc9c Merge branch 'master' into webkit_instead_uzbl 2020-11-03 12:40:41 +06:00
Emyll Almonte
1b6377464f Update server.py 2020-10-19 16:14:13 -04:00
Emyll Almonte
5fcdc39575 Update server.py
fixes:
- if escape was used in `uri`, the characters it was escaping to were preventing certain websites such as google slides from parsing parameters necessary for proper function, thus a manual replace had to be implemented to accomplish both needs (escaping while allowing `&` to be used properly)
- when escaping the name of the asset, if you make asset with `&` character inactive and active multiple times, the name starts having many duplicate instances of the word `amp;` (see screenshot)
2020-10-18 15:28:36 -04:00
Viktor Petersson
5bf5384bba More demo site fixes 2020-07-17 17:30:02 +01:00
Viktor Petersson
06acc42c4c Merge pull request #1272 from rusko124/memory_settings
Memory settings
2019-11-27 07:40:04 +00:00
Rusko124
b699d1999c Edit: XSS escaping 2019-11-27 12:59:26 +06:00
Rusko124
b9a2e96c16 Small change 2019-11-27 12:22:27 +06:00
Rusko124
49a21dc0aa New: memory in system info 2019-11-27 12:21:14 +06:00
Viktor Petersson
d8fa5db82b Merge pull request #1226 from burnnat/api-add-up-to-date
Add "up to date" flag to info API.
2019-11-07 10:19:57 +00:00
Rusko124
35bd1d2510 Edits: redis broker instead of rabbitmq 2019-11-05 13:45:53 +06:00
Rusko124
e8afedfb95 Fix: viewers logs in UI 2019-10-09 11:30:39 +06:00
Rusko124
3e876f04f7 Changes: webkit browser instead of UZBL 2019-10-09 09:27:13 +06:00
Rusko124
3c0bdf7b1e Edits for default assets 2019-09-26 10:59:23 +06:00
Nat Burns
c9f55defae Add "up to date" flag to info API. 2019-09-24 08:57:28 -04:00
Rusko124
78ed5f4c23 Deleted print() 2019-09-24 14:38:59 +06:00
Rusko124
dc538c1050 Fix: code quality 2019-09-24 14:24:32 +06:00
Rusko124
b973bc0bcb New: default assets 2019-09-24 14:13:49 +06:00