Commit Graph

66 Commits

Author SHA1 Message Date
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
Rusko124
7a1f8f4560 avoid try/except 2018-09-03 17:07:01 +06:00
Rusko124
8e6e3c3fc8 Changed the check running in the docker to the environment variable 2018-09-03 16:39:24 +06:00
Rusko124
db019885a8 Add google analytics for demo site in docker 2018-09-03 14:14:15 +06:00
Viktor Petersson
55e5269d43 Merge pull request #756 from p-rintz/patch-1
Make ipv6-only setups work
2018-08-24 10:30:44 +01:00
Philipp Rintz
4acb93e5f0 Renamed variable
Renamed interface_id to address_family_id
2018-08-23 19:12:16 +02:00
Philipp Rintz
4615fecb09 netifaces import change
As requested in comments.
2018-08-23 13:48:38 +02:00
Philipp Rintz
8f425716c0 IPv6 prefferance
my_ip no longer uses min() to select the interface.
the usage of max() in interface_id should be unproblematic though and would lead to ipv6 being preferred over ipv4 when available.

Should also be more readable now, while maybe still being more verbose than wanted, though?
2018-08-23 13:47:51 +02:00
Philipp Rintz
93e13fe217 Changed to use netifaces.gateways
Instead of netstat and grep, netifaces.gateways will now be used to find out the default gateway.
2018-08-17 14:10:45 +02:00
Jon Shaulis
817f1d4e83 Fix issue with unicode metadata on uploaded video. 2018-07-11 19:34:52 -04:00
Philipp Rintz
a315551bb6 Make ipv6-only setups work
Change get_node_ip to also work with ipv6-only setups.
2018-03-02 13:34:40 +01:00
Viktor Petersson
26322f8460 Fixes tests. 2018-01-02 19:00:39 +00:00
Viktor Petersson
5ee7cc644d Implements fix against constantly re-running the check if the remote branch doesn't exist.a 2018-01-01 23:18:39 +00:00
antonmolodykh
cf0a388819 Add resin-wifi-connect 2017-12-23 19:06:01 +06:00
antonmolodykh
c0ba560178 API call for navigate to any asset 2017-12-11 20:05:27 +06:00
crdotson
17e1c0d1c7 remove trailing whitespace 2017-12-03 19:09:53 -05:00
crdotson
6419abc55b Add support for usb0 device
In USB gadget mode, the network interface shows up as usb0.
2017-12-02 19:21:53 -05:00