Commit Graph

5040 Commits (mark-ii/gui-namespace)

Author SHA1 Message Date
Arron Atchison 1be93c2963 Set WiFi setup to false
... so it doesn't happen every time it is installed.
2016-09-22 10:22:47 -05:00
Åke 218c53c127 Add support for duration_stretch config parameter (#334) 2016-09-22 09:18:27 -05:00
ParkerMc 317a01f75e Added executable bit to arch setup (#359)
* Added executable bit to arch setup

* Update to use Python 2

* Changed pip to pip2

needed when python 3 is default
2016-09-22 09:12:18 -05:00
Arron Atchison c52f92f949 Feature/issues 356 (#362)
* working on a client for wi-fi setup

* added refactored code, ready to integrate

* client is running, now to handle the rest

* Staring touble in the face

* saved

* added config settings for wifi setup

* add an entry point for wifisetup to mycroft-base-setup.py

* moved SSID sorting into LinkUtils

* I'm now using the new SanAp class throughout

* Cleaning up code. All bash executions use bashThreadHandling class, mycroft's LOGGER

* removed legacy configuration parser

* funneling effort into cleanup

* fixed pep8, see if she builds

*  changed entry point for init script

*  changed import path to full path

* changed import path to full path for all files

* change ws port to 8080 for now

*  pep8 in wifi.py fixed

* fixed a few more pep8 errors

* strange import stuff goign on

* strange import stuff goign on

* renamed wifi.py to prevent import conflict

* freeze pip requirement versions

* changed import path in LinkUtils

* changed import path again

* trying to fix wifi import.. something is wrong

* consumer and producer queues now working

* Consumer & producer API's are coming alogn

* Refactor: developing an API

* add ap up/down procedure to api

*  looking googd

*  removed some older code, api is nearly written

* success

* Sending conection status to browser is now working

* Fixed pep8 errors again

* removed blank line from file

* fixed entrypoint name

* added shutdown and save upon connect; reducing verbosity

* now disabling and flushing network on connection fail

*  fix start.sh

* Corrected amount of arguments passed to wpa_cli_disable_network

* added iface to disable network

* added shutdown on success; restart wpa_supplicant upon ap up

* turning powersave mode off for wlan0

* removed wpa_cli flush

*  fix some file restore and exit issues

* re enabled flush networks on fail

* powersave mode was logged but not executed

* stop and start dhcpcd withh ap up

* changed hostapd channel; bring links up and down after successful pair

*  removed double quotes from the wpa_supplicant template

* Multiple files combined into util.py

* clean up some comments, added license headers

* what is up

* Ap mode event fires on enclosure event

* added logic for open network

* Changed empty passphrase from bool to empty string

* enclosure version bump

* changed ap down method in WiFiConsumer

* I'm now pulling all configuration from mycroft.ini and grabbing the mac address for ap ssid

* REFACTOR: removed util.py, as it was a bit messy

* REFACTOR: remove pep8 errors again, you would think that I would do this each time

* chagned some logic for open net

* open networks now function properly

* Reboot on success

* changed network save method

* Issues 356 - Setup wifi connection
- Removing tornado dependency
- Merging WS reader with Wifi process

* Issues 356 - Refactoring
- Using PyRIC and WIFI libs

* Issues 356 - Refactoring bash command

* Issues 356 - Refactoring FileUtils

* Issues 356 - WebClient refactoring

* Issues 356 - create password and loading pages

* Issues 356 - connecting

* Issues 356 - parsing data on ws

* Issues 356 - removing fake function on wifisetup

* Issues 356 - connecting on public network

* Issues 356 - show loading page on backbutton

* Issues 356 - sort networks by quality

* Issues 356 - Fixing message type variable

* Issues 356 - Adding more logs to wifi setup

* Issues 356 - network sort by quality

* Issues 356 - Fixing cell ssid param and using correct interface for scheme

* Issues 356 - Ensuring to save scheme before activating

* Issues 356 - Logging bash command

* Issues 356 - Refactoring wifi to P2P

* Issues 356 - Simplifying cli usage and getting results from wpa_cli

* Issues 356 - Parsing ssid and pass

* Issues 356 - Saving wpa configuration

* Issues 356 - Removing postfix in favor of wpa_supplicant config

* Issues 356 - Setting host to 0.0.0.0

* Issues 356 - Fixing parsing for wpa_cli output

* Issues 356 - Ensuring to save wpa config after connected

* Issues 356 - Setting interface for save config

* Issues 356 - Ensuring interfaces in all wpa cli

* Issues 356 - Creating, staring and stopping wifi web server

* Issues 356 - Adding logs to web server

* Issues 356 - create succes page and merge connect page on list page

* Issues 356 - Config.js server addr

* Issues 356 - Adding wifi status and connected control

* Issues 356 - lock margin top wifisetup

* Issues 356 - waiting connection

* Issues 356 - Moving dnsmasq backup logic to main.py

* Issues 356 - Cleaning imports

* Changed the base manifest to reflect new file locations

* fixed indent for pep8

* changed the mycroft-base-setup.py to reference the proper entry point for wifisetup

*  Enclosure version bump

* Added the wifi index.html to the base manifest, as it doesn't seem to catch it recursively

* Issues 356 - Updating first setup flag after running the first time

* Issues 356 - Ensure to stop server only if it exists

* Issues 356 - Ensuring to set first setup to false when connected

* Issues 356 - Closing web server after shutdown

* Issues 356 - Running web server as daemon

* Issues 356 - Creating server connection only once at initialization

* Issues 356 - Disconnecting network before connecting and fixing get status

* Issues 356 - Starting web server only once after AP is up

* Issues 356 - Returning empty status if not able to parse

* Issues 356 - Creating web server loop control

* Issues 356 - Performing final request call in order to unblock server

* Issues 356 - Adding GET method to server request

* Issues 356 - Requesting web server to stop on main thread
2016-09-19 12:28:58 -05:00
Steve c653c43910 Added viseme support for TTS, allowing enclosure to display visemes (#357)
* Added viseme support for TTS, allowing enclosure to display visemes as appropriate

* Enclosure versino bump
2016-09-05 16:27:09 -05:00
Arron Atchison 340542df2a Merge pull request #355 from MycroftAI/issue/remove-weather-condistion-dialog
Removed weather condition dialog
2016-09-01 09:43:54 -05:00
Arron Atchison 8c3a33ce27 Removed weather condition dialog 2016-09-01 09:28:10 -05:00
Arron Atchison 53c2d6f464 Merge pull request #348 from bashterm/master
Add setup script for arch linux
2016-08-31 15:17:22 -05:00
Aidan Sciortino 9dc6fa1f2f Add setup script for arch linux 2016-08-26 16:35:54 -04:00
Steve a62bb9c6c1 Updated enclosure version 2016-08-25 14:14:01 -05:00
Arron Atchison dea21305ac Merge pull request #344 from MycroftAI/issue/hard-coded-enclosure-code-hangs-pi-343
Fixed issue #334 with a try: clause
2016-08-21 13:42:25 -05:00
Arron Atchison 5a1184eff9 Fixed issue #334 with a try: clause 2016-08-21 13:32:28 -05:00
isaacnward aa8c8dbdae added mouth reset (#342) 2016-08-18 17:25:22 -05:00
Arron Atchison 0366c8b159 Merge pull request #341 from ethanaward/bugfix/wifi-indication
Fix wifi indication in speech client
2016-08-18 17:12:13 -05:00
Ethan Ward 73a74761bc Fix wifi indication in speech client main 2016-08-18 17:09:00 -05:00
Arron Atchison 56b0f9ac5c Merge pull request #340 from MycroftAI/no-sudo-rm
rm'd sudo from rm
2016-08-18 16:35:21 -05:00
Isaac Ward 02b0059c07 added ~ 2016-08-18 16:28:47 -05:00
Isaac Ward 97074d679c removed sudo 2016-08-18 16:27:48 -05:00
isaacnward e55201ebe0 added eye spin to factory reset (#339) 2016-08-18 16:19:00 -05:00
Isaac Ward bde91807bd added eye spin to factory reset 2016-08-18 16:17:49 -05:00
Arron Atchison 86632b0221 Merge pull request #338 from MycroftAI/factory-reset
Factory reset
2016-08-18 15:45:56 -05:00
Isaac Ward ca28b25d17 changed directory 2016-08-18 15:29:14 -05:00
Isaac Ward 981db1768f added identity reset as factory reset menu option 2016-08-18 15:20:45 -05:00
Arron Atchison 1154db95fb Merge pull request #337 from MycroftAI/eye-shutdown
changed animation for reboot
2016-08-18 15:07:35 -05:00
Isaac Ward ce519d19fa pep8 maaaaaaaaaan 2016-08-18 15:06:46 -05:00
Isaac Ward 7f1f8238c1 changed animation for reboot 2016-08-18 14:57:24 -05:00
Arron Atchison df3dcf482c Merge pull request #336 from MycroftAI/eye-shutdown
added eye reset at bootup
2016-08-18 14:31:44 -05:00
Isaac Ward 9cdde253a1 added eye reset at bootup 2016-08-18 14:28:50 -05:00
Arron Atchison 74b0ce8dac version bump 2016-08-18 14:15:56 -05:00
Arron Atchison a8753c664c Merge pull request #335 from MycroftAI/eye-shutdown
Eye shutdown
2016-08-18 13:53:42 -05:00
Isaac Ward 8c9befb530 merged master 2016-08-18 13:30:03 -05:00
Isaac Ward ff1aa67269 added eye spinning animation to indicate shutdown 2016-08-18 12:44:31 -05:00
Arron Atchison 4c7dc112ad Switching to systemctl based shutdown and restart 2016-08-18 10:58:01 -05:00
isaacnward de871b50ea added eye reset when listener is created (#333) 2016-08-17 14:10:42 -05:00
Isaac Ward 4dd46c4837 added eye reset when listener is created 2016-08-17 13:33:28 -05:00
Arron Atchison 9ecff8f4f6 Merge pull request #332 from MycroftAI/issue/fix-poweroff-sudo-path
Stating PATH in the same subprocess call
2016-08-17 12:54:17 -05:00
Arron Atchison 12fdbf4f9d Stating PATH in the same subprocess call 2016-08-17 12:53:49 -05:00
Arron Atchison 6c1c9c2902 Merge pull request #331 from MycroftAI/issue/fix-eyes-colume
added the eye volume event
2016-08-17 11:09:58 -05:00
Arron Atchison c7fd729504 added the eye volume event 2016-08-17 11:08:20 -05:00
Arron Atchison b96048a83a Merge pull request #330 from MycroftAI/issue/enclosure-commands-with-sudo-needs-path
Try setting PATH variable before sudo commands...
2016-08-17 10:23:41 -05:00
Arron Atchison b585dbf527 Merge pull request #329 from MycroftAI/issue/volume-skill-type-errors
I threw a lot of int casting in to fix type errors. Volume seems to …
2016-08-17 10:14:06 -05:00
Arron Atchison 68679a65fe try setting PATH variable before sudo commands 2016-08-17 10:09:50 -05:00
Arron Atchison 6e5dfa10f9 Shortened the variable name 'proportion' to 'prop' to avoid pep8 error 2016-08-17 09:55:38 -05:00
Arron Atchison 6efa21d79a I threw a lot of int casting in to fix type errors. Volume seems to be workign great now. 2016-08-17 09:40:58 -05:00
Arron Atchison 1fff4d05c0 Version bump
Like a mostly sane monkey
2016-08-16 15:51:31 -05:00
Arron Atchison 3993934b4b Merge pull request #328 from ethanaward/feature/issues-303
Add configurable volume levels (Fixes #303)
2016-08-16 15:35:41 -05:00
Arron Atchison 76eae6341d Merge pull request #327 from ethanaward/feature/issues-321
Add checks for wifi connection (Fixes #321)
2016-08-16 15:27:51 -05:00
Ethan Ward 75c80c2d98 Issues #321 - fix pep8 2016-08-16 15:15:07 -05:00
Ethan Ward 6e633127a3 Issues #321 - Add second DNS server 2016-08-16 15:12:57 -05:00
Ethan Ward b3f89f483d Issues #321 - pep8 2016-08-16 15:12:57 -05:00