nicomiguelino
bd4499e8c6
Send updated IP address(es) to the viewer upon reconnection.
...
- Make use of Redis as a temporary storage of IP addresses.
2023-01-06 14:36:57 -08:00
nicomiguelino
b145554a86
Fix syntax error.
2022-12-14 12:54:56 -08:00
nicomiguelino
43f54cc52a
Do a refactor for functions doing Supervisor API calls.
2022-12-14 12:28:20 -08:00
nicomiguelino
46b2fece80
Rename function for getting device info via Balena Supervisor API.
2022-12-14 12:19:40 -08:00
nicomiguelino
91a7092e95
Fix broken splash screen issue.
2022-12-14 12:17:11 -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
nicomiguelino
cde020309e
Remove unused imports.
2022-11-28 21:47:21 -08:00
nicomiguelino
47e7448a6a
Do minor code cleanup.
...
- Remove unused imports.
- Format import statements.
2022-11-28 21:42:03 -08:00
nicomiguelino
747ad5fdd9
Have the viewer browser re-load until the supervisor API response is OK.
...
- The use of `retry` was temporarily removed.
2022-11-28 09:44:52 -08:00
nicomiguelino
d1472e23d3
Refactor code for getting Balena supervisor API response.
2022-11-22 19:44:28 -08:00
nicomiguelino
c5d22d5227
Write a new function that waits for the supervisor API to be ready.
2022-11-22 16:47:32 -08:00
nicomiguelino
7d46eb2996
Add NewConnectionError on the exceptions to be catched.
2022-11-07 07:28:20 -08:00
nicomiguelino
00341f3c19
Add more commonly-thrown exceptions during a requests call.
2022-11-03 09:50:13 -07:00
nicomiguelino
25725a46c7
Add support for retries on calling the Supervisor APIA for IP address.
2022-11-02 17:19:16 -07:00
nicomiguelino
1bef3e597c
Remove broken import: mplayer
2022-10-20 07:44:39 -07:00
nicomiguelino
35d093fa16
Restore test case for streaming assets.
2022-10-16 11:43:05 -07:00
Viktor Petersson
5a727fe3ce
Removes Mixpanel dependency
2022-09-20 16:34:56 +01:00
Viktor Petersson
a97d3e1ade
Adds new logic for retrieving IP
2020-12-22 07:58:52 +00:00
Viktor Petersson
020d60c943
Resolves #1456 for Balena
2020-12-22 07:39:47 +00:00
Viktor Petersson
2b51bd3cf0
Slight improvements to logic
2020-12-22 07:22:54 +00:00
Viktor Petersson
2d81dc404e
Moves some of the file based logic to redis
2020-12-21 15:25:24 +00:00
Viktor Petersson
8bcedf74bd
Deprecates omxplayer for checks in favor of ffprobe
2020-12-16 18:09:35 +00:00
Viktor Petersson
b82cc8bf29
Tries to fix permission of video interface
2020-12-11 10:03:02 +00:00
Viktor Petersson
fa9b9f0767
Fixes ffprobe command
2020-12-10 17:28:42 +00:00
Viktor Petersson
bc2b4737c8
Moves server to use ffprobe instead
2020-12-10 15:03:17 +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
Emyll Almonte
04ba69624f
Update utils.py
...
removing the letter `i` so that it is never confused with `l` (lowercase L) from far away, although lowercase L is not included in the string of lowercase letters, users dont normally know this.
2020-10-06 22:59:40 -04:00
Emyll Almonte
53679dbd33
Update utils.py
...
fix for wlan connections that were raising: Exception("Unable to resolve local IP address.")
*added the import time module.. which was omitted in previous commit..
2019-12-11 11:06:21 -05:00
Emyll Almonte
62f8dbd544
Update utils.py
...
fix for wlan connections that were raising: Exception("Unable to resolve local IP address.")
2019-11-27 09:21:23 -05:00
eugenosm
5fd3a24058
change wott-agent cecking logic
2019-06-21 17:48:32 +06:00
eugenosm
f375eb2c82
pep8 corrections
2019-06-21 17:46:34 +06:00
eugenosm
a1d4242270
change device id retrieving, from sh.wott_agent to metadata.json reading
2019-06-21 17:46:33 +06:00
eugenosm
9000f378eb
change from popen() to sh.
2019-06-21 17:46:33 +06:00
eugenosm
2dacbf710f
remove sudo on device id reading
2019-06-21 17:46:33 +06:00
eugenosm
eafbc7ace8
wott sectipn in integration tab
2019-06-21 17:42:22 +06:00
Viktor Petersson
093f5946c8
Cleanup Balena/Resin reference
2019-05-15 13:41:18 +01:00
rusko124
3fcb2affe7
Merge branch 'master' into balena_reworked
2019-05-13 18:09:25 +06:00
Rusko124
e0cf012866
Reworked network
2019-05-10 21:04:28 +06:00
Rusko124
92f602df53
Edit func description
2019-05-03 12:35:40 +06:00
Rusko124
27bd5c0e7a
Fix: work with nmcli
2019-05-03 12:07:38 +06:00
Rusko124
ebbcd2f5b6
Reworked: Balena
2019-05-02 16:51:55 +06:00
Rusko124
06cbbed40a
Fix: wifi-connect and wifi reset
2019-04-26 11:14:19 +06:00
Rusko124
ccecc02d53
Feature: MAC address on System Info
2019-04-24 17:51:28 +06:00
Emyll Almonte
c1dd61ce4c
Update utils.py
...
Change in HTTP xrange since redirect responses are also OK.
Set request verification to true to stop urllib InsecureRequestWarning showing up in logs and users mistakenly thinking this is what causes the TLS handshake error..
2019-04-05 01:07:30 -04:00
Rusko124
4ec281b218
Fix: Correct ip displays on the splash page.
2019-03-22 15:13:40 +06:00
Rusko124
079e7e74d7
Random edits
2018-12-25 17:26:28 +06:00
Rusko124
8aa8f83459
Added password(ppp) generation function
2018-12-25 17:09:03 +06:00
Rusko124
c88c6bdade
some fix with alert
2018-09-27 13:27:14 +06:00
Rusko124
545853f4db
use string_to_bool function for simplicity
2018-09-03 17:49:39 +06:00