Commit Graph

46 Commits

Author SHA1 Message Date
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
antonmolodykh
bc96406d71 Fix final Resin issues 2017-11-17 16:01:48 +06:00
antonmolodykh
6d594da16d Gets info about a video through the ffmpeg 2017-11-13 20:46:12 +06:00
antonmolodykh
0f3df0d80d Video duration changing 2017-11-07 17:28:29 +06:00
antonmolodykh
685a5613bc Fix network status detection 2017-08-15 21:52:39 +06:00
antonmolodykh
685a7e58c0 Improving network status detection 2017-08-03 12:00:43 +06:00
antonmolodykh
e9ee4b5321 Support for YouTube 2017-07-27 13:07:35 +06:00
antonmolodykh
767131bb6c add support for live streaming 2017-06-20 20:45:00 +06:00
over
42f7ad5b98 make mplayer import platform-dependend 2016-10-26 17:20:59 +06:00
over
f352720c8d web tests with splinter & FF 2016-10-13 12:22:15 +06:00
over
166b94c122 template_handle_unicode: do isinstance(str) not basestring 2016-05-18 18:45:21 +06:00
over
e1bfdb66f8 code style & fixes 2016-05-18 18:45:21 +06:00
over
d7325968dd Use custom text handler in bottle templates. Decode strings as unicode 2016-05-18 18:45:21 +06:00
Viktor Petersson
9cb6d985bc Override user agent for requests to match uzbl. 2016-05-09 11:43:26 +01:00
over
012d0861c9 Fixed: Now server returns assets dates in correct ISO format with timezone info. 2016-05-07 05:57:35 +06:00
Viktor Petersson
c95f925b8e Switch to using Certifi module for more up to date certificates. 2016-05-03 10:07:20 +01:00
Viktor Petersson
d2589047af Moves 'utils' into lib folder. 2016-05-02 12:50:59 +01:00