Skip to content

Commit

Permalink
22.10.2
Browse files Browse the repository at this point in the history
* Enable more LED feedback and better offline behavior (#306)

* Update core dependencies
Update LED plugin dependency
Update unknown fallback dependency

* Update LED plugin spec for more animations
Update unknown fallback skill spec for animation support

* Update neon-utils dependency to alpha version to patch dependency resolution

* Increment Version

* Demo bugfixes (#307)

* Update neon.yaml

* Bump demo skill dependency spec

* Increment Version

* Update audio module and neon-utils dependencies to include bus API for `wait_while_speaking` (#309)

Update demo skill spec to include `get_response` support

* Increment Version

* Update QML file handling (#310)

* Update file server to use qml from `mycroft` package
Update ovos-core and ovos-utils to include updated Image QML

* Troubleshooting dependency resolution

* Troubleshooting ovos-core dependency resolution

* Increment Version

* Update demo skill and docker-compose to resolve Demo Bugs (#311)

* Update demo skill spec
Bind timezone files from host in docker-compose.yml

* Bump speech module spec to include STT fallback fixes

* Bump personal skill dependency

* Extend pi image timeout to account for slow apt

* Increment Version

* RPi Python 3.10 Compatible Dependencies (#312)

* Update speech and pi dependencies to Python 3.10-compat. versions

* Update dashboard dependency version

* Update pi setup tests to match updated image recipe

* Add homeassistant PHAL plugin to Pi dependencies

* Update pi setup tests to python 3.10

* Cleanup pi dependencies

* Update Google STT plugin spec

* Remove homeassistant plugin dependency

* Increment Version

* Update Pi PHAL plugins and LIcense Tests (#313)

* Update PHAL plugin dependency versions

* Update license test automation

* Remove deprecated `neon_test_utils` dependency

* Update PHAL dependencies to test offline operation

* Reduce extra dependencies tested in license_tests.yml
Add timeout to license_tests.yml

* Update license tests

* Remove gpsd plugin with lgpl dependency

* Exclude self package from license tests

* Update LED PHAL plugin dependency spec

* Increment Version

* Update user settings skill spec (#314)

* Increment Version

* Bump neon-utils dependency to patch skill installation behavior (#315)

* Increment Version

* Update vosk stt plugin dependency spec (#316)

* Increment Version

* Tag alpha prepreleases (#317)

* Increment Version

* Fix bug in alpha release tag action (#318)

* Increment Version

* Fix alpha version tagging (#320)

* Increment Version

* Whitelist nvidia license (#321)

* Increment Version

* Reload patched skill classes (#319)

* Reload patched skill classes

* Patch common IOT skill class
Add unit test for skill class patching

* Increment Version

* Add update skill and associated plugin to Pi dependencies (#322)

* Add update skill and associated plugin to Pi dependencies

* Update update skill dependency spec

* Whitelist neon-phal-plugin package licenses

* Increment Version

* Fix invalid image spec in docker-compose.yml (#323)

* Increment Version

* Refactor skill_utils on OSM changes (#325)

* Refactor skill_utils on OSM changes

* Fix typo in unit test changes

* Update OSM dependency spec

* Increment Version

* Update skills to address testing feedback (#326)

Add intent fixes and tests to Alerts, User Settings, and About skills
Add default location handling to Weather skill
Add optional GUI to Unknown Fallback skill

* Increment Version

* Add factory reset plugin to dependencies (#327)

* Add factory reset plugin to dependencies

* Update system plugin dependency spec

* Fix typo in dependency spec

* Update requirements versions

* Replace ovos-core version patch

* Update reset plugin dependency spec

* Increment Version

* add "last.voc" ressource (#329)

* Increment Version

* Update Plugins to support Configuration Updates (#330)

* Update reset and core updater plugins

* Update update skill spec

* Fix typo in update skill url

* Update dependencies to PyPI specs

* Update PHAL plugin dependencies to test core config updates

* Update dependency specs

* Increment Version

* Add local music skill (#331)

* Add local music skill
Bump neon_audio to include OCP fixes

* Update local_music skill to PyPI spec

* Increment Version

* Fix missing wifi setup option (#332)

* Troubleshoot WiFi setup

* Fix typo in wifi setup testing branch

* Update wifi setup plugin version to PyPI spec

* Increment Version

* Skip failing tests (#338)

* Increment Version

* Create New Media (#337)

* Update reset plugin and update skill to support image creation

* Update to pypi specs

* Increment Version

* Update skills and neon_utils to versions with fixes (#340)

* Update skills and neon_utils to versions with fixes

* Update stock skill to get updated examples

* Update user settings skill for 'username' dialog fix

* Update launcher skill for improved browse intent and updated examples

* Update user settings skill to ensure geolocation updates happen

* Update about skill to exclude blacklisted skill examples

* Testing PHAL plugin fixes

* Remove conflicting dependency spec

* Fix typo in wifi setup plugin spec

* Troubleshooting config during setup

* Update speed test skill to include notification

* Troubleshooting geolocation update failures

* Update user settings skill to pypi spec

* Increment Version

* Bump update skill version to enable update notifications (#341)

* Increment Version

* ovos-workshop Refactor Compatibility (#344)

* Update MycroftSkill patching to support ovos-workshop refactor

* Troubleshooting skill class patching

* Fix skill class patching

* Handle AttributeErrors for backwards-compat.

* Increment Version

* Patch and test `mycroft.skills.core` module (#345)

* Increment Version

* Troubleshooting ovos-workshop overrides (#347)

* Prevent extra skill object patching with ovos-workshop refactor
Remove deprecated imports
Mark FallbackSkill module as deprecated (should import from neon_utils)

* Fix imports

* Pin maximum ovos-core version to exclude breaking ovos-workshop changes
Pin stable neon-utils version

* Pin lower ovos-workshop version

* Increment Version

* ovos-workshop refactor (#343)

* Bump ovos-workshop to test changes compat.

* Update ovos-core dependency to branch spec for testing

* Replace workshop version spec

* Update workshop to PyPI spec

* Bump ovos-workshop dependency

* Update skill patching with updated unit tests
Bump dependencies for testing

* Update dependencies to pypi specs

* Update dependency specs

* Add ocp plugin spec to handle settings bug

* Increment Version

* Update default skills to stable released versions (#342)

* Update default skills to stable released versions

* Update essential skills to stable released versions

* Update required skills to stable released versions

* Update skills to stable versions
Update neon-utils dependency version

* Update wolfram to latest spec
Annotate demo skill TODO

* Bump update skill and plugin to stable versions

* Update demo skill dependency

* Increment Version

* Update OVOS and PHAL dependencies (#348)

* Update OPM dependency to latest alpha

* Update system plugin version

* Update OSM to stable release

* Update OPM to stable release

* Update PHAL dependencies to stable versions

* Update PHAL dependency to released version

* Update stable dependencies
Testing ovos-core skill loading PR

* Update homescreen skill to PyPI spec

* Override _load_new_skills method to ensure config is handled

* Update dependencies

* Fix typo in dependency update

* Add connectivity events to dependencies

* Increment Version

* Remove `web_cache.json` to patch NeonOS update bug (#350)

* Increment Version

* Reverts breaking change #350 (#352)

* Increment Version

* Stable Dependencies (#351)

* Update stable dependencies

* Update ovos-core dependency to latest

* Update stable dependencies

* Update stable ovos-core dependency

* Update neon_audio dependency and remove OCP version patch

* Fix typo in vosk plugin spec

* Update neon-audio to stable version

* Increment Version

* Add 'hey_mycroft' WW config (#353)

Add precise plugin to client and pi dependencies

* Increment Version

* Docker Support, Improved Network Skill Init (#354)

* Update docker-compose.yml to use `master` instead of `dev` containers

* Enable network/online skills to load immediately if connected at service start

* Increment Version

* Fix reported skills bugs (#355)

* Update skill versions to test fixes
Troubleshoot network connection changes causing duplicate intents

* Reduce log spam
Update local music dependency

* Ensure lock exists before bus event registration

* Update local music skill spec

* Increment Version

* Update skills to stable versions (#356)

* Increment Version

---------

Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com>
Co-authored-by: NeonDaniel <NeonDaniel@users.noreply.github.com>
Co-authored-by: emphasize <swen_g@t-online.de>
  • Loading branch information
3 people authored Feb 1, 2023
2 parents ae28e86 + 6689097 commit ac5b850
Show file tree
Hide file tree
Showing 51 changed files with 330 additions and 646 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ on:

jobs:
license_tests:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v1
with:
Expand All @@ -20,16 +19,22 @@ jobs:
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
sudo apt install python3-dev swig libssl-dev libfann-dev portaudio19-dev libpulse-dev
- name: Install core repo
run: |
pip install .
- name: Install licheck
run: |
pip install git+https://github.com/NeonJarbas/lichecker
- name: Install test dependencies
pip install .[pi,docker]
- name: Get explicit and transitive dependencies
run: |
pip install pytest pytest-timeout pytest-cov
- name: Test Licenses
run: |
pytest test/license_tests.py
pip freeze > requirements-all.txt
- name: Check python
id: license_check_report
uses: pilosus/action-pip-license-checker@v0.5.0
with:
requirements: 'requirements-all.txt'
fail: 'Copyleft,Other,Error'
fails-only: true
exclude: '^(precise-runner|fann2|tqdm|bs4|ovos-phal-plugin|ovos-skill|neon-core|nvidia|neon-phal-plugin).*'
exclude-license: '^(Mozilla|NeonAI License v1.0).*$'
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
19 changes: 19 additions & 0 deletions .github/workflows/publish_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,25 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Increment Version
tag_alpha_release:
runs-on: ubuntu-latest
needs: increment_version
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Get Version
id: version
run: |
VERSION=$(python setup.py --version)
echo ::set-output name=version::${VERSION}
- name: Create Pre-release
uses: ncipollo/release-action@v1
with:
token: ${{secrets.GITHUB_TOKEN}}
tag: ${{steps.version.outputs.version}}
prerelease: true
build_and_publish_docker:
runs-on: ubuntu-latest
needs: increment_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/setup_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
pip install .[skills_required,skills_essential,skills_default,skills_extended]
pi_image:
runs-on: ubuntu-latest
timeout-minutes: 45
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Test chroot installation
Expand Down
4 changes: 2 additions & 2 deletions docker/config/neon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ skills:
MQ:
server: mq.2021.us
port: 25672
TTS:
tts:
neon-tts-plugin-audiofiles:
audio_file_path: /xdg/data/neon/AudioFileTTS
audio_file_path: /xdg/data/neon/AudioFileTTS
26 changes: 18 additions & 8 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,35 @@ volumes:
services:
neon-messagebus:
container_name: neon-messagebus
image: ghcr.io/neongeckocom/neon_messagebus:dev
image: ghcr.io/neongeckocom/neon_messagebus:master
ports:
- 8181:8181
- "8181:8181"
networks:
neon-core:
aliases:
- messagebus
volumes:
- config:/config:ro
- xdg:/xdg:rw
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- XDG_CONFIG_HOME=/xdg/config
- XDG_DATA_HOME=/xdg/data
- XDG_CACHE_HOME=/xdg/cache
- XDG_STATE_HOME=/xdg/state
neon-speech:
container_name: neon-speech
image: ghcr.io/neongeckocom/neon_speech:dev
image: ghcr.io/neongeckocom/neon_speech:master
networks:
- neon-core
volumes:
- config:/config:ro
- ~/.config/pulse/cookie:/tmp/pulse_cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- xdg:/xdg:rw
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native
- PULSE_COOKIE=/tmp/pulse_cookie
Expand All @@ -51,17 +55,19 @@ services:
- /dev/snd:/dev/snd
neon-skills:
container_name: neon-skills
image: ghcr.io/neongeckocom/neon_skills-default_skills:dev
image: ghcr.io/neongeckocom/neon_skills-default_skills:master
networks:
- neon-core
ports:
- 8000:8000
- "8000:8000"
volumes:
- config:/config:rw
- ~/.config/pulse/cookie:/tmp/pulse_cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- ${NEON_SKILLS_DIR}:/skills:ro
- xdg:/xdg:rw
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native
- PULSE_COOKIE=/tmp/pulse_cookie
Expand All @@ -73,7 +79,7 @@ services:
- /dev/snd:/dev/snd
neon-audio:
container_name: neon-audio
image: ghcr.io/neongeckocom/neon_audio:dev
image: ghcr.io/neongeckocom/neon_audio:master
networks:
- neon-core
volumes:
Expand All @@ -83,6 +89,8 @@ services:
- /run/dbus/system_dbus_socket:/run/dbus/system_dbus_socket:rw
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- xdg:/xdg:rw
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native
- PULSE_COOKIE=/tmp/pulse_cookie
Expand All @@ -95,16 +103,18 @@ services:
- /dev/snd:/dev/snd
neon-gui:
container_name: neon-gui
image: ghcr.io/neongeckocom/neon_gui:dev
image: ghcr.io/neongeckocom/neon_gui:master
networks:
neon-core:
aliases:
- gui
ports:
- 18181:18181
- "18181:18181"
volumes:
- config:/config:ro
- xdg:/xdg:rw
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- XDG_CONFIG_HOME=/xdg/config
- XDG_DATA_HOME=/xdg/data
Expand Down
7 changes: 4 additions & 3 deletions neon_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@
NEON_ROOT_PATH = dirname(__file__)
sys.path.append(NEON_ROOT_PATH)
init_config_dir()

CORE_VERSION_STR = get_core_version()
setup_resolve_resource_file()

from neon_core.skills import NeonSkill, NeonFallbackSkill
# from neon_core.skills import NeonSkill, NeonFallbackSkill
from neon_core.skills.intent_service import NeonIntentService

__all__ = ['NEON_ROOT_PATH',
'NeonIntentService',
'NeonSkill',
'NeonFallbackSkill',
# 'NeonSkill',
# 'NeonFallbackSkill',
'CORE_VERSION_STR']
7 changes: 7 additions & 0 deletions neon_core/configuration/neon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ listener:
recording_timeout_with_silence: 3.0
instant_listen: false
hotwords:
hey_mycroft:
active: false
module: ovos-ww-plugin-precise
listen: true
sound: snd/start_listening.wav
version: "0.3"
model: "https://github.com/MycroftAI/precise-data/raw/models-dev/hey-mycroft.tar.gz"
hey_neon:
module: ovos-ww-plugin-vosk
listen: true
Expand Down
16 changes: 16 additions & 0 deletions neon_core/res/text/ca-es/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
últim
última
últims
últimes
ùltim
ùltima
ùltims
ùltimes
ultim
ultima
ultims
ultimes
darrer
darrera
darrers
darreres
1 change: 1 addition & 0 deletions neon_core/res/text/da-dk/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sidste
8 changes: 8 additions & 0 deletions neon_core/res/text/de-de/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
letzte
letzter
letztes
letzten
letztem
letzteres
schluss
ende
3 changes: 3 additions & 0 deletions neon_core/res/text/en-au/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
last
final
latter
3 changes: 3 additions & 0 deletions neon_core/res/text/en-uk/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
last
final
latter
6 changes: 3 additions & 3 deletions neon_core/res/text/en-us/last.voc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
last choice
last option
last one
last
final
latter
12 changes: 12 additions & 0 deletions neon_core/res/text/es-es/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
último
última
últimos
últimas
ùltimo
ùltima
ùltimos
ùltimas
ultimo
ultima
ultimos
ultimas
4 changes: 4 additions & 0 deletions neon_core/res/text/fr-fr/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dernier
dernière
derniers
dernières
Empty file.
5 changes: 5 additions & 0 deletions neon_core/res/text/it-it/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ultimo
ultima
ultimi
ultime
finale
2 changes: 2 additions & 0 deletions neon_core/res/text/nl-nl/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
laatste
laatst
13 changes: 13 additions & 0 deletions neon_core/res/text/pt-pt/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ùltimo
ùltima
ùltimos
ùltimas
último
última
últimos
últimas
ultimo
ultima
ultimos
ultimas
final
4 changes: 4 additions & 0 deletions neon_core/res/text/ru-ru/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
последний
последний вариант
последний выбор
самый последний
3 changes: 3 additions & 0 deletions neon_core/res/text/sv-fi/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
last
viimeinen
viimeisin
1 change: 1 addition & 0 deletions neon_core/res/text/sv-se/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
senast
1 change: 1 addition & 0 deletions neon_core/res/text/tr-tr/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
son
3 changes: 3 additions & 0 deletions neon_core/res/text/ua-uk/last.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
останній
останнє
останнім
Loading

0 comments on commit ac5b850

Please sign in to comment.